/* ===== Brand Colors ===== */
:root {
    --color-dark: #0B1E33;
    --color-accent: #0D8BFF;
    --color-white: #FFFFFF;
    --color-light-bg: #F5F7FA;
    --color-text: #333333;
    --color-gray: #777777;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;
    --boat-yellow: #FFC220;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--color-text); background-color: var(--color-white); letter-spacing: 0.1px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, .logo, .section-heading h2, .cat-card h3,
.product-info h4, .product-title, .bottom-cta h2, .current-price,
.product-info .price {
    font-family: var(--font-heading);
}

/* ===== AMAZON-STYLE HEADER ===== */
.site-header {
    background-color: var(--color-dark);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-top {
    padding: 12px 24px;
}
.header-top-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo img { height: 38px; display: block; }

.deliver-to-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.deliver-to-btn:hover { background: rgba(255,255,255,0.08); }
.deliver-to-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.deliver-to-text { display: flex; flex-direction: column; text-align: left; }
.deliver-to-text small { font-size: 11px; color: #b0b8c1; }
.deliver-to-text strong { font-size: 13px; font-weight: 700; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.header-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--color-white);
    border-radius: 6px;
    overflow: hidden;
}
.header-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 16px;
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--color-dark);
}
.header-search button {
    background: var(--color-accent);
    border: none;
    padding: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--color-white);
    align-self: stretch;
}
.header-search svg { width: 18px; height: 18px; }

.header-icons { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.header-icons a {
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
    transition: color 0.2s ease;
}
.header-icons a:hover { color: var(--color-accent); }
.header-icons svg { width: 22px; height: 22px; }
.icon-label { font-size: 11px; font-weight: 600; }

.cart-icon-link { position: relative; }
.cart-count-badge {
    position: absolute; top: -6px; right: -8px; background: var(--color-accent); color: var(--color-white);
    font-size: 10px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.mobile-menu-toggle { display: none; background: transparent; border: none; color: var(--color-white); cursor: pointer; }
.mobile-menu-toggle svg { width: 24px; height: 24px; }

/* ===== ROW 2: nav bar ===== */
.header-bottom {
    background: #16334f;
    padding: 0 24px;
}
.header-bottom-inner { max-width: 1400px; margin: 0 auto; }

.main-nav ul { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.main-nav a { color: var(--color-white); font-weight: 600; font-size: 13.5px; padding: 12px 0; display: inline-block; transition: color 0.2s ease; }
.main-nav a:hover { color: var(--color-accent); }

/* ===== DELIVER-TO MODAL ===== */
.deliver-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,30,51,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.deliver-modal-overlay.open { opacity: 1; visibility: visible; }

.deliver-modal {
    background: var(--color-white);
    border-radius: 16px;
    padding: 30px;
    width: 90%;
    max-width: 420px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.deliver-modal h3 { color: var(--color-dark); font-size: 20px; margin-bottom: 6px; }
.deliver-modal-sub { color: var(--color-gray); font-size: 13px; margin-bottom: 20px; }
.deliver-modal-note { font-size: 12px; color: var(--color-gray); background: var(--color-light-bg); padding: 10px 12px; border-radius: 8px; }
.deliver-modal-close {
    position: absolute; top: 14px; right: 14px; background: transparent; border: none;
    font-size: 26px; line-height: 1; cursor: pointer; color: var(--color-gray);
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar { background: var(--color-accent); color: var(--color-white); text-align: center; font-size: 12px; font-weight: 600; padding: 8px 20px; letter-spacing: 0.3px; }

/* ===== FOOTER ===== */
.site-footer { background-color: var(--color-dark); color: #cfd6de; padding: 60px 40px 20px; margin-top: 60px; }
.footer-container { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { height: 32px; background: var(--color-white); padding: 5px 10px; border-radius: 4px; margin-bottom: 15px; }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 8px; color: #b0b8c1; }
.footer-col h4 { color: var(--color-white); margin-bottom: 18px; font-size: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #b0b8c1; transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-bottom { max-width: 1300px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #263748; text-align: center; font-size: 13px; color: #8a93a0; }

/* ===== LAYOUT ===== */
.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

/* ===== HERO SLIDER — fixed for 1920x700 banners ===== */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 700;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider .slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.85);
    color: var(--color-dark); border: none; width: 42px; height: 42px; border-radius: 50%;
    font-size: 22px; cursor: pointer; z-index: 3; transition: background 0.2s ease;
}
.hero-slider .slider-arrow:hover { background: var(--color-white); }
.hero-slider .slider-prev { left: 20px; }
.hero-slider .slider-next { right: 20px; }

.hero-slider .slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-slider .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.2s ease; }
.hero-slider .dot.active { background: var(--color-white); width: 24px; border-radius: 5px; }

/* ===== TRUST BAR — RONIN STYLE PILL ===== */
.trust-bar-v2-section {
    padding: 30px 24px 10px;
}

.trust-bar-v2 {
    background: linear-gradient(145deg, #ffffff 0%, #f2f5f9 100%);
    border-radius: 60px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: 0 10px 40px rgba(11,30,51,0.06);
}

.trust-bar-v2-heading {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-dark);
    flex-shrink: 0;
}
.trust-bar-v2-heading span {
    background: linear-gradient(90deg, var(--color-accent), #6b3fd4, #e0455d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-bar-v2-items {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    flex: 1;
    flex-wrap: wrap;
}

.trust-v2-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-v2-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--color-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    animation: trustIconFloat 3s ease-in-out infinite;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.trust-v2-item:hover .trust-v2-icon {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1);
}
.trust-v2-icon svg { width: 20px; height: 20px; }

@keyframes trustIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.trust-v2-text {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .trust-bar-v2 { flex-direction: column; align-items: flex-start; padding: 24px; border-radius: 24px; }
    .trust-bar-v2-items { justify-content: flex-start; gap: 24px; width: 100%; }
}
@media (max-width: 600px) {
    .trust-bar-v2-items { gap: 16px; }
    .trust-v2-text { font-size: 11px; }
}

/* ===== SECTION HEADING ===== */
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.section-heading h2 { font-size: 26px; color: var(--color-dark); font-weight: 800; letter-spacing: -0.3px; }
.section-heading a { font-size: 14px; font-weight: 600; color: var(--color-accent); }

/* ===== CATEGORY SECTION — REDESIGNED: rectangular cards, full width, hidden scrollbar ===== */
.category-showcase {
    padding: 20px 12px 30px;
}

.category-showcase-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;

    scrollbar-width: none;
    -ms-overflow-style: none;
}
.category-showcase-scroll::-webkit-scrollbar {
    display: none;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 16px 20px;
    border-radius: 28px 28px 60px 28px;
    background: linear-gradient(160deg, #eef3fb 0%, #f7f9fc 100%);
    border: 1px solid #eef1f4;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11,30,51,0.12);
    border-color: var(--color-accent);
}

.category-showcase-scroll .cat-card {
    flex: 0 0 230px;
    scroll-snap-align: start;
}

.cat-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 14px;
    overflow: visible;
}
.cat-card-img img {
    max-width: 88%;
    max-height: 88%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(11,30,51,0.1));
}

.cat-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}
.cat-card-link {
    font-size: 12px;
    color: var(--color-accent);
    font-weight: 700;
}

@media (max-width: 900px) {
    .category-showcase { padding: 15px 8px 25px; }
    .category-showcase-scroll .cat-card { flex: 0 0 190px; padding: 18px 14px 16px; }
}
@media (max-width: 600px) {
    .category-showcase-scroll .cat-card { flex: 0 0 62%; padding: 16px 12px 14px; }
    .cat-card h3 { font-size: 13px; }
}


/* ===== PRODUCTS SECTION (horizontal scroll cards) ===== */
.products-section { padding: 45px 24px; }

.product-grid {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: #d5dae0 transparent;
}
.product-grid::-webkit-scrollbar { height: 6px; }
.product-grid::-webkit-scrollbar-thumb { background: #d5dae0; border-radius: 10px; }

/* ===== PRODUCT CAROUSEL ARROWS ===== */
.product-scroll-wrapper {
    position: relative;
    padding: 0 46px;
}
.product-scroll-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: 1px solid #eef1f4;
    color: var(--color-dark);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(11,30,51,0.14);
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.product-scroll-arrow:hover {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}
.product-scroll-prev { left: 0; }
.product-scroll-next { right: 0; }

/* ===== PRODUCT CARD — BASE CONTAINER ===== */
.product-card {
    flex: 0 0 270px;
    max-width: 270px;
    width: 100%;
    scroll-snap-align: start;
    background: var(--color-white);
    border: 1px solid #eef1f4;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.product-card:hover {
    box-shadow: 0 18px 36px rgba(11,30,51,0.12);
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

/* ===== PRODUCT CARD style ===== */
.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--color-light-bg);
    overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.card-sale-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--color-dark);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 3;
    display: none !important;
}

.card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--color-white);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.2px;
    z-index: 3;
    max-width: calc(100% - 50px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: none !important;
}

