/*
Theme Name: GoBetta Aquatic
Theme URI: https://verdant-quokka-c303dd.netlify.app/
Author: GoBetta Team
Author URI: https://verdant-quokka-c303dd.netlify.app/
Description: A custom, pixel-perfect WordPress theme for GoBetta, an online store for betta, channa, and guppy food, medicine, and aquascape supplies. Hand-built with vanilla PHP, HTML5, and CSS3 following the WordPress Theme Handbook — no page builder required.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gobetta
*/

:root {
    --navy: #1c3350;
    --navy-2: #16283f;
    --teal-1: #0f8fa3;
    --teal-2: #1cb5c9;
    --teal-3: #5fd6e0;
    --foam: #d7f4f2;
    --lime: #7bb83f;
    --lime-dark: #5f9530;
    --yellow: #f7c948;
    --coral: #e6543f;
    --coral-dark: #c8402d;
    --shopee: #ee4d2d;
    --ink: #1b2733;
    --ink-2: #0c2233;
    --muted: #57707c;
    --cream: #fffdf8;
    --line: #e7eef0;

    --font-heading: 'Baloo 2', sans-serif;
    --font-body: 'Nunito', sans-serif;

    --container-width: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 90px;
}

.admin-bar section[id] {
    scroll-margin-top: 122px;
}

@media screen and (max-width: 782px) {
    .admin-bar section[id] {
        scroll-margin-top: 136px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

ul,
ol {
    margin: 0;
}

.wrap {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 28px;
}

@media (max-width: 640px) {
    .wrap {
        padding: 0 18px;
    }
}

::selection {
    background: var(--coral);
    color: #fff;
}

.screen-reader-text,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 10px 18px;
    z-index: 200;
    border-radius: 0 0 8px 0;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
}

.skip-link:focus {
    left: 0;
}

.util-bar {
    background: var(--navy-2);
    color: #cfe3e8;
    font-size: 0.8rem;
    padding: 7px 0;
}

.util-bar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.util-bar a {
    opacity: 0.85;
}

.util-bar a:hover,
.util-bar a:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

.util-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.util-social {
    display: flex;
    gap: 12px;
}

.util-social svg {
    width: 15px;
    height: 15px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}

.site-header {
    background: var(--cream);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.navbar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-pill {
    background: var(--navy);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 18px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.brand-pill svg {
    width: 20px;
    height: 20px;
}

.brand-pill-logo {
    flex: 0 0 auto;
}

.brand-pill-logo img {
    max-height: 44px;
    width: auto;
}

.search-bar {
    flex: 1;
    max-width: 420px;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 100px;
    padding: 4px 6px 4px 18px;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
    background: transparent;
    min-width: 0;
}

.search-bar button {
    background: var(--shopee);
    color: #fff;
    border: none;
    border-radius: 100px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.navbar > .search-bar {
    order: 2;
}

@media (max-width: 900px) {
    .navbar > .search-bar {
        display: none;
    }
}

.nav-pill {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 6px;
    gap: 4px;
    box-shadow: 0 4px 14px rgba(28, 51, 80, 0.06);
    flex: 0 0 auto;
    order: 3;
}

.nav-pill ul,
.mobile-menu ul {
    display: contents;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-pill li,
.mobile-menu li {
    display: contents;
}

.nav-pill a {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 16px;
    border-radius: 100px;
    color: var(--navy);
    transition: background .2s ease;
}

.nav-pill a:hover,
.nav-pill a:focus-visible {
    background: #f1f7f7;
}

.nav-pill .current-menu-item a,
.nav-pill .current_page_item a {
    background: var(--lime);
    color: #fff;
}

@media (max-width: 1080px) {
    .nav-pill {
        display: none;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    order: 4;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--navy);
    border: none;
    cursor: pointer;
    flex: 0 0 auto;
}

.icon-btn svg {
    width: 19px;
    height: 19px;
}

.icon-btn .badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--coral);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

.btn-shop {
    background: var(--yellow);
    color: var(--ink-2);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 11px 20px;
    border-radius: 100px;
    box-shadow: 0 6px 16px rgba(247, 201, 72, 0.5);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .btn-shop {
        display: none;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f7f7;
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width: 1080px) {
    .hamburger {
        display: flex;
    }
}

.hamburger-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
    margin: 2px 0;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 14px 18px 18px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-weight: 700;
    padding: 12px 8px;
    border-radius: 10px;
    color: var(--navy);
}

.mobile-menu .current-menu-item a,
.mobile-menu .current_page_item a {
    background: var(--lime);
    color: #fff;
}

.mobile-menu .search-bar {
    max-width: none;
    margin-bottom: 8px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.hero:focus-within .progress-fill,
.hero.paused .progress-fill {
    animation-play-state: paused;
}

.slide {
    position: relative;
    display: none;
    min-height: 540px;
    background: linear-gradient(180deg, var(--teal-1) 0%, var(--teal-2) 45%, var(--teal-3) 100%);
    overflow: hidden;
}

.slide.active {
    display: block;
}

.wave-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
}

.hero-content {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 540px;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.hero-content > .hero-text,
.hero-content > .hero-visual {
    min-width: 0;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 36px;
    }
}

.hero-text .kicker {
    display: inline-block;
    background: var(--navy);
    color: var(--lime);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 6px 15px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
    color: var(--ink-2);
    line-height: 1.08;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.25);
}

.hero-text p {
    margin-top: 14px;
    font-size: 1.02rem;
    color: var(--ink-2);
    max-width: 440px;
    font-weight: 600;
    opacity: 0.85;
}

@media (max-width: 900px) {
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .hero-actions {
        justify-content: center;
    }
}

.btn-primary {
    background: var(--yellow);
    color: var(--ink-2);
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 100px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    font-size: 0.96rem;
    display: inline-block;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid var(--ink-2);
    color: var(--ink-2);
    font-weight: 800;
    padding: 11px 24px;
    border-radius: 100px;
    font-size: 0.96rem;
    display: inline-block;
}

.hero-visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .hero-visual {
        min-height: 0;
    }
}

.hero-visual-img {
    max-width: 100%;
    max-height: 420px;
    min-width: 0;
    width: auto;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.2));
    animation: heroSway 6s ease-in-out infinite;
    transform-origin: 50% 60%;
}

