/* ========== TGN POWERTOOLS - MAIN STYLESHEET ========== */
:root {
    --primary: #F5A623;
    --primary-dark: #E09000;
    --primary-light: #FFF3E0;
    --secondary: #1A1A2E;
    --dark: #16213E;
    --success: #27AE60;
    --danger: #E74C3C;
    --warning: #F39C12;
    --info: #3498DB;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #6c757d;
    --gray-700: #495057;
    --gray-900: #212529;
    --radius: 10px;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); font-size: 14px; color: var(--gray-900); line-height: 1.6; background: var(--white); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== TOP BAR ========== */
.top-bar { background: var(--secondary); color: rgba(255,255,255,0.8); font-size: 12px; padding: 8px 0; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar-left, .top-bar-right { display: flex; gap: 20px; }
.top-bar span i { margin-right: 5px; color: var(--primary); }

/* ========== HEADER ========== */
.header { background: var(--white); padding: 15px 0; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 32px; color: var(--primary); }
.logo-name { font-size: 20px; font-weight: 900; color: var(--secondary); letter-spacing: 1px; }
.logo-tagline { font-size: 11px; color: var(--gray-500); letter-spacing: 2px; text-transform: uppercase; }

.header-search { flex: 1; max-width: 450px; position: relative; }
.header-search form { display: flex; border: 2px solid var(--primary); border-radius: 50px; overflow: hidden; }
.header-search input { flex: 1; padding: 10px 20px; border: none; outline: none; font-size: 14px; }
.header-search button { background: var(--primary); color: var(--white); border: none; padding: 10px 20px; cursor: pointer; font-size: 16px; }
.header-search button:hover { background: var(--primary-dark); }

/* Search Autocomplete Dropdown */
.search-suggestions { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); z-index: 999; max-height: 420px; overflow-y: auto; margin-top: 6px; }
.search-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; transition: var(--transition); border-bottom: 1px solid var(--gray-100); }
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--primary-light); }
.search-item img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--gray-200); padding: 3px; flex-shrink: 0; }
.search-item-info { flex: 1; min-width: 0; }
.search-item-name { display: block; font-size: 14px; font-weight: 600; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item-meta { display: block; font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.search-item-meta strong { color: var(--primary); }
.search-no-result { padding: 20px; text-align: center; color: var(--gray-500); font-size: 14px; }

.header-actions { display: flex; gap: 15px; align-items: center; }
.header-action-btn { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gray-700); position: relative; }
.header-action-btn:hover { color: var(--primary); }
.header-action-btn i { font-size: 20px; }
.cart-badge { position: absolute; top: -8px; right: -8px; background: var(--primary); color: var(--white); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }

.mobile-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--secondary); cursor: pointer; }

/* ========== NAVIGATION ========== */
.nav { background: var(--secondary); }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links li a { display: flex; align-items: center; gap: 6px; padding: 14px 18px; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; }
.nav-links li a:hover { background: rgba(255,255,255,0.05); color: var(--primary); }
.nav-links li a i { font-size: 14px; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--white); box-shadow: var(--shadow-hover); border-radius: var(--radius); min-width: 220px; z-index: 200; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { color: var(--gray-700); padding: 10px 18px; font-size: 13px; }
.dropdown-menu li a:hover { background: var(--primary-light); color: var(--primary); }
/* Mobile-only drawer chrome — hidden on desktop, shown in the mobile media query */
.nav-overlay, .nav-drawer-head, .nav-search, .nav-close { display: none; }

/* ========== FLASH MESSAGES ========== */
.flash-message { padding: 12px 20px; border-radius: var(--radius); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.flash-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.flash-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ========== HERO ========== */
.hero { background-color: var(--secondary); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 80px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(15,52,96,0.82) 100%); z-index: 1; }
.hero::after { content: ''; position: absolute; right: -100px; top: -100px; width: 400px; height: 400px; background: var(--primary); opacity: 0.08; border-radius: 50%; z-index: 1; }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-text { max-width: 650px; }
.hero-text h1 { font-size: 42px; font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 15px; }
.hero-text h1 span { color: var(--primary); }
.hero-text p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 25px; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; margin-bottom: 25px; }
.hero-trust { display: flex; gap: 25px; flex-wrap: wrap; }
.hero-trust span { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500; }
.hero-trust span i { color: var(--primary); margin-right: 5px; }

/* Hero Product Images */
.hero-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-product-img { background: var(--white); border-radius: 16px; padding: 20px; text-align: center; position: relative; transition: var(--transition); box-shadow: 0 4px 20px rgba(0,0,0,0.15); animation: heroFloat 3s ease-in-out infinite; }
.hero-product-img:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 12px 40px rgba(245,166,35,0.3); }
.hero-product-img img { width: 100%; height: 140px; object-fit: contain; transition: transform 0.4s ease; }
.hero-product-img:hover img { transform: scale(1.1) rotate(-2deg); }
.hero-img-name { font-size: 13px; font-weight: 700; color: var(--secondary); margin-top: 10px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-img-price { display: inline-block; background: var(--primary); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-top: 6px; }

/* Staggered float animations */
.hero-anim-1 { animation-delay: 0s; }
.hero-anim-2 { animation-delay: 0.5s; }
.hero-anim-3 { animation-delay: 1s; }
.hero-anim-4 { animation-delay: 1.5s; }

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.hero-product-img:hover { animation-play-state: paused; }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 50px; font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: var(--transition); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(245,166,35,0.3); }
.btn-dark { background: var(--secondary); color: var(--white); }
.btn-dark:hover { background: var(--dark); }
.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ========== SECTIONS ========== */
.section { padding: 60px 0; }
.section-bg { background: var(--gray-100); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 30px; font-weight: 800; color: var(--secondary); }
.section-header h2 span { color: var(--primary); }
.section-header p { font-size: 15px; color: var(--gray-500); margin-top: 5px; }

