/* GULORA storefront. Bold & colorful: deep brand green + warm gold/coral accents, glass header, lifted cards. */
:root {
    --brand: #176b58;
    --brand-deep: #0b3d33;
    --brand-cream: #f4d79b;
    --primary: #176b58;
    --primary-dark: #0f5242;
    --primary-soft: #e6f4ef;
    --accent: #ff6b57;
    --gold: #f4b942;
    --ink: #10231f;
    --text: #2a3a36;
    --muted: #70827d;
    --line: #e3ece9;
    --surface: #f5faf8;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(11, 61, 51, 0.1);
    --shadow-lg: 0 18px 44px rgba(11, 61, 51, 0.18);
}

body.shop-body {
    background: var(--surface);
    color: var(--text);
    font-family: "Poppins", "Inter", "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.shop-main {
    flex: 1;
    padding: 32px 0 72px;
}

a {
    color: var(--primary);
    transition: color 0.15s;
}
a:hover {
    color: var(--brand);
}
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.btn {
    border-radius: 50px;
    font-weight: 600;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    transition: 0.2s;
}
.btn-sm {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
}
.btn-primary {
    background: linear-gradient(135deg, #1f8f75, var(--brand));
    border: 0;
    box-shadow: 0 6px 16px rgba(23, 107, 88, 0.28);
}
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(23, 107, 88, 0.35);
}
.btn-outline-primary {
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.form-control {
    border-radius: 12px;
    border-color: var(--line);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(23, 107, 88, 0.15);
}
.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}
.page-link {
    color: var(--primary);
}
label {
    font-weight: 600;
    font-size: 13px;
}

/* Header: sticky frosted glass */
.shop-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}
.shop-nav .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}
.shop-nav .navbar-brand:hover {
    text-decoration: none;
}
.shop-nav .brand-lockup {
    display: block;
    width: 150px;
    height: auto;
    flex: 0 0 auto;
}
.brand-tile {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1f8f75, var(--brand-deep));
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(23, 107, 88, 0.35);
    transition: transform 0.3s;
}
.navbar-brand:hover .brand-tile {
    transform: rotate(-8deg) scale(1.05);
}
.brand-tile img {
    height: 26px;
    width: auto;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-word {
    color: var(--brand);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.brand-line {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}
.shop-search {
    flex: 1;
    max-width: 460px;
    margin: 0 24px;
}
.shop-search .input-group {
    width: 100%;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(11, 61, 51, 0.08);
}
.shop-search .form-control {
    border-radius: 50px 0 0 50px;
    border: 0;
    padding-left: 20px;
    background: transparent;
    box-shadow: none;
}
.shop-search .btn {
    border-radius: 50px;
    margin: 3px;
    box-shadow: none;
}
/* No motion on the search bar: no hover lift, no colour/shadow fades */
.shop-search .form-control,
.shop-search .btn {
    transition: none;
}
.shop-search .btn:hover,
.shop-search .btn:focus {
    transform: none;
    box-shadow: none;
}
.shop-nav .nav-link {
    color: var(--text);
    font-weight: 600;
}
.shop-nav .nav-link:hover {
    color: var(--brand);
}
.cart-link {
    position: relative;
}
.cart-badge {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(255, 107, 87, 0.5);
}
.cat-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.cat-strip .container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding-top: 10px;
    padding-bottom: 10px;
}
.cat-strip a {
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--surface);
    transition: 0.2s;
}
.cat-strip a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}
.cat-strip a.active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 14px rgba(23, 107, 88, 0.3);
}

