:root {
    --lilac-ash: #BCABAE;
    --onyx: #0F0F0F;
    --graphite: #2D2E2E;
    --dim-gray: #716969;
    --white: #FBFBFB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--white);
    color: var(--onyx);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

img, video {
    max-width: 100%;
    height: auto;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.newsletter-signup {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 2.5rem;
    padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 7vw, 6rem);
    background: #f1edeb;
}

.newsletter-eyebrow {
    margin-bottom: 0.5rem;
    color: var(--dim-gray);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.newsletter-copy h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.newsletter-copy > p:last-child {
    color: var(--dim-gray);
}

.newsletter-form {
    display: grid;
    gap: 0.55rem;
}

.newsletter-form label {
    font-size: 0.875rem;
    font-weight: 600;
}

.newsletter-input-row {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input-row input {
    min-width: 0;
    flex: 1;
    min-height: 46px;
    padding: 0.7rem 0.85rem;
    border: 1px solid #b8b2b0;
    border-radius: 6px;
    background: #fff;
    font: inherit;
}

.newsletter-input-row button {
    min-height: 46px;
    padding: 0.7rem 1.1rem;
    border: 0;
    border-radius: 6px;
    background: var(--onyx);
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.newsletter-input-row button:hover {
    background: var(--graphite);
}

.newsletter-form small {
    color: var(--dim-gray);
    font-size: 0.75rem;
}

.sticky-social-links {
    position: fixed;
    z-index: 110;
    top: 50%;
    right: 1rem;
    display: grid;
    gap: 0.5rem;
    transform: translateY(-50%);
}

.sticky-social-links a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: #111212;
    color: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.sticky-social-links a:hover {
    transform: translateX(-3px);
    background: var(--graphite);
}

.sticky-social-links a:focus-visible,
.newsletter-input-row input:focus-visible,
.newsletter-input-row button:focus-visible {
    outline: 3px solid #8b6f72;
    outline-offset: 3px;
}

.sticky-social-links svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.sticky-social-links a:last-child svg {
    fill: currentColor;
    stroke: none;
}

.sticky-social-links .social-icon-dot {
    fill: currentColor;
    stroke: none;
}

@media (max-width: 640px) {
    .newsletter-signup {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sticky-social-links {
        right: 0.65rem;
    }

    .sticky-social-links a {
        width: 40px;
        height: 40px;
    }

    .newsletter-input-row {
        flex-direction: column;
    }
}


.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 80px;
    padding: 0 40px;
    background: #111212;
    position: sticky;
    top: 0px;
    z-index: 100;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 6px 18px 6px 10px;
    background: var(--white);
    border-radius: 24px;
    text-decoration: none;
}

.logo span strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--onyx);
    letter-spacing: 1.5px;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav ul a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.nav ul a:hover {
    color: var(--lilac-ash);
}

.cart {
    height: 44px;
    padding: 0 16px;
    border-radius: 22px;
    background-color: var(--white);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.cart svg {
    color: var(--onyx);
}

.cart-toggle {
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cart-toggle:focus-visible {
    outline: 3px solid var(--lilac-ash);
    outline-offset: 4px;
}

.cartcount {
    background: var(--onyx);
    border-radius: 10px;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--onyx);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
    background: #f0f0f0;
}

.nav-toggle:focus-visible {
    outline: 3px solid var(--lilac-ash);
    outline-offset: 3px;
}

.nav-toggle svg {
    color: var(--onyx);
}

.nav-toggle .icon-close {
    display: none;
}

.nav-toggle.is-active .icon-hamburger {
    display: none;
}

.nav-toggle.is-active .icon-close {
    display: block;
}


.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.main.shop-page {
    justify-content: flex-start;
    align-items: stretch;
}

.signupmain {
    padding: 60px 20px;
    min-height: calc(100vh - 160px);
}

.signup-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vendor-register {
    max-width: 520px;
}

.vendor-register h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--onyx);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-align: center;
}

.vendor-register h6 {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--dim-gray);
    margin-bottom: 22px;
    text-align: center;
}

.signup-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--onyx);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-align: center;
}
.signup-card a{
    text-decoration: none;
    color: var(--lilac-ash);
}

.signup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--graphite);
    letter-spacing: 0.3px;
}