/* ========== FEATURES ========== */
.features-bar { background: var(--white); padding: 30px 0; border-bottom: 1px solid var(--gray-200); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-item { display: flex; align-items: center; gap: 15px; }
.feature-icon { width: 50px; height: 50px; background: var(--primary-light); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.feature-item h4 { font-size: 14px; font-weight: 700; color: var(--secondary); }
.feature-item p { font-size: 12px; color: var(--gray-500); }

/* ========== CATEGORIES GRID ========== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.category-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px 15px; text-align: center; transition: var(--transition); }
.category-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.category-img { width: 100%; height: 140px; background: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; padding: 10px; overflow: hidden; }
.category-img img { max-width: 100%; max-height: 120px; object-fit: contain; transition: var(--transition); }
.category-card:hover .category-img img { transform: scale(1.08); }
.category-img i { font-size: 40px; color: var(--primary); }
.category-card h4 { font-size: 14px; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.category-card span { font-size: 12px; color: var(--gray-500); }

/* ========== PRODUCT GRID ========== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }
.product-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: var(--transition); position: relative; }
.product-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.product-badge { position: absolute; top: 10px; left: 10px; z-index: 5; }
.badge-sale { background: var(--primary); color: #fff; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; }
.product-image { position: relative; padding: 20px; background: var(--white); text-align: center; height: 250px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--gray-200); }
.product-image img { max-height: 210px; object-fit: contain; transition: var(--transition); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-actions { position: absolute; bottom: -50px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; padding: 10px; transition: var(--transition); }
.product-card:hover .product-actions { bottom: 10px; }
.product-action-btn { width: 38px; height: 38px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--gray-700); cursor: pointer; transition: var(--transition); }
.product-action-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.product-info { padding: 18px; }
.product-category { font-size: 11px; text-transform: uppercase; color: var(--primary); font-weight: 600; letter-spacing: 1px; margin-bottom: 5px; }
.product-rating { color: #f5a623; font-size: 12px; letter-spacing: 1.5px; margin-bottom: 7px; }
.product-name { font-size: 14px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; min-height: 39px; }
.product-name a { color: var(--secondary); }
.product-name a:hover { color: var(--primary); }
.product-price { display: flex; align-items: center; gap: 10px; }
.current-price { font-size: 18px; font-weight: 800; color: var(--primary); }
.old-price { font-size: 14px; color: var(--gray-500); text-decoration: line-through; }

/* ========== PRODUCT SLIDER (featured) — paged in blocks of 4 ========== */
.product-slider { position: relative; }
/* Header: title only — the chevrons live on the left/right edges of the track */
.slider-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--gray-200); }
.slider-head h2 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; color: var(--secondary); margin: 0; line-height: 1.2; }
.slider-head h2 span { color: var(--primary); }
/* Stage wraps the viewport so the arrows can be anchored to its edges */
.slider-stage { position: relative; }
.slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;               /* Firefox */
    padding: 4px 0;
}
.slider-viewport::-webkit-scrollbar { display: none; }  /* Chrome/Safari */
.slider-track { display: flex; }
/* Each slide fills the viewport and holds a block of 4 products */
.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 2px;
}
.slider-slide .product-card { height: 100%; display: flex; flex-direction: column; }
.slider-slide .product-info { flex: 1; display: flex; flex-direction: column; }
.slider-slide .card-buy-row { margin-top: auto; }
/* Edge chevrons — light, frosted discs pinned to the middle of each side */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(245,166,35,0.5);
    background: rgba(255,255,255,0.86);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    backdrop-filter: blur(8px) saturate(150%);
    color: var(--primary);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(26,26,46,0.16), 0 0 0 4px rgba(245,166,35,0.10);
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
.slider-arrow-prev { left: -20px; }
.slider-arrow-next { right: -20px; }
.slider-arrow:hover { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 0 8px 24px rgba(245,166,35,0.42); }
.slider-arrow:focus-visible { outline: 3px solid rgba(245,166,35,0.55); outline-offset: 2px; }
.slider-arrow.is-hidden { opacity: 0.28; pointer-events: none; }
/* Not enough gutter outside the container — tuck the chevrons over the edge */
@media (max-width: 1320px) {
    .slider-arrow-prev { left: -6px; }
    .slider-arrow-next { right: -6px; }
}
/* Dots */
.slider-dots { display: flex; justify-content: center; gap: 9px; margin-top: 20px; }
.slider-dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: var(--gray-300, #cbd0d8); cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--primary); transform: scale(1.25); }

@media (max-width: 1024px) { .slider-slide { grid-template-columns: repeat(2, 1fr); gap: 16px; } } /* 2x2 */
@media (max-width: 768px)  {
    .slider-arrow { width: 38px; height: 38px; font-size: 14px; box-shadow: 0 4px 14px rgba(26,26,46,0.18), 0 0 0 3px rgba(245,166,35,0.12); }
    .slider-arrow-prev { left: -4px; }
    .slider-arrow-next { right: -4px; }
    .slider-slide { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .slider-dots { margin-top: 16px; }
    .slider-dot { width: 8px; height: 8px; }
}
@media (max-width: 400px) {
    .slider-arrow { width: 34px; height: 34px; font-size: 12.5px; }
    .slider-arrow-prev { left: -2px; }
    .slider-arrow-next { right: -2px; }
}

/* ========== PAGE BANNER ========== */
.page-banner { background: linear-gradient(135deg, var(--secondary), #0F3460); padding: 40px 0; text-align: center; }
.page-banner h1 { font-size: 32px; font-weight: 800; color: var(--white); }
.page-banner p { color: rgba(255,255,255,0.7); margin-top: 5px; }

/* ========== SHOP LAYOUT ========== */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; }
.shop-sidebar { position: sticky; top: 100px; align-self: start; }
/* Faded gradient border: white fill on padding-box, fading amber ring on border-box */
.sidebar-section {
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(160deg, rgba(245,166,35,0.55) 0%, rgba(245,166,35,0.10) 38%, rgba(26,26,46,0.10) 70%, rgba(26,26,46,0.03) 100%) border-box;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 4px 18px rgba(26,26,46,0.05);
}
.sidebar-section h3 { position: relative; font-size: 16px; font-weight: 700; margin-bottom: 14px; padding-bottom: 12px; color: var(--secondary); }
/* Heading rule that fades out to the right */
.sidebar-section h3::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(245,166,35,0.35) 35%, rgba(245,166,35,0) 100%);
}
.category-list li a { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; font-size: 13px; color: var(--gray-700); border-radius: 8px; }
/* Separator that fades away at both ends instead of a hard 1px line */
.category-list li a::after {
    content: ''; position: absolute; left: 8px; right: 8px; bottom: 0; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, rgba(26,26,46,0) 0%, rgba(26,26,46,0.13) 20%, rgba(26,26,46,0.13) 80%, rgba(26,26,46,0) 100%);
}
.category-list li:last-child a::after { display: none; }
/* Soft amber wash + fading left accent on hover/active */
.category-list li a::before {
    content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; opacity: 0;
    background: linear-gradient(180deg, var(--primary), rgba(245,166,35,0)); transition: opacity 0.25s ease;
}
.category-list li a:hover, .category-list li a.active { color: var(--primary); font-weight: 600; background: linear-gradient(90deg, rgba(245,166,35,0.13), rgba(245,166,35,0)); }
.category-list li a:hover::before, .category-list li a.active::before { opacity: 1; }
.category-list li a span { color: var(--gray-500); font-size: 12px; flex-shrink: 0; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--gray-200); }
.shop-toolbar span { font-size: 13px; color: var(--gray-500); }
.sort-form select { padding: 8px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 13px; background: var(--white); color: var(--gray-700); }

