/* Outlaw Customs - Professional Modern Stylesheet Redesign */

/* --- COLOR PALETTE --- */
:root {
    /* Professional blues & neutral accents */
    --oxford-blue: #232946;
    --oxford-blue-dark: #171c34;
    --zomp: #28b7a9;
    --zomp-light: #40dac5;
    --lavender-gray: #b8c1ec;
    --platinum: #f4f6fb;
    --white: #ffffff;
    --jet: #333741;
    --gray: #727e96;
    --gray-light: #cdd4ea;
    --gold: #ffd86b;
    --gold-light: #fff6d6;
    --danger: #d7263d;
    --success: #56c596;
    --shadow: 0 4px 32px rgba(35, 41, 70, 0.07);
    --shadow-lg: 0 16px 56px rgba(35, 41, 70, 0.16);
    --radius: 10px;

    --font-display: 'Bebas Neue', 'Montserrat', Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --transition: 0.21s cubic-bezier(.47,1.64,.41,.8);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--platinum);
}

body {
    font-family: var(--font-body);
    background: var(--platinum);
    color: var(--oxford-blue);
    min-height: 100vh;
    line-height: 1.6;
}

img:not(.logo-image):not(.admin-login-logo):not(.hero-banner-image) {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

a {
    color: var(--zomp);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--oxford-blue-dark);
}

/* --- Layouts --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.container-narrow { max-width: 720px; }

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 105;
    background: rgba(244, 246, 251, 0.97);
    backdrop-filter: blur(13px);
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 2px 12px rgba(35, 41, 70, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    min-height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: opacity var(--transition);
}
.logo:hover { opacity: 0.82; }
.logo-mark {
    display: block;
    width: 118px;
    height: 40px;
    flex-shrink: 0;
    overflow: hidden;
}
a.logo .logo-image, .logo-image {
    display: block;
    width: 118px;
    height: 40px;
    object-fit: contain;
    object-position: left center;
}

.logo-cross {
    width: 28px;
    height: 32px;
    color: var(--zomp);
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.12em;
}

.main-nav {
    display: flex;
    gap: 2.2rem;
}
.main-nav a {
    font-size: 1.03rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--oxford-blue);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color var(--transition), color var(--transition);
}
.main-nav a:hover {
    color: var(--zomp);
    border-color: var(--zomp);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.58rem;
    padding: 0.75rem 1.7rem;
    font-family: var(--font-body);
    font-size: 0.99rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    border-radius: var(--radius);
    box-shadow: 0 1px 6px rgba(35, 41, 70, 0.09);
    background: var(--zomp);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition);
}
.btn:hover, .btn:focus { filter: brightness(0.92); }

.btn-primary {
    background: linear-gradient(94deg, var(--zomp) 70%, var(--zomp-light) 100%);
    border-color: var(--zomp);
    color: var(--white);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--oxford-blue);
    color: var(--zomp-light);
    border-color: var(--oxford-blue);
}

.btn-outline {
    background: var(--white);
    color: var(--zomp);
    border-color: var(--zomp);
}
.btn-outline:hover, .btn-outline:focus {
    background: var(--zomp);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
}
.btn-danger:hover, .btn-danger:focus {
    background: var(--white);
    color: var(--danger);
}

.btn-lg { padding: 1rem 2.2rem; font-size: 1.08rem; }
.btn-sm { padding: 0.44rem 1rem; font-size: 0.84rem; }
.btn-block { width: 100%; }

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 5.5rem 0 6.5rem;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(132deg, var(--zomp) 0%, var(--platinum) 130%);
    color: var(--oxford-blue-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(40, 183, 169, 0.09) 0%, transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(184, 193, 236, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 0.93rem;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.21em;
    color: var(--zomp);
    margin-bottom: 1.1rem;
    text-shadow: 0 1px 7px rgba(184,193,236,0.15);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3.1rem, 7vw, 5.8rem);
    line-height: 1.04;
    letter-spacing: 0.035em;
    color: var(--oxford-blue-dark);
    margin-bottom: 2.3rem;
    font-weight: 900;
}
.hero h1 span {
    color: var(--zomp);
    letter-spacing: 0.07em;
}

.hero-sub {
    font-size: 1.18rem;
    color: var(--oxford-blue);
    max-width: 530px;
    margin: 0 auto 2.1rem;
    letter-spacing: 0.01em;
}

.hero-banner {
    max-width: 740px;
    margin: 0 auto 2.2rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}
.hero-banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    justify-content: center;
    margin-top: 1.2rem;
}

.hero--premium {
    background: linear-gradient(96deg, var(--zomp) 0%, var(--zomp-light) 60%, var(--lavender-gray) 120%);
    color: var(--oxford-blue-dark);
}
.hero--premium .hero-eyebrow { color: var(--zomp-light); }
.hero--premium h1 span { color: var(--zomp-light); }
.hero--premium .hero-sub { color: var(--oxford-blue); }
.hero--premium .btn-primary {
    background: linear-gradient(90deg, var(--zomp-light) 0%, var(--zomp) 100%);
    border-color: var(--zomp-light);
    color: var(--oxford-blue-dark);
}
.hero--premium .btn-primary:hover {
    background: var(--oxford-blue);
    color: var(--zomp-light);
}
.hero--premium .btn-outline {
    color: var(--zomp);
    border-color: var(--zomp-light);
}
.hero--premium .btn-outline:hover {
    background: var(--zomp-light);
    color: var(--oxford-blue);
    border-color: var(--zomp-light);
}

/* --- Features Section --- */
.features {
    padding: 4.5rem 0;
    background: var(--lavender-gray);
    color: var(--oxford-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.3rem;
}
.feature-icon {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
    color: var(--zomp);
    opacity: 0.7;
}
.feature h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
    font-weight: bold;
    color: var(--oxford-blue-dark);
}
.feature p {
    font-size: 1.05rem;
    color: var(--oxford-blue);
    line-height: 1.6;
}