/* ===== HERO CAROUSEL ANIMATIONS ===== */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSway {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50%      { transform: rotate(3deg) translateY(-10px); }
}

@keyframes bubbleRise {
    0%   { transform: translateY(0) scale(1); opacity: 0; }
    12%  { opacity: 0.7; }
    100% { transform: translateY(-240px) scale(1.35); opacity: 0; }
}

.slide.active .hero-text .kicker { animation: heroFadeUp 0.6s ease both; }
.slide.active .hero-text h1      { animation: heroFadeUp 0.7s ease 0.08s both; }
.slide.active .hero-text p       { animation: heroFadeUp 0.7s ease 0.16s both; }
.slide.active .hero-actions      { animation: heroFadeUp 0.7s ease 0.24s both; }
.slide.active .hero-visual       { animation: heroFadeUp 0.8s ease 0.2s both; }

.hero-deco {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.bubble-h {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: bubbleRise 6s ease-in infinite;
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    border: none;
    padding: 0;
}

.dot.active {
    background: #fff;
    width: 26px;
    border-radius: 6px;
    transition: all .3s;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    color: var(--navy);
}

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

.arrow.left {
    left: 16px;
}

.arrow.right {
    right: 16px;
}

@media (max-width: 640px) {
    .arrow {
        display: none;
    }
}

.progress-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 10;
}

.progress-fill {
    height: 100%;
    background: var(--yellow);
    width: 0%;
    animation: fillbar 5s linear infinite;
}

@keyframes fillbar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ===== VOUCHER STRIP ===== */
.voucher-strip {
    background: var(--foam);
    padding: 22px 0;
}

.voucher-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.voucher-card {
    flex: 0 0 auto;
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(28, 51, 80, 0.08);
    overflow: hidden;
}