/* Hero */
.hero {
    background: #0b1511 center / cover no-repeat;
    color: #fff;
    border-radius: 22px;
    padding: 0 clamp(20px, 4vw, 52px);
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 11 / 5;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
}
.hero.ready .hero-slide {
    transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Dark gradient keeps the text readable over any photo */
.hero-slides::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.6) 42%,
        rgba(0, 0, 0, 0.12) 75%,
        rgba(0, 0, 0, 0) 100%
    );
}
/* Each slide has its own copy; they share one grid cell and cross-fade with the photos */
.hero-copies {
    display: grid;
    width: 100%;
}
.hero-copy {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
}
.hero.ready .hero-copy {
    transition:
        opacity 1.2s ease-in-out,
        visibility 0s 1.2s;
}
.hero-copy.active {
    opacity: 1;
    visibility: visible;
}
.hero.ready .hero-copy.active {
    transition: opacity 1.2s ease-in-out;
}
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}
.hero-dots button.active {
    width: 26px;
    background: #fff;
}
.hero > :not(.hero-slides):not(.hero-dots) {
    position: relative;
    z-index: 1;
}
.hero .eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 3px 13px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    backdrop-filter: blur(6px);
}
.hero h1 {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-weight: 800;
    font-size: 34px;
    line-height: 1.12;
    max-width: 520px;
    letter-spacing: -0.02em;
}
.hero h1 span {
    color: var(--brand-cream);
}
.hero p {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
    color: #fff;
    max-width: 440px;
    font-size: 14.5px;
    margin: 10px 0 4px;
}
.hero .btn {
    margin-top: 10px;
    padding: 8px 22px;
    font-size: 14px;
}
.hero .btn-hero {
    background: var(--brand-cream);
    color: var(--brand-deep);
    border: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.hero .btn-hero:hover {
    background: #fff;
    transform: translateY(-2px);
}
.hero .btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    margin-left: 8px;
}
.hero .btn-ghost:hover {
    background: #fff;
    color: var(--brand-deep);
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.section-title a {
    font-size: 14px;
    font-weight: 600;
}

.cat-tile {
    display: block;
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 12px;
    text-align: center;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s;
    height: 100%;
    box-shadow: 0 4px 14px rgba(11, 61, 51, 0.06);
}
.cat-tile i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 16px;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, #1f8f75, var(--brand));
    transition: 0.25s;
}
.col-6:nth-child(5n + 2) .cat-tile i {
    background: linear-gradient(135deg, #ff9a6b, var(--accent));
}
.col-6:nth-child(5n + 3) .cat-tile i {
    background: linear-gradient(135deg, #ffd36b, var(--gold));
}
.col-6:nth-child(5n + 4) .cat-tile i {
    background: linear-gradient(135deg, #7c8cff, #5b5bd6);
}
.col-6:nth-child(5n + 5) .cat-tile i {
    background: linear-gradient(135deg, #ff7eb3, #e0457b);
}
.cat-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--brand);
}
.cat-tile:hover i {
    transform: scale(1.1) rotate(-6deg);
}

.perks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 56px;
}
.perk {
    flex: 1 1 220px;
    display: flex;
    gap: 16px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: 0 4px 14px rgba(11, 61, 51, 0.06);
    transition: 0.25s;
}
.perk:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.perk i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.perk small {
    display: block;
    color: var(--muted);
}

/* Product cards (no photos yet: a vivid gradient tile with the product's initial) */
.product-card {
    position: relative;
    background: #fff;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(11, 61, 51, 0.07);
    transition: 0.3s;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-card .card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card .name {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
}
.product-card .name:hover {
    color: var(--brand);
}
.product-card .meta {
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.price {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand);
}
.thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 800;
    font-size: 60px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}
.thumb::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    right: -40px;
    bottom: -50px;
}
.product-card:hover .thumb {
    filter: saturate(1.15);
}
.thumb.lg {
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    font-size: 130px;
    box-shadow: var(--shadow);
}
.ph-0 {
    background: linear-gradient(135deg, #1fa384, #0b3d33);
}
.ph-1 {
    background: linear-gradient(135deg, #ff9a6b, #ff6b57);
}
.ph-2 {
    background: linear-gradient(135deg, #7c8cff, #5b5bd6);
}
.ph-3 {
    background: linear-gradient(135deg, #ffd36b, #f08a24);
}
.ph-4 {
    background: linear-gradient(135deg, #ff7eb3, #b44bd6);
}
.ph-5 {
    background: linear-gradient(135deg, #3ccfcf, #1b7fb0);
}
.stock-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
.stock-flag.out {
    color: #b91c1c;
}
.stock-flag.low {
    color: #b45309;
}

/* Catalog */
.filter-card,
.panel {
    background: #fff;
    border: 0;
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(11, 61, 51, 0.07);
}
.panel-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
}
.filter-card h6 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--brand);
    font-weight: 700;
    margin: 0 0 8px;
}
.filter-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.filter-card li a {
    display: block;
    padding: 5px 0;
    color: var(--text);
    text-decoration: none;
    transition: 0.15s;
}
.filter-card li a:hover {
    color: var(--brand);
    padding-left: 4px;
}
.filter-card li a.active {
    color: var(--brand);
    font-weight: 700;
}
.filter-card ul ul {
    padding-left: 14px;
    margin: 0;
}

/* Cart / checkout / account */
.cart-line {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.cart-line:last-child {
    border-bottom: 0;
}
.cart-line .thumb {
    width: 72px;
    flex-shrink: 0;
    border-radius: 14px;
    font-size: 28px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}
.summary-row.total {
    border-top: 2px dashed var(--line);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 19px;
    font-weight: 800;
    color: var(--brand);
}
.method-option {
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px 12px 40px;
    margin-bottom: 10px;
    display: block;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}
.method-option input {
    position: absolute;
    left: 14px;
    top: 17px;
}
.method-option:hover,
.method-option.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.method-option small {
    display: block;
    color: var(--muted);
    font-weight: 400;
}
.account-nav .nav-link {
    color: var(--text);
    border-radius: 50px;
    font-weight: 600;
}
.account-nav .nav-link.active {
    background: linear-gradient(135deg, #1f8f75, var(--brand));
    color: #fff;
    box-shadow: 0 6px 14px rgba(23, 107, 88, 0.3);
}
.table-orders thead th {
    background: var(--primary-soft);
    color: var(--brand);
    border: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.table-orders td {
    vertical-align: middle;
}

/* Status badges (same classes the admin partials.status emits) */
.badge-soft {
    padding: 5px 11px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    text-transform: capitalize;
}
.badge-completed,
.badge-paid,
.badge-delivered,
.badge-active,
.badge-ok {
    background: #d1fae5;
    color: #047857;
}
.badge-pending,
.badge-partial,
.badge-low {
    background: #fef3c7;
    color: #b45309;
}
.badge-cancelled,
.badge-failed,
.badge-unpaid,
.badge-inactive,
.badge-out {
    background: #fee2e2;
    color: #b91c1c;
}
.badge-processing,
.badge-under_review,
.badge-shipped,
.badge-refunded {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Auth */
.auth-box {
    max-width: 440px;
    margin: 20px auto;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

/* Footer */
.shop-footer {
    background: linear-gradient(160deg, var(--brand-deep), #072a23);
    color: rgba(255, 255, 255, 0.6);
    padding: 20px 0 8px;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 24px 24px 0 0;
}
.shop-footer h6 {
    color: var(--brand-cream);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
}
.shop-footer a {
    color: rgba(255, 255, 255, 0.65);
}
.shop-footer a:hover {
    color: #fff;
    text-decoration: none;
}
.shop-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.shop-footer li {
    margin-bottom: 1px;
}
.shop-footer .copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
    padding-top: 8px;
    font-size: 11.5px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer-brand img {
    height: 32px;
    width: auto;
}
.footer-name {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
}
.footer-tagline {
    color: var(--brand-cream);
    font-size: 13px;
}

@media (max-width: 991px) {
    /* Bootstrap drops the container's side padding in the collapsed navbar; keep the logo off the screen edge */
    .shop-nav {
        padding-left: 15px;
        padding-right: 15px;
    }
    .shop-nav .navbar-toggler {
        border: 0;
        padding-right: 0;
    }
    .shop-search {
        max-width: none;
        margin: 12px 0;
    }
    .hero {
        border-radius: 18px;
    }
    .hero h1 {
        font-size: 26px;
    }
}
.shop-drawer-head,
.shop-drawer-backdrop {
    display: none;
}
@media (max-width: 991px) {
    /* backdrop-filter would make the fixed drawer position against the header instead of the screen */
    .shop-nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .shop-nav .navbar-collapse,
    .shop-nav .navbar-collapse.collapsing {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        display: flex !important;
        flex-direction: column;
        width: min(320px, 86vw);
        height: 100vh !important;
        margin: 0;
        padding: 16px 18px 24px;
        overflow-y: auto;
        background: #fff;
        border-top: 0;
        box-shadow: -12px 0 32px rgba(11, 61, 51, 0.18);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform 0.28s ease, visibility 0s linear 0.28s;
    }
    .shop-nav .navbar-collapse.show {
        transform: none;
        visibility: visible;
        transition: transform 0.28s ease;
    }
    .shop-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--line);
    }
    .shop-drawer-head .brand-word {
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--brand-deep);
    }
    .shop-drawer-close {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 12px;
        background: var(--surface);
        color: var(--text);
        font-size: 18px;
    }
    /* Links stack vertically inside the sidebar */
    .shop-nav .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .shop-nav .navbar-nav .nav-item .btn {
        display: block;
        text-align: center;
        padding: 10px;
    }
    /* Bootstrap centers collapsed navbar content; stretch it so rows and buttons fill the sidebar */
    .shop-nav .navbar-collapse {
        align-items: stretch;
        justify-content: flex-start;
    }
    .shop-nav .navbar-nav {
        flex: 1 1 auto;
        width: 100%;
        margin: 0 !important;
        justify-content: flex-start;
        align-content: flex-start;
        flex-wrap: nowrap;
        align-self: stretch;
    }
    .shop-nav .navbar-nav > .nav-item:not(.nav-auth-first) {
        flex: 0 0 auto;
        margin-top: 0;
        margin-bottom: 0;
    }
    .shop-nav .navbar-nav .nav-auth {
        margin-left: 0 !important;
        width: 100%;
    }
    .shop-nav .navbar-nav .nav-auth .btn,
    .shop-nav .navbar-nav .nav-auth-first .nav-link {
        display: block;
        width: 100%;
        padding: 10px 14px;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.5;
        border-radius: 999px;
    }
    /* Sign in + Register sit at the bottom of the sidebar as matching outline buttons */
    .shop-nav .navbar-collapse {
        justify-content: flex-start !important;
    }
    .shop-nav .navbar-collapse > * {
        order: 0;
        flex: 0 0 auto;
    }
    /* Spacer absorbs the free height so the auth buttons drop to the bottom */
    .shop-nav .navbar-collapse::after {
        content: "";
        order: 4;
        flex: 1 1 auto;
    }
    .shop-nav .navbar-nav .nav-auth {
        order: 5;
    }
    .shop-nav .navbar-nav .nav-auth-first {
        margin-top: 0 !important;
    }
    .shop-nav .navbar-nav .nav-auth-first .nav-link {
        text-align: center;
        color: var(--primary);
        border: 2px solid var(--primary);
        transition: background-color 0.15s ease, color 0.15s ease;
    }
    .shop-nav .navbar-nav .nav-auth-first .nav-link:hover,
    .shop-nav .navbar-nav .nav-auth-first .nav-link:focus,
    .shop-nav .navbar-nav .nav-auth-first .nav-link:active,
    .shop-nav .navbar-nav .nav-auth .btn-outline-primary:hover,
    .shop-nav .navbar-nav .nav-auth .btn-outline-primary:focus,
    .shop-nav .navbar-nav .nav-auth .btn-outline-primary:active,
    .shop-nav .navbar-nav .nav-auth .btn-outline-primary:not(:disabled):not(.disabled):active {
        background: var(--primary) !important;
        border-color: var(--primary) !important;
        color: #fff !important;
        box-shadow: none !important;
        outline: 0;
    }
    /* Flatten the list so Shop, Sign in and Register are direct rows of the sidebar column: Shop right under search, auth buttons at the bottom */
    .shop-nav .navbar-nav {
        display: contents !important;
    }
    .shop-nav .navbar-collapse {
        gap: 4px;
    }
    .shop-head-actions .cart-link {
        position: relative;
        padding: 8px 12px;
    }
    .shop-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: rgba(11, 30, 26, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s ease;
    }
    body.shop-drawer-open {
        overflow: hidden;
    }
    body.shop-drawer-open .shop-drawer-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-copy {
        transition: none;
    }
    * {
        transition: none !important;
    }
}

/* Product photos */
.thumb > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.thumb:has(> img) {
    background: #eceeed;
}
.thumb[style*="--photo"]::before {
    content: "";
    position: absolute;
    inset: -24px;
    background: var(--photo) center / cover;
    filter: blur(22px) saturate(1.15);
    transform: scale(1.1);
}
.thumb:has(> img)::after {
    display: none;
}
.product-card .thumb {
    aspect-ratio: 4 / 5;
}
.product-card .thumb > img {
    object-fit: contain;
}
/* Uniform cards: every photo sits in a fixed-ratio frame, whatever its own dimensions.
   Photos are shown whole (contain) over a blurred copy of themselves, so nothing is cropped. */
.product-card .thumb {
    width: 100%;
}
.product-card .thumb > img {
    display: block;
}
.product-card .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    word-break: break-word;
}
.product-card .meta {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.thumb.gallery-main > img {
    object-fit: contain;
}
.cart-line .thumb:has(> img) {
    aspect-ratio: 1 / 1;
}
.cart-line .thumb > img {
    object-fit: contain;
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.gallery-thumb {
    flex: none;
}
.thumb.gallery-main > img.swap {
    animation: galleryFade 0.18s ease;
}
@keyframes galleryFade {
    from {
        opacity: 0.35;
    }
    to {
        opacity: 1;
    }
}
.gallery-thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--brand);
}

/* Quantity stepper: - [n] + */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: #fff;
    overflow: hidden;
}
.qty-stepper input {
    width: 46px;
    border: 0;
    text-align: center;
    font-weight: 600;
    background: transparent;
    padding: 6px 0;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-stepper input:focus {
    outline: 0;
}
.qty-btn {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: var(--brand);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: 0.15s;
}
.qty-btn:hover {
    background: var(--primary-soft);
}
.cart-line .qty-stepper {
    flex-shrink: 0;
}

/* Floating flash messages (e.g. "added to cart") so they're seen wherever the page is scrolled */
.shop-flash {
    position: fixed;
    top: 84px;
    right: 20px;
    z-index: 1060;
    max-width: 360px;
    border: 0;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}
@media (max-width: 575px) {
    .shop-flash {
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #ff8a5c);
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(255, 107, 87, 0.35);
}
.btn-accent:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
}
@media (max-width: 575px) {
    .form-inline .btn-accent {
        margin: 8px 0 0 !important;
    }
}

/* Checkout: account details shown under an online payment method */
.pay-box {
    background: #f3faf7;
    border: 1px dashed var(--brand);
    border-radius: 12px;
    padding: 14px 16px;
    margin: -4px 0 12px;
    font-size: 14px;
}

/* ---- Responsive: tablet / phone -------------------------------------- */
html {
    -webkit-text-size-adjust: 100%;
}
body.shop-body {
    overflow-x: hidden;
}
img {
    max-width: 100%;
}
.cat-strip .container {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cat-strip .container::-webkit-scrollbar {
    display: none;
}
.cart-line-total {
    width: 90px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .shop-main {
        padding: 22px 0 56px;
    }
    .filter-card {
        padding: 18px;
    }
    /* Links stack inside the slide-in sidebar */
    .shop-nav .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 4px 6px;
        padding: 4px 0 8px;
    }
    .shop-nav .navbar-nav .nav-link {
        padding: 8px 10px;
        border-radius: 10px;
    }
    .shop-nav .navbar-nav .nav-link:active {
        background: var(--surface);
    }
    /* Account menu opens inline (pushes the header down) on a solid background, never over the page */
    .shop-nav .navbar-nav .dropdown {
        display: contents;
    }
    .shop-nav .navbar-nav .dropdown-menu {
        /* Always visible on mobile; its items become rows of the sidebar column */
        display: contents !important;
    }
    /* Profile card */
    .shop-nav .navbar-nav .acc-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 10px 0 6px;
        padding: 12px 14px;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(31, 143, 117, 0.12), rgba(31, 143, 117, 0.04));
    }
    .shop-nav .navbar-nav .acc-avatar {
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--brand), var(--brand-deep));
        color: #fff;
        font-weight: 700;
        font-size: 17px;
    }
    .shop-nav .navbar-nav .acc-meta {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.25;
    }
    .shop-nav .navbar-nav .acc-name {
        font-weight: 700;
        color: var(--text);
    }
    .shop-nav .navbar-nav .acc-email {
        font-size: 12px;
        font-weight: 500;
        color: var(--muted, #6b7a76);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .shop-nav .navbar-nav .dropdown-menu .dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 6px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
    }
    .shop-nav .navbar-nav .dropdown-menu .dropdown-item .fa {
        width: 32px;
        height: 32px;
        line-height: 32px;
        text-align: center;
        border-radius: 10px;
        background: rgba(31, 143, 117, 0.12);
        color: var(--brand);
        font-size: 15px;
    }
    .shop-nav .navbar-nav .dropdown-menu .dropdown-item:hover,
    .shop-nav .navbar-nav .dropdown-menu .dropdown-item:active,
    .shop-nav .navbar-nav .dropdown-menu .dropdown-item:focus {
        background: var(--surface);
        color: var(--brand);
    }
    /* Sign out is pinned to the bottom of the sidebar */
    .shop-nav .navbar-nav .dropdown-menu form {
        order: 6;
        width: 100%;
        margin-top: 8px;
    }
    /* Same outline pill as Sign in / Register */
    .shop-nav .navbar-nav .dropdown-menu form .dropdown-item {
        display: block;
        width: 100%;
        padding: 10px 14px;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.5;
        text-align: center;
        color: var(--primary);
        background: transparent;
        border: 2px solid var(--primary);
        border-radius: 999px;
        transition: background-color 0.15s ease, color 0.15s ease;
    }
    .shop-nav .navbar-nav .dropdown-menu form .dropdown-item .fa {
        width: auto;
        height: auto;
        line-height: inherit;
        background: transparent;
        color: inherit;
        font-size: inherit;
        margin-right: 6px;
    }
    .shop-nav .navbar-nav .dropdown-menu form .dropdown-item:hover,
    .shop-nav .navbar-nav .dropdown-menu form .dropdown-item:focus,
    .shop-nav .navbar-nav .dropdown-menu form .dropdown-item:active {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
        outline: 0;
    }
    .shop-nav .navbar-nav .dropdown-divider {
        display: none;
    }
    /* Solid, clear header while the menu is open */
    .shop-nav {
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 8px 24px rgba(11, 61, 51, 0.08);
    }
    .shop-nav .navbar-nav .nav-link {
        font-size: 15px;
    }
    .shop-nav .navbar-nav .dropdown-toggle {
        pointer-events: none;
        cursor: default;
    }
    .shop-nav .navbar-nav .dropdown-toggle::after {
        display: none;
    }
    .shop-nav .navbar-nav .dropdown-toggle[aria-expanded="true"] {
        background: rgba(31, 143, 117, 0.1);
        color: var(--brand);
    }
    .shop-nav .navbar-collapse {
        border-top: 1px solid var(--line);
        margin-top: 0;
        padding-top: 16px;
    }
    .shop-nav .navbar-nav .cart-link {
        padding: 8px 14px;
    }
    .shop-nav .navbar-nav .cart-badge {
        top: 0;
        right: 2px;
    }
    .shop-nav .nav-item .btn {
        margin: 0;
    }
    .shop-nav .shop-search .input-group {
        flex-wrap: nowrap;
    }
    .brand-line {
        display: none;
    }
    .shop-nav .dropdown-menu {
        border: 0;
        box-shadow: none;
        background: var(--surface);
    }
    .thumb.lg {
        font-size: 90px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    .hero {
        padding: 28px 18px 40px;
        margin-bottom: 26px;
        aspect-ratio: auto;
        min-height: 380px;
    }
    .hero-slides::after {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.62) 100%
        );
    }
    .hero-actions {
        width: 100%;
    }
    .hero h1 {
        font-size: 24px;
    }
    .hero .btn {
        display: block;
        width: 100%;
        margin: 10px 0 0;
    }
    .hero .btn-ghost {
        margin-left: 0;
    }
    .perks {
        margin-top: 36px;
        gap: 12px;
    }
    .perk {
        flex-basis: 100%;
        padding: 16px;
    }
    .panel,
    .filter-card {
        padding: 16px;
    }
    .auth-box {
        margin: 8px auto;
        padding: 28px 22px;
        border-radius: 20px;
    }
    .shop-footer {
        border-radius: 14px 14px 0 0;
    }
    /* product page: stack the action buttons full width */
    .form-inline {
        align-items: stretch;
    }
    .form-inline .btn-lg {
        flex: 1 1 100%;
        margin: 8px 0 0 !important;
    }
    .form-inline .qty-stepper {
        margin-right: 0 !important;
    }
    /* cart line: image + details on top, stepper / total / remove underneath */
    .cart-line {
        flex-wrap: wrap;
        gap: 10px 12px;
    }
    .cart-line > .flex-grow-1 {
        flex: 1 1 calc(100% - 90px);
        min-width: 0;
    }
    .cart-line .qty-stepper {
        margin-left: 84px;
    }
    .cart-line-total {
        margin-left: auto;
        width: auto;
    }
    .gallery-thumb {
        width: 54px;
        height: 54px;
    }
    .form-control {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .shop-nav .navbar-brand .brand-lockup {
        width: 130px;
    }
    .shop-main {
        padding: 16px 0 44px;
    }
    .brand-tile {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    .brand-tile img {
        height: 22px;
    }
    .brand-word {
        font-size: 14px;
    }
    .brand-line {
        font-size: 10px;
    }
    .hero h1 {
        font-size: 22px;
    }
    .price {
        font-size: 16px;
    }
    .thumb {
        font-size: 44px;
    }
    .product-card .card-body {
        padding: 10px 12px 12px;
    }
    .product-card:hover,
    .cat-tile:hover,
    .perk:hover {
        transform: none;
    }
    .cat-tile {
        padding: 16px 8px;
    }
    .cat-tile i {
        width: 46px;
        height: 46px;
        font-size: 19px;
    }
    .summary-row.total {
        font-size: 17px;
    }
    h1.h3 {
        font-size: 1.4rem;
    }
    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}

@media (max-width: 359px) {
    .shop-nav .navbar-brand .brand-lockup {
        width: 120px;
    }
    .brand-line {
        display: none;
    }
    .brand-word {
        font-size: 13px;
    }
    .cart-line .qty-stepper {
        margin-left: 0;
    }
    .auth-box {
        padding: 22px 16px;
    }
}
@media (max-width: 575px) {
    /* product page title / price carry inline sizes */
    .col-md-7 > h1 {
        font-size: 24px !important;
    }
    .col-md-7 > .price {
        font-size: 24px !important;
    }
}

/* Product card footer: price and Add button never squeeze each other */
.product-foot {
    flex-wrap: wrap;
    gap: 8px;
}
.product-foot .price {
    white-space: nowrap;
}
.product-foot .btn {
    white-space: nowrap;
}
@media (max-width: 575px) {
    .product-foot {
        flex-direction: column;
        align-items: stretch !important;
    }
    .product-foot form {
        width: 100%;
    }
    .product-foot .btn {
        width: 100%;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }
    .product-foot .price {
        font-size: 17px;
    }
    .product-card .name {
        min-height: 2.6em;
    }
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active {
    background: var(--primary-soft);
    color: var(--primary);
}

/* Sort dropdown: styled replacement for the native select (see catalog.blade.php) */
.sort-select {
    border-radius: 50px;
    border: 1px solid var(--line);
    background-color: #fff;
    font-weight: 600;
    color: var(--ink);
    padding-left: 16px;
    cursor: pointer;
}
.cselect {
    position: relative;
    display: inline-block;
    min-width: 190px;
}
.cselect-btn {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: 6px 38px 6px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 4px 14px rgba(11, 61, 51, 0.06);
    cursor: pointer;
    position: relative;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}
.cselect-btn::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s;
}
.cselect-btn:hover,
.cselect.open .cselect-btn,
.cselect-btn:focus {
    border-color: var(--brand);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(23, 107, 88, 0.15);
}
.cselect.open .cselect-btn::after {
    transform: translateY(-30%) rotate(225deg);
}
.cselect-list {
    position: absolute;
    z-index: 1040;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 0.18s;
}
.cselect.open .cselect-list {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.cselect-list li {
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cselect-list li:hover {
    background: var(--primary-soft);
    color: var(--brand);
}
.cselect-list li.selected {
    background: linear-gradient(135deg, #1f8f75, var(--brand));
    color: #fff;
    font-weight: 600;
}
.cselect-list li.selected::after {
    content: "\2713";
    font-size: 13px;
}
@media (max-width: 575px) {
    .cselect {
        min-width: 160px;
    }
}

/* ---- Desktop account dropdown ---------------------------------------- */
@media (min-width: 992px) {
    .shop-nav .navbar-nav .dropdown-menu {
        min-width: 220px;
        margin-top: 12px;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(11, 61, 51, 0.16);
        animation: accDrop 0.16s ease;
    }
    /* little pointer under the toggle */
    .shop-nav .navbar-nav .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -7px;
        right: 26px;
        width: 12px;
        height: 12px;
        background: #fff;
        border-left: 1px solid var(--line);
        border-top: 1px solid var(--line);
        transform: rotate(45deg);
    }
    .shop-nav .navbar-nav .dropdown-menu .dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 9px 10px;
        border-radius: 10px;
        font-size: 14.5px;
        font-weight: 600;
        color: var(--text);
        transition: background-color 0.15s ease, color 0.15s ease;
    }
    .shop-nav .navbar-nav .dropdown-menu .dropdown-item .fa {
        flex: 0 0 auto;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        border-radius: 9px;
        background: rgba(31, 143, 117, 0.12);
        color: var(--brand);
        font-size: 14px;
    }
    .shop-nav .navbar-nav .dropdown-menu .dropdown-item:hover,
    .shop-nav .navbar-nav .dropdown-menu .dropdown-item:focus {
        background: var(--surface);
        color: var(--brand);
    }
    .shop-nav .navbar-nav .dropdown-menu .dropdown-divider {
        margin: 6px 4px;
        border-color: var(--line);
    }
    .shop-nav .navbar-nav .dropdown-menu form .dropdown-item {
        width: 100%;
        border: 0;
        background: transparent;
        color: var(--brand);
    }
    .shop-nav .navbar-nav .dropdown-menu form .dropdown-item .fa {
        background: rgba(31, 143, 117, 0.12);
        color: var(--brand);
    }
    .shop-nav .navbar-nav .dropdown-menu form .dropdown-item:hover {
        background: rgba(31, 143, 117, 0.1);
        color: var(--brand);
    }
}
@keyframes accDrop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* Logo icon in the mobile drawer header */
.drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.drawer-brand .brand-tile {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
}

/* Mobile drawer: Shop row styled like My orders / My profile */
@media (max-width: 991px) {
    .shop-nav .navbar-nav .nav-link.nav-shop {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 6px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
    }
    .shop-nav .navbar-nav .nav-link.nav-shop .fa {
        flex: 0 0 auto;
        width: 32px;
        height: 32px;
        line-height: 32px;
        text-align: center;
        border-radius: 10px;
        background: rgba(31, 143, 117, 0.12);
        color: var(--brand);
        font-size: 15px;
    }
    .shop-nav .navbar-nav .nav-link.nav-shop:hover,
    .shop-nav .navbar-nav .nav-link.nav-shop:active {
        background: var(--surface);
        color: var(--brand);
    }
}
@media (max-width: 991px) {
    /* Shop sits after My orders / My profile, above the spacer that pushes Sign out to the bottom */
    .shop-nav .navbar-nav > .nav-item:first-child {
        order: 4;
    }
}

/* No blue tap/focus highlight on header links and buttons */
.shop-nav a,
.shop-nav button,
.shop-drawer-close {
    -webkit-tap-highlight-color: transparent;
}
.shop-nav a:focus,
.shop-nav button:focus,
.shop-nav .btn:focus,
.shop-nav .btn:active:focus,
.shop-nav .navbar-toggler:focus,
.shop-nav .nav-link:focus,
.shop-nav .dropdown-item:focus,
.shop-drawer-close:focus {
    outline: 0;
    box-shadow: none !important;
}
.shop-nav .dropdown-item:active,
.shop-nav .nav-link:active {
    background-color: var(--surface);
}

/* Outline buttons: Bootstrap's blue pressed/focus state replaced with the brand green (all screen sizes) */
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.focus,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: 0;
}

/* Mobile drawer rows: same tinted background as the profile card on hover / tap */
@media (max-width: 991px) {
    .shop-nav .navbar-nav .dropdown-menu > .dropdown-item,
    .shop-nav .navbar-nav .nav-link.nav-shop {
        padding: 10px 14px;
    }
    .shop-nav .navbar-nav .dropdown-menu > .dropdown-item:hover,
    .shop-nav .navbar-nav .dropdown-menu > .dropdown-item:focus,
    .shop-nav .navbar-nav .dropdown-menu > .dropdown-item:active,
    .shop-nav .navbar-nav .nav-link.nav-shop:hover,
    .shop-nav .navbar-nav .nav-link.nav-shop:focus,
    .shop-nav .navbar-nav .nav-link.nav-shop:active {
        background: linear-gradient(135deg, rgba(31, 143, 117, 0.12), rgba(31, 143, 117, 0.04));
        color: var(--brand);
    }
}

/* Desktop account dropdown: visible tinted background on hover (same as the drawer rows) */
@media (min-width: 992px) {
    .shop-nav .navbar-nav .dropdown-menu > .dropdown-item:hover,
    .shop-nav .navbar-nav .dropdown-menu > .dropdown-item:focus {
        background: linear-gradient(135deg, rgba(31, 143, 117, 0.16), rgba(31, 143, 117, 0.06));
        color: var(--brand);
    }
}

/* Drawer rows: force the hover background (beats any other hover/focus rule) */
@media (max-width: 991px) {
    .shop-nav .navbar-collapse .dropdown-menu > a.dropdown-item:hover,
    .shop-nav .navbar-collapse .dropdown-menu > a.dropdown-item:focus,
    .shop-nav .navbar-collapse a.nav-link.nav-shop:hover,
    .shop-nav .navbar-collapse a.nav-link.nav-shop:focus {
        background: #e8f3ef !important;
        color: var(--brand) !important;
    }
}

/* Desktop header: Brand | Shop | Search | Cart | account (Sign in / Register or user menu) */
@media (min-width: 992px) {
    .shop-nav .navbar-collapse {
        align-items: center;
    }
    .shop-nav .navbar-nav {
        display: contents;
    }
    .shop-nav .navbar-nav > .nav-item:first-child {
        order: 1;
        margin-left: 8px;
    }
    .shop-nav .shop-search {
        order: 2;
        margin: 0 20px 0 12px;
        max-width: none;
    }
    .shop-nav .navbar-nav > .nav-item:last-child {
        order: 3;
        margin-left: 0 !important;
        margin-right: 8px;
    }
    .shop-nav .navbar-nav > .nav-item:not(:first-child):not(:last-child) {
        order: 4;
    }
}

/* Mobile: slightly tighter letter spacing so the brand name stays on one line next to the logo and cart */
@media (max-width: 575px) {
    .shop-nav .navbar-brand .brand-word {
        letter-spacing: 0.6px;
        white-space: nowrap;
    }
    .shop-drawer-head .brand-word {
        font-size: 14px;
    }
}

/* Mobile drawer: fit the real visible screen so the bottom buttons are never cut off */
@media (max-width: 991px) {
    .shop-nav .navbar-collapse,
    .shop-nav .navbar-collapse.collapsing {
        height: 100vh !important;
        height: 100dvh !important;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
    }
}

/* Mobile sidebar: smaller text throughout */
@media (max-width: 991px) {
    .shop-drawer-head .brand-word {
        font-size: 13px;
    }
    .shop-nav .shop-search .form-control {
        font-size: 14px;
    }
    .shop-nav .navbar-nav .nav-link.nav-shop,
    .shop-nav .navbar-nav .dropdown-menu > .dropdown-item {
        font-size: 14px;
    }
    .shop-nav .navbar-nav .acc-name {
        font-size: 14px;
    }
    .shop-nav .navbar-nav .acc-email {
        font-size: 11px;
    }
    .shop-nav .navbar-nav .nav-auth .btn,
    .shop-nav .navbar-nav .nav-auth-first .nav-link,
    .shop-nav .navbar-nav .dropdown-menu form .dropdown-item {
        font-size: 14px;
    }
}

/* Star rating picker (radios in reverse order so ":checked ~ label" fills the stars up to the chosen one) */
.star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-input label {
    margin: 0;
    font-size: 30px;
    line-height: 1;
    color: #d5d5dc;
    cursor: pointer;
    transition: color .15s, transform .15s;
}

.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
    color: #f5a623;
}

.star-input label:hover {
    transform: scale(1.15);
}

.star-input input:focus-visible + label {
    outline: 2px solid var(--primary, #c2185b);
    outline-offset: 2px;
    border-radius: 4px;
}

/* About page */
.about-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 64px 24px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(244, 185, 66, 0.35), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(255, 107, 87, 0.35), transparent 45%),
        linear-gradient(135deg, var(--brand), var(--brand-deep));
    box-shadow: var(--shadow-lg);
}
.about-hero h1 {
    font-weight: 800;
    font-size: clamp(30px, 5vw, 52px);
    margin: 12px 0 16px;
}
.about-hero p {
    max-width: 620px;
    margin: 0 auto 28px;
    font-size: 17px;
    opacity: 0.92;
}
.about-eyebrow {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.about-hero-actions .btn {
    margin: 4px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: -32px 24px 0;
    position: relative;
}
.about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 20px 14px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.about-stat i {
    font-size: 24px;
    color: var(--accent);
}
.about-stat strong {
    color: var(--ink);
}
.about-stat span {
    font-size: 13px;
    color: var(--muted);
}

.about-card {
    height: 100%;
    padding: 28px 24px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.about-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 16px 0 8px;
}
.about-card p {
    margin: 0;
    color: var(--muted);
}
.about-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 26px;
    color: var(--primary);
    background: var(--primary-soft);
}

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
    padding: 36px 40px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-deep), var(--brand));
}
.about-cta h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 4px;
}
.about-cta p {
    margin: 0;
    opacity: 0.85;
}