/* --- Catalog and Cards --- */
.catalog { padding: 5rem 0; }
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: 3.3rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
    font-weight: 900;
    color: var(--oxford-blue-dark);
}
.section-header p { color: var(--gray); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2.2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
    transform: translateY(-6px) scale(1.018);
    box-shadow: var(--shadow-lg);
    border-color: var(--zomp-light);
}

.product-card-link { display: block; }
.product-card-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--lavender-gray);
    overflow: hidden;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.34s cubic-bezier(.19,1,.22,1);
}
.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--gray-light);
}
.product-placeholder svg { width: 56px; height: 66px; }
.product-placeholder.large svg { width: 88px; height: 100px; }

.image-count {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    background: var(--zomp);
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.26rem 0.7rem;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(35,41,70,0.06);
}

.product-card-body { padding: 1.45rem 1.2rem; }

.product-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.41rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    color: var(--oxford-blue-dark);
    font-weight: 700;
    line-height: 1.15;
}

.product-card-desc {
    font-size: 0.99rem;
    color: var(--gray);
    margin-bottom: 0.7rem;
    line-height: 1.55;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--oxford-blue-dark);
}

.price-original {
    text-decoration: line-through;
    color: var(--gray);
    font-weight: 500;
    font-size: 1rem;
}
.price-sale, .price-current { color: var(--zomp); }

.product-price--detail {
    font-size: 1.79rem;
    margin-bottom: 1.6rem;
}
.product-price--detail .price-sale, .product-price--detail .price-current { color: var(--zomp); }

.product-tag {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    background: var(--oxford-blue-dark);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    padding: 0.34rem 0.8rem;
    border-radius: 3px;
}
.product-tag--sale {
    left: auto;
    right: 0.8rem;
    background: var(--danger);
    color: var(--white);
}
.product-tag--detail {
    top: 1.05rem;
    left: 1.05rem;
    font-size: 0.83rem;
    padding: 0.44rem 0.9rem;
}

/* --- Sections --- */
.section-eyebrow {
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    color: var(--zomp);
    margin-bottom: 0.6rem;
}
.section-header--left { text-align: left; }
.section-footer-cta {
    text-align: center;
    margin-top: 2.6rem;
}
.product-grid--home { grid-template-columns: repeat(4, 1fr); }

/* --- New Arrivals Section --- */
.new-arrivals {
    padding: 5rem 0;
    background: linear-gradient(124deg, var(--platinum) 70%, var(--lavender-gray) 100%);
}

/* --- Promo Banner --- */
.promo-banner {
    padding: 4.1rem 0;
    background: linear-gradient(90deg, var(--oxford-blue) 60%, var(--zomp) 100%);
    color: var(--white);
}
.promo-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
    flex-wrap: wrap;
}
.promo-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 3rem);
    letter-spacing: 0.03em;
    margin-bottom: 0.85rem;
    color: var(--white);
}
.promo-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 480px;
    font-size: 1.04rem;
}
.promo-banner .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--oxford-blue-dark);
    flex-shrink: 0;
}
.promo-banner .btn-primary:hover {
    background: var(--oxford-blue-dark);
    color: var(--gold);
}

/* --- Footer --- */
.site-footer {
    background: var(--oxford-blue-dark);
    color: var(--white);
    margin-top: auto;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.3rem;
    padding: 4.5rem 1.8rem;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 2.3rem;
    letter-spacing: 0.07em;
    display: block;
    margin-bottom: 1.2rem;
    color: var(--zomp-light);
}
.footer-brand p, .footer-contact p {
    color: var(--lavender-gray);
    font-size: 1rem;
    margin-bottom: 1.05rem;
}
.footer-contact h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: 0.047em;
    margin-bottom: 0.8rem;
}
.footer-bottom {
    border-top: 1px solid rgba(184, 193, 236, 0.1);
    padding: 1.35rem 0;
}
.footer-bottom p {
    font-size: 0.84rem;
    color: var(--lavender-gray);
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 1000px) {
    .product-grid--home { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .product-detail-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .admin-header { flex-direction: column; }
    .hero-banner { max-width: 100%; }
    .hero-banner-image { max-height: 250px; }
    .hero { padding: 3.2rem 0 3.2rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .promo-banner-inner, .cta-strip-inner {
        flex-direction: column;
        text-align: center;
    }
    .form-row { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 320px; }
}
@media (max-width: 480px) {
    .main-nav { gap: 0.8rem; }
    .main-nav a { font-size: 0.78rem; }
    .header-inner { height: 54px; min-height: 54px; }
    .logo-text { font-size: 1rem; }
    .product-grid--home { grid-template-columns: repeat(2, 1fr); gap: 0.89rem; }
    .product-grid--home .product-card-body { padding: 0.7rem; }
    .product-grid--home .product-card-body h3 { font-size: 1rem; }
    .product-grid--home .product-card-desc { display: none; }
    .product-grid--home .product-price { font-size: 1rem; }
}
/* --- Typography & Details --- */
input, textarea, select, button {
    font-family: var(--font-body);
    font-size: 1rem;
}
::selection {
    background: var(--zomp-light);
    color: var(--oxford-blue);
}

/* --- Admin, Forms, Alerts --- */
/* (Omitted for brevity: not relevant for public/professional "index.php" look) */