.voucher-left {
    background: var(--shopee);
    color: #fff;
    padding: 16px 14px;
    text-align: center;
    font-family: var(--font-heading);
    min-width: 86px;
}

.voucher-left b {
    display: block;
    font-size: 1.15rem;
}

.voucher-left span {
    font-size: 0.62rem;
    font-weight: 700;
}

.voucher-right {
    padding: 12px 16px;
    flex: 1;
}

.voucher-right p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 700;
}

.voucher-right small {
    display: block;
    font-size: 0.68rem;
    color: #9aa8ae;
    margin-top: 2px;
}

.claim-btn {
    margin: 10px 16px 12px auto;
    display: block;
    background: transparent;
    border: 1.5px solid var(--shopee);
    color: var(--shopee);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 6px 14px;
    border-radius: 100px;
    cursor: pointer;
}

.claim-btn.claimed {
    background: #f1f1f1;
    border-color: #d8d8d8;
    color: #aeb4b7;
    cursor: default;
}

/* ===== TRUST STRIP ===== */
.trust-strip {
    background: var(--navy);
    padding: 16px 0;
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: #fff;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.83rem;
    font-weight: 700;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--yellow);
    flex: 0 0 auto;
}

/* ===== SECTION HEAD ===== */
.section {
    padding: 64px 0;
}

.sec-head {
    text-align: center;
    margin-bottom: 34px;
}

.sec-head .kicker2 {
    color: var(--coral);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sec-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-top: 8px;
    color: var(--navy);
}

.sec-head p {
    color: var(--muted);
    max-width: 520px;
    margin: 10px auto 0;
    font-size: 0.94rem;
}

/* ===== CATEGORY ROW ===== */
.cat-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

@media (max-width: 900px) {
    .cat-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cat-pill {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(28, 51, 80, 0.05);
    transition: transform .2s ease;
    cursor: pointer;
    display: block;
}

.cat-pill:hover,
.cat-pill:focus-visible {
    transform: translateY(-4px);
}

.cat-pill .ic {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-pill .ic svg {
    width: 26px;
    height: 26px;
}

.cat-pill span {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--navy);
}

/* ===== FLASH BANNER + FILTER BAR ===== */
.flash-banner {
    background: linear-gradient(90deg, var(--shopee), #ff7337);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.flash-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.flash-left h3 {
    font-size: 1.25rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flash-left h3 svg {
    width: 22px;
    height: 22px;
}

.flash-timer {
    display: flex;
    gap: 6px;
    align-items: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.flash-timer span {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    padding: 4px 8px;
    font-family: monospace;
    min-width: 28px;
    text-align: center;
}

.flash-link {
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 100px;
    cursor: pointer;
}

.filter-tab.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.sort-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}

.sort-select select {
    border: 1.5px solid var(--line);
    border-radius: 100px;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--navy);
    background: #fff;
}

/* ===== FLASH SALE STRIP ===== */
.flash-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 200px;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
    margin-bottom: 28px;
    scroll-snap-type: x proximity;
}

.flash-strip .prod-card {
    scroll-snap-align: start;
}

@media (max-width: 640px) {
    .flash-strip {
        grid-auto-columns: 150px;
    }
}

.flash-progress {
    margin-top: 8px;
}

.flash-progress-bar {
    background: var(--foam);
    border-radius: 100px;
    height: 6px;
    overflow: hidden;
}

.flash-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--shopee), #ff7337);
    border-radius: 100px;
}

.flash-progress small {
    display: block;
    margin-top: 3px;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--shopee);
}

/* ===== SHOP LAYOUT (FILTER SIDEBAR + GRID) ===== */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: start;
    gap: 28px;
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

.shop-filters {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 110px;
}

@media (max-width: 900px) {
    .shop-filters {
        position: static;
    }
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-of-type {
    margin-bottom: 16px;
}

.filter-group h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--navy);
    margin-bottom: 10px;
}

.filter-group select {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 9px 12px;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--navy);
    background: #fff;
    margin-top: 8px;
}

.filter-check {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    cursor: pointer;
}