@media (max-width: 767px) {
    .about-hero {
        padding: 44px 18px;
    }
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        margin: -24px 8px 0;
    }
    .about-cta {
        padding: 28px 22px;
        text-align: center;
        justify-content: center;
    }
}

.shop-footer a {
    display: inline-block;
    transition: color 0.15s, transform 0.15s;
}
.shop-footer ul a:hover {
    transform: translateX(3px);
}
@media (max-width: 767px) {
    .shop-footer {
        padding-top: 18px;
        text-align: left;
    }
    .shop-footer .copy {
        text-align: center;
    }
}

/* Information pages: compact banner, narrow column, FAQ accordion, policy cards */
.page-hero {
    text-align: center;
    padding: 44px 24px;
    border-radius: 24px;
    color: #fff;
    margin-bottom: 32px;
    background:
        radial-gradient(circle at 12% 25%, rgba(244, 185, 66, 0.3), transparent 40%),
        radial-gradient(circle at 88% 75%, rgba(255, 107, 87, 0.3), transparent 45%),
        linear-gradient(135deg, var(--brand), var(--brand-deep));
    box-shadow: var(--shadow-lg);
}
.page-hero h1 {
    font-weight: 800;
    font-size: clamp(26px, 4vw, 40px);
    margin: 10px 0 8px;
}
.page-hero p {
    max-width: 560px;
    margin: 0 auto;
    opacity: 0.9;
}
.page-narrow {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-q {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    border: 0;
    background: none;
    text-align: left;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}
.faq-q:focus {
    outline: none;
}
.faq-icon {
    flex: none;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    background: var(--primary-soft);
}
.faq-text {
    flex: 1;
}
.faq-caret {
    font-size: 20px;
    color: var(--muted);
    transition: transform 0.2s;
}
.faq-q:not(.collapsed) .faq-caret {
    transform: rotate(180deg);
}
.faq-q:not(.collapsed) {
    color: var(--primary);
}
.faq-a {
    padding: 0 20px 18px 72px;
    color: var(--muted);
}

.policy-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.policy-card .about-icon {
    flex: none;
    margin: 0;
    width: 52px;
    height: 52px;
    font-size: 21px;
}
.policy-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin: 2px 0 6px;
}
.policy-card p {
    margin: 0;
    color: var(--muted);
}