.form-group input {
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: var(--white);
    padding: 0 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--onyx);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: var(--onyx);
    box-shadow: 0 0 0 3px rgba(15, 15, 15, 0.08);
}

.form-group textarea,
.form-group select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: var(--white);
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--onyx);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--onyx);
    box-shadow: 0 0 0 3px rgba(15, 15, 15, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.dropzone-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px 14px;
    border: 2px dashed #b8b2b0;
    border-radius: 12px;
    background: #faf8f8;
    cursor: pointer;
    text-align: center;
    width: 100%;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone-label:hover {
    border-color: var(--onyx);
    background: #f3f0ef;
}

.dropzone-label input[type="file"] {
    margin-top: 6px;
    max-width: 100%;
    font-size: 0.82rem;
}

.signup-btn {
    width: 100%;
    height: 46px;
    background: #111212;
    color: var(--white);
    border: 1px solid transparent;
    border-radius: 23px;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.8px;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.25s ease;
}

.signup-btn:hover {
    background: var(--graphite);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.signup-btn:active {
    transform: translateY(0);
}

.auth-tabs {
    display: flex;
    width: 100%;
    background: #f0f0f0;
    border-radius: 25px;
    padding: 4px;
    margin-bottom: 22px;
    gap: 4px;
}

.auth-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    border-radius: 21px;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--dim-gray);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.auth-tab:hover {
    color: var(--onyx);
}

.auth-tab.active {
    background: #111212;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.login-subtext {
    font-size: 0.9rem;
    color: var(--dim-gray);
    margin-top: -16px;
    margin-bottom: 20px;
    text-align: center;
}

.switch {
    font-size: 0.9rem;
    color: var(--dim-gray);
    text-align: center;
    margin-top: 12px;
}

.switch span a {
    color: var(--onyx);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.switch span a:hover {
    color: var(--lilac-ash);
}


.ad {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 75vh;
    min-height: 420px;
    background-color: var(--graphite);
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(15, 15, 15, 0.65) 0%,
        rgba(15, 15, 15, 0.25) 50%,
        rgba(15, 15, 15, 0.75) 100%
    );
}

.content {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 46, 46, 0.85);
    backdrop-filter: blur(8px);
    width: 220px;
    height: 48px;
    border-radius: 24px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
}

.content:hover {
    background-color: var(--white);
    color: var(--onyx);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}


#shopsample,
#branddisplay {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 50px 30px;
    background: var(--white);
}

.branddisplaydiv {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.branddisplaydiv:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.branddisplaydiv img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


#shopheader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 0 40px;
    background: var(--dim-gray);
    color: var(--white);
    
}

#shop {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
}

#shop svg {
    display: block;
}

#searcharea {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 6px 14px;
    gap: 8px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

#searcharea:focus-within {
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

#searcharea input {
    width: 180px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 0.95rem;
}

#searcharea input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#searcharea svg {
    color: var(--white);
}

.no-results {
    width: 100%;
    text-align: center;
    color: var(--dim-gray);
    font-size: 1.1rem;
    padding: 60px 20px;
}


.footer {
    width: 100%;
    min-height: 80px;
    padding: 20px;
    background: #111212;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lilac-ash);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}


/* Non-mobile view: nav-toggle is display none */
@media (min-width: 769px) {
    .nav-toggle {
        display: none !important;
    }

    .nav {
        display: flex !important;
        position: static;
        width: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        border: none;
    }

    .nav ul {
        display: flex;
        flex-direction: row;
        gap: 32px;
        align-items: center;
    }

    .logo span {
        display: inline !important;
    }
}

/* Mobile view: nav-toggle is displayed and nav bar is a dropdown menu */
@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
        min-height: 68px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    /* Logo section displays ONLY the logo icon on mobile view */
    .logo span {
        display: none !important;
    }

    .logo {
        padding: 4px;
        gap: 0;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        justify-content: center;
        flex-shrink: 0;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    /* Show hamburger toggle button ONLY in mobile view */
    .nav-toggle {
        display: inline-flex !important;
    }

    /* Make nav bar a dropdown menu in mobile view */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #111212;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
        padding: 12px 20px 20px;
        z-index: 99;
    }

    .nav.is-open {
        display: block !important;
        animation: navDropdownSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav ul li {
        width: 100%;
    }

    .nav ul a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 12px 18px;
        border-radius: 10px;
        color: var(--white);
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    }

    .nav ul a:hover,
    .nav ul a:focus {
        background: rgba(255, 255, 255, 0.08);
        color: var(--lilac-ash);
        transform: translateX(4px);
    }

    .nav ul a:active {
        background: rgba(255, 255, 255, 0.15);
    }

    #shopheader {
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }

    #searcharea input {
        width: 140px;
    }

    .branddisplaydiv {
        width: 150px;
        height: 150px;
        padding: 14px;
    }
}