.filter-check input {
    accent-color: var(--coral);
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.price-range-inputs input {
    width: 100%;
    min-width: 0;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 9px 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--ink);
}

.shop-filters-apply {
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: center;
}

.shop-filters-clear {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: underline;
}

.shop-results {
    min-width: 0;
}

/* ===== PRODUCT GRID ===== */
.prod-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

@media (max-width: 1000px) {
    .prod-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .prod-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.prod-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease;
    display: flex;
    flex-direction: column;
}

.prod-card:hover,
.prod-card:focus-within {
    box-shadow: 0 10px 24px rgba(28, 51, 80, 0.14);
    transform: translateY(-3px);
}

.prod-img {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.prod-img svg,
.prod-img img {
    width: 64%;
    height: 64%;
    object-fit: contain;
}

.discount-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--shopee);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 800;
    padding: 3px 7px 3px 9px;
    border-bottom-left-radius: 8px;
}

.badge-corner {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--yellow);
    color: #5b3d00;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 8px;
    border-bottom-right-radius: 8px;
}

.flash-sale-tag {
    background: linear-gradient(90deg, var(--shopee), #ff7337);
    color: #fff;
}

.wish-toggle {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--navy);
}

.wish-toggle svg {
    width: 16px;
    height: 16px;
}

.wish-toggle.active {
    color: var(--coral);
}

.wish-toggle.active svg {
    fill: var(--coral);
}

.prod-info {
    padding: 10px 10px 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.seller-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--lime-dark);
    margin-bottom: 5px;
}

.seller-tag svg {
    width: 11px;
    height: 11px;
}

.prod-name {
    font-size: 0.81rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    min-height: 2.15em;
}

.ship-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    color: var(--teal-1);
    font-weight: 700;
    margin-top: 6px;
}

.ship-tag svg {
    width: 11px;
    height: 11px;
}

.prod-price-row {
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.prod-price {
    color: var(--shopee);
    font-weight: 800;
    font-size: 1rem;
}

.prod-old {
    color: #9aa8ae;
    font-size: 0.7rem;
    text-decoration: line-through;
}

.prod-meta {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.67rem;
    color: var(--muted);
}

.stars {
    color: var(--yellow);
    font-size: 0.72rem;
}

.sold {
    color: var(--muted);
}

.add-cart-btn {
    margin: 8px 10px 10px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px;
    font-weight: 800;
    font-size: 0.76rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .2s;
}

.add-cart-btn svg {
    width: 14px;
    height: 14px;
}

.add-cart-btn:hover,
.add-cart-btn:focus-visible {
    background: var(--coral-dark);
}

.add-cart-btn.added {
    background: var(--lime-dark);
}

.view-more-wrap {
    text-align: center;
    margin-top: 26px;
}

.btn-view-more {
    display: inline-block;
    border: 2px solid var(--coral);
    color: var(--coral);
    font-weight: 800;
    padding: 11px 30px;
    border-radius: 100px;
    background: #fff;
}

.btn-view-more:hover,
.btn-view-more:focus-visible {
    background: var(--coral);
    color: #fff;
}

/* ===== SINGLE PRODUCT ===== */
.breadcrumb {
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--teal-1);
    font-weight: 700;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    text-decoration: underline;
}

.single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .single-product-grid {
        grid-template-columns: 1fr;
    }
}

.single-product-media {
    aspect-ratio: 1/1;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.single-product-media img,
.single-product-media svg {
    object-fit: contain;
}

.single-product-info h1 {
    margin-top: 10px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
    line-height: 1.2;
}

.single-product-info .prod-meta {
    margin-top: 10px;
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.85rem;
}

.single-product-info .stars {
    font-size: 1rem;
}

.single-product-price-row {
    margin-top: 16px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.single-product-price-row .prod-price {
    font-size: 1.8rem;
}

.single-product-price-row .prod-old {
    font-size: 1rem;
}

.single-product-info .ship-tag {
    margin-top: 10px;
    font-size: 0.78rem;
}

.single-product-description {
    margin-top: 20px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.94rem;
}

.single-product-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.single-product-actions .add-cart-btn {
    margin: 0;
    padding: 13px 28px;
    font-size: 0.88rem;
}

.wish-toggle-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--navy);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.wish-toggle-inline svg {
    width: 16px;
    height: 16px;
}

.wish-toggle-inline.active {
    color: var(--coral);
    border-color: var(--coral);
}

.wish-toggle-inline.active svg {
    fill: var(--coral);
}

/* ===== SHOP PAGINATION ===== */
.shop-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.shop-pagination .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 100px;
    border: 1.5px solid var(--line);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.85rem;
    background: #fff;
}

