/* ===== TIBAT STORE - Laravel Edition ===== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root { --brand: #bc8330; --brand-dark: #a06e25; --red: #e44d26; --text: #222; --gray: #888; --bg: #fff; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Tajawal', sans-serif; direction: rtl; background: var(--bg); color: var(--text); }

/* ── Announcement Bar ── */
.announcement-bar {
    background: var(--brand); color: #fff; padding: 8px 16px;
    font-size: 14px; font-weight: 600; text-align: center; line-height: 1.4;
}

/* ── Header ── */
.header {
    background: #fff; border-bottom: 1px solid #eee;
    position: sticky; top: 0; z-index: 999;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px; max-height: 56px;
}
.header-right { display: flex; align-items: center; }
.header-left { display: flex; align-items: center; gap: 14px; }
.logo { flex: 1; text-align: center; }
.logo img { max-height: 24px; width: auto; }
.hamburger {
    background: none; border: none; cursor: pointer; padding: 4px;
    display: flex; flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #333; border-radius: 2px; }
.search-icon { color: #333; display: flex; align-items: center; background: none; border: none; cursor: pointer; padding: 0; }
.cart-icon-wrap { position: relative; color: #e44d26; cursor: pointer; display: flex; align-items: center; }
.cart-badge {
    position: absolute; top: -6px; right: -6px; background: var(--brand);
    color: #fff; font-size: 10px; font-weight: 700; width: 18px; height: 18px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ── Search Bar ── */
.search-bar {
    background: #fff; padding: 10px 16px; border-bottom: 1px solid #eee;
}
.search-form { display: flex; gap: 8px; }
.search-input {
    flex: 1; border: 1.5px solid #ddd; border-radius: 8px; padding: 10px 14px;
    font-family: inherit; font-size: 14px; direction: rtl; text-align: right;
    outline: none; transition: border-color .2s;
}
.search-input:focus { border-color: var(--brand); }
.search-submit {
    background: var(--brand); color: #fff; border: none; border-radius: 8px;
    padding: 10px 20px; font-weight: 700; font-size: 14px; cursor: pointer;
    font-family: inherit;
}
.search-submit:hover { background: var(--brand-dark); }
.search-results {
    background: #fff; border-radius: 0 0 12px 12px; max-height: 350px; overflow-y: auto;
}
.search-results:empty { display: none; }
.search-result-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    text-decoration: none; color: var(--text); border-bottom: 1px solid #f5f5f5;
    transition: background .15s;
}
.search-result-item:hover { background: #fafafa; }
.search-result-item img { width: 45px; height: 45px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.search-result-info { flex: 1; direction: rtl; text-align: right; }
.search-result-name { font-size: 13px; font-weight: 600; line-height: 1.4; }
.search-result-price { font-size: 12px; color: var(--brand); font-weight: 700; }

/* ── Mobile Menu ── */
.menu-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 998;
}
.menu-overlay.open { display: block; }
.mobile-menu {
    display: none; position: fixed; top: 0; right: 0; width: 280px; height: 100vh;
    background: #fff; z-index: 999; box-shadow: -4px 0 20px rgba(0,0,0,.15);
    padding: 20px; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.menu-close { font-size: 28px; cursor: pointer; float: left; color: #333; background: none; border: none; }
.mobile-menu ul { list-style: none; margin-top: 40px; }
.mobile-menu li { border-bottom: 1px solid #f0f0f0; }
.mobile-menu li a { display: block; padding: 14px 0; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.mobile-menu li a:hover { color: var(--brand); }

/* ── Slider ── */
.slider { position: relative; width: 100%; max-height: 400px; overflow: hidden; }
.slider img { width: 100%; height: 400px; object-fit: cover; }
.slider-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.3); text-align: center; padding: 20px;
}
.slider-overlay h1 {
    color: #fff; font-size: 28px; font-weight: 700; line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,.5); max-width: 600px;
}

/* ── Categories Ovals ── */
.categories-section {
    display: flex; gap: 10px; padding: 14px 16px; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    justify-content: center; flex-wrap: wrap;
}
.categories-section::-webkit-scrollbar { display: none; }
.cat-oval {
    display: flex; align-items: center; justify-content: center;
    padding: 10px 24px; border-radius: 50px;
    background: #fff; border: 1.5px solid #eee;
    text-decoration: none; transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.cat-oval:hover { border-color: var(--brand); background: var(--brand); }
.cat-oval:hover span { color: #fff; }
.cat-oval span {
    font-size: 13px; font-weight: 700; color: var(--text);
    white-space: nowrap;
}

/* Keep pills for category page */
.categories-bar {
    display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.categories-bar::-webkit-scrollbar { display: none; }
.cat-pill {
    white-space: nowrap; padding: 7px 18px; border-radius: 20px;
    border: 1.5px solid #ddd; font-size: 13px; font-weight: 600;
    text-decoration: none; color: var(--text); background: #fff;
    transition: all .2s;
}
.cat-pill:hover, .cat-pill.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ── Page Title ── */
.page-title-bar { padding: 16px; text-align: center; }
.page-title-bar h1 { font-size: 20px; color: var(--text); }

/* ══════════════════════════════════════
   PRODUCT GRID
   ══════════════════════════════════════ */
.products-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 12px; padding: 12px;
}
.product-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: none; transition: box-shadow .2s, transform .2s;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); transform: translateY(-2px); }
.product-img-wrap { overflow: hidden; border-radius: 16px 16px 0 0; }
.product-img-wrap img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; display: block; }
.product-info { padding: 10px 8px; text-align: center; }
.product-title {
    display: block; font-size: 13px; font-weight: 600; color: var(--text);
    text-decoration: none; line-height: 1.5; min-height: 38px;
    margin-top: 6px;
}
.product-price { margin: 6px 0; display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.price-current { font-size: 15px; font-weight: 700; color: var(--text); }
.price-instead { font-size: 11px; color: #ccc; font-weight: 500; }
.price-old { font-size: 12px; color: #bbb; text-decoration: line-through; }

.product-btns { display: flex; gap: 6px; margin-top: 6px; }
.btn-order {
    flex: 1; padding: 8px 10px; border-radius: 8px; font-size: 12px; font-weight: 700;
    text-decoration: none; text-align: center;
    background: var(--brand); color: #fff; transition: background .2s;
}
.btn-order:hover { background: var(--brand-dark); }
.btn-cart {
    flex: 1; padding: 8px 10px; border-radius: 8px; font-size: 12px; font-weight: 700;
    text-decoration: none; text-align: center;
    background: #4CAF50; color: #fff; transition: background .2s;
}
.btn-cart:hover { background: #43A047; }

/* ══════════════════════════════════════
   SINGLE PRODUCT PAGE
   ══════════════════════════════════════ */
.product-page { max-width: 900px; margin: 0 auto; padding: 16px; display: flex; gap: 24px; }
.product-gallery { flex: 1; }
.gallery-main { position: relative; }
.gallery-main img { width: 100%; border-radius: 12px; }
.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.3); border: none; color: #fff;
    width: 36px; height: 36px; border-radius: 50%; font-size: 16px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    opacity: .3; transition: opacity .2s;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.gallery-arrow:hover { opacity: .7; }
.gallery-arrow-right { right: 10px; }
.gallery-arrow-left { left: 10px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery-thumb {
    width: 70px; height: 70px; object-fit: cover; border-radius: 8px; cursor: pointer;
    border: 2px solid transparent; transition: border-color .2s;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--brand); }

.product-details { flex: 1; text-align: right; }
.product-page-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.product-page-price { margin-bottom: 16px; display: flex; align-items: baseline; gap: 8px; }
.product-page-price .price-current { font-size: 22px; font-weight: 700; }
.product-page-price .price-old { font-size: 16px; }

/* Variants */
.variants-section { margin-bottom: 16px; }
.variant-group { margin-bottom: 12px; }
.variant-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--text); }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-btn {
    padding: 8px 16px; border: 1.5px solid #ddd; border-radius: 8px;
    background: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
    font-family: inherit; color: var(--text); transition: all .2s;
}
.variant-btn:hover { border-color: var(--brand); }
.variant-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.order-variant-label { font-size: 12px; color: var(--brand); font-weight: 600; margin-top: 4px; }

/* Actions row */
.product-actions { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; flex-wrap: nowrap; }
.qty-label { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; flex-shrink: 0; }
.btn-primary {
    flex: 1; height: 40px; border: none; border-radius: 8px; font-size: 14px; font-weight: 700;
    background: var(--brand); color: #fff; cursor: pointer; font-family: inherit;
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary {
    flex: 1; height: 40px; border: none; border-radius: 8px; font-size: 14px; font-weight: 700;
    background: #4CAF50; color: #fff; cursor: pointer; font-family: inherit;
}
.btn-secondary:hover { background: #43A047; }
.btn-secondary.added { background: #2E7D32 !important; transition: background .3s; }

/* Quantity */
.qty-box {
    display: flex; align-items: center; border: 1.5px solid #ddd; border-radius: 8px;
    overflow: hidden; height: 40px; flex-shrink: 0;
}
.qty-input {
    width: 36px; text-align: center; border: none; font-size: 15px; font-weight: 600;
    height: 100%; -moz-appearance: textfield; font-family: inherit; background: #fff;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-arrows { display: flex; flex-direction: column; border-right: 1px solid #ddd; }
.qty-arrows button {
    background: #fff; border: none; width: 28px; height: 20px; font-size: 9px;
    cursor: pointer; color: #000; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
}
.qty-arrows button:first-child { border-bottom: 1px solid #ddd; }
.qty-arrows button:hover { background: #f0f0f0; }

/* Description */
.product-description { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eee; text-align: right; }
.product-description h3 { font-size: 16px; margin-bottom: 10px; color: var(--brand); }
.product-description p, .product-description li, .product-description ul,
.product-description div, .product-description h4 { text-align: right; direction: rtl; }

/* ══════════════════════════════════════
   ORDER FORM
   ══════════════════════════════════════ */
.order-section {
    background: #fff; border: 2px solid var(--brand); border-radius: 14px; padding: 24px;
    margin: 20px auto; max-width: 600px; direction: rtl; text-align: right;
}
.order-form-title { color: var(--brand); font-size: 20px; font-weight: 700; margin-bottom: 16px; text-align: center; border-bottom: 1px solid #eee; padding-bottom: 12px; }
.order-product-summary {
    display: flex; gap: 12px; align-items: center; background: #fafafa;
    border-radius: 10px; padding: 12px; margin-bottom: 16px;
}
.order-product-summary img { width: 55px; height: 55px; object-fit: cover; border-radius: 8px; }
.order-price { color: var(--brand); font-weight: 700; font-size: 15px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: 13px; color: #444; }
.req { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
    border: 1.5px solid #ddd; border-radius: 8px; padding: 10px 12px;
    font-family: inherit; font-size: 14px; direction: rtl; text-align: right;
    width: 100%; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); }

.order-totals { background: #f9f9f9; border-radius: 10px; padding: 14px 16px; margin: 16px 0; }
.total-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #666; border-bottom: 1px solid #eee; }
.total-row:last-child { border-bottom: none; }
.grand-total { font-size: 18px !important; font-weight: 700 !important; color: var(--brand) !important; padding-top: 8px; }

.form-error { background: #fef2f2; color: #dc2626; border-radius: 8px; padding: 12px; margin: 10px 0; text-align: center; font-weight: 600; }
.form-success { background: #f0fdf4; color: #166534; border-radius: 8px; padding: 16px; margin: 10px 0; text-align: center; font-weight: 700; font-size: 16px; }

.submit-btn {
    width: 100%; background: var(--brand); color: #fff; border: none; border-radius: 10px;
    padding: 14px; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 4px;
    font-family: inherit;
}
.submit-btn:hover { background: var(--brand-dark); }
.submit-btn:disabled { background: #ccc; cursor: not-allowed; }

.trust-badges { display: flex; justify-content: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.trust-badges span { font-size: 11px; color: #777; font-weight: 600; background: #f5f5f5; padding: 5px 10px; border-radius: 16px; }

/* ── Static Pages ── */
.static-page {
    max-width: 700px; margin: 0 auto; padding: 24px 16px;
    direction: rtl; text-align: right; line-height: 1.8;
}
.static-page h1 { font-size: 24px; color: var(--brand); margin-bottom: 8px; }
.static-page .last-updated { font-size: 12px; color: #999; margin-bottom: 24px; }
.static-page h2 { font-size: 17px; color: var(--text); margin: 20px 0 8px; }
.static-page p { font-size: 14px; color: #555; margin-bottom: 12px; }
.static-page ul { padding-right: 20px; margin-bottom: 12px; }
.static-page li { font-size: 14px; color: #555; margin-bottom: 6px; }
.static-page a { color: var(--brand); }

/* ── Messenger ── */
.messenger-btn {
    position: fixed; bottom: 20px; right: 20px; z-index: 999;
    width: 45px; height: 45px; border-radius: 50%;
    background: #0084FF; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(0,132,255,.4); animation: bounce 2s infinite;
    text-decoration: none;
}
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── Footer ── */
.footer {
    background: #fafafa; padding: 20px; text-align: center; border-top: 1px solid #eee;
}
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 12px; }
.footer-social a { color: #aaa; display: flex; transition: color .2s; }
.footer-social a:hover { color: var(--brand); }
.footer-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.footer-links a { color: #999; text-decoration: none; font-size: 12px; }
.footer-links a:hover { color: var(--brand); }
.footer-copy { font-size: 11px; color: #bbb; }

/* ══════════════════════════════════════
   CART PAGE
   ══════════════════════════════════════ */
.cart-page {
    max-width: 800px; margin: 0 auto; padding: 16px; direction: rtl; text-align: right;
}
.cart-title {
    font-size: 22px; font-weight: 700; color: var(--brand); text-align: center;
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #eee;
}
.cart-empty {
    text-align: center; padding: 60px 20px; color: #999;
}
.cart-empty-icon { font-size: 60px; margin-bottom: 12px; }
.cart-empty p { font-size: 18px; font-weight: 600; }

.cart-items { margin-bottom: 20px; }
.cart-item {
    display: flex; gap: 12px; align-items: center; background: #fff;
    border-radius: 16px; padding: 12px; margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06); border: 1px solid #f0f0f0;
}
.cart-item-img {
    width: 80px; height: 80px; object-fit: cover; border-radius: 12px; flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cart-item-variant { font-size: 12px; color: var(--brand); font-weight: 600; }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--text); margin-top: 4px; }

.cart-item-qty {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.cart-qty-btn {
    width: 32px; height: 32px; border: 1.5px solid #ddd; border-radius: 8px;
    background: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: var(--text);
    font-family: inherit; transition: all .2s;
}
.cart-qty-btn:hover { border-color: var(--brand); color: var(--brand); }
.cart-qty-value { font-size: 15px; font-weight: 700; min-width: 24px; text-align: center; }

.cart-item-total {
    font-size: 15px; font-weight: 700; color: var(--brand); white-space: nowrap; min-width: 70px; text-align: center;
}
.cart-item-remove {
    background: none; border: none; color: #ccc; font-size: 20px; cursor: pointer;
    padding: 4px; transition: color .2s; flex-shrink: 0;
}
.cart-item-remove:hover { color: var(--red); }

.cart-order-section {
    background: #fff; border: 2px solid var(--brand); border-radius: 14px; padding: 24px;
    direction: rtl; text-align: right;
}

/* ══════════════════════════════════════
   THANK YOU PAGE
   ══════════════════════════════════════ */
.thankyou-page {
    max-width: 600px; margin: 0 auto; padding: 40px 16px; text-align: center; direction: rtl;
}
.thankyou-icon { font-size: 64px; margin-bottom: 16px; }
.thankyou-page h1 { font-size: 24px; font-weight: 700; color: var(--brand); margin-bottom: 8px; }
.thankyou-order-number { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.thankyou-subtitle { font-size: 15px; color: #666; margin-bottom: 24px; }

.thankyou-summary {
    background: #fafafa; border-radius: 16px; padding: 20px; text-align: right; margin-bottom: 24px;
}
.thankyou-summary h3 { font-size: 16px; color: var(--brand); margin-bottom: 12px; font-weight: 700; }
.thankyou-item {
    display: flex; justify-content: space-between; gap: 8px; padding: 8px 0;
    font-size: 14px; border-bottom: 1px solid #eee;
}
.thankyou-item-name { flex: 1; font-weight: 600; }
.thankyou-totals { margin-top: 12px; }

.thankyou-btn {
    display: inline-block; padding: 14px 40px; text-decoration: none;
    border-radius: 10px; font-size: 16px; font-weight: 700;
    background: var(--brand); color: #fff; transition: background .2s;
}
.thankyou-btn:hover { background: var(--brand-dark); }

/* Upsell Box */
.upsell-box {
    background: linear-gradient(135deg, #fff9f0, #fff); border: 2px solid var(--brand);
    border-radius: 16px; padding: 24px; margin-top: 20px; text-align: center;
}
.upsell-icon { font-size: 40px; margin-bottom: 8px; }
.upsell-box h3 { font-size: 17px; font-weight: 700; color: var(--brand); margin-bottom: 8px; line-height: 1.6; }
.upsell-subtitle { font-size: 13px; color: #666; margin-bottom: 16px; }
.upsell-progress {
    background: #eee; border-radius: 20px; height: 12px; overflow: hidden; margin-bottom: 8px;
}
.upsell-progress-bar {
    background: linear-gradient(90deg, var(--brand), #4CAF50); height: 100%; border-radius: 20px;
    transition: width .5s ease;
}
.upsell-progress-labels {
    display: flex; justify-content: space-between; font-size: 11px; color: #999; margin-bottom: 16px;
}
.upsell-btn {
    display: inline-block; padding: 14px 32px; border-radius: 10px;
    font-size: 15px; font-weight: 700; text-decoration: none;
    background: #4CAF50; color: #fff; transition: background .2s;
}
.upsell-btn:hover { background: #43A047; }

/* Upsell banner on shop page */
.upsell-btns-area { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.upsell-confirm-btn {
    display: block; width: 100%; padding: 14px; border-radius: 10px;
    font-size: 15px; font-weight: 700; text-align: center; cursor: pointer;
    border: none; font-family: 'Tajawal', sans-serif; text-decoration: none;
}
.upsell-pay { background: var(--brand); color: #fff; }
.upsell-pay:hover { background: var(--brand-dark); }
.upsell-continue { background: #4CAF50; color: #fff; }
.upsell-continue:hover { background: #43A047; }
.upsell-free { background: #4CAF50; color: #fff; font-size: 16px; }
.upsell-free:hover { background: #43A047; }

.upsell-remaining-info {
    background: #fff9f0; border: 1.5px solid var(--brand); border-radius: 10px;
    padding: 12px; text-align: center; font-size: 14px; color: var(--brand);
    margin: 10px 0; font-weight: 600;
}
.upsell-banner {
    background: #4CAF50; color: #fff; padding: 10px 16px;
    text-align: center; font-size: 13px; font-weight: 600;
}

/* ══════════════════════════════════════
   ABOUT VALUES
   ══════════════════════════════════════ */
.about-values {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px;
}
.about-value-card {
    background: #fafafa; border-radius: 16px; padding: 20px; text-align: center;
    border: 1px solid #f0f0f0;
}
.about-value-icon { font-size: 32px; margin-bottom: 8px; }
.about-value-card h3 { font-size: 16px; color: var(--brand); margin-bottom: 6px; font-weight: 700; }
.about-value-card p { font-size: 13px; color: #666; line-height: 1.7; }

/* ══════════════════════════════════════
   RELATED PRODUCTS
   ══════════════════════════════════════ */
.related-products {
    max-width: 900px; margin: 20px auto; padding: 0 12px;
}
.related-products-title {
    font-size: 20px; font-weight: 700; color: var(--brand); text-align: center;
    margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #eee;
}
.related-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 991px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; }
    .product-img-wrap img { height: auto; }
    .product-title { font-size: 12px; min-height: 34px; }
    .product-page { flex-direction: column; padding: 10px; gap: 16px; }
    .slider img, .slider { max-height: 250px; }
    .slider img { height: 250px; }
    .slider-overlay h1 { font-size: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .order-section { margin: 10px 8px; padding: 16px 12px; }
    .product-actions { flex-wrap: nowrap; }
    .btn-primary, .btn-secondary { font-size: 12px; height: 38px; }
    .announcement-bar { font-size: 12px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .about-values { grid-template-columns: 1fr; }
    .cart-item { flex-wrap: wrap; }
    .cart-order-section { padding: 16px 12px; }
}
@media (max-width: 480px) {
    .product-img-wrap img { height: auto; }
    .product-title { font-size: 11px; }
    .slider-overlay h1 { font-size: 17px; }
}