@keyframes navDropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 14px;
        min-height: 60px;
    }

    .header-actions {
        gap: 8px;
    }

    .logo {
        width: 38px;
        height: 38px;
        padding: 3px;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .cart {
        height: 38px;
        padding: 0 10px;
        gap: 8px;
    }

    .cart svg {
        width: 18px;
        height: 18px;
    }

    .cartcount {
        min-width: 18px;
        height: 18px;
        font-size: 0.7rem;
        padding: 0 4px;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
    }

    .nav-toggle svg {
        width: 19px;
        height: 19px;
    }

    .nav {
        padding: 10px 14px 16px;
    }

    .nav ul a {
        padding: 11px 14px;
        font-size: 0.88rem;
    }

    #shopheader {
        padding: 12px 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    #shop {
        justify-content: center;
        font-size: 1rem;
    }

    #searcharea {
        width: 100%;
        justify-content: space-between;
    }

    #searcharea input {
        width: 100%;
        flex: 1;
        font-size: 0.9rem;
    }

    #shopsample,
    #branddisplay {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 20px 12px;
    }

    .branddisplaydiv {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 12px;
    }

    .ad {
        height: 52vh;
        min-height: 280px;
    }

    .content {
        bottom: 24px;
        width: 170px;
        height: 42px;
        font-size: 0.85rem;
    }

    .signupmain {
        padding: 24px 12px;
        min-height: auto;
    }

    .signup-card {
        padding: 26px 18px;
        border-radius: 14px;
    }

    .signup-card h2,
    .signup-card h1 {
        font-size: 1.45rem;
    }
}

.nav-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.nav-icon-link.active svg {
    stroke: var(--onyx);
    fill: rgba(15, 15, 15, 0.12);
}

.profilemain {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 36px 24px 70px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}


.profile-hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.profile-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #111212 0%, var(--lilac-ash) 50%, #111212 100%);
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.profile-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #111212;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    border: 3px solid #ffffff;
    outline: 2px solid var(--lilac-ash);
}

.avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #111212;
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    border: 2px solid #ffffff;
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.profile-name-row h1 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--onyx);
    margin: 0;
    letter-spacing: 0.3px;
}

.profile-contact-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--dim-gray);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item svg {
    color: var(--dim-gray);
}

.meta-separator {
    color: #d1d1d1;
}

.profile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-profile-edit {
    padding: 10px 22px;
    border-radius: 22px;
    background: transparent;
    border: 1.5px solid var(--graphite);
    color: var(--graphite);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
}

.btn-profile-edit:hover {
    background: var(--graphite);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-profile-logout {
    padding: 10px 20px;
    border-radius: 22px;
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(220, 53, 69, 0.2);
    transition: all 0.25s ease;
}

.btn-profile-logout:hover {
    background: #dc3545;
    color: #ffffff;
    transform: translateY(-1px);
}


.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.stat-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--onyx);
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dim-gray);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Favorite Brands Section */
.favorite-brands-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.section-header-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.title-with-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-with-badge h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--onyx);
    margin: 0;
}

.badge-count {
    background: #111212;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--dim-gray);
}

.section-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 22px;
    padding: 7px 16px;
    width: 250px;
    transition: all 0.2s ease;
}

.brand-search-box:focus-within {
    border-color: var(--onyx);
    box-shadow: 0 0 0 3px rgba(15, 15, 15, 0.08);
}

.brand-search-box svg {
    color: var(--dim-gray);
    flex-shrink: 0;
}

.brand-search-box input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.88rem;
    color: var(--onyx);
    font-family: inherit;
}

.brand-search-box input::placeholder {
    color: #9c9a9a;
}

.btn-discover {
    background: #111212;
    color: var(--white);
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 22px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
}

.btn-discover:hover {
    background: var(--graphite);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Favorite Brands Grid & Cards */
.favorite-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
    width: 100%;
}