.shop-pagination .page-numbers.current {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.shop-pagination .page-numbers:hover,
.shop-pagination .page-numbers:focus-visible {
    background: #f1f7f7;
}

.shop-pagination .page-numbers.current:hover {
    background: var(--navy);
}

/* ===== CART PAGE ===== */
.cart-empty {
    text-align: center;
    padding: 40px 0;
}

.cart-empty p {
    color: var(--muted);
    margin-bottom: 20px;
}

.cart-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-row {
    display: grid;
    grid-template-columns: 70px 1fr auto auto auto;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 16px;
}

@media (max-width: 640px) {
    .cart-row {
        grid-template-columns: 56px 1fr auto;
        grid-template-areas:
            "media info    info"
            "media qty     qty"
            "media total   remove";
        row-gap: 10px;
    }
    .cart-row-media { grid-area: media; }
    .cart-row-info { grid-area: info; }
    .cart-row-qty { grid-area: qty; }
    .cart-row-total { grid-area: total; }
    .cart-row-remove { grid-area: remove; }
}

.cart-row-media {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-row-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-row-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
}

.cart-row-name:hover,
.cart-row-name:focus-visible {
    color: var(--coral);
}

.cart-row-price {
    font-size: 0.78rem;
    color: var(--muted);
}

.cart-row-qty input {
    width: 60px;
    padding: 8px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 700;
}

.cart-row-total {
    font-weight: 800;
    color: var(--shopee);
    font-size: 0.95rem;
    min-width: 70px;
    text-align: right;
}

.cart-row-remove {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f7f7;
    border: none;
    color: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-row-remove svg {
    width: 16px;
    height: 16px;
}

.cart-summary {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--foam);
    border-radius: 12px;
    font-weight: 800;
    color: var(--navy);
    font-size: 1.1rem;
}

.cart-grand-total {
    color: var(--shopee);
    font-size: 1.4rem;
}

.cart-note {
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
}

.cart-checkout-cta {
    margin-top: 20px;
    text-align: right;
}

/* ===== CHECKOUT ===== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.checkout-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
}

.checkout-form h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.checkout-form h3:not(:first-child) {
    margin-top: 26px;
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 11px 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ink);
}

.form-row textarea {
    resize: vertical;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-method-option {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    color: var(--ink) !important;
    margin-bottom: 0 !important;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 11px 14px;
    cursor: pointer;
}

.payment-method-option input {
    accent-color: var(--coral);
}

.form-error {
    display: block;
    color: var(--shopee);
    font-size: 0.76rem;
    font-weight: 700;
    margin-top: 4px;
    min-height: 1em;
}

.voucher-select-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voucher-option {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: var(--ink) !important;
    margin-bottom: 0 !important;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 11px 14px;
    cursor: pointer;
}

.voucher-option input {
    accent-color: var(--coral);
    margin-top: 3px;
}

.voucher-option.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.voucher-option.disabled input {
    cursor: not-allowed;
}

.checkout-discount-row {
    color: var(--lime-dark);
    font-weight: 700;
}

.checkout-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}

.checkout-disclaimer {
    margin-top: 14px;
    font-size: 0.76rem;
    color: var(--muted);
    text-align: center;
}

.checkout-summary {
    background: var(--foam);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 110px;
}

.checkout-summary h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 14px;
}

.checkout-summary-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--ink);
}

.checkout-summary-row b {
    color: var(--muted);
    font-weight: 700;
}

.checkout-summary-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(28, 51, 80, 0.15);
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    color: var(--navy);
    font-size: 1.05rem;
}

.checkout-confirmation {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
}

.checkout-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lime);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.checkout-success-icon svg {
    width: 26px;
    height: 26px;
}

.checkout-confirmation h3 {
    color: var(--navy);
    font-size: 1.2rem;
}

.checkout-confirmation p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--ink);
}

.checkout-confirmation .checkout-summary-items {
    margin-top: 16px;
    text-align: left;
}

.checkout-confirmation .checkout-summary-total {
    text-align: left;
}

.checkout-bank-info {
    margin-top: 16px;
    background: var(--foam);
    border-radius: 10px;
    padding: 14px;
}

.checkout-bank-info h4 {
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 6px;
}

/* ===== 404 ===== */
.error-404-section {
    padding: 90px 0;
}

.error-404 {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.error-404-illustration {
    width: 180px;
    margin: 0 auto 10px;
}

.error-404-code {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--coral);
    line-height: 1;
}

.error-404 h1 {
    margin-top: 8px;
    font-size: 1.6rem;
    color: var(--navy);
}

.error-404 p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.6;
}