.page-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.page-list li {
    position: relative;
    padding: 6px 0 6px 26px;
    color: var(--muted);
}
.page-list li::before {
    content: "\f00c";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.page-note {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 22px 26px;
    border-radius: var(--radius);
    background: var(--primary-soft);
}
.page-note > i {
    font-size: 28px;
    color: var(--primary);
}
.page-note > div {
    flex: 1;
    min-width: 180px;
}
.page-note strong,
.page-note span {
    display: block;
}
.page-note strong {
    color: var(--ink);
}
.page-note span {
    color: var(--muted);
    font-size: 13px;
}

.contact-card {
    padding: 28px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (max-width: 575px) {
    .page-hero {
        padding: 32px 16px;
    }
    .faq-a {
        padding-left: 20px;
    }
}

/* Footer logo: the navbar logo on a white tile so it reads on the dark green */
.footer-logo {
    display: inline-block;
    padding: 10px 16px;
    background: #fff;
    border-radius: 14px;
}
.footer-logo img {
    display: block;
    width: 170px;
    height: auto;
}

/* ===== Information pages: refreshed look (overrides the earlier about/page styles) ===== */
.about-hero,
.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0b3d33 0%, #11584a 55%, #176b58 100%);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(11, 61, 51, 0.25);
}
/* soft gold / coral rings instead of blurry blobs */
.about-hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -50px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 36px solid rgba(244, 185, 66, 0.22);
    pointer-events: none;
}
.about-hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 28px solid rgba(255, 107, 87, 0.2);
    pointer-events: none;
}
.about-hero > *,
.page-hero > * {
    position: relative;
    z-index: 1;
}
.about-hero h1,
.page-hero h1,
.about-cta h2 {
    color: #fff;
}
.about-hero h1 {
    font-size: clamp(32px, 5vw, 54px);
    letter-spacing: -0.5px;
}
.about-hero p,
.page-hero p {
    color: rgba(255, 255, 255, 0.88);
    opacity: 1;
    font-size: 16px;
}
.about-eyebrow {
    background: var(--gold);
    color: #3d2a00;
    padding: 5px 16px;
    font-size: 11px;
}