/* ========== PRODUCT DETAIL ========== */
.breadcrumb { font-size: 13px; color: var(--gray-500); margin-bottom: 25px; }
.breadcrumb a { color: var(--gray-700); }
.breadcrumb a:hover { color: var(--primary); }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.product-gallery { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: center; position: relative; }
.product-gallery img { max-height: 400px; object-fit: contain; }
.gallery-badge { position: absolute; top: 20px; left: 20px; background: var(--danger); color: var(--white); padding: 8px 16px; border-radius: 50px; font-weight: 700; font-size: 14px; }
.product-detail-info h1 { font-size: 26px; font-weight: 800; color: var(--secondary); margin-bottom: 15px; line-height: 1.3; }
.product-detail-price { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; padding: 15px; background: var(--gray-100); border-radius: var(--radius); }
.product-detail-price .current-price { font-size: 28px; }
.discount-tag { background: var(--danger); color: var(--white); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.product-detail-desc { margin-bottom: 20px; }
.product-detail-desc h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.product-detail-desc p { color: var(--gray-700); line-height: 1.7; }
.quantity-selector { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.quantity-selector label { font-weight: 600; }
.qty-controls { display: flex; align-items: center; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.qty-controls button, .qty-controls a { width: 38px; height: 38px; background: var(--gray-100); border: none; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--gray-700); text-decoration: none; }
.qty-controls button:hover, .qty-controls a:hover { background: var(--primary-light); color: var(--primary); }
.qty-controls input { width: 50px; text-align: center; border: none; font-size: 14px; font-weight: 600; outline: none; }
.product-meta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.product-meta p { font-size: 13px; color: var(--gray-700); margin-bottom: 8px; }
.product-trust-badges { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.product-trust-badges span { font-size: 12px; color: var(--gray-500); font-weight: 600; }
.product-trust-badges span i { color: var(--primary); margin-right: 4px; }

/* ========== CART ========== */
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { background: var(--gray-100); padding: 12px 15px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; color: var(--gray-500); text-align: left; }
.cart-table td { padding: 15px; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: 12px; }
.cart-item-info img { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; background: var(--gray-100); padding: 5px; }
.cart-item-info h4 { font-size: 14px; font-weight: 600; }
.cart-item-info h4 a { color: var(--secondary); }
.cart-item-info h4 a:hover { color: var(--primary); }
.cart-item-info p { font-size: 12px; color: var(--gray-500); }
.cart-remove { color: var(--danger); font-size: 16px; }
.cart-summary { background: var(--gray-100); border-radius: var(--radius); padding: 25px; position: sticky; top: 100px; }
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--secondary); }
.cart-summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 14px; }
.cart-summary-total { display: flex; justify-content: space-between; padding: 15px 0; font-size: 20px; font-weight: 800; color: var(--secondary); border-top: 2px solid var(--primary); margin-top: 10px; }

/* ========== CHECKOUT ========== */
.checkout-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 30px; align-items: start; }
.checkout-section { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 25px; margin-bottom: 20px; }
.checkout-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 15px; color: var(--secondary); }
.checkout-section h3 i { color: var(--primary); margin-right: 8px; }
/* Details form: one card, fields on a grid rather than one per row */
.checkout-section-note { font-size: 12.5px; color: var(--gray-500); margin: -8px 0 18px; }
.checkout-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px 16px; }
.checkout-fields .form-group { margin-bottom: 0; min-width: 0; }
.checkout-fields .form-group--full { grid-column: 1 / -1; }
/* Beat the generic .form-group textarea min-height so the card stays compact */
.checkout-fields .form-group textarea { min-height: 80px; }
.checkout-fields .form-group textarea#co-notes { min-height: 66px; }
.form-group input[readonly] { background: var(--gray-100); color: var(--gray-500); cursor: default; }
.form-group input[readonly]:focus { border-color: var(--gray-200); box-shadow: none; }
@media (max-width: 640px) {
    .checkout-fields { grid-template-columns: repeat(2, 1fr); }
    .checkout-fields .form-group--phone { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .checkout-fields { grid-template-columns: 1fr; gap: 13px; } }
.order-summary-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; gap: 10px; }
.item-name { flex: 1; }
.item-qty { color: var(--gray-500); font-weight: 600; }

/* ========== FORMS ========== */
.form-container { max-width: 450px; margin: 0 auto; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 40px; }
.form-container h2 { font-size: 24px; font-weight: 800; color: var(--secondary); text-align: center; }
.form-subtitle { text-align: center; color: var(--gray-500); margin-bottom: 25px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 14px; transition: var(--transition); font-family: var(--font); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(245,166,35,0.15); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-link { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray-500); }
.form-link a { color: var(--primary); font-weight: 600; }

/* ========== ORDERS TABLE ========== */
.orders-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.orders-table th { background: var(--gray-100); padding: 14px 18px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; color: var(--gray-500); text-align: left; }
.orders-table td { padding: 14px 18px; border-bottom: 1px solid var(--gray-200); }
.status-badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #d1ecf1; color: #0c5460; }
.status-shipped { background: #fff3e0; color: #e65100; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* ========== ORDER DETAIL ========== */
.order-detail { max-width: 800px; margin: 0 auto; }
.order-header { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 25px; }
.order-header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.order-progress { display: flex; justify-content: space-between; margin-top: 20px; }
.progress-step { text-align: center; flex: 1; position: relative; }
.progress-step::before { content: ''; position: absolute; top: 20px; left: 50%; right: -50%; height: 2px; background: var(--gray-200); z-index: 0; }
.progress-step:last-child::before { display: none; }
.progress-step.completed::before { background: var(--success); }
.progress-step.active::before { background: var(--primary); }
.step-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--gray-200); color: var(--gray-500); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; position: relative; z-index: 1; }
.progress-step.completed .step-icon { background: var(--success); color: var(--white); }
.progress-step.active .step-icon { background: var(--primary); color: var(--white); }
.progress-step span { font-size: 11px; font-weight: 600; color: var(--gray-500); }
.progress-step.active span { color: var(--primary); }
.progress-step.completed span { color: var(--success); }

/* ========== ABOUT ========== */
.about-content { display: grid; grid-template-columns: 1fr; gap: 30px; }
.about-text h2 { font-size: 28px; font-weight: 800; color: var(--secondary); margin-bottom: 15px; }
.about-text h2 span { color: var(--primary); }
.about-text p { color: var(--gray-700); line-height: 1.8; margin-bottom: 12px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 25px; text-align: center; transition: var(--transition); }
.stat-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.stat-number { font-size: 36px; font-weight: 900; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--gray-500); font-weight: 600; margin-top: 5px; }

/* ========== SEO CONTENT ========== */
.seo-content { max-width: 800px; margin: 0 auto; }
.seo-content h2 { font-size: 24px; font-weight: 800; color: var(--secondary); margin-bottom: 15px; }
.seo-content h3 { font-size: 18px; font-weight: 700; color: var(--secondary); margin: 20px 0 10px; }
.seo-content p { color: var(--gray-700); line-height: 1.8; margin-bottom: 12px; }
.seo-content ul { margin: 10px 0 15px 20px; }
.seo-content ul li { color: var(--gray-700); margin-bottom: 8px; line-height: 1.6; list-style: disc; }