.fav-brand-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 24px 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fav-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.14);
}

.profile-dropdown ul{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-dropdown li{
    width: 100%;
}

.profile-dropdown > a,
.profile-dropdown li a{
    display: block;
    width: 100%;
    text-decoration: none;
    color: #333;
    padding: 9px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.profile-dropdown a:hover,
.profile-dropdown a:focus-visible{
    background-color: #f3effa;
    color: #5b3a78;
    transform: translateX(2px);
}

.profile-dropdown a:focus-visible{
    outline: 2px solid #5b3a78;
    outline-offset: 1px;
}

.btn-fav-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.08);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #e11d48;
    transition: all 0.2s ease;
    z-index: 2;
}

.btn-fav-toggle:not(.is-favorite) {
    color: #777777;
    background: rgba(0, 0, 0, 0.06);
}

.btn-fav-toggle:hover {
    transform: scale(1.15);
    background: rgba(220, 53, 69, 0.15);
}

.fav-logo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    background: #fbfbfb;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-top: 4px;
    transition: transform 0.25s ease;
}

.fav-brand-card:hover .fav-logo-wrap {
    transform: scale(1.04);
}

.fav-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fav-brand-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fav-brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--onyx);
    margin: 0;
}

.fav-brand-category {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dim-gray);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.btn-shop-brand {
    margin-top: auto;
    width: 100%;
    padding: 9px 14px;
    border-radius: 12px;
    background: rgba(15, 15, 15, 0.05);
    color: var(--onyx);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-shop-brand:hover {
    background: #111212;
    color: var(--white);
}

.btn-shop-brand svg {
    transition: transform 0.2s ease;
}

.btn-shop-brand:hover svg {
    transform: translateX(3px);
}

/* Empty State */
.empty-favorites {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px dashed rgba(0, 0, 0, 0.16);
    border-radius: 18px;
    padding: 50px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    color: var(--dim-gray);
}

.empty-favorites svg {
    color: var(--lilac-ash);
}

.empty-favorites h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--onyx);
    margin: 0;
}

.empty-favorites p {
    max-width: 420px;
    font-size: 0.92rem;
    margin: 0 0 8px;
}

.btn-reset-filter {
    padding: 8px 18px;
    border-radius: 18px;
    background: transparent;
    border: 1.5px solid var(--graphite);
    color: var(--graphite);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-reset-filter:hover {
    background: var(--graphite);
    color: var(--white);
}

/* Responsive Profile Layout */
@media (max-width: 900px) {
    .profile-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
    }

    .profile-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .profilemain {
        padding: 24px 14px 50px;
        gap: 24px;
    }

    .section-header-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .section-controls {
        width: 100%;
    }

    .brand-search-box {
        width: 100%;
    }

    .btn-discover {
        width: 100%;
        justify-content: center;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 20px 16px;
        align-items: center;
        text-align: center;
    }

    .profile-avatar-wrap {
        flex-direction: column;
        align-items: center;
    }

    .profile-name-row {
        justify-content: center;
    }

    .profile-name-row h1 {
        font-size: 1.4rem;
    }

    .profile-contact-meta {
        align-items: center;
        font-size: 0.85rem;
    }

    .profile-actions {
        width: 100%;
        justify-content: center;
    }

    .btn-profile-logout {
        width: 100%;
        text-align: center;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .favorite-brands-grid {
        grid-template-columns: 1fr;
    }
}

.collectionmain {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.logobanner {
    width: 100%;
    height: 38vh;
    min-height: 260px;
    background: #111212;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 20px;
}

.banner-content h1 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.banner-content p {
    color: var(--lilac-ash);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin: 0;
}

#brandcollection {
    width: 100%;
    min-height: 75vh;
    height: auto;
    background: transparent;
    display: grid;
    grid-template-columns: 240px 1fr;
    max-width: 1380px;
    margin: 0 auto;
    padding: 30px 40px 70px;
    gap: 36px;
}

.aside {
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 16px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding-right: 24px;
}

.aside > div {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 12px;
}

.dropbtn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--onyx);
    margin-bottom: 6px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.dropbtn:hover {
    color: var(--lilac-ash);
}

.arrow {
    transition: transform 0.25s ease;
}

.arrow.arrow-rotate {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    padding: 6px 0;
}