/* hover quick-action overlay (Add to Cart / Buy Now) */
.card-hover-actions {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(to top, rgba(11,30,51,0.75), rgba(11,30,51,0));
    z-index: 4;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}
@media (hover: hover) {
    .product-card:hover .card-hover-actions {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}
.card-hover-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
    width: 100%;
}
.card-hover-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.card-btn-cart { background: var(--color-white); color: var(--color-dark); box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.card-btn-cart:hover { background: var(--color-light-bg); }
.card-btn-buy { background: var(--color-accent); color: var(--color-white); }
.card-btn-buy:hover { background: var(--color-dark); }

/* wishlist heart button on cards */
.wishlist-heart-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s ease;
}
.wishlist-heart-btn svg { width: 15px; height: 15px; color: var(--color-dark); }
.wishlist-heart-btn:hover { background: var(--color-white); transform: scale(1.1); }
.wishlist-heart-btn.active svg { color: #E0455D; }

/* solid yellow bar — always visible below image */
.product-color-bar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: var(--boat-yellow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px;
    z-index: 3;
}
.bar-left-text {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bar-right-badge {
    display: flex;
    align-items: center;
    gap: 3px;
    background: var(--color-white);
    color: var(--color-dark);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}

.product-info {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-info h4 {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 6px;
    min-height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--color-dark);
    text-transform: none;
    letter-spacing: -0.1px;
}

.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
}
.card-price-row .current-price-line {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.2px;
}
.price-strike { color: var(--color-gray); text-decoration: line-through; font-weight: 500; font-size: 11px; }
.discount-off-text { color: #1E9E5A; font-weight: 700; font-size: 11px; }

/* fallback persistent Add to Cart button — shown only on touch devices where hover doesn't work */
.card-mobile-cart-btn { display: none; }
@media (hover: none) {
    .card-mobile-cart-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: var(--color-accent);
        color: var(--color-white);
        border: none;
        padding: 9px 12px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 11.5px;
        cursor: pointer;
        font-family: var(--font-main);
        width: 100%;
        margin-top: 8px;
    }
    .card-mobile-cart-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
}

@media (max-width: 600px) {
    .product-info { padding: 9px 9px 10px; }
    .product-info h4 { font-size: 10.5px; min-height: 28px; }
    .card-price-row .current-price-line { font-size: 13px; }
    .bar-left-text, .bar-right-badge { font-size: 9px; }
}

.btn-primary { display: inline-block; background: var(--color-accent); color: var(--color-white); padding: 14px 32px; border-radius: 6px; font-weight: 600; transition: background 0.2s ease; }
.btn-primary:hover { background: #0a6fd1; }

/* ===== PROMOTIONAL BANNER ===== */
.promo-banner-section { padding: 10px 24px 35px; }

.promo-banner {
    background: linear-gradient(120deg, var(--color-dark) 0%, #16334f 55%, var(--color-accent) 140%);
    border-radius: 24px;
    padding: 50px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    color: var(--color-white);
}

.promo-banner-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.promo-banner-text h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.promo-banner-text p {
    font-size: 14.5px;
    color: #cfd6de;
}

.promo-banner-btn {
    flex-shrink: 0;
    background: var(--color-white);
    color: var(--color-dark);
    padding: 15px 34px;
    border-radius: 30px;
    font-weight: 700;
}
.promo-banner-btn:hover {
    background: var(--color-light-bg);
}

.bestsellers-section {
    background: var(--color-light-bg);
    border-radius: 24px;
    margin: 0 24px 35px;
    padding: 40px 24px;
}
.bestsellers-section .container {
    padding: 0;
    max-width: none;
}

/* ===== BOTTOM CTA ===== */
.bottom-cta { background: var(--color-dark); padding: 70px 40px; margin-top: 40px; }
.bottom-cta-inner { text-align: center; color: var(--color-white); max-width: 600px; margin: 0 auto; }
.bottom-cta h2 { font-size: 30px; margin-bottom: 15px; letter-spacing: -0.5px; }
.bottom-cta p { color: #cfd6de; margin-bottom: 25px; font-size: 15px; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: linear-gradient(120deg, var(--color-accent) 0%, #0a6fd1 100%);
    padding: 55px 40px;
    margin-top: 40px;
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.newsletter-text h2 { color: var(--color-white); font-size: 26px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.3px; }
.newsletter-text p { color: #eaf3ff; font-size: 14px; }

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.newsletter-form input {
    padding: 14px 18px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-family: var(--font-main);
    width: 280px;
}
.newsletter-form input:focus { outline: 2px solid var(--color-white); }
.newsletter-form button {
    background: var(--color-dark);
    color: var(--color-white);
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
    transition: background 0.2s ease;
    white-space: nowrap;
}
.newsletter-form button:hover { background: #16334f; }

.newsletter-msg {
    margin-top: 15px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
}
.newsletter-msg.success { background: rgba(255,255,255,0.2); color: var(--color-white); }
.newsletter-msg.error { background: rgba(0,0,0,0.15); color: #ffe3e3; }

/* ===== FOOTER WHATSAPP LINK ===== */
.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--color-white);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    transition: opacity 0.2s ease;
}
.footer-whatsapp:hover { opacity: 0.85; }
.footer-whatsapp svg { width: 16px; height: 16px; }

/* ===== BACK TO TOP ===== */
#backToTopBtn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-dark);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(11,30,51,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 900;
}
#backToTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#backToTopBtn:hover { background: var(--color-accent); }
#backToTopBtn svg { width: 20px; height: 20px; }

/* ===== CART PAGE ===== */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.cart-table th { text-align: left; padding: 12px; background: var(--color-light-bg); font-size: 13px; text-transform: uppercase; color: var(--color-gray); }
.cart-table td { padding: 15px 12px; border-bottom: 1px solid #eee; vertical-align: middle; }
.cart-product-cell { display: flex; align-items: center; gap: 12px; }
.cart-product-cell img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.qty-input { width: 60px; padding: 8px; border: 1px solid #ddd; border-radius: 6px; font-family: var(--font-main); }
.remove-link { color: #c0392b; font-size: 13px; font-weight: 600; }
.cart-actions { margin-bottom: 30px; }
.btn-secondary-dark { background: var(--color-white); border: 1px solid var(--color-dark); color: var(--color-dark); padding: 10px 22px; border-radius: 6px; font-weight: 600; cursor: pointer; font-family: var(--font-main); }
.cart-summary { background: var(--color-light-bg); padding: 25px; border-radius: 10px; text-align: right; max-width: 400px; margin-left: auto; }
.cart-summary h3 { margin-bottom: 15px; color: var(--color-dark); }

/* ===== CHECKOUT (legacy, kept for cart.php if referenced) ===== */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.checkout-form-box, .checkout-summary-box { background: var(--color-white); border: 1px solid #eee; border-radius: 10px; padding: 25px; }
.checkout-form-box h3, .checkout-summary-box h3 { margin-bottom: 20px; color: var(--color-dark); }
.payment-method-box { background: var(--color-light-bg); padding: 15px; border-radius: 8px; margin-top: 10px; }
.payment-method-box h4 { font-size: 14px; margin-bottom: 10px; }
.radio-label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.summary-total { font-weight: 700; font-size: 16px; color: var(--color-dark); border-bottom: none; margin-top: 5px; }

.stack-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--color-text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
    padding: 11px 14px; border: 1px solid #dde2e7; border-radius: 6px; font-size: 14px; font-family: var(--font-main); background: var(--color-white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--color-accent); }

/* ===== SHOP PAGE (legacy fallback) ===== */
.shop-page-section { padding: 40px; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 35px; align-items: start; }
.shop-sidebar { background: var(--color-light-bg); padding: 20px; border-radius: 10px; }
.shop-sidebar h4 { margin-bottom: 15px; font-size: 15px; }
.shop-category-list li { margin-bottom: 10px; }
.shop-category-list a { font-size: 14px; color: var(--color-text); transition: color 0.2s ease; }
.shop-category-list a:hover, .shop-category-list a.active { color: var(--color-accent); font-weight: 600; }
.product-card-link { display: block; }

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
    .header-top-inner { flex-wrap: wrap; }
    .deliver-to-text { display: none; }
    .header-search { order: 3; flex-basis: 100%; }
    .header-icons .icon-label { display: none; }
    .mobile-menu-toggle { display: block; }

    .header-bottom { display: none; }
    .main-nav {
        display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: var(--color-dark); padding: 70px 20px 20px; z-index: 1500; overflow-y: auto;
    }
    .main-nav.mobile-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; align-items: flex-start; }
    .main-nav ul li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .main-nav ul li a { display: block; padding: 16px 5px; }

    .shop-layout { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }

    .hero-slider .slider-arrow { width: 34px; height: 34px; font-size: 16px; }
    .container { padding: 0 20px; }
    .products-section, .category-showcase, .shop-page-section, .product-page-section { padding: 30px 20px; }
    .section-heading h2 { font-size: 20px; }
    .bottom-cta { padding: 45px 20px; }
    .bottom-cta h2 { font-size: 22px; }

    .category-scroll-wrapper { padding: 0; }
    .category-scroll-arrow { display: none; }
    .category-showcase-scroll .cat-card { flex: 0 0 210px; padding: 20px 14px; }
    .cat-card-img { width: 120px; height: 120px; margin-bottom: 12px; }

    .product-scroll-wrapper { padding: 0; }
    .product-scroll-arrow { display: none; }
    .product-card { flex: 0 0 240px; max-width: 240px; }

    .newsletter-section { padding: 35px 20px; }
    .newsletter-inner { flex-direction: column; align-items: flex-start; }
    .newsletter-form { width: 100%; flex-direction: column; }
    .newsletter-form input { width: 100%; }
    .newsletter-form button { width: 100%; }
}

@media (max-width: 700px) {
    .cart-table, .cart-table thead, .cart-table tbody, .cart-table th, .cart-table td, .cart-table tr { display: block; }
    .cart-table thead { display: none; }
    .cart-table tr { margin-bottom: 20px; border: 1px solid #eee; border-radius: 8px; padding: 10px; }
    .cart-summary { max-width: 100%; }
}

@media (max-width: 600px) {
    .product-card { flex: 0 0 86%; max-width: 86%; }

    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .footer-container { grid-template-columns: 1fr; gap: 25px; }
    .site-footer { padding: 40px 20px 20px; }
    .announcement-bar { font-size: 10px; padding: 6px 10px; }
}

/* ===== FULL-WIDTH WRAPPER (no max-width, true edge-to-edge) ===== */
.full-bleed {
    width: 100%;
    padding: 0 24px;
}

.trust-bar-v2-section,
.category-showcase {
    width: 100%;
}

/* ===== CATEGORY ARROW STYLING ===== */
.category-scroll-wrapper {
    position: relative;
    width: 100%;
    padding: 0 44px;
}

.category-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: 1px solid #eef1f4;
    color: var(--color-dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(11,30,51,0.14);
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.category-scroll-arrow:hover {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}
.category-scroll-prev { left: 0; right: auto; }
.category-scroll-next { right: 0; left: auto; }

@media (max-width: 900px) {
    .full-bleed { padding: 0 16px; }
}

/* ===== PRODUCT DETAIL PAGE (legacy v5 — kept only if product-page-section still used anywhere) ===== */
.product-page-section { padding: 44px 24px; }
.product-page-section .container { max-width: 1360px; }
.breadcrumb-nav { font-size: 13px; color: var(--color-gray); margin-bottom: 24px; display: flex; gap: 6px; }
.breadcrumb-nav a { color: var(--color-gray); }
.breadcrumb-nav a:hover { color: var(--color-accent); }
.breadcrumb-nav span { color: #ccc; }

/* ===== SLIDE-IN CART DRAWER ===== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,30,51,0.5);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}
.cart-drawer-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 92vw;
    background: var(--color-white);
    z-index: 3001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #eef1f4;
    flex-shrink: 0;
}
.cart-drawer-header h3 { font-size: 20px; color: var(--color-dark); font-weight: 800; }
.cart-drawer-close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--color-gray);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}
.cart-drawer-empty { color: var(--color-gray); font-size: 14px; text-align: center; padding: 40px 0; }

.cart-drawer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #eef1f4;
}
.cart-drawer-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--color-light-bg); }
.cart-drawer-item-info { flex: 1; min-width: 0; }
.cart-drawer-item-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-drawer-item-price { font-size: 12.5px; color: var(--color-gray); }
.cart-drawer-item-price span { color: var(--color-gray); }
.cart-drawer-item-total { font-size: 14px; font-weight: 800; color: var(--color-dark); flex-shrink: 0; }

.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #eef1f4;
    flex-shrink: 0;
}
.cart-drawer-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin-bottom: 16px;
}
.cart-drawer-total-row strong { font-size: 19px; color: var(--color-dark); }

.cart-drawer-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}
.cart-drawer-btn-outline { border: 2px solid var(--color-dark); color: var(--color-dark); }
.cart-drawer-btn-outline:hover { background: var(--color-light-bg); }
.cart-drawer-btn-solid { background: var(--color-accent); color: var(--color-white); margin-bottom: 0; }
.cart-drawer-btn-solid:hover { background: var(--color-dark); }

@media (max-width: 600px) {
    .cart-drawer { width: 100%; max-width: 100%; }
}

/* ===== MOBILE SLIDE-IN MENU (Amazon-style) ===== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,30,51,0.5);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu-panel {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--color-white);
    z-index: 3001;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 10px 0 40px rgba(0,0,0,0.15);
}
.mobile-menu-panel.open { transform: translateX(0); }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    background: var(--color-dark);
    color: var(--color-white);
    flex-shrink: 0;
}
.mobile-menu-header span { font-size: 17px; font-weight: 800; }
.mobile-menu-close { background: transparent; border: none; color: var(--color-white); font-size: 26px; cursor: pointer; line-height: 1; }

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}
.mobile-menu-link {
    display: block;
    padding: 15px 22px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--color-dark);
    border-bottom: 1px solid #f0f2f5;
}
.mobile-menu-link:hover { background: var(--color-light-bg); }

/* ===== HEADER MOBILE RESPONSIVE (refined) ===== */
@media (max-width: 900px) {
    .header-top-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    .mobile-menu-toggle {
        display: flex;
        order: 1;
        background: transparent;
        border: none;
        color: var(--color-white);
        cursor: pointer;
    }
    .mobile-menu-toggle svg { width: 24px; height: 24px; }
    .logo { order: 2; }
    .logo img { height: 30px; }
    .deliver-to-text { display: none; }
    .deliver-to-btn { order: 3; padding: 6px; }
    .header-icons { order: 4; margin-left: auto; gap: 14px; }
    .header-icons .icon-label { display: none; }
    .header-search { order: 5; flex-basis: 100%; }

    .header-bottom { display: none; }
}

/* ===== DELIVERY MAP ===== */
#deliverMapContainer { margin-bottom: 18px; }
#deliverMap {
    height: 220px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #dde2e7;
    z-index: 1;
}
.map-status-text {
    font-size: 12px;
    color: var(--color-gray);
    margin-top: 8px;
}

/* ===== ADMIN — export buttons + print-friendly table ===== */
.export-btns-row { display: flex; gap: 10px; margin-bottom: 18px; }
.btn-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}
.btn-export:hover { background: var(--color-accent); }

@media print {
    .admin-sidebar, .admin-topbar, .export-btns-row { display: none !important; }
    .admin-content { padding: 0 !important; }
    body { background: white !important; }
}

/* ===== REAL LIVE ACTIVITY WIDGET ===== */
.live-activity-box { margin-bottom: 14px; }
.live-viewers-line {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #c0392b;
    margin-bottom: 6px;
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c0392b;
    flex-shrink: 0;
    animation: liveDotPulse 1.5s ease-in-out infinite;
}
@keyframes liveDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}
.sold-recently-line {
    font-size: 13px;
    font-weight: 600;
    color: #b5530a;
    background: #fff1e6;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
}

.urgent-stock {
    color: #c0392b !important;
    font-weight: 700 !important;
}

/* ===== ADMIN DASHBOARD ===== */
.stat-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.stat-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-left: 4px solid var(--color-accent);
}
.stat-card.stat-revenue { border-left-color: #1E9E5A; }
.stat-card.stat-pending { border-left-color: #F5A623; }
.stat-card.stat-lowstock { border-left-color: #E0455D; }
.stat-card-label { font-size: 13px; color: var(--color-gray); font-weight: 600; margin-bottom: 8px; }
.stat-card-value { font-size: 28px; font-weight: 800; color: var(--color-dark); }

.dashboard-grid-2col {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
    align-items: start;
}

.chart-container { position: relative; height: 260px; }

.lowstock-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f4;
    font-size: 13.5px;
}
.lowstock-item:last-child { border-bottom: none; }
.lowstock-item .stock-count {
    background: #fdecea;
    color: #c0392b;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .stat-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid-2col { grid-template-columns: 1fr; }
}

/* ===== SHOP PAGE v2 — full width, horizontal category bar, 4-col grid (ACTIVE) ===== */
.shop-page-section-v2 { padding: 30px 0 50px; }
.shop-header-row { padding: 0 24px; margin-bottom: 18px; }
.shop-header-row h1 { font-size: 26px; font-weight: 800; color: var(--color-dark); margin-bottom: 4px; }
.shop-header-row p { font-size: 13px; color: var(--color-gray); }

.shop-cat-bar-wrapper { padding: 0 24px; margin-bottom: 26px; }
.shop-cat-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.shop-cat-bar::-webkit-scrollbar { display: none; }
.shop-cat-pill {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 30px;
    background: var(--color-light-bg);
    color: var(--color-dark);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
}
.shop-cat-pill:hover { border-color: var(--color-accent); }
.shop-cat-pill.active { background: var(--color-dark); color: var(--color-white); }

.shop-product-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 0 24px;
}
.shop-product-grid-v2 .product-card { width: 100%; max-width: none; flex: none; }

@media (max-width: 1200px) {
    .shop-product-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .shop-product-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0 16px; }
    .shop-cat-bar-wrapper, .shop-header-row { padding: 0 16px; }
}
@media (max-width: 500px) {
    .shop-product-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ===== WRITE A REVIEW FORM (legacy, kept for product-page-section fallback) ===== */
.review-success-msg {
    background: #eafaf1;
    color: #1e9e5a;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ===== MOBILE-ONLY HERO SLIDER (1080x1350) ===== */
.mobile-only-slider { display: none; }
.desktop-only-slider { display: block; }

.hero-slider-mobile {
    position: relative;
    width: 100%;
    aspect-ratio: 1080 / 1350;
    overflow: hidden;
}
.hero-slider-mobile .slide-m {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slider-mobile .slide-m.active { opacity: 1; }
.hero-slider-mobile .slide-m img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-slider-mobile .slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.dot-m { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.2s ease; }
.dot-m.active { background: var(--color-white); width: 24px; border-radius: 5px; }

@media (max-width: 900px) {
    .desktop-only-slider { display: none; }
    .mobile-only-slider { display: block; }
}

/* ===== ACCOUNT AUTH PAGE (legacy tabbed version — kept only if account.php still uses it) ===== */
.account-auth-section { padding: 70px 24px; display: flex; justify-content: center; background: var(--color-light-bg); min-height: 60vh; }
.auth-tabs-wrapper { width: 100%; max-width: 440px; background: var(--color-white); border: 1px solid #eef1f4; border-radius: 20px; padding: 36px; box-shadow: 0 20px 50px rgba(11,30,51,0.08); }
.auth-tabs { display: flex; gap: 6px; background: var(--color-light-bg); border-radius: 12px; padding: 5px; margin-bottom: 28px; }
.auth-tab-btn { flex: 1; background: transparent; border: none; padding: 12px; border-radius: 9px; font-weight: 700; font-size: 13.5px; color: var(--color-gray); cursor: pointer; font-family: var(--font-main); transition: all 0.2s ease; }
.auth-tab-btn.active { background: var(--color-white); color: var(--color-dark); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.social-login-divider { text-align: center; margin: 22px 0 16px; position: relative; font-size: 12px; color: var(--color-gray); }
.social-login-divider::before, .social-login-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: #eef1f4; }
.social-login-divider::before { left: 0; }
.social-login-divider::after { right: 0; }
.social-login-buttons { display: flex; gap: 10px; }
.social-login-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border: 1.5px solid #e5e9ed; border-radius: 10px; background: var(--color-white); font-size: 13px; font-weight: 600; color: var(--color-dark); cursor: not-allowed; opacity: 0.6; }
.social-login-note { font-size: 11px; color: var(--color-gray); text-align: center; margin-top: 10px; }

/* ===== MY ACCOUNT PAGE (legacy grid version — kept only if my-account.php still uses it) ===== */
.my-account-section { padding: 40px 24px; }
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.account-sidebar { background: var(--color-light-bg); border-radius: 16px; padding: 22px; }
.account-user-card { text-align: center; padding-bottom: 20px; border-bottom: 1px solid #e5e9ed; margin-bottom: 16px; }
.account-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--color-accent); color: var(--color-white); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: 0 auto 12px; }
.account-name { font-weight: 700; color: var(--color-dark); font-size: 14.5px; }
.account-email { font-size: 12px; color: var(--color-gray); margin-top: 2px; }
.account-nav li a { display: block; padding: 12px 10px; font-size: 13.5px; font-weight: 600; color: var(--color-text); border-radius: 8px; }
.account-nav li a:hover, .account-nav li a.active { background: var(--color-white); color: var(--color-accent); }
.account-logout-link { color: #c0392b !important; }

.account-main { display: flex; flex-direction: column; gap: 30px; }
.account-panel { background: var(--color-white); border: 1px solid #eef1f4; border-radius: 16px; padding: 26px; scroll-margin-top: 100px; }
.account-panel h2 { font-size: 19px; color: var(--color-dark); margin-bottom: 18px; }

.my-orders-list { display: flex; flex-direction: column; gap: 12px; }
.my-order-card { border: 1px solid #eef1f4; border-radius: 12px; padding: 16px; }
.my-order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.my-order-date, .my-order-total { font-size: 13px; color: var(--color-gray); }

@media (max-width: 800px) {
    .account-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER v2 — Ronin style ===== */
.site-footer-v2 { background: var(--color-dark); color: #cfd6de; padding-top: 60px; }
.footer-v2-top { max-width: 1300px; margin: 0 auto; padding: 0 40px 50px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-v2-col h4 { color: var(--color-white); margin-bottom: 18px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-v2-col ul li { margin-bottom: 12px; }
.footer-v2-col ul li a { font-size: 13.5px; color: #b0b8c1; }
.footer-v2-col ul li a:hover { color: var(--color-accent); }
.footer-v2-brand p { font-size: 14px; line-height: 1.8; color: #b0b8c1; margin: 16px 0; }
.footer-v2-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-v2-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--color-white); transition: background 0.2s ease; }
.footer-v2-social a:hover { background: var(--color-accent); }
.footer-v2-social svg { width: 16px; height: 16px; }
.footer-v2-newsletter { margin-top: 18px; }
.footer-v2-newsletter-row { display: flex; gap: 8px; }
.footer-v2-newsletter-row input { flex: 1; padding: 12px 14px; border-radius: 30px; border: none; font-size: 13px; }
.footer-v2-newsletter-row button { background: var(--color-accent); color: var(--color-white); border: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; flex-shrink: 0; }
.footer-v2-bottom { border-top: 1px solid #1c3550; padding: 20px 40px; text-align: center; font-size: 12.5px; color: #8a93a0; }
.footer-v2-payments { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.footer-v2-payments span { background: rgba(255,255,255,0.08); padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; color: #cfd6de; }

@media (max-width: 900px) {
    .footer-v2-top { grid-template-columns: 1fr 1fr; padding: 0 20px 40px; }
}
@media (max-width: 600px) {
    .footer-v2-top { grid-template-columns: 1fr; }
}

/* ===== AUTH PAGE v2 (Ronin-style plain tabs — ACTIVE, used by account.php) ===== */
.v2-auth-wrap { padding: 70px 24px; display: flex; justify-content: center; min-height: 55vh; }
.v2-auth-card { width: 100%; max-width: 420px; }
.v2-auth-tabs { display: flex; gap: 30px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.v2-auth-tab { background: none; border: none; padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--color-gray); border-bottom: 2px solid transparent; cursor: pointer; font-family: var(--font-main); }
.v2-auth-tab.active { color: var(--color-dark); border-bottom-color: var(--color-accent); }
.v2-form-group { margin-bottom: 18px; }
.v2-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--color-text); margin-bottom: 6px; }
.v2-input { width: 100%; padding: 12px 14px; border: 1px solid #dde2e7; border-radius: 8px; font-size: 14px; font-family: var(--font-main); }
.v2-input:focus { outline: none; border-color: var(--color-accent); }
.v2-btn-primary { width: 100%; background: var(--color-dark); color: var(--color-white); border: none; padding: 13px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; margin-top: 6px; }
.v2-btn-primary:hover { background: var(--color-accent); }
.v2-divider { text-align: center; margin: 26px 0 16px; position: relative; font-size: 12px; color: var(--color-gray); }
.v2-divider::before, .v2-divider::after { content: ''; position: absolute; top: 50%; width: 38%; height: 1px; background: #eee; }
.v2-divider::before { left: 0; }
.v2-divider::after { right: 0; }
.v2-social-row { display: flex; gap: 10px; }
.v2-social-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border: 1px solid #eee; border-radius: 8px; background: var(--color-white); font-size: 13px; font-weight: 600; color: var(--color-dark); cursor: not-allowed; opacity: 0.55; }
.v2-social-note { font-size: 11px; color: var(--color-gray); text-align: center; margin-top: 10px; }

/* ===== MY ACCOUNT v2 (Ronin-style clean layout — ACTIVE, used by my-account.php) ===== */
.v2-account-wrap { padding: 50px 24px; }
.v2-account-grid { display: grid; grid-template-columns: 180px 1fr; gap: 50px; align-items: start; }
.v2-account-nav { display: flex; flex-direction: column; gap: 14px; }
.v2-account-nav a { font-size: 14px; color: var(--color-gray); font-weight: 500; }
.v2-account-nav a.v2-nav-active { color: var(--color-dark); font-weight: 700; }
.v2-account-nav a:hover { color: var(--color-accent); }

.v2-account-main { display: flex; flex-direction: column; gap: 24px; max-width: 700px; }
.v2-card { background: var(--color-white); border: 1px solid #eef1f4; border-radius: 14px; padding: 24px; scroll-margin-top: 100px; }
.v2-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.v2-card-head h3 { font-size: 15px; color: var(--color-dark); font-weight: 700; }
.v2-info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f2f2f2; font-size: 13.5px; }
.v2-info-row:last-child { border-bottom: none; }
.v2-info-label { color: var(--color-gray); }
.v2-info-value { color: var(--color-dark); font-weight: 600; text-align: right; }
.v2-empty-note { font-size: 13px; color: var(--color-gray); }

.v2-order-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #f2f2f2; }
.v2-order-row:last-child { border-bottom: none; }
.v2-order-date { font-size: 12px; color: var(--color-gray); margin-top: 3px; }
.v2-order-right { display: flex; align-items: center; gap: 12px; }

.v2-logout-link { color: #c0392b; font-weight: 700; font-size: 13.5px; align-self: flex-start; }

@media (max-width: 800px) {
    .v2-account-grid { grid-template-columns: 1fr; }
    .v2-account-nav { flex-direction: row; gap: 24px; border-bottom: 1px solid #eee; padding-bottom: 14px; }
}

/* ===== PRODUCT PAGE v6 — compact, premium (ACTIVE, used by product.php) ===== */
.pp-section { padding: 30px 0; }
.pp-breadcrumb { font-size: 12px; color: var(--color-gray); margin-bottom: 16px; display: flex; gap: 5px; }
.pp-breadcrumb a { color: var(--color-gray); } .pp-breadcrumb a:hover { color: var(--color-accent); } .pp-breadcrumb span { color: #ccc; }
.pp-wide-container { width: 100%; margin: 0 auto; padding: 0 28px; }

.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.pp-gallery { position: sticky; top: 90px; }
.pp-gallery-card { background: var(--color-light-bg); border-radius: 14px; padding: 14px; }
.pp-main-image { position: relative; background: var(--color-white); border-radius: 10px; overflow: hidden; width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; cursor: crosshair; }
.pp-main-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.15s ease-out; }
.pp-badge-discount { position: absolute; top: 10px; left: 10px; background: var(--color-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 16px; z-index: 2; }
.pp-thumb-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pp-thumb { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; cursor: pointer; border: 2px solid #e5e9ed; opacity: 0.7; background: #fff; padding: 4px; }
.pp-thumb.active, .pp-thumb:hover { border-color: var(--color-accent); opacity: 1; }

.pp-cat-chip { display: inline-block; background: var(--color-light-bg); color: var(--color-accent); font-size: 10.5px; font-weight: 700; padding: 4px 11px; border-radius: 16px; text-transform: uppercase; margin-bottom: 8px; }
.pp-title { font-size: 21px; font-weight: 800; color: var(--color-dark); line-height: 1.3; margin-bottom: 10px; }
.pp-badges-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pp-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 16px; }
.pp-badge-rating { background: #fff8e6; color: #b5850a; } .pp-badge-rating small { color: var(--color-gray); font-weight: 500; }
.pp-badge-sold { background: #fff1e6; color: #b5530a; }
.pp-badge-muted { background: var(--color-light-bg); color: var(--color-gray); }

.pp-activity { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pp-activity-chip { font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 16px; display: inline-flex; align-items: center; gap: 5px; }
.pp-activity-live { background: #fdecea; color: #c0392b; }
.pp-activity-sold { background: #fff1e6; color: #b5530a; }
.pp-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #c0392b; animation: ppLiveDot 1.5s ease-in-out infinite; }
@keyframes ppLiveDot { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

.pp-card { background: #fff; border: 1px solid #eef1f4; border-radius: 14px; padding: 18px; margin-bottom: 14px; }
.pp-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.pp-price { font-size: 26px; font-weight: 800; color: var(--color-dark); } .pp-price span { font-size: 15px; }
.pp-old-price { font-size: 13px; color: var(--color-gray); text-decoration: line-through; }
.pp-off { color: #1E9E5A; font-weight: 700; font-size: 12px; }
.pp-stock { font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.pp-stock-ok { color: #27ae60; } .pp-stock-urgent { color: #c0392b; } .pp-stock-out { color: #c0392b; }

.pp-qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pp-qty-row span { font-size: 12.5px; font-weight: 700; color: var(--color-dark); }
.pp-qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid #e5e9ed; border-radius: 8px; overflow: hidden; }
.pp-qty-stepper button { background: var(--color-light-bg); border: none; width: 34px; height: 34px; font-size: 15px; font-weight: 700; cursor: pointer; }
.pp-qty-stepper input { width: 42px; height: 34px; border: none; border-left: 1.5px solid #e5e9ed; border-right: 1.5px solid #e5e9ed; text-align: center; font-size: 13px; font-weight: 700; }
.pp-cta-row { display: flex; gap: 10px; }
.pp-btn-buy, .pp-btn-cart { flex: 1; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 13px; cursor: pointer; border: none; }
.pp-btn-buy { background: linear-gradient(120deg, #12a5ff, var(--color-accent)); color: #fff; box-shadow: 0 6px 16px rgba(13,139,255,0.25); }
.pp-btn-cart { background: #fff; border: 2px solid var(--color-dark); color: var(--color-dark); }

.pp-trust-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 10px; }
.pp-trust-item { background: var(--color-light-bg); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pp-trust-item svg { width: 16px; height: 16px; color: var(--color-accent); }
.pp-trust-item span { font-size: 10px; font-weight: 700; color: var(--color-dark); }
.pp-advance-note { font-size: 10.5px; color: var(--color-gray); background: #fff8e6; padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; }
.pp-advance-note b { color: var(--color-dark); }
.pp-features { background: var(--color-light-bg); padding: 14px; border-radius: 10px; }
.pp-features h4 { font-size: 12.5px; margin-bottom: 8px; color: var(--color-dark); }
.pp-features li { font-size: 12px; padding: 5px 0; border-bottom: 1px solid #e5e9ed; }
.pp-features li:last-child { border-bottom: none; }

/* Frequently Bought Together (matches actual product.php markup: pp-fbt-box / pp-fbt-footer) */
.pp-fbt-box { background: var(--color-light-bg); border-radius: 16px; padding: 26px; margin: 22px 0; }
.pp-fbt-box h3 {
    font-size: 19px; font-weight: 800; color: var(--color-dark); margin-bottom: 20px;
    display: flex; align-items: center; gap: 8px;
}
.pp-fbt-box h3::before {
    content: ''; display: inline-block; width: 5px; height: 20px;
    background: var(--color-accent); border-radius: 3px; flex-shrink: 0;
}
.pp-fbt-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pp-fbt-item { text-align: center; width: 110px; }
.pp-fbt-item img { width: 92px; height: 92px; object-fit: contain; margin: 0 auto 8px; background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 4px 14px rgba(11,30,51,0.06); }
.pp-fbt-item p { font-size: 12px; color: var(--color-dark); line-height: 1.35; margin-bottom: 4px; }
.pp-fbt-item span { font-size: 13px; font-weight: 800; color: var(--color-dark); }
.pp-fbt-plus { font-size: 22px; color: var(--color-gray); font-weight: 700; }
.pp-fbt-footer {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 22px; padding-top: 20px; border-top: 1px dashed #dde2e7; flex-wrap: wrap;
}
.pp-fbt-footer > div:first-child p { font-size: 12.5px; color: var(--color-gray); }
.pp-fbt-footer > div:first-child strong { font-size: 24px; color: var(--color-dark); }
.pp-fbt-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pp-fbt-btn { background: var(--color-accent); color: #fff; border: none; padding: 11px 20px; border-radius: 9px; font-weight: 700; font-size: 13px; cursor: pointer; }
.pp-fbt-btn-outline { background: #fff; border: 1.5px solid var(--color-dark); color: var(--color-dark); }

/* Tabs */
.pp-tabs-nav { position: sticky; top: 90px; z-index: 50; display: flex; justify-content: center; gap: 6px; background: var(--color-light-bg); border-radius: 30px; padding: 6px; margin: 36px auto 26px; max-width: fit-content; box-shadow: 0 8px 20px rgba(11,30,51,0.06); flex-wrap: wrap; }
.pp-tab-btn { background: transparent; border: none; padding: 8px 16px; border-radius: 22px; font-size: 12px; font-weight: 700; color: var(--color-gray); cursor: pointer; }
.pp-tab-btn.active { background: #fff; color: var(--color-dark); box-shadow: 0 3px 10px rgba(0,0,0,0.08); }
.pp-tab-section { width: 100%; margin: 0 auto 44px; padding: 0 28px; scroll-margin-top: 140px; }
.pp-tab-heading { font-size: 18px; color: var(--color-dark); margin-bottom: 16px; font-weight: 800; }
.pp-empty { color: var(--color-gray); font-size: 13px; padding: 14px 0; }
.pp-overview { font-size: 13.5px; line-height: 1.8; color: var(--color-text); }
.pp-overview img { max-width: 100%; border-radius: 10px; margin: 12px 0; }
.pp-overview p { margin-bottom: 16px; }
.pp-overview p:last-child { margin-bottom: 0; }
.pp-overview-subhead { font-size: 15.5px; font-weight: 800; color: var(--color-dark); margin: 22px 0 12px; }
.pp-overview-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pp-overview-list li {
    position: relative; padding-left: 24px; font-size: 13.5px; line-height: 1.6; color: var(--color-text);
}
.pp-overview-list li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    color: var(--color-accent); font-weight: 800; font-size: 13px;
}

.pp-specs-table { width: 100%; border-collapse: collapse; border-radius: 10px; overflow: hidden; border: 1px solid #eef1f4; font-size: 12.5px; }
.pp-specs-table tr:nth-child(odd) { background: var(--color-light-bg); }
.pp-specs-table td { padding: 11px 14px; border-bottom: 1px solid #eef1f4; }
.pp-spec-key { font-weight: 700; color: var(--color-dark); width: 35%; }

.pp-faq-list { display: flex; flex-direction: column; gap: 8px; }
.pp-faq-item { border: 1px solid #eef1f4; border-radius: 10px; overflow: hidden; }
.pp-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; background: #fff; border: none; padding: 13px 16px; font-size: 12.5px; font-weight: 700; color: var(--color-dark); cursor: pointer; text-align: left; }
.pp-faq-q svg { width: 15px; height: 15px; color: var(--color-gray); transition: transform 0.2s ease; }
.pp-faq-item.open .pp-faq-q svg { transform: rotate(180deg); color: var(--color-accent); }
.pp-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; background: var(--color-light-bg); }
.pp-faq-item.open .pp-faq-a { max-height: 300px; }
.pp-faq-a p { padding: 12px 16px; font-size: 12.5px; line-height: 1.6; }

.pp-review-summary { display: flex; align-items: center; gap: 14px; background: var(--color-light-bg); padding: 16px; border-radius: 12px; margin-bottom: 18px; }
.pp-review-score { font-size: 30px; font-weight: 800; color: var(--color-dark); }
.pp-review-stars { color: #f5a623; font-size: 14px; }
.pp-review-summary p { color: var(--color-gray); font-size: 11px; font-weight: 600; }
.pp-review-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.pp-review-card { display: flex; gap: 12px; padding: 14px; border: 1px solid #eef1f4; border-radius: 10px; }
.pp-review-photo { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.pp-review-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.pp-review-top strong { font-size: 12.5px; color: var(--color-dark); }
.pp-review-top span { color: #f5a623; font-size: 11px; }
.pp-review-text { font-size: 12px; line-height: 1.6; margin-bottom: 5px; }
.pp-review-date { font-size: 10.5px; color: var(--color-gray); }

.pp-write-review { background: var(--color-light-bg); padding: 18px; border-radius: 12px; }
.pp-write-review h4 { font-size: 14px; margin-bottom: 12px; color: var(--color-dark); }
.pp-star-input { display: flex; gap: 4px; margin-bottom: 12px; font-size: 20px; }
.pp-star-input span { color: #d5dae0; cursor: pointer; }
.pp-star-input span.selected { color: #f5a623; }
.pp-review-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.pp-review-form-row input[type="text"] { padding: 9px 12px; border: 1px solid #dde2e7; border-radius: 6px; font-size: 12.5px; }
.pp-review-form-row input[type="file"] { font-size: 11px; }
.pp-write-review textarea { width: 100%; padding: 10px 12px; border: 1px solid #dde2e7; border-radius: 6px; font-size: 12.5px; resize: vertical; margin-bottom: 10px; }
.pp-submit-review-btn { background: var(--color-accent); color: #fff; border: none; padding: 9px 22px; border-radius: 8px; font-weight: 700; font-size: 12px; cursor: pointer; }

/* Similar Items / Other Items grid (matches product.php pp_card() output) */
.pp-related-section { width: 100%; margin: 0 auto 50px; padding: 0 28px; }
.pp-related-heading { font-size: 18px; font-weight: 800; color: var(--color-dark); margin-bottom: 18px; }

.pp-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pp-mini-card {
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.pp-mini-card:hover {
    box-shadow: 0 14px 30px rgba(11,30,51,0.1);
    transform: translateY(-3px);
    border-color: var(--color-accent);
}

.pp-mini-img { position: relative; aspect-ratio: 1/1; background: var(--color-light-bg); overflow: hidden; }
.pp-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.pp-mini-badge {
    position: absolute; top: 8px; left: 8px; background: var(--color-dark); color: #fff;
    font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; z-index: 2;
}

.pp-mini-name {
    font-size: 12.5px; font-weight: 500; color: var(--color-dark); line-height: 1.4;
    padding: 10px 10px 4px; min-height: 36px;
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pp-mini-price { font-size: 14px; font-weight: 700; color: var(--color-dark); padding: 0 10px 10px; }

.pp-mini-actions { display: flex; gap: 6px; padding: 0 10px 10px; }
.pp-mini-btn {
    flex: 1; border: none; padding: 8px 6px; border-radius: 7px; font-size: 11px; font-weight: 700;
    cursor: pointer; background: var(--color-light-bg); color: var(--color-dark); font-family: var(--font-main);
}
.pp-mini-btn-solid { background: var(--color-accent); color: #fff; }
.pp-mini-btn:hover { filter: brightness(0.96); }

@media (max-width: 900px) {
    .pp-grid { grid-template-columns: 1fr; gap: 20px; }
    .pp-gallery { position: static; }
    .pp-title { font-size: 17px; }
    .pp-price { font-size: 21px; }
    .pp-tabs-nav { position: static; margin: 24px auto 20px; }
    .pp-trust-row { grid-template-columns: 1fr; }
    .pp-review-form-row { grid-template-columns: 1fr; }
    .pp-fbt-footer { flex-direction: column; align-items: flex-start; }
    .pp-main-image img { transform: none !important; }
}
@media (max-width: 1100px) {
    .pp-mini-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .pp-mini-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pp-mini-name { font-size: 11.5px; min-height: 32px; }
}

/* ===== CHECKOUT v2 — full-width, clean (ACTIVE, used by checkout.php) ===== */
.co-section { padding: 40px 20px; }
.co-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; max-width: 1200px; margin: 0 auto; }
.co-form-card, .co-summary-card { background: #fff; border: 1px solid #eef1f4; border-radius: 16px; padding: 26px; }
.co-form-card h3, .co-summary-card h3 { font-size: 17px; color: var(--color-dark); margin-bottom: 18px; }
.co-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.co-group { display: flex; flex-direction: column; }
.co-group label { font-size: 12.5px; font-weight: 700; color: var(--color-text); margin-bottom: 6px; }
.co-group input, .co-group select, .co-group textarea { padding: 11px 13px; border: 1px solid #dde2e7; border-radius: 8px; font-size: 13.5px; font-family: var(--font-main); }
.co-group input:focus, .co-group select:focus, .co-group textarea:focus { outline: none; border-color: var(--color-accent); }

.co-payment-box { background: var(--color-light-bg); border-radius: 12px; padding: 16px; margin: 16px 0; }
.co-payment-option { display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; }
.co-payment-option input { width: 16px; height: 16px; }
.co-payment-option span { font-size: 13.5px; font-weight: 600; color: var(--color-dark); }
.co-advance-details { display: none; margin-top: 10px; padding: 14px; background: #fff8e6; border-radius: 10px; font-size: 12px; line-height: 1.8; }
.co-advance-details.show { display: block; }
.co-advance-details b { color: var(--color-dark); }
.co-whatsapp-note { color: #1a7a1a; font-weight: 700; margin-top: 8px; display: block; }

.co-place-order-btn { width: 100%; background: var(--color-accent); color: #fff; border: none; padding: 15px; border-radius: 10px; font-weight: 700; font-size: 14.5px; cursor: pointer; margin-top: 10px; }
.co-place-order-btn:hover { background: var(--color-dark); }

.co-summary-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.co-summary-total { font-weight: 800; font-size: 16px; color: var(--color-dark); border-bottom: none; margin-top: 6px; }

@media (max-width: 900px) {
    .co-grid { grid-template-columns: 1fr; }
    .co-form-row { grid-template-columns: 1fr; }
}

/* ===== ORDER SUCCESS PAGE (ACTIVE, used by order-success.php) ===== */
.os-section { padding: 40px 20px; }
.os-wrap { max-width: 800px; margin: 0 auto; }
.os-hero { text-align: center; background: #eafaf1; border-radius: 16px; padding: 30px 20px; margin-bottom: 24px; }
.os-hero h1 { color: #1e9e5a; font-size: 22px; margin-bottom: 10px; }
.os-hero p { font-size: 13.5px; color: var(--color-dark); line-height: 1.7; }
.os-card { background: #fff; border: 1px solid #eef1f4; border-radius: 14px; padding: 22px; margin-bottom: 18px; }
.os-card h3 { font-size: 15px; color: var(--color-dark); margin-bottom: 14px; }
.os-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f2f2f2; }
.os-item-row:last-child { border-bottom: none; }
.os-item-row img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; background: var(--color-light-bg); }
.os-item-info { flex: 1; }
.os-item-info p { font-size: 12.5px; font-weight: 600; color: var(--color-dark); }
.os-item-info span { font-size: 11px; color: var(--color-gray); }
.os-item-price { font-size: 13px; font-weight: 700; color: var(--color-dark); }
.os-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.os-info-block p:first-child { font-size: 11px; color: var(--color-gray); margin-bottom: 3px; }
.os-info-block p:last-child { font-size: 13px; font-weight: 600; color: var(--color-dark); }
.os-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #f2f2f2; }
.os-summary-total { font-weight: 800; font-size: 17px; color: var(--color-dark); border-bottom: none; margin-top: 6px; }
.os-continue-btn { display: block; text-align: center; background: var(--color-dark); color: #fff; padding: 14px; border-radius: 10px; font-weight: 700; margin-top: 10px; }

@media (max-width: 600px) {
    .os-info-grid { grid-template-columns: 1fr; }
}
/* ===== PETI AI CHAT WIDGET ===== */
.peti-chat-bubble {
    position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
    background: var(--color-accent); color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 10px 26px rgba(13,139,255,0.35); z-index: 4000; transition: transform 0.2s ease;
}
.peti-chat-bubble:hover { transform: scale(1.08); }
.peti-chat-bubble svg { width: 26px; height: 26px; }

.peti-chat-window {
    position: fixed; bottom: 94px; right: 24px; width: 370px; max-width: 92vw; height: 560px; max-height: 75vh;
    background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); z-index: 4001;
    display: flex; flex-direction: column; overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.25s ease;
}
.peti-chat-window.open { opacity: 1; visibility: visible; transform: translateY(0); }

.peti-chat-header { background: var(--color-dark); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.peti-chat-header strong { font-size: 15px; display: block; }
.peti-chat-header span { font-size: 11px; color: #b0b8c1; }
.peti-chat-header button { background: transparent; border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }

.peti-chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--color-light-bg); }
.peti-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.peti-msg-ai, .peti-msg-admin { background: #fff; color: var(--color-dark); border: 1px solid #eef1f4; align-self: flex-start; border-bottom-left-radius: 4px; }
.peti-msg-customer { background: var(--color-accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.peti-msg-system { background: #fff8e6; color: #b5850a; align-self: center; font-size: 12px; text-align: center; }
.peti-typing { opacity: 0.6; font-style: italic; }

.peti-product-cards { display: flex; flex-direction: column; gap: 10px; }
.peti-chat-product-card { background: #fff; border: 1px solid #eef1f4; border-radius: 12px; padding: 10px; display: flex; gap: 10px; align-items: center; }
.peti-chat-product-card img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.peti-chat-product-info { flex: 1; }
.peti-chat-product-info p { font-size: 12px; color: var(--color-dark); font-weight: 600; margin-bottom: 2px; }
.peti-chat-product-info span { font-size: 13px; font-weight: 800; color: var(--color-dark); }
.peti-chat-product-info small { display: block; font-size: 10px; color: var(--color-gray); }
.peti-chat-product-actions { display: flex; flex-direction: column; gap: 5px; }
.peti-chat-view-btn, .peti-chat-add-btn { font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 6px; text-align: center; white-space: nowrap; cursor: pointer; border: none; }
.peti-chat-view-btn { background: var(--color-light-bg); color: var(--color-dark); }
.peti-chat-add-btn { background: var(--color-accent); color: #fff; width: 100%; }

.peti-quick-questions { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid #eef1f4; }
.peti-quick-questions button { font-size: 11px; background: var(--color-light-bg); border: none; padding: 7px 10px; border-radius: 16px; cursor: pointer; font-weight: 600; color: var(--color-dark); }
.peti-quick-questions button:hover { background: var(--color-accent); color: #fff; }

.peti-chat-input-row { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid #eef1f4; }
.peti-chat-input-row input { flex: 1; border: 1px solid #dde2e7; border-radius: 20px; padding: 10px 16px; font-size: 13px; }
.peti-chat-input-row button { background: var(--color-accent); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.peti-chat-input-row button svg { width: 16px; height: 16px; }

@media (max-width: 500px) {
    .peti-chat-window { width: 100%; height: 100%; max-height: 100%; bottom: 0; right: 0; border-radius: 0; }
    .peti-chat-bubble { bottom: 16px; right: 16px; }
}