/* highlight tiles */
.about-stat {
    border: 1px solid var(--line);
    padding: 22px 14px;
}
.about-stat i {
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 14px;
    background: #fff3d6;
    color: #c98a00;
    font-size: 22px;
    margin-bottom: 6px;
}
.about-stat strong {
    font-size: 14.5px;
}
.about-stat span {
    font-size: 12.5px;
}

/* value / policy cards: accent bar on top, gold icon tile */
.about-card,
.policy-card {
    position: relative;
    border: 1px solid var(--line);
    box-shadow: 0 6px 20px rgba(11, 61, 51, 0.06);
}
.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}
.about-card p,
.policy-card p {
    font-size: 14.5px;
    line-height: 1.65;
}
.about-icon {
    border-radius: 18px;
    background: linear-gradient(135deg, #e6f4ef, #cfeadf);
    color: var(--brand);
}
.about-card h3,
.policy-card h3 {
    font-size: 18px;
}

/* call to action */
.about-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #176b58, #0b3d33);
    color: #fff;
}
.about-cta::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 26px solid rgba(244, 185, 66, 0.2);
    pointer-events: none;
}
.about-cta > * {
    position: relative;
    z-index: 1;
}
.about-cta p {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

/* FAQ + notes + contact */
.faq-item {
    border: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(11, 61, 51, 0.05);
}
.faq-q:not(.collapsed) {
    background: var(--primary-soft);
}
.faq-q:not(.collapsed) .faq-icon {
    background: var(--brand);
    color: #fff;
}
.faq-a {
    font-size: 14.5px;
    line-height: 1.7;
}
.page-note {
    background: #fff8e6;
    border: 1px solid #f6e3b0;
}
.page-note > i {
    color: #c98a00;
}
.contact-card {
    border: 1px solid var(--line);
    box-shadow: 0 6px 20px rgba(11, 61, 51, 0.06);
}
.page-list li {
    font-size: 14.5px;
}

.about-hero {
    padding-bottom: 76px;
}
.about-cta > div:first-child {
    flex: 1 1 280px;
}
.about-cta > div:last-child {
    flex: 0 0 auto;
}
@media (max-width: 767px) {
    .about-hero {
        padding-bottom: 56px;
    }
}

/* ===== Information pages: section slider, page pager and entrance motion ===== */
html { scroll-behavior: smooth; }

.info-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow);
}
.info-slider-track {
    flex: 1 1 auto;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.info-slider-track::-webkit-scrollbar { display: none; }
.info-slide {
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding: 9px 18px;
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
    transition: background .25s, color .25s, box-shadow .25s, transform .25s;
}
.info-slide i { margin-right: 6px; color: var(--brand); transition: color .25s; }
.info-slide:hover { background: var(--primary-soft); color: var(--brand-deep); text-decoration: none; transform: translateY(-1px); }
.info-slide.active {
    background: linear-gradient(135deg, #1f8f75, var(--brand-deep));
    color: #fff;
    box-shadow: 0 6px 16px rgba(11, 61, 51, .28);
}
.info-slide.active i { color: var(--gold); }
.info-slider-arrow {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--brand);
    font-size: 12px;
    cursor: pointer;
    transition: background .2s, color .2s, opacity .2s;
}
.info-slider-arrow:hover { background: var(--brand); color: #fff; }
.info-slider.at-start .info-slider-arrow[data-dir="-1"],
.info-slider.at-end .info-slider-arrow[data-dir="1"] { opacity: .35; pointer-events: none; }
.info-slider.no-overflow .info-slider-arrow { display: none; }
.info-slider.no-overflow .info-slider-track { justify-content: center; }

/* Previous / next page cards */
.info-pager {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 34px 0 6px;
}
.info-pager-link {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 48%;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.info-pager-link small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.info-pager-link > i { color: var(--brand); transition: transform .25s; }
.info-pager-link.next { margin-left: auto; text-align: right; }
.info-pager-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand); color: var(--ink); text-decoration: none; }
.info-pager-link.prev:hover > i { transform: translateX(-4px); }
.info-pager-link.next:hover > i { transform: translateX(4px); }

/* Content eases in, like the homepage slides */
@keyframes info-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.info-slider, .page-hero, .about-hero { animation: info-rise .55s ease both; }
.about-stats, .about-values, .about-story, .about-cta, .policy-card, .faq, .contact-card, .page-note { animation: info-rise .6s .12s ease both; }

@media (max-width: 575px) {
    .info-slider { padding: 6px; border-radius: 18px; }
    .info-slider-arrow { display: none; }
    .info-slide { padding: 8px 14px; font-size: 13px; }
    .info-pager-link { max-width: 100%; flex: 1 1 0; padding: 12px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .info-slider, .page-hero, .about-hero, .about-stats, .about-values, .about-story, .about-cta, .policy-card, .faq, .contact-card, .page-note { animation: none; }
}

/* Footer logo: light version straight on the dark green, no white tile */
.footer-logo { padding: 0; background: none; border-radius: 0; }
.footer-logo img { width: 170px; }
@media (max-width: 767px) { .footer-logo img { width: 150px; } }

/* Footer copyright line centred */
.shop-footer .copy { text-align: center; }

/* About hero: text on the left, product photo on the right */
.about-hero-split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 36px;
    padding: 44px 44px 76px;
    text-align: left;
}
.about-hero-split .about-hero-copy p { max-width: 460px; margin-left: 0; margin-right: 0; }
.about-hero-split .about-hero-actions { justify-content: flex-start; }
.about-hero-media { position: relative; }
.about-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    object-position: 100% 50%;
    border-radius: 22px;
    border: 4px solid rgba(255, 255, 255, .85);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .35);
}
.about-hero-badge {
    position: absolute;
    left: -22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #fff;
    color: var(--text);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    font-size: 12.5px;
    line-height: 1.3;
}
.about-hero-badge i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--brand);
    font-size: 17px;
}
.about-hero-badge strong { display: block; color: var(--ink); font-size: 14px; }
@media (max-width: 767px) {
    .about-hero-split { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px 56px; text-align: center; }
    .about-hero-split .about-hero-copy p { margin-left: auto; margin-right: auto; }
    .about-hero-split .about-hero-actions { justify-content: center; }
    .about-hero-badge { left: 12px; bottom: 12px; }
}

/* White icon on the active tab and white (not gold/coral) rings in the page headers */
.info-slide.active i { color: #fff; }
.about-hero::before,
.page-hero::before { border-color: rgba(255, 255, 255, 0.14); }
.about-hero::after,
.page-hero::after { border-color: rgba(255, 255, 255, 0.10); }

/* Header labels ("Our story", "Get in touch" ...) in white */
.about-eyebrow { background: #fff; color: var(--brand-deep); }