.dropdown-content-toggle {
    display: block;
}

.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-content li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--dim-gray);
}

.dropdown-content input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #111212;
    cursor: pointer;
}

.dropdown-content label {
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--graphite);
    transition: color 0.2s ease;
}

.dropdown-content label:hover {
    color: var(--onyx);
}

#collectiondisplay {
    width: 100%;
    min-height: 75vh;
    height: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
}

#displayheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
}

.display-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--onyx);
    letter-spacing: 0.3px;
}

.product-count {
    color: var(--dim-gray);
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.04);
    padding: 4px 12px;
    border-radius: 12px;
}

#displaysection {
    display: grid;
    grid-template-columns: repeat(3, minmax(230px, 1fr));
    gap: 24px;
    padding: 24px 0;
    width: 100%;
}

.product-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card-open {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.product-card-open:focus-visible,
.product-modal-close:focus-visible,
.product-modal-thumbnail:focus-visible {
    outline: 3px solid var(--lilac-ash);
    outline-offset: 3px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.product-img-wrap {
    height: 190px;
    background: #fbfbfb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.product-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.soldout-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 15, 15, 0.85);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: 4px;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-price-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0 16px 16px;
}

.product-community-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    padding: 0 16px 16px;
}

.product-community-actions form {
    margin: 0;
}

.product-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: var(--onyx);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

.product-secondary-button:hover,
.product-secondary-button.is-saved {
    border-color: var(--onyx);
    background: #f3f4f6;
}

.product-secondary-button:focus-visible,
.product-review-form input:focus-visible,
.product-review-form select:focus-visible,
.product-review-form textarea:focus-visible {
    outline: 3px solid var(--lilac-ash);
    outline-offset: 2px;
}

.product-review-details {
    position: relative;
}

.product-review-details summary {
    list-style: none;
}

.product-review-details summary::-webkit-details-marker {
    display: none;
}

.product-review-form {
    position: absolute;
    z-index: 2;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    width: min(280px, calc(100vw - 48px));
    gap: 8px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-review-form label {
    color: var(--graphite);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-review-form label span {
    color: var(--dim-gray);
    font-weight: 400;
}

.product-review-form input,
.product-review-form select,
.product-review-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: var(--onyx);
    font: inherit;
    font-size: 0.82rem;
}

.product-review-form textarea {
    resize: vertical;
}

.product-review-form .addtoCartBtn {
    justify-self: start;
}

.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.3rem;
    color: #604a18;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-rating-empty,
.review-eligibility-note {
    color: var(--dim-gray);
    font-size: 0.76rem;
    font-weight: 500;
}

.product-reviews {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.product-reviews h3 {
    margin: 0 0 0.35rem;
}

.product-review-summary {
    color: #604a18;
    font-size: 0.9rem;
    font-weight: 700;
}

.product-review-list {
    display: grid;
    max-height: 240px;
    gap: 0.75rem;
    margin-top: 0.65rem;
    overflow-y: auto;
}

.product-review-entry {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.product-review-entry-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.product-review-stars {
    color: #8a6b19;
    white-space: nowrap;
}

.product-review-date {
    color: var(--dim-gray);
    font-size: 0.75rem;
}

.product-review-verified {
    display: inline-block;
    margin-right: 0.5rem;
    color: #286044;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-review-entry p {
    margin-top: 0.5rem;
    overflow-wrap: anywhere;
}

.product-modal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.addtoCartBtn {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    background: var(--onyx);
    color: var(--white);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.addtoCartBtn:hover {
    background: var(--graphite);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.addtoCartBtn:focus-visible {
    outline: 3px solid var(--lilac-ash);
    outline-offset: 3px;
}

.product-brand {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--dim-gray);
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--onyx);
    margin: 0;
    line-height: 1.35;
}

.product-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--onyx);
    margin-top: 4px;
}

.no-products-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--dim-gray);
    font-size: 1rem;
}

.product-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(900px, calc(100vw - 32px));
    max-width: none;
    max-height: min(85vh, 800px);
    padding: 32px;
    border: 0;
    border-radius: 18px;
    color: var(--onyx);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cart-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(520px, calc(100vw - 32px));
    max-height: min(85vh, 700px);
    padding: 32px;
    border: 0;
    border-radius: 18px;
    color: var(--onyx);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#modal-variant-list {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 12px;
}