.error-404-search {
    margin: 24px auto 0;
}

.error-404-actions {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== SEARCH RESULTS ===== */
.search-group-heading {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.search-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-list-item {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 20px;
}

.search-list-item:hover,
.search-list-item:focus-visible {
    border-color: var(--coral);
}

.search-list-title {
    display: block;
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

.search-list-excerpt {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--muted);
}

/* ===== WHY BAND ===== */
.why-band {
    background: var(--foam);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.why-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
}

.why-card .ic-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--foam);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.why-card svg {
    width: 24px;
    height: 24px;
    color: var(--coral);
}

.why-card h4 {
    font-size: 1rem;
    margin: 14px 0 6px;
    color: var(--navy);
}

.why-card p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-visual {
    background: linear-gradient(160deg, var(--teal-1), var(--teal-3));
    border-radius: 24px;
    padding: 40px;
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual svg {
    width: 220px;
}

.about-visual img {
    width: 220px;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.about-text .kicker2 {
    color: var(--coral);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-text h2 {
    margin-top: 8px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--navy);
}

.about-text p {
    margin-top: 16px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.96rem;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.about-stats div b {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--coral);
}

.about-stats div span {
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 700;
}

/* ===== REVIEWS ===== */
.review-summary {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    justify-content: center;
}

.review-score {
    text-align: center;
}

.review-score b {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--navy);
    display: block;
    line-height: 1;
}

.review-score .stars {
    font-size: 1.1rem;
}

.review-score span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 700;
    margin-top: 4px;
}

.review-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 700;
}

.review-bar-track {
    flex: 1;
    height: 7px;
    border-radius: 100px;
    background: var(--line);
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background: var(--yellow);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 900px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
}

.review-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.review-name {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--navy);
}

.review-date {
    font-size: 0.7rem;
    color: var(--muted);
}

.review-card .stars {
    margin-top: 12px;
    display: block;
}

.review-card p {
    margin-top: 10px;
    font-size: 0.86rem;
    color: var(--ink);
    line-height: 1.55;
}

.review-tag {
    display: inline-block;
    margin-top: 12px;
    background: var(--foam);
    color: var(--teal-1);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
    color: var(--navy);
    font-size: 0.94rem;
}

.faq-q svg {
    width: 16px;
    height: 16px;
    transition: transform .35s ease;
    flex: 0 0 auto;
}

.faq-item.open .faq-q svg {
    transform: rotate(45deg);
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease, padding .35s ease;
    padding: 0 20px;
}

.faq-item.open .faq-a {
    grid-template-rows: 1fr;
    padding-bottom: 18px;
}

