/* ========================================================
   LADYLOOKZ - MASTER STYLESHEET
   Brand Colors: Soft Rose Gold, Deep Charcoal, Warm Cream & Blush
   ======================================================== */

:root {
    --ll-primary: #D47A86;
    --ll-primary-dark: #B85B69;
    --ll-secondary: #2C2C2C;
    --ll-accent: #E8A87C;
    --ll-bg-soft: #FAF6F5;
    --ll-text-muted: #6C757D;
    --ll-border-color: #EAE2E1;
    --ll-font-main: 'Playfair Display', Georgia, serif;
    --ll-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    font-family: var(--ll-font-sans);
    color: var(--ll-secondary);
    background-color: #FFFFFF;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Typography Header */
h1, h2, h3, h4, .brand-font {
    font-family: var(--ll-font-main);
    font-weight: 600;
}

/* Top Announcement Bar */
.top-bar {
    background-color: var(--ll-secondary);
    color: #FFFFFF;
    font-size: 0.825rem;
    padding: 0.4rem 1rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.customer-hero-background .top-bar {
    background-color: rgba(0, 0, 0, 0.25) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Customer Combined Header + Hero Background Parent */
.customer-hero-background {
    background-color: #000000 !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), url('../images/hero-banner.webp') !important;
    background-size: cover !important;
    background-position: center 20% !important;
    background-repeat: no-repeat !important;
    position: relative;
    min-height: 290px;
    padding-bottom: 1.5rem;
    margin-bottom: 0;
    border-radius: 0 !important;
}

.navbar-ladylookz,
.navbar-ladylookz.navbar,
header nav,
header .navbar-ladylookz,
.customer-hero-background header,
.customer-hero-background nav,
.customer-hero-background .navbar,
.customer-hero-background .navbar-ladylookz,
.customer-hero-background .container,
.customer-hero-background .navbar-collapse,
.customer-hero-background .navbar-nav {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    --bs-navbar-bg: transparent !important;
    --bs-bg-opacity: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-logo,
.header-logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.brand-logo span {
    color: var(--ll-primary);
}

.navbar-ladylookz .brand-logo .brand-logo-img {
    position: static !important;
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.customer-hero-background .brand-logo,
.customer-hero-background .brand-logo span {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.customer-hero-background .nav-link,
.customer-hero-background .nav-link-ll,
.customer-hero-background .navbar-nav .nav-link {
    color: #FFFFFF !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    opacity: 1 !important;
}

.customer-hero-background .nav-link:hover,
.customer-hero-background .nav-link-ll:hover,
.customer-hero-background .navbar-nav .nav-link:hover {
    color: var(--ll-accent) !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
}

.customer-hero-background .btn-outline-dark {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    background: rgba(0, 0, 0, 0.35) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 600 !important;
}

.customer-hero-background .btn-outline-dark:hover {
    background: #FFFFFF !important;
    color: var(--ll-secondary) !important;
    text-shadow: none;
}

.customer-hero-background .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6) !important;
    padding: 0.35rem 0.6rem;
}

.customer-hero-background .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.hero-banner {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    min-height: auto;
    padding: 1.5rem 0 0.5rem 0;
    margin-bottom: 0;
}

.hero-banner::before,
.hero-banner::after {
    display: none !important;
    content: none !important;
}

.hero-brand-headline {
    font-family: var(--ll-font-main);
    font-size: 2.8rem;
    font-weight: 600;
    color: #FFFFFF !important;
    line-height: 1.15;
    letter-spacing: 0.5px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}

.hero-tagline {
    font-family: var(--ll-font-main);
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
    color: #F8F9FA !important;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85) !important;
}

.hero-supporting-text {
    font-family: var(--ll-font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92) !important;
    line-height: 1.55;
    letter-spacing: 0.2px;
    max-width: 620px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85) !important;
}

.hero-title {
    font-size: 2.2rem;
    color: #FFFFFF !important;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #FFFFFF !important;
    font-weight: 500;
    max-width: 650px;
    margin-top: 0.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85) !important;
}

/* Buttons */
.btn-ll-primary {
    background-color: var(--ll-primary);
    border-color: var(--ll-primary);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.65rem 1.6rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-ll-primary:hover {
    background-color: var(--ll-primary-dark);
    border-color: var(--ll-primary-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-ll-outline {
    border: 2px solid var(--ll-primary);
    color: var(--ll-primary-dark);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-ll-outline:hover {
    background-color: var(--ll-primary);
    color: #FFFFFF;
}

/* Hover Lift Card Effect */
.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}

/* 5 Column Grid for Large Screens */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Product Detail Main Image */
.main-product-detail-img {
    height: 480px;
    object-fit: cover;
}

/* Product Detail & Currency Price Non-Wrapping */
.text-nowrap,
.product-detail-pricing span#displayPrice,
.product-detail-pricing .text-decoration-line-through {
    white-space: nowrap !important;
    display: inline-block;
}

@media (max-width: 576px) {
    .main-product-detail-img {
        aspect-ratio: 1 / 1;
        height: auto !important;
        max-height: 380px !important;
        object-fit: cover;
        width: 100%;
    }
}

/* Product Cards */
.product-card {
    border: 1px solid var(--ll-border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #FFFFFF;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--ll-primary);
    color: #FFFFFF;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ll-secondary);
    margin-bottom: 0.4rem;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ll-primary-dark);
}

.product-price-old {
    font-size: 0.9rem;
    color: var(--ll-text-muted);
    text-decoration: line-through;
    margin-left: 0.4rem;
}

/* Admin Dashboard Elements */
.admin-card {
    border-radius: 10px;
    border: 1px solid var(--ll-border-color);
    background: #FFFFFF;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.admin-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ll-primary-dark);
}

/* Footer */
footer {
    background-color: var(--ll-secondary);
    color: #E2E2E2;
    padding: 3rem 0 1.5rem 0;
    margin-top: 4rem;
}

footer .footer-text,
footer .text-muted {
    color: #CCCCCC !important;
}

footer strong {
    color: #FFFFFF;
}

footer a {
    color: #D8D8D8;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

footer a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

footer code {
    color: #E8A87C;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

footer .badge {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 500;
}

.footer-brand {
    font-family: var(--ll-font-main);
    font-size: 1.6rem;
    color: #FFFFFF;
}

/* Responsive Utilities */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 991px) {
    .navbar-ladylookz .brand-logo .brand-logo-img {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
    }
}

@media (max-width: 576px) {
    .navbar-ladylookz .brand-logo .brand-logo-img {
        width: 25px !important;
        height: 25px !important;
        max-width: 25px !important;
        max-height: 25px !important;
    }
    #featured-products .featured-product-item:nth-child(n+7) {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .customer-hero-background {
        min-height: 240px;
        background-size: cover !important;
        background-position: center 20% !important;
        margin-bottom: 0;
        padding-bottom: 1rem;
        border-radius: 0 !important;
    }
    .customer-hero-background .navbar-collapse {
        background: rgba(0, 0, 0, 0.88) !important;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .hero-brand-headline {
        font-size: 2.5rem !important;
    }
    .hero-tagline {
        font-size: 1.05rem !important;
        letter-spacing: 0.5px;
    }
    .hero-supporting-text {
        font-size: 0.825rem !important;
        line-height: 1.45 !important;
    }
    .hero-title {
        font-size: 1.55rem !important;
        line-height: 1.3 !important;
    }
    .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    .hero-banner {
        padding: 0.75rem 0.5rem 0.5rem 0.5rem;
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .customer-hero-background {
        min-height: 53px !important;
        padding-bottom: 0 !important;
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        border-radius: 0 !important;
    }
    .navbar-ladylookz {
        padding-top: 0.15rem !important;
        padding-bottom: 0.15rem !important;
    }
    .hero-banner {
        padding-top: 0.1rem !important;
        padding-bottom: 0.2rem !important;
        margin-top: -1.05rem !important;
    }
    .navbar-ladylookz .btn-outline-dark,
    .customer-hero-background .btn-outline-dark {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }
    .hero-brand-headline {
        font-size: 1.85rem !important;
    }
    .hero-tagline {
        font-size: 0.95rem !important;
    }
    .hero-supporting-text {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    .hero-title {
        font-size: 1.45rem !important;
    }
    .brand-logo {
        font-size: 1.4rem;
    }
    .btn-ll-primary, .btn-ll-outline, .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .form-control, .form-select {
        font-size: 16px; /* Prevents iOS auto-zoom */
        min-height: 44px;
    }
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-supporting-text {
        display: none !important;
    }

    #featured-products .d-flex.justify-content-between.align-items-end.mb-4 .text-muted.small {
        display: none !important;
    }

    #featured-products .d-flex.justify-content-between.align-items-end.mb-4 > div:last-child {
        display: none !important;
    }

    /* Mobile Featured Products Card Layout Fix */
    #featured-products .row {
        --bs-gutter-x: 0.5rem !important;
        --bs-gutter-y: 0.75rem !important;
        margin-left: -0.25rem !important;
        margin-right: -0.25rem !important;
    }

    #featured-products .featured-product-item {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
        max-width: 100% !important;
    }

    #featured-products .product-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #featured-products .product-card img {
        height: 180px !important;
        object-fit: cover !important;
    }

    #featured-products .product-card .p-3 {
        padding: 0.6rem !important;
    }

    #featured-products .product-title {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
    }

    #featured-products .product-card .d-flex.align-items-baseline.gap-2 {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }

    #featured-products .product-price-old {
        order: 1 !important;
        font-size: 0.75rem !important;
        margin-left: 0 !important;
        line-height: 1.2 !important;
    }

    #featured-products .product-price {
        order: 2 !important;
        font-size: 0.95rem !important;
        line-height: 1.2 !important;
    }

    #featured-products .product-card .d-flex.justify-content-between.align-items-center {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.4rem !important;
    }

    #featured-products .product-card .d-flex.justify-content-between.align-items-center > div {
        display: flex !important;
        justify-content: flex-start !important;
    }

    #featured-products .product-card .btn-ll-outline,
    #featured-products .product-card .btn-sm {
        width: 100% !important;
        text-align: center !important;
        padding: 0.3rem 0.5rem !important;
        font-size: 0.75rem !important;
        min-height: 34px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }
}

/* Admin Add Product Page Mobile Usability */
.size-chip-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--ll-border-color);
    border-radius: 10px;
    background-color: #FFFFFF;
    color: var(--ll-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    text-align: center;
}

.size-chip-tile:hover {
    border-color: var(--ll-primary);
    background-color: var(--ll-bg-soft);
}

.size-chip-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
}

.size-chip-input:checked + .size-chip-tile {
    border-color: var(--ll-primary) !important;
    background-color: var(--ll-primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 10px rgba(212, 122, 134, 0.35);
}

.image-upload-tile {
    border: 2px dashed var(--ll-primary) !important;
    border-radius: 14px;
    background-color: var(--ll-bg-soft) !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.image-upload-tile:hover {
    background-color: #F5EAEB !important;
    border-color: var(--ll-primary-dark) !important;
}

.form-select-custom {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232C2C2C' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    min-height: 46px;
    font-size: 0.95rem;
}