.product-modal::backdrop,
.cart-dialog::backdrop {
    background: rgba(0, 0, 0, 0.65);
}

.cart-dialog h2 {
    margin: 0 48px 20px 0;
}

.cart-dialog-summary,
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cart-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.cart-item p {
    color: var(--dim-gray);
}

.cart-item > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
}

.cart-dialog-summary {
    margin: 20px 0;
    font-size: 1.1rem;
}

.cart-dialog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cart-feedback {
    min-height: 1.5em;
    color: var(--dim-gray);
}

.product-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    font-size: 1.6rem;
    cursor: pointer;
}

.product-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    padding-top: 16px;
}

.product-modal-image-wrap {
    min-height: 300px;
    display: grid;
    place-items: center;
    background: #f8f8f8;
    border-radius: 12px;
}

.product-modal-image-wrap img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.product-modal-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}

.product-modal-thumbnail {
    width: 64px;
    height: 64px;
    padding: 4px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: white;
    cursor: pointer;
}

.product-modal-thumbnail.is-active {
    border-color: var(--onyx);
    box-shadow: 0 0 0 1px var(--onyx);
}

.product-modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-modal-details h2 {
    margin: 6px 40px 12px 0;
}

.product-modal-details h3 {
    margin: 22px 0 10px;
    font-size: 0.95rem;
}

.product-modal-price {
    font-size: 1.2rem;
    font-weight: 800;
}

.product-modal-status {
    color: var(--dim-gray);
    text-transform: capitalize;
}

.product-variant-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.product-variant-table th,
.product-variant-table td {
    padding: 9px 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
    text-align: left;
}

.product-variant-table tbody tr.is-selected {
    background: rgba(188, 171, 174, 0.2);
}

.product-variant-table input[type="radio"] {
    accent-color: var(--onyx);
    cursor: pointer;
}

.product-variant-table input[type="radio"]:disabled {
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .product-modal {
        width: calc(100vw - 20px);
        max-height: 90vh;
        padding: 20px 16px;
        border-radius: 14px;
    }

    .cart-dialog {
        width: calc(100vw - 20px);
        max-height: 90vh;
        padding: 20px 16px;
        border-radius: 14px;
    }

    .cart-dialog h2 {
        font-size: 1.3rem;
        margin: 0 36px 14px 0;
    }

    .cart-dialog-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cart-dialog-actions .addtoCartBtn,
    .cart-dialog-actions form,
    .cart-dialog-actions form button {
        width: 100%;
        text-align: center;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cart-item > div:first-child {
        width: 100%;
    }

    .cart-item-quantity {
        width: 100%;
        justify-content: space-between;
    }

    .product-modal-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-modal-image-wrap {
        min-height: 200px;
        max-height: 280px;
    }

    .product-modal-close {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 1.4rem;
    }
}

.logobanner::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image:
        linear-gradient(45deg, rgba(0, 0, 0, .3), transparent 50%),
        var(--brand-banner-image);
    background-position: center;
    background-size: cover;
    pointer-events: none;
}

.overlay:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--z-index-overlay, auto);
}

.flash-messages {
    width: min(100% - 32px, 720px);
    margin: 16px auto;
}

.flash-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.flash-success {
    color: #155724;
    background: #d4edda;
}

.flash-error {
    color: #721c24;
    background: #f8d7da;
}

@media (max-width: 1024px) {
    #brandcollection {
        padding: 24px 20px 50px;
        gap: 28px;
    }

    #displaysection {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .logobanner {
        height: 28vh;
        min-height: 200px;
        padding: 16px;
    }

    .banner-content h1 {
        font-size: 1.75rem;
    }

    #brandcollection {
        grid-template-columns: 1fr;
        padding: 18px 16px 40px;
        gap: 20px;
    }

    .aside {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-right: 0;
        padding-bottom: 16px;
    }

    #displaysection {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 540px) {
    #displaysection {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-img-wrap {
        height: 220px;
    }

    .product-price-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .product-price-actions .addtoCartBtn {
        width: 100%;
        text-align: center;
    }

    .product-community-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-community-actions .product-secondary-button {
        width: 100%;
        text-align: center;
    }

    .product-review-form {
        position: static;
        width: 100%;
        margin-top: 8px;
    }
}