.faq-a > p {
    overflow: hidden;
    min-height: 0;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ===== CTA ===== */
.cta-band {
    background: linear-gradient(120deg, var(--teal-1), var(--teal-3));
    border-radius: 28px;
    margin: 0 28px;
    padding: 54px 30px;
    text-align: center;
    color: var(--ink-2);
}

@media (max-width: 640px) {
    .cta-band {
        margin: 0 14px;
        padding: 38px 20px;
    }
}

.cta-band h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta-form {
    margin: 22px auto 0;
    display: flex;
    max-width: 420px;
    gap: 10px;
}

.cta-form input {
    flex: 1;
    border: none;
    border-radius: 100px;
    padding: 13px 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.cta-form button {
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 13px 24px;
    font-weight: 800;
    cursor: pointer;
}

.cta-message {
    margin: 14px 0 0;
    font-size: 0.85rem;
    font-weight: 700;
    min-height: 1.2em;
}

.site-footer {
    background: var(--navy);
    color: #cfe3e8;
    padding: 56px 0 24px;
    margin-top: 60px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
}

@media (max-width: 800px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .foot-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.foot-grid h5 {
    color: #fff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

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

.foot-grid a {
    font-size: 0.85rem;
    opacity: 0.85;
}

.foot-grid a:hover,
.foot-grid a:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

.foot-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.foot-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.foot-social svg {
    width: 16px;
    height: 16px;
}

.foot-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.76rem;
    opacity: 0.75;
}

.foot-legal {
    display: flex;
    align-items: center;
    gap: 6px;
}

.foot-legal a {
    opacity: 0.85;
}

.foot-legal a:hover,
.foot-legal a:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, transform .2s ease;
}

.blog-card:hover,
.blog-card:focus-within {
    box-shadow: 0 10px 24px rgba(28, 51, 80, 0.12);
    transform: translateY(-3px);
}

.blog-card-media {
    aspect-ratio: 16/10;
    background: var(--foam);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-cat {
    color: var(--coral);
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.blog-card-title {
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.35;
}

.blog-card-title a {
    color: var(--navy);
}

.blog-card-title a:hover,
.blog-card-title a:focus-visible {
    color: var(--coral);
}

.blog-card-excerpt {
    margin-top: 8px;
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
}

.blog-card-date {
    margin-top: 12px;
    font-size: 0.72rem;
    color: #9aa8ae;
}

.blog-single {
    max-width: 780px;
    margin: 0 auto;
}

.blog-article-header {
    text-align: center;
    margin-bottom: 26px;
}

.blog-article-header .kicker2 {
    color: var(--coral);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.blog-article-header h1 {
    margin-top: 10px;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--navy);
    line-height: 1.25;
}

.blog-article-meta {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--muted);
}

.blog-article-thumb {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 26px;
}

.blog-article-thumb img {
    width: 100%;
}

.blog-article-content {
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.8;
}

.blog-article-content p {
    margin: 0 0 1.2em;
}

.blog-article-content h2,
.blog-article-content h3 {
    color: var(--navy);
    margin: 1.6em 0 0.6em;
}

.blog-article-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.blog-article-nav a {
    color: var(--teal-1);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===== STATIC PAGE (Privacy / Terms) ===== */
.static-page {
    max-width: 780px;
    margin: 0 auto;
}

.static-page-content h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--navy);
    margin-bottom: 20px;
}

.static-page-content h2 {
    color: var(--navy);
    font-size: 1.15rem;
    margin: 1.6em 0 0.5em;
}

.static-page-content p {
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0 0 1.2em;
}

/* ===== TRACK ORDER ===== */
.track-order-form {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
}

.track-order-form .btn-primary {
    width: 100%;
    border: none;
    cursor: pointer;
}

.track-order-result {
    max-width: 480px;
    margin: 30px auto 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
}

.track-order-result h3 {
    color: var(--navy);
    font-size: 1.1rem;
}

.track-order-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    padding: 14px;
    background: var(--foam);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--ink);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    background: var(--foam);
    border-radius: 16px;
    padding: 26px;
}

.contact-info h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.contact-info p {
    font-size: 0.9rem;
    color: var(--ink);
    margin: 0 0 14px;
}

.contact-info a {
    color: var(--teal-1);
    font-weight: 700;
}

/* ===== WP core pagination list reset (paginate_links) ===== */
.shop-pagination ul.page-numbers {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.shop-pagination ul.page-numbers li {
    display: inline-flex;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