/* ========== CATEGORY DESCRIPTION ========== */
.category-description { background: var(--primary-light); border-radius: var(--radius); padding: 20px 25px; margin-bottom: 30px; border-left: 4px solid var(--primary); }
.category-description p { color: var(--gray-700); line-height: 1.7; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info-card { display: flex; align-items: flex-start; gap: 15px; padding: 18px; background: var(--gray-100); border-radius: var(--radius); margin-bottom: 15px; }
.contact-info-card i { font-size: 20px; color: var(--primary); margin-top: 3px; }
.contact-info-card h4 { font-size: 14px; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.contact-info-card p { font-size: 13px; color: var(--gray-700); line-height: 1.5; }
.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 30px; }
.contact-form h3 { font-size: 20px; font-weight: 700; color: var(--secondary); margin-bottom: 20px; }

/* ========== CTA SECTION ========== */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 60px 0; text-align: center; }
.cta-content h2 { font-size: clamp(22px, 4vw, 30px); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.cta-content p { color: rgba(255,255,255,0.9); font-size: clamp(14px, 1.6vw, 16px); margin-bottom: 25px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* The amber .btn-primary vanishes against the amber CTA background — repaint
   the buttons for this section: solid white "call", outlined white WhatsApp. */
.cta-btns .btn { box-shadow: 0 6px 18px rgba(120,70,0,0.18); }
.cta-btns .btn-primary { background: var(--white); color: #B36B00; }
.cta-btns .btn-primary:hover { background: var(--secondary); color: var(--white); box-shadow: 0 10px 26px rgba(26,26,46,0.32); }
.cta-btns .btn-dark { background: rgba(26,26,46,0.92); color: var(--white); border: 2px solid rgba(255,255,255,0.55); }
.cta-btns .btn-dark:hover { background: var(--secondary); border-color: var(--white); transform: translateY(-2px); }

/* ========== EMPTY STATE ========== */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 60px; color: var(--gray-300); margin-bottom: 20px; }
.empty-state h3 { font-size: 20px; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.empty-state p { color: var(--gray-500); }

/* ========== PAGINATION ========== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--radius); font-weight: 600; font-size: 13px; transition: var(--transition); }
.pagination a { background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-700); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination span.current { background: var(--primary); color: var(--white); }

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-float { position: fixed; bottom: 30px; left: 25px; width: 60px; height: 60px; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 9998; transition: all 0.3s ease; animation: whatsappHeartbeat 1.5s ease-in-out infinite; }
.whatsapp-float:hover { transform: scale(1.15); box-shadow: 0 6px 30px rgba(37,211,102,0.5); color: #fff; animation-play-state: paused; }
@keyframes whatsappHeartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.12); }
    30% { transform: scale(1); }
    45% { transform: scale(1.08); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* ========== PRODUCT BUY BUTTONS ========== */
.btn-whatsapp { background: #25D366; color: #fff; border-radius: 50px; font-weight: 700; }
.btn-whatsapp:hover { background: #1DA851; color: #fff; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(37,211,102,0.35); }
.btn-buy-now { background: linear-gradient(135deg, #E74C3C, #C0392B); color: #fff; border-radius: 50px; font-weight: 700; position: relative; overflow: hidden; }
.btn-buy-now:hover { background: linear-gradient(135deg, #C0392B, #A93226); color: #fff; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(231,76,60,0.35); }
.btn-buy-now .pulse-dot { display: inline-block; width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: pulseDot 1.2s ease-in-out infinite; margin-right: 4px; }
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.product-buy-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.product-buy-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 15px; }
/* ========== PRODUCT CARD BUY BTN ========== */
.card-buy-row { display: flex; gap: 8px; margin-top: 12px; }
.card-buy-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; border: none; cursor: pointer; transition: var(--transition); }
.card-buy-cart { background: var(--primary); color: var(--white); }
.card-buy-cart:hover { background: var(--primary-dark); }
/* Compact WhatsApp icon button beside Add to Cart */
.card-buy-wa-icon { flex: 0 0 42px; width: 42px; display: flex; align-items: center; justify-content: center; background: #25D366; color: #fff; border-radius: 8px; font-size: 17px; text-decoration: none; transition: var(--transition); }
.card-buy-wa-icon:hover { background: #1DA851; color: #fff; }
/* legacy split button (kept for any other template) */
.card-buy-wa { background: #25D366; color: var(--white); text-decoration: none; }
.card-buy-wa:hover { background: #1DA851; color: var(--white); }

/* ========== TOAST ========== */
.toast-notification { position: fixed; bottom: 30px; right: 30px; background: var(--success); color: var(--white); padding: 14px 24px; border-radius: var(--radius); font-weight: 600; font-size: 14px; z-index: 9999; animation: slideIn 0.3s ease; box-shadow: var(--shadow-hover); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ========== FOOTER ========== */
.footer { background: var(--secondary); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h3, .footer-col h4 { color: var(--white); margin-bottom: 18px; font-size: 16px; }
.footer-col p { font-size: 13px; line-height: 1.7; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.7); }
.footer-col ul li a:hover { color: var(--primary); }
.contact-info li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; }
.contact-info li i { color: var(--primary); margin-top: 2px; font-size: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: rgba(255,255,255,0.7); }
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding: 20px 0; text-align: center; font-size: 13px; }

/* ==========================================================================
   RESPONSIVE SYSTEM
   Breakpoints: 1600+ (big screens) · 1200 (small laptop) · 1024 (tablet)
   860 (tablet portrait) · 768 (phone) · 600 · 480 · 400 · 359 (fold)
   plus landscape-phone and reduced-motion passes.
   ========================================================================== */

/* ---------- Fluid foundations (all viewports) ---------- */
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
.container { width: 100%; padding: 0 clamp(14px, 4vw, 20px); }
.section-header h2 { font-size: clamp(21px, 4.2vw, 30px); }
.section-header p { font-size: clamp(13px, 1.8vw, 15px); }
.page-banner h1 { font-size: clamp(22px, 5vw, 32px); }
.page-banner p { font-size: clamp(12.5px, 1.7vw, 14px); }
img, svg, video { max-width: 100%; }
/* Long product names / URLs must never push a card sideways */
.product-name, .cart-item-info h4, .search-item-name { overflow-wrap: anywhere; }

/* ---------- Touch devices: bigger targets, no sticky hover ---------- */
@media (pointer: coarse) {
    .btn { min-height: 44px; }
    .btn-sm { min-height: 36px; }
    .header-action-btn { min-width: 44px; min-height: 44px; justify-content: center; }
    .nav-links li a { min-height: 46px; }
    .pagination a, .pagination span { min-width: 42px; height: 42px; }
    .card-buy-btn, .card-buy-wa-icon { min-height: 42px; }
    .qty-controls button, .qty-controls a { width: 44px; height: 44px; }
    .product-card:hover { transform: none; box-shadow: var(--shadow); }
    .category-card:hover { transform: none; }
    .hero-product-img:hover { transform: none; }
}

/* ---------- Big screens ---------- */
@media (min-width: 1600px) {
    .container { max-width: 1440px; }
    .section { padding: 80px 0; }
    .hero { padding: 100px 0; }
    .hero-text h1 { font-size: 50px; }
    .hero-product-img img { height: 165px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 28px; }
    .slider-slide { gap: 26px; }
}

/* ---------- Small laptop ---------- */
@media (max-width: 1200px) {
    .shop-layout { grid-template-columns: 210px 1fr; gap: 22px; }
    .product-detail { gap: 34px; }
    .hero-text h1 { font-size: 36px; }
}

/* ---------- Tablets ---------- */
@media (max-width: 1024px) {
    .top-bar-right { display: none; }
    .top-bar-content { justify-content: center; }

    .features-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .feature-item { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
    .feature-icon { width: 44px; height: 44px; font-size: 18px; }

    .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
    .product-image { height: 205px; }
    .product-image img { max-height: 175px; }
    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .category-img { height: 110px; }
    .category-img img { max-height: 95px; }

    .checkout-grid { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }

    .hero { padding: 56px 0; }
    .hero-content { grid-template-columns: 1fr; gap: 30px; }
    .hero-text { max-width: none; }
    .hero-images { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .hero-product-img { padding: 14px; }
    .hero-product-img img { height: 92px; }
    .contact-grid { grid-template-columns: 1fr; }

    /* Left category menu becomes a swipeable chip rail above the grid */
    .shop-layout { grid-template-columns: 1fr; gap: 16px; }
    .shop-sidebar { display: block; position: static; }
    .sidebar-section { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
    .sidebar-section h3 { font-size: 14px; margin-bottom: 10px; padding-bottom: 0; }
    .sidebar-section h3::after { display: none; }
    .category-list {
        display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px;
        scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .category-list::-webkit-scrollbar { display: none; }
    .category-list li { flex: 0 0 auto; scroll-snap-align: start; }
    .category-list li a {
        white-space: nowrap; padding: 9px 15px; border-radius: 50px; font-size: 12.5px; gap: 6px;
        border: 1px solid transparent;
        background: linear-gradient(var(--white), var(--white)) padding-box,
                    linear-gradient(120deg, rgba(245,166,35,0.55), rgba(26,26,46,0.12)) border-box;
    }
    .category-list li a::before, .category-list li a::after { display: none; }
    .category-list li a.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); }
    .category-list li a.active span { color: rgba(255,255,255,0.85); }
}

/* ---------- Tablet portrait: stack the product detail ---------- */
@media (max-width: 860px) {
    .product-detail { grid-template-columns: 1fr; gap: 26px; }
    .product-gallery { padding: 26px; }
    .product-gallery img { max-height: 320px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-item { flex-direction: row; text-align: left; gap: 14px; }
}

/* ---------- Phones ---------- */
@media (max-width: 768px) {
    body.menu-open { overflow: hidden; }

    /* Collapse the top info bar to reclaim vertical space */
    .top-bar { display: none; }

    /* Compact, single-row header: hamburger + logo only */
    .header { padding: 11px 0; }
    .header-content { justify-content: flex-start; gap: 12px; }
    .mobile-toggle { display: block; order: -1; font-size: 22px; padding: 2px; }
    .logo { gap: 8px; }
    .logo-icon { font-size: 24px; }
    .logo-name { font-size: 15px; letter-spacing: 0.5px; white-space: nowrap; }
    .logo-tagline { display: none; }
    .header-search { display: none; }
    .header-actions { margin-left: auto; gap: 4px; }
    .header-action-btn span { display: none; }   /* icon-only */
    .header-action-btn i { font-size: 21px; }
    .header-action-btn:first-child { display: none; }  /* login lives in the menu/bottom nav */

    /* ---- Modern slide-in drawer menu ---- */
    .nav {
        position: fixed; top: 0; right: 0; bottom: 0;
        width: 84%; max-width: 330px;
        background: var(--secondary);
        transform: translateX(105%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9500; overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0,0,0,0.35);
    }
    .nav.active { transform: translateX(0); }
    .nav .container { padding: 0; max-width: none; }
    .nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-drawer-title { color: #fff; font-weight: 800; font-size: 16px; }
    .nav-drawer-title i { color: var(--primary); margin-right: 7px; }
    .nav-close { display: block; background: rgba(255,255,255,0.06); border: none; color: rgba(255,255,255,0.75); width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer; }
    .nav-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
    .nav-search { display: flex; margin: 16px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); }
    .nav-search input { flex: 1; min-width: 0; background: rgba(255,255,255,0.06); border: none; color: #fff; padding: 12px 14px; font-size: 14px; outline: none; }
    .nav-search input::placeholder { color: rgba(255,255,255,0.5); }
    .nav-search button { background: var(--primary); border: none; color: #fff; padding: 0 18px; font-size: 15px; cursor: pointer; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 24px; }
    .nav-links > li { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-links li a { padding: 15px 20px; font-size: 15px; color: rgba(255,255,255,0.9); }
    .nav-links li a i { width: 24px; text-align: center; font-size: 16px; }
    .nav-links li a:hover { background: rgba(255,255,255,0.05); color: var(--primary); }
    /* Categories dropdown becomes an inline list inside the drawer */
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(0,0,0,0.22); box-shadow: none; border-radius: 0; min-width: 0; }
    .dropdown > a .fa-chevron-down { margin-left: auto; }
    .dropdown-menu li a { color: rgba(255,255,255,0.65); padding: 12px 20px 12px 48px; font-size: 13px; }
    .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 9400; }
    .nav-overlay.active { opacity: 1; visibility: visible; }

    /* ---- Products: clean 2-per-row grid ---- */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-image { height: 150px; padding: 12px; }
    .product-image img { max-height: 128px; }
    .product-info { padding: 12px; }
    .product-rating { font-size: 11px; margin-bottom: 5px; }
    .product-name { font-size: 12.5px; min-height: 34px; margin-bottom: 6px; }
    .current-price { font-size: 15px; }
    .old-price { font-size: 12px; }
    .card-buy-row { gap: 6px; }
    .card-buy-btn { padding: 9px 8px; font-size: 10.5px; letter-spacing: 0; gap: 4px; }
    .card-buy-wa-icon { flex: 0 0 38px; width: 38px; font-size: 15px; }

    /* ---- Section / hero / layout ---- */
    .section { padding: 34px 0; }
    .section-header { margin-bottom: 24px; }
    .page-banner { padding: 26px 0; }
    .hero { padding: 34px 0; }
    .hero-text h1 { font-size: clamp(23px, 7vw, 30px); }
    .hero-text p { font-size: 14px; margin-bottom: 20px; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .hero-trust { gap: 14px; }
    .hero-trust span { font-size: 12px; }
    .hero-images { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-product-img { padding: 12px; border-radius: 14px; }
    .hero-product-img img { height: 70px; }
    .hero-img-name { font-size: 11.5px; }
    .hero-img-price { font-size: 11px; padding: 3px 10px; }
    .product-detail { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .order-progress { flex-direction: column; gap: 10px; }
    .progress-step::before { display: none; }

    /* ---- Categories: 2-up compact cards ---- */
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-card { padding: 14px 10px; border-radius: 14px; }
    .category-img { height: 96px; margin-bottom: 8px; padding: 4px; }
    .category-img img { max-height: 88px; }
    .category-img i { font-size: 32px; }
    .category-card h4 { font-size: 12.5px; line-height: 1.3; }
    .category-card span { font-size: 11px; }

    /* ---- Cards / badges: rounder + lighter on small screens ---- */
    .product-card { border-radius: 14px; }
    .product-badge { top: 8px; left: 8px; }
    .badge-sale { font-size: 10px; padding: 3px 7px; border-radius: 5px; }

    /* ---- Buttons ---- */
    .btn { padding: 11px 20px; font-size: 13.5px; }
    .btn-lg { padding: 13px 24px; font-size: 14.5px; }
    .btn i { font-size: 14px; }
    .cta-section { padding: 40px 0; }
    .cta-btns { flex-direction: column; align-items: stretch; }
    .cta-btns .btn { width: 100%; justify-content: center; }

    /* ---- Product detail ---- */
    .breadcrumb { font-size: 12px; margin-bottom: 16px; }
    .product-gallery { padding: 18px; border-radius: 14px; }
    .product-gallery img { max-height: 250px; }
    .product-detail-info h1 { font-size: 20px; }
    .product-detail-price { padding: 12px; gap: 10px; flex-wrap: wrap; }
    .product-detail-price .current-price { font-size: 23px; }
    .product-buy-actions .btn { padding: 13px 16px; font-size: 14px; }
    .quantity-selector { justify-content: space-between; }
    .product-trust-badges { gap: 12px; }

    /* ---- Forms: 16px inputs stop iOS from zooming on focus ---- */
    .form-container { padding: 24px 18px; border-radius: 14px; }
    .form-group input, .form-group select, .form-group textarea,
    .sort-form select, .nav-search input { font-size: 16px; }
    .checkout-section, .contact-form { padding: 18px; border-radius: 14px; }

    /* ---- Tables become stacked cards ---- */
    .cart-table thead, .orders-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td,
    .orders-table, .orders-table tbody, .orders-table tr, .orders-table td { display: block; width: 100%; }
    .orders-table { box-shadow: none; background: none; }
    .cart-table tr, .orders-table tr {
        background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px;
        padding: 12px 14px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(26,26,46,0.05);
    }
    .cart-table td, .orders-table td {
        border: none; padding: 7px 0; font-size: 13px;
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
    }
    .cart-table td::before, .orders-table td::before {
        content: attr(data-label); flex-shrink: 0;
        font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
        text-transform: uppercase; color: var(--gray-500);
    }
    .cart-table td.cart-cell-product { display: block; padding: 0 0 10px; margin-bottom: 4px; border-bottom: 1px solid var(--gray-100); }
    .cart-table td.cart-cell-product::before { display: none; }
    .cart-remove { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #fdecea; }
    .cart-summary { padding: 18px; border-radius: 14px; position: static; }

    /* ---- Misc chrome ---- */
    .shop-toolbar { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 18px; }
    .sort-form select { width: 100%; }
    .pagination { flex-wrap: wrap; gap: 5px; }
    .flash-message { font-size: 13px; padding: 10px 14px; }
    .empty-state { padding: 40px 16px; }
    .empty-state i { font-size: 46px; }
    .about-stats { gap: 12px; }
    .stat-card { padding: 18px 12px; }
    .stat-number { font-size: 27px; }
    .footer { padding: 40px 0 0; }
    .footer-bottom { margin-top: 28px; font-size: 12px; }
    .toast-notification {
        left: 14px; right: 14px; bottom: calc(78px + env(safe-area-inset-bottom, 0px));
        text-align: center; font-size: 13px; padding: 12px 16px;
    }
}

/* ---------- Large phones ---------- */
@media (max-width: 600px) {
    .features-bar { padding: 18px 0; }
    .feature-item { gap: 12px; }
    .feature-icon { width: 40px; height: 40px; font-size: 16px; border-radius: 10px; }
    .feature-item h4 { font-size: 13px; }
    .feature-item p { font-size: 11.5px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .product-trust-badges span { font-size: 11px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
    .container { padding: 0 13px; }
    .section { padding: 28px 0; }
    .product-grid { gap: 10px; }
    .product-image { height: 138px; padding: 10px; }
    .product-image img { max-height: 118px; }
    .product-info { padding: 10px; }
    .product-name { font-size: 12px; min-height: 32px; }
    .current-price { font-size: 14px; }
    .old-price { font-size: 11px; }
    .card-buy-btn { padding: 9px 6px; font-size: 10px; }
    .card-buy-wa-icon { flex: 0 0 36px; width: 36px; font-size: 14px; }
    .logo-name { font-size: 14px; }
    .logo-icon { font-size: 21px; }
}

/* ---------- Very small phones ---------- */
@media (max-width: 400px) {
    .card-buy-btn i { display: none; }          /* label alone reads better here */
    .categories-grid { gap: 10px; }
    .category-img { height: 84px; }
    .category-img img { max-height: 78px; }
    .hero-product-img img { height: 60px; }
    .product-detail-price .current-price { font-size: 20px; }
    .btn-lg { padding: 12px 18px; font-size: 13.5px; }
}

/* ---------- Folded phones / ultra-narrow (Galaxy Fold cover ≈280px) ---------- */
@media (max-width: 359px) {
    .container { padding: 0 11px; }
    .product-grid, .slider-slide, .categories-grid { grid-template-columns: 1fr; }
    .product-image { height: 190px; }
    .product-image img { max-height: 165px; }
    .product-name { font-size: 13px; min-height: 0; }
    .current-price { font-size: 16px; }
    .card-buy-btn i { display: inline-block; }
    .category-img { height: 130px; }
    .category-img img { max-height: 120px; }
    .hero-images { grid-template-columns: 1fr; }
    .hero-product-img img { height: 110px; }
    .hero-text h1 { font-size: 21px; }
    .about-stats { grid-template-columns: 1fr; }
    .quantity-selector { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Phones in landscape (short viewports) ---------- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { padding: 26px 0; }
    .hero-text h1 { font-size: 24px; margin-bottom: 10px; }
    .hero-text p { margin-bottom: 14px; }
    .hero-btns { flex-direction: row; }
    .section { padding: 26px 0; }
    .nav { overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .shop-sidebar, .cart-summary { position: static; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========== MOBILE BOTTOM NAV (storefront) ========== */
.mobile-bottomnav { display: none; }
@media (max-width: 768px) {
    .mobile-bottomnav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        height: 64px;
        background: rgba(255,255,255,0.97);
        backdrop-filter: saturate(180%) blur(8px);
        -webkit-backdrop-filter: saturate(180%) blur(8px);
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 -4px 22px rgba(0,0,0,0.09);
        z-index: 9000;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .mobile-bottomnav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--gray-500);
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: 0.2px;
        position: relative;
        transition: color 0.2s ease;
    }
    .mobile-bottomnav a i { font-size: 20px; line-height: 1; transition: transform 0.2s ease; }
    .mobile-bottomnav a.active { color: var(--primary); }
    .mobile-bottomnav a.active i { transform: translateY(-1px); }
    /* accent tab on the active item */
    .mobile-bottomnav a.active::before {
        content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
        width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--primary);
    }
    .mbn-badge {
        position: absolute;
        top: 7px;
        left: 50%;
        margin-left: 5px;
        background: #E74C3C;
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        font-style: normal;
        min-width: 17px;
        height: 17px;
        line-height: 17px;
        text-align: center;
        padding: 0 4px;
        border-radius: 9px;
        box-shadow: 0 0 0 2px #fff;
    }
    /* keep content clear of the fixed bar, and lift the WhatsApp button above it */
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    .whatsapp-float {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        left: auto; right: 18px; width: 52px; height: 52px; font-size: 26px;
    }
}
@media (max-width: 480px) {
    .mobile-bottomnav { height: 60px; }
    .mobile-bottomnav a { font-size: 10px; gap: 3px; }
    .mobile-bottomnav a i { font-size: 18px; }
    body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
    .whatsapp-float { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); right: 14px; width: 48px; height: 48px; font-size: 23px; }
}
@media (max-width: 359px) {
    .mobile-bottomnav a span { font-size: 9.5px; }
    .mobile-bottomnav a i { font-size: 17px; }
}

/* ========== SEO SHOWCASE — immersive image-led marketing section ==========
   Namespace: tgn-showcase-  |  Mobile-first (base = smallest phones, incl.
   Galaxy Fold ~280px); enhanced upward via min-width queries. Sits as the
   LAST section directly above <footer class="footer"> (background:
   var(--secondary)) — the section's own gradient ends on var(--secondary)
   so it blends seamlessly into the footer with no visible seam.
   Uses only existing design-system vars; redefines nothing global. */

/* ---- Section shell + dark backdrop ---- */
.tgn-showcase { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 9vw, 88px) 0 clamp(40px, 6vw, 64px); background: linear-gradient(180deg, var(--dark) 0%, var(--secondary) 100%); color: rgba(255,255,255,0.88); }
.tgn-showcase::before { content: ''; position: absolute; top: -120px; right: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,0.16), transparent 70%); pointer-events: none; z-index: 0; }
.tgn-showcase::after { content: ''; position: absolute; bottom: -160px; left: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%); pointer-events: none; z-index: 0; }
.tgn-showcase-container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 18px; }

/* ---- Heading ---- */
.tgn-showcase-head { text-align: center; margin-bottom: clamp(26px, 4vw, 40px); }
.tgn-showcase-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; margin-bottom: 14px; border-radius: 50px; background: rgba(245,166,35,0.12); border: 1px solid rgba(245,166,35,0.35); color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.tgn-showcase-title { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 800; color: #fff; line-height: 1.28; max-width: 44rem; margin: 0 auto; overflow-wrap: break-word; }
.tgn-showcase-title-accent { color: var(--primary); }

/* ---- Body flow ---- */
.tgn-showcase-body { display: flex; flex-direction: column; gap: clamp(28px, 5vw, 44px); }
.tgn-showcase-block { display: flex; flex-direction: column; gap: 16px; }
.tgn-showcase-subtitle { font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); font-weight: 800; color: #fff; }
.tgn-showcase-lede, .tgn-showcase-text { font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem); line-height: 1.75; color: rgba(255,255,255,0.86); max-width: 70ch; overflow-wrap: break-word; }
.tgn-showcase-lede strong, .tgn-showcase-text strong { color: #fff; font-weight: 700; }

/* ---- Product image plate (base = centered card, no float) ---- */
.tgn-showcase-plate { width: 100%; max-width: 240px; margin: 0 auto; float: none; shape-outside: none; }
.tgn-showcase-plate-link { display: block; text-decoration: none; transition: var(--transition); }
.tgn-showcase-plate-link:hover { transform: translateY(-4px); }
.tgn-showcase-plate-link:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: calc(var(--radius) + 6px); }
.tgn-showcase-plate-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; width: 100%; background: rgba(255,255,255,0.95); border-radius: calc(var(--radius) + 6px); padding: 16px; box-shadow: 0 14px 34px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.55) inset, 0 0 40px rgba(245,166,35,0.12); }
.tgn-showcase-plate-media img { width: 100%; height: 100%; object-fit: contain; }
.tgn-showcase-plate-cap { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding: 10px 14px; text-align: center; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); }
.tgn-showcase-plate-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--primary); }
.tgn-showcase-plate-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; overflow-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tgn-showcase-plate-price { font-size: 13px; font-weight: 800; color: var(--primary); }

/* ---- "Why buy from us" glass panel ---- */
.tgn-showcase-panel { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: calc(var(--radius) + 8px); padding: clamp(20px, 4vw, 32px); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 18px 40px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.10); }
.tgn-showcase-panel-title { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); font-weight: 800; color: #fff; margin-bottom: 18px; }
.tgn-showcase-features { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tgn-showcase-feature { display: flex; align-items: flex-start; gap: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); padding: 14px 16px; transition: var(--transition); }
.tgn-showcase-feature:hover { background: rgba(255,255,255,0.09); border-color: rgba(245,166,35,0.4); }
.tgn-showcase-feature-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(245,166,35,0.14); color: var(--primary); font-size: 16px; }
.tgn-showcase-feature-text { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.86); overflow-wrap: break-word; }
.tgn-showcase-feature-text strong { color: #fff; }

/* ---- Mini gallery strip (extra products, decorative) ---- */
.tgn-showcase-strip-label { text-align: center; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.tgn-showcase-strip-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tgn-showcase-strip-row::-webkit-scrollbar { display: none; }
.tgn-showcase-chip { flex: 0 0 auto; width: 108px; scroll-snap-align: start; text-align: center; text-decoration: none; }
.tgn-showcase-chip-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: rgba(255,255,255,0.94); border-radius: var(--radius); padding: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.3); transition: var(--transition); }
.tgn-showcase-chip-media img { width: 100%; height: 100%; object-fit: contain; }
.tgn-showcase-chip:hover .tgn-showcase-chip-media { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,0.35); }
.tgn-showcase-chip-name { display: block; margin-top: 8px; font-size: 11.5px; font-weight: 600; line-height: 1.3; color: rgba(255,255,255,0.8); overflow-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tgn-showcase-chip:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: var(--radius); }

/* ---- Closing CTA ---- */
.tgn-showcase-cta { text-align: center; margin-top: clamp(28px, 5vw, 44px); }
.tgn-showcase-cta-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: #fff; padding: 14px 28px; border-radius: 50px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: var(--transition); }
.tgn-showcase-cta-link:hover { background: var(--primary); border-color: var(--primary); color: var(--secondary); }
.tgn-showcase-cta-arrow { transition: transform 0.25s ease; }
.tgn-showcase-cta-link:hover .tgn-showcase-cta-arrow { transform: translateX(4px); }
.tgn-showcase-cta-link:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }

/* ---- Fallback where backdrop-filter is unsupported: solid translucent panels ---- */
@supports not (backdrop-filter: blur(1px)) {
    .tgn-showcase-plate-cap, .tgn-showcase-panel, .tgn-showcase-cta-link { background: rgba(22,33,62,0.94); }
}

/* ========== FOLD / VERY SMALL PHONES (≤359px, incl. Galaxy Fold ~280px) ========== */
@media (max-width: 359px) {
    .tgn-showcase { padding: 32px 0 28px; }
    .tgn-showcase-container { padding: 0 12px; }
    .tgn-showcase-title { font-size: 1.28rem; }
    .tgn-showcase-eyebrow { font-size: 10.5px; padding: 5px 12px; }
    .tgn-showcase-plate { max-width: 168px; }
    .tgn-showcase-plate-cap { padding: 8px 10px; }
    .tgn-showcase-panel { padding: 16px; }
    .tgn-showcase-feature { padding: 11px; gap: 9px; }
    .tgn-showcase-feature-icon { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }
    .tgn-showcase-feature-text { font-size: 13px; }
    .tgn-showcase-chip { width: 88px; }
    .tgn-showcase-cta-link { width: 100%; justify-content: center; padding: 13px 18px; font-size: 14px; }
}

/* ========== LARGE PHONES (481–640px) ========== */
@media (min-width: 481px) {
    .tgn-showcase-plate { max-width: 280px; }
    .tgn-showcase-features { gap: 14px; }
    .tgn-showcase-chip { width: 120px; }
}

/* ========== TABLETS (641–1024px, incl. iPad portrait 768 / landscape 1024) ==========
   Prose narrowed to a centred measure so copy genuinely wraps the plate
   instead of leaving dead space; the caption is folded into an overlaid
   glass strip across the bottom of the image so the plate is one compact
   square card (height ≈ width) rather than image + block stacked below it.
   shape-outside matches the plate's real rounded-rectangle shape. */
@media (min-width: 641px) {
    .tgn-showcase-body { gap: 48px; }
    .tgn-showcase-block--right, .tgn-showcase-block--left { display: flow-root; max-width: 640px; margin: 0 auto; }
    .tgn-showcase-block--right .tgn-showcase-subtitle, .tgn-showcase-block--left .tgn-showcase-subtitle { margin-bottom: 14px; }
    .tgn-showcase-plate-link { position: relative; }
    /* Overlaid on a photo that is mostly white — the scrim has to be strong
       enough to carry small amber/white type, hence the near-opaque base. */
    .tgn-showcase-plate-cap { position: absolute; inset: auto 0 0 0; margin: 0; padding: 9px 11px 10px; gap: 1px; text-align: left; border: none; border-radius: 0 0 calc(var(--radius) + 6px) calc(var(--radius) + 6px); background: linear-gradient(to top, rgba(9,11,22,0.96) 0%, rgba(9,11,22,0.90) 58%, rgba(9,11,22,0.60) 84%, rgba(9,11,22,0) 100%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); text-shadow: 0 1px 2px rgba(0,0,0,0.55); }
    .tgn-showcase-plate-cat { font-size: 9.5px; letter-spacing: 0.5px; }
    .tgn-showcase-plate-name { font-size: 12px; }
    .tgn-showcase-plate-price { font-size: 12.5px; }
    .tgn-showcase-block--right .tgn-showcase-plate--right { float: right; width: clamp(130px, 22vw, 155px); max-width: none; margin: 0 0 12px 20px; shape-outside: inset(0 round 16px); shape-margin: 1rem; }
    .tgn-showcase-block--left .tgn-showcase-plate--left { float: left; width: clamp(130px, 22vw, 155px); max-width: none; margin: 0 20px 12px 0; shape-outside: inset(0 round 16px); shape-margin: 1rem; }
    .tgn-showcase-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .tgn-showcase-strip-row { overflow: visible; flex-wrap: wrap; justify-content: center; }
    .tgn-showcase-chip { width: 132px; }
}

/* ========== LAPTOPS (1025–1440px) ==========
   Same compact-plate mechanism, sized up slightly; still a rectangular
   (rounded) shape-outside — never a circle — so it matches the painted card. */
@media (min-width: 1025px) {
    .tgn-showcase-block--right, .tgn-showcase-block--left { max-width: 700px; }
    .tgn-showcase-block--right .tgn-showcase-plate--right { width: clamp(150px, 14vw, 175px); margin: 0 0 8px 24px; shape-outside: inset(0 round 16px); shape-margin: 1.25rem; }
    .tgn-showcase-block--left .tgn-showcase-plate--left { width: clamp(150px, 14vw, 175px); margin: 0 24px 8px 0; shape-outside: inset(0 round 16px); shape-margin: 1.25rem; }
    .tgn-showcase-lede, .tgn-showcase-text { font-size: 1.05rem; }
    .tgn-showcase-panel { padding: 36px; }
    .tgn-showcase-features { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
    .tgn-showcase-chip { width: 140px; }
}

/* ========== BIG SCREENS (≥1441px) ==========
   Extra whitespace around the canvas; plate/measure stay compact so the
   wrap ratio (copy height ≈ plate height) keeps holding at wide viewports. */
@media (min-width: 1441px) {
    .tgn-showcase-container { max-width: 1320px; }
    .tgn-showcase-body { gap: 56px; }
    .tgn-showcase-title { max-width: 50rem; }
    .tgn-showcase-block--right, .tgn-showcase-block--left { max-width: 730px; }
    .tgn-showcase-block--right .tgn-showcase-plate--right,
    .tgn-showcase-block--left .tgn-showcase-plate--left { width: 178px; shape-margin: 1.4rem; }
    .tgn-showcase-panel { padding: 44px; }
}

/* ========== EXTRA-LARGE (≥1920px) ==========
   Only the outer canvas grows further; plate/measure stay pinned to the
   1441px values so the wrap ratio doesn't drift back into dead space. */
@media (min-width: 1920px) {
    .tgn-showcase-container { max-width: 1440px; }
    .tgn-showcase-body { gap: 60px; }
}

/* ========== LANDSCAPE PHONES (short viewports) ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .tgn-showcase { padding: 28px 0 24px; }
    .tgn-showcase-body { gap: 22px; }
    .tgn-showcase-head { margin-bottom: 18px; }
    .tgn-showcase-plate-media { padding: 10px; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    .tgn-showcase, .tgn-showcase * { transition: none !important; animation: none !important; }
    .tgn-showcase-plate-link:hover { transform: none !important; }
    .tgn-showcase-chip:hover .tgn-showcase-chip-media { transform: none !important; }
    .tgn-showcase-cta-link:hover .tgn-showcase-cta-arrow { transform: none !important; }
}
