/*
Theme Name: Canine Coutures UK Child
Theme URI: https://example.com
Template: astra
Author: Your Name
Author URI: https://example.com
Description: Premium dog gear for London weather - Full Width Design with Astra Global Colors support
Version: 2.0.0
Text Domain: canine-coutures
*/

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* ===== RESET ASTRA STYLES ===== */
.ast-container,
.site-content .ast-container,
.ast-container-fluid,
.ast-row,
.ast-col {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

#content,
.site-content,
.main-header-bar-wrap,
.main-header-bar {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.widget-area,
.secondary {
    display: none !important;
}

/* ===== CUSTOM VARIABLES (Linked to Astra Global Colors) ===== */
:root {
    --primary: var(--ast-global-color-0, #c7a008);
    --primary-dark: var(--ast-global-color-1, #d4af37);
    --dark: var(--ast-global-color-2, #1a1a1a);
    --light: var(--ast-global-color-3, #ffffff);
    --gray: var(--ast-global-color-4, #f8f8f8);
    --text-light: var(--ast-global-color-2, #1a1a1a);
    --shadow: 0 20px 40px rgba(0,0,0,0.1);
    
    /* ألوان إضافية غير موجودة في لوحة Astra */
    --success: #28a745;
    --danger: #dc3545;
    --price-sale: #e53935;
    --primary-rgb: 199, 160, 8; /* لاستخدام rgba مع اللون الأساسي */
}

/* ===== BASE STYLES ===== */
body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--light);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
}

/* ===== FULL WIDTH SECTIONS ===== */
.announcement-bar,
.countdown-bar,
.hero-section,
.trust-strip,
.products,
.bundle-section,
.testimonials,
.cta,
.bundle-products-section {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Content containers */
.announcement-content,
.hero-content,
.trust-grid,
.product-grid,
.section-header,
.testimonial-grid,
.bundle-section .container,
.cta .container {
    max-width: 1400px;
    margin: 0 auto !important;
    padding: 0 5% !important;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--dark);
    color: var(--light);
    padding: 12px 0;
    border-bottom: 3px solid var(--primary);
}

.announcement-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 16px;
}
.announcement-content::-webkit-scrollbar { display: none; }

.announcement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.announcement-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===== COUNTDOWN BAR ===== */
.countdown-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 15px 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}

.countdown-timer {
    background: var(--dark);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    margin-left: 15px;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    display: inline-block;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    background-color: #1a1a1a; /* fallback لو مفيش صورة */
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--light);
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--ast-global-color-3);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--light);
    color: var(--light);
}

.btn-outline:hover {
    background: var(--light);
    color: var(--dark);
}

.video-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 12px 30px;
    border-radius: 50px;
    color: var(--light);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

.video-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* ===== TRUST STRIP ===== */
.trust-strip {
    background: var(--gray);
    padding: 20px 0;
    border-bottom: 1px solid rgba(var(--dark-rgb, 26,26,26), 0.1);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.trust-item i {
    color: var(--primary);
    font-size: 1.3rem;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 80px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--gray);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.product-rating {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.product-rating span {
    color: var(--text-light);
    margin-left: 5px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.product-stock {
    color: var(--success);
    font-weight: 600;
}

.product-stock.low {
    color: var(--danger);
}

.btn-small {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--dark);
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s;
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
}

.btn-small:hover {
    background: var(--dark);
    color: var(--light);
}

/* ===== BUNDLE SECTION ===== */
.bundle-section {
    background: linear-gradient(135deg, var(--dark) 0%, color-mix(in srgb, var(--dark) 80%, #000) 100%);
    color: var(--light);
    padding: 100px 0;
    text-align: center;
}

.bundle-save {
    background: rgba(var(--primary-rgb), 0.2);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 40px;
    margin-bottom: 30px;
    font-weight: 600;
}

.bundle-price {
    font-size: 4rem;
    color: var(--primary);
    margin: 30px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
    background: var(--gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-rating {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    color: #555; /* لون ثابت غير مرتبط بالمتغيرات */
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--dark);
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.cta .btn-primary {
    background: var(--dark);
    color: var(--primary);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    font-size: 1.1rem;
    padding: 18px 50px;
}

.cta .btn-primary:hover {
    background: #000;
    color: var(--primary-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .announcement-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .bundle-price {
        font-size: 3rem;
    }
    
    .cta h2 {
        font-size: 2.5rem;
    }
    
    .trust-grid {
        gap: 20px;
    }
    
    .announcement-content,
    .hero-content,
    .trust-grid,
    .product-grid,
    .section-header,
    .testimonial-grid {
        padding: 0 3% !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn, .btn-primary {
        padding: 12px 25px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== COLOR SWATCHES ON HOMEPAGE ===== */
.product-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 8px 0;
    align-items: center;
}

.color-swatch {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.12);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.color-swatch:hover {
    transform: scale(1.25);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.4);
    z-index: 2;
}

/* Tooltip on hover */
.color-swatch::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--light);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
}

.color-swatch:hover::after {
    opacity: 1;
}

/* White swatch needs darker border */
.color-swatch[style*="background-color: #ffffff"],
.color-swatch[style*="background-color: #fffdd0"] {
    border-color: #ccc;
}

/* ===== SWATCH SELECTED STATE & IMAGE TRANSITION ===== */
.product-image {
    transition: opacity 0.15s ease, transform 0.3s ease !important;
}

.color-swatch.swatch-selected {
    border-color: var(--dark) !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.15), 0 0 0 1px var(--dark) !important;
    transform: scale(1.2) !important;
}

/* ===== PRICE WITH DISCOUNT ===== */
.price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 6px 0;
}
.price-original {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 0.85em;
    color: var(--text-light);
}
.price-sale {
    font-weight: 700;
    color: var(--price-sale);
    font-size: 1.1em;
}
.price-regular {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1em;
}
.price-badge {
    background: var(--danger);
    color: var(--light);
    font-size: 0.75em;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* ===== MOBILE BOTTOM NAVIGATION BAR ===== */
.canine-bottom-nav {
    display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px !important;
    }

    .canine-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: var(--dark);
        border-top: 1px solid rgba(255,255,255,0.08);
        z-index: 99999;
        align-items: stretch;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .canine-bnav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: rgba(255,255,255,0.5);
        text-decoration: none !important;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.3px;
        transition: color 0.2s ease;
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }

    .canine-bnav-item svg {
        width: 22px;
        height: 22px;
        transition: transform 0.2s ease;
    }

    .canine-bnav-item:active svg {
        transform: scale(0.88);
    }

    .canine-bnav-item.active,
    .canine-bnav-item:hover {
        color: var(--primary);
        text-decoration: none !important;
    }

    .canine-bnav-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 25%;
        right: 25%;
        height: 2px;
        background: var(--primary);
        border-radius: 0 0 4px 4px;
    }

    .canine-bnav-cart {
        position: relative;
    }

    .canine-bnav-cart-wrap {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .canine-bnav-badge {
        position: absolute;
        top: -7px;
        right: -9px;
        background: var(--danger);
        color: var(--light);
        font-size: 10px;
        font-weight: 700;
        min-width: 18px;
        height: 18px;
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        border: 2px solid var(--dark);
        line-height: 1;
    }
}

/* ===== WPC PRODUCT BUNDLES STYLING ===== */
.bundle-products-section {
    padding: 60px 0;
    background: var(--light);
}

.bundle-card .bundle-items {
    margin: 10px 0;
    padding: 10px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.bundle-card .bundle-items small {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.7rem;
}

.bundle-card .bundle-items ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.bundle-card .bundle-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.bundle-card .bundle-items li img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
}

.bundle-card .bundle-items li:last-child {
    margin-bottom: 0;
}

.bundle-card .bundle-items li.more-item {
    list-style: none;
    margin-top: 5px;
    font-style: italic;
    color: var(--primary);
}

/* تنسيق السعر */
.bundle-card .price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bundle-card .price-original {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.9rem;
    color: var(--text-light);
}

.bundle-card .price-sale {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.bundle-card .price-badge {
    background: var(--primary);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* تنسيق زر الباندل */
.bundle-add-to-cart {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary) !important;
    color: var(--dark) !important;
    font-weight: 700;
}

.bundle-add-to-cart:hover {
    background: var(--dark) !important;
    color: var(--primary) !important;
    border-color: var(--dark) !important;
}

/* تنسيقات للكروت الداكنة */
.product-card[data-color] .bundle-items {
    background: rgba(255,255,255,0.1);
    border-left-color: rgba(255,255,255,0.3);
}

.product-card[data-color] .bundle-items small {
    color: var(--light);
}

.product-card[data-color] .bundle-items li {
    color: rgba(255,255,255,0.8);
}

.product-card[data-color] .bundle-items li img {
    border-color: rgba(255,255,255,0.2);
}

/* ===== BUNDLE ITEMS WITH THUMBNAILS ===== */
.bundle-items ul {
    padding-left: 0 !important;
}

.bundle-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.bundle-items li img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
}

/* للكروت الداكنة */
.product-card[data-color] .bundle-items li img {
    border-color: rgba(255,255,255,0.2);
}

.bundle-items li:last-child {
    margin-bottom: 0;
}

.bundle-items li.more-item {
    list-style: none;
    margin-top: 5px;
    font-style: italic;
    color: var(--primary);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .bundle-card .bundle-items {
        padding: 8px;
    }
    
    .bundle-card .bundle-items ul {
        padding-left: 15px;
    }
}


/*
الفوتر
*/

/* ══════════════════════════════════════════════════
   CANINE FOOTER
   ══════════════════════════════════════════════════ */
.canine-footer { font-family: inherit; }

.canine-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.canine-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding: 60px 0 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1024px) {
    .canine-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .canine-footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 30px; }
    .canine-footer-inner { padding: 0 20px; }
}

.cf-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.cf-logo { max-width: 150px; margin-bottom: 16px; display: block; }

.cf-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    opacity: 0.65;
    margin-bottom: 20px;
}

.cf-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.cf-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    opacity: 0.75;
    margin-bottom: 10px;
}

.cf-contact-list svg { width: 18px; height: 18px; flex-shrink: 0; }

.cf-contact-list a { color: inherit; text-decoration: none; }
.cf-contact-list a:hover { opacity: 1; }

.cf-social { display: flex; gap: 10px; }

.cf-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s;
}

.cf-social a:hover { background: var(--accent, #c7a008); }
.cf-social svg { width: 16px; height: 16px; }

.cf-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.cf-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cf-links li { margin-bottom: 10px; }

.cf-links a {
    color: inherit;
    text-decoration: none;
    font-size: 0.88rem;
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
}

.cf-links a:hover { opacity: 1; color: var(--accent, #c7a008); }

.cf-payment-logos {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cf-payment-logos i {
    font-size: 2rem;
    transition: transform 0.2s;
}

.cf-payment-logos i:hover {
    transform: scale(1.1);
}

/* ألوان العلامات التجارية */
.cf-payment-logos .fa-cc-visa        { color: #1a1f71; }
.cf-payment-logos .fa-cc-mastercard  { color: #eb001b; }
.cf-payment-logos .fa-cc-paypal      { color: #003087; }
.cf-payment-logos .fa-cc-amex        { color: #2e77bc; }

/* أيقونات Apple Pay و Google Pay - تظهر بوضوح على أي خلفية */
.cf-payment-logos .fa-cc-apple-pay,
.cf-payment-logos .fa-google-pay {
    color: #333;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 4px 6px;
}

.cf-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.85;
}

.cf-secure-badge svg { width: 16px; height: 16px; }

.cf-company-info p {
    font-size: 0.78rem;
    opacity: 0.45;
    margin: 3px 0;
}

.canine-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.cf-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cf-bottom-links a {
    color: inherit;
    text-decoration: none;
    font-size: 0.82rem;
    opacity: 0.45;
    transition: opacity 0.2s;
}

.cf-bottom-links a:hover { opacity: 1; }

.cf-copyright {
    font-size: 0.82rem;
    opacity: 0.45;
}

/* Fix SVG icons size in footer */
.canine-footer svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
}
.cf-social a svg {
    width: 16px !important;
    height: 16px !important;
}
.cf-secure-badge svg {
    width: 16px !important;
    height: 16px !important;
}
/* ══════════════════════════════════════════════════
   FEATURED CATEGORIES
   ══════════════════════════════════════════════════ */
.canine-categories-section { padding: 60px 40px; }
.canine-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 768px) { .canine-categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .canine-categories-grid { grid-template-columns: 1fr; } }

.canine-category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: block;
    height: 200px;
}
.canine-category-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}
.canine-category-card:hover .canine-category-img { transform: scale(1.05); }
.canine-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
}
.canine-category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 1;
}
.canine-category-info h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 700; }
.canine-category-info span { font-size: 0.82rem; opacity: 0.75; }

/* ══════════════════════════════════════════════════
   NEWSLETTER SECTION
   ══════════════════════════════════════════════════ */
.canine-newsletter-section {
    padding: 70px 40px;
    background: var(--primary, #c7a008);
}
.canine-newsletter-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}
.canine-newsletter-inner h2 { font-size: 2rem; margin-bottom: 10px; }
.canine-newsletter-inner p { opacity: 0.85; margin-bottom: 24px; font-size: 1rem; }
.canine-nl-wrap {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 0 auto 10px;
}
.canine-nl-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 0.95rem;
    outline: none;
    color: #1a1a1a;
}
.canine-nl-btn {
    padding: 14px 24px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.2s;
}
.canine-nl-btn:hover { opacity: 0.85; }
.canine-nl-note { font-size: 0.8rem; opacity: 0.65; }

/* ══════════════════════════════════════════════════
   INSTAGRAM SECTION
   ══════════════════════════════════════════════════ */
.canine-instagram-section { padding: 60px 40px; background: #fafafa; }

/* ══════════════════════════════════════════════════
   RECENTLY VIEWED
   ══════════════════════════════════════════════════ */
.canine-recent-section { padding: 60px 40px; }



/* ══════════════════════════════════════════════════
   SINGLE PRODUCT PAGE — CANINE COUTURES
   ══════════════════════════════════════════════════ */
.cc-product { font-family: inherit; }
.woocommerce div.product,
.woocommerce #content div.product { display: block !important; }

.cc-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; width: 100%; box-sizing: border-box; }
@media (max-width: 768px) { .cc-container { padding: 0 20px; } }

/* ── Hero Grid ── */
.cc-hero { padding: 30px 0 50px; }
.cc-hero .cc-container {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr !important;
    gap: 50px !important;
    align-items: start !important;
}
@media (max-width: 900px) { .cc-hero .cc-container { grid-template-columns: 1fr !important; gap: 30px !important; } }

/* ── Gallery ── */
.cc-gallery { width: 100%; }
.cc-gallery .woocommerce-product-gallery { float: none !important; width: 100% !important; margin: 0 !important; }
.cc-gallery .flex-viewport { border-radius: 10px; overflow: hidden; }
.cc-gallery ol, .cc-gallery ol.flex-control-nav {
    list-style: none !important; counter-reset: none !important;
    padding: 0 !important; margin: 8px 0 0 !important;
    display: flex !important; flex-wrap: wrap !important; gap: 6px !important;
}
.cc-gallery ol li { list-style: none !important; width: 70px !important; margin: 0 !important; padding: 0 !important; }
.cc-gallery ol li::before, .cc-gallery ol li::marker { content: none !important; display: none !important; }
.cc-gallery ol li img { border-radius: 6px; cursor: pointer; opacity: 0.65; transition: opacity 0.2s; border: 2px solid transparent; }
.cc-gallery ol li img:hover,
.cc-gallery ol li.flex-active img { opacity: 1; border-color: var(--primary, #c7a008); }

/* ── Info Column ── */
.cc-info { width: 100% !important; min-width: 0; }
.woocommerce div.product .cc-info { float: none !important; width: 100% !important; clear: none !important; padding: 0 !important; }

/* Rating */
.cc-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cc-review-count { font-size: 0.85rem; opacity: 0.6; }

/* Title */
.cc-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; line-height: 1.3; color: #1a1a1a; }

/* Price */
.cc-price { margin-bottom: 16px; }
.cc-price .price { font-size: 1.5rem; font-weight: 700; color: #1a1a1a; }
.cc-price del .amount { color: #999; }
.cc-divider { border: none; border-top: 1px solid #eee; margin: 16px 0; }

/* Short desc */
.cc-short { font-size: 0.9rem; opacity: 0.7; line-height: 1.7; margin-bottom: 16px; }

/* ── Stock Urgency Bar ── */
.cc-stock-urgency { font-size: 0.88rem; color: #c0392b; font-weight: 600; margin-bottom: 14px; }
.cc-stock-bar { height: 5px; background: #eee; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.cc-stock-fill { height: 100%; background: #c0392b; border-radius: 4px; transition: width 0.5s; }

/* ── Add to Cart ── */
.cc-atc { margin-bottom: 16px; }
.cc-atc .single_add_to_cart_button {
    background: #1a1a2e !important; color: #fff !important;
    border-color: #1a1a2e !important; border-radius: 6px !important;
    padding: 14px 30px !important; font-weight: 700 !important;
    font-size: 0.95rem !important; letter-spacing: 0.5px !important;
}
.cc-atc .single_add_to_cart_button:hover { background: #2d2d5e !important; }

/* ── Quantity +/- ── */
.quantity { display: flex !important; align-items: center !important; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; width: fit-content; }
.canine-qty-btn {
    background: #f5f5f5; border: none; width: 38px; height: 42px;
    font-size: 1.2rem; cursor: pointer; display: flex !important;
    align-items: center; justify-content: center;
    transition: background 0.2s; color: #1a1a1a; flex-shrink: 0;
}
.canine-qty-btn:hover { background: #1a1a2e; color: #fff; }
.quantity input.qty {
    width: 46px !important; height: 42px !important; border: none !important;
    border-left: 1px solid #ddd !important; border-right: 1px solid #ddd !important;
    border-radius: 0 !important; text-align: center !important;
    font-size: 1rem !important; font-weight: 600 !important;
    padding: 0 !important; -moz-appearance: textfield; box-shadow: none !important;
}
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Size & Delivery Links ── */
.cc-guide-links { display: flex; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }
.cc-guide-link {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 600; color: #1a1a1a;
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.cc-guide-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.cc-guide-link:hover { color: var(--primary, #c7a008); }

/* ── Real Time Visitors ── */
.cc-realtime {
    display: flex; align-items: center; gap: 8px; font-size: 0.85rem;
    margin-bottom: 14px; background: #f8f8f8; padding: 8px 14px;
    border-radius: 6px; border: 1px solid #eee;
}
.cc-realtime-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #27ae60;
    flex-shrink: 0; animation: cc-pulse 1.5s infinite;
}
@keyframes cc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── Trust List ── */
.cc-trust-list { margin-bottom: 16px; }
.cc-trust-item {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 0.82rem; opacity: 0.75; padding: 5px 0;
}
.cc-trust-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--primary, #c7a008); }

/* ── Safe Checkout ── */
.cc-safe-checkout { border-top: 1px solid #eee; padding-top: 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px;}

.cc-payment-icons { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.cc-payment-icons .payment-icon {
    height: 28px !important;
    width: auto !important;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 3px 6px;
    background: #fff;
    box-sizing: content-box;
}


/* ── Tabs ── */
.cc-tabs-wrap { border-top: 2px solid #eee; border-bottom: 2px solid #eee; margin-top: 20px; background: #fff; }
.cc-tabs-nav { display: flex; overflow-x: auto; }
.cc-tab-btn {
    padding: 16px 28px; border: none; background: transparent;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px;
    cursor: pointer; color: #888; border-bottom: 3px solid transparent;
    transition: all 0.2s; text-transform: uppercase; white-space: nowrap;
}
.cc-tab-btn.active, .cc-tab-btn:hover { color: #1a1a1a; border-bottom-color: var(--primary, #c7a008); }
.cc-tab-content { display: none; padding: 40px 0; }
.cc-tab-content.active { display: block; }

/* ── Care Label ── */
.cc-care-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.cc-care-img { max-width: 100%; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }

/* ── Modals ── */
.cc-modal { display: none; position: fixed; inset: 0; z-index: 99999; }
.cc-modal.active { display: flex; align-items: center; justify-content: center; }
.cc-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.75); cursor: pointer; }
.cc-modal-box {
    position: relative; z-index: 1; max-width: 90vw; max-height: 90vh;
    background: #fff; border-radius: 12px; overflow: auto; padding: 20px;
}
.cc-modal-box img { max-width: 100%; display: block; }
.cc-modal-close {
    position: absolute; top: 10px; right: 10px; background: #1a1a1a;
    color: #fff; border: none; border-radius: 50%; width: 30px; height: 30px;
    cursor: pointer; font-size: 0.85rem; line-height: 30px; text-align: center; padding: 0;
}

/* ── Related ── */
.cc-related { padding: 50px 0; }

/* ── Sticky Cart ── */
/* ══ STICKY BAR — compact single row ══ */
.cc-sticky-cart {
    position: fixed; bottom: -80px; left: 0; right: 0;
    background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    z-index: 9999; transition: bottom 0.3s ease;
    border-top: 1px solid #eee;
}
.cc-sticky-cart.cc-sticky-visible { bottom: 0; }
.cc-sticky-inner {
    max-width: 1200px; margin: 0 auto; padding: 8px 30px;
    display: flex; align-items: center;
    justify-content: space-between; gap: 16px;
    height: 62px; box-sizing: border-box;
}

/* صورة + نص */
.cc-sticky-info { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.cc-sticky-img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cc-sticky-text { min-width: 0; }
.cc-sticky-text strong { display: block; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.cc-sticky-text span { font-size: 0.8rem; color: var(--primary, #c7a008); font-weight: 600; white-space: nowrap; }
.cc-sticky-text del { color: #aaa; font-weight: 400; font-size: 0.72rem; margin-right: 3px; }

/* Attributes أفقي */
.cc-sticky-attrs { display: flex; align-items: center; gap: 14px; flex: 1; justify-content: center; flex-wrap: nowrap; overflow: hidden; }
.cc-sticky-attr-group { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.cc-sticky-attr-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: #999; }
.cc-sticky-opt {
    padding: 3px 8px; border: 1px solid #ddd; border-radius: 4px;
    font-size: 0.72rem; cursor: pointer; transition: all 0.15s;
    white-space: nowrap; line-height: 1.4;
}
.cc-sticky-opt:hover { border-color: #1a1a2e; }
.cc-sticky-opt.active { border-color: #1a1a2e; background: #1a1a2e; color: #fff; }

/* Qty + زر */
.cc-sticky-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cc-sticky-qty { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 5px; overflow: hidden; height: 34px; }
.cc-sq-btn { background: #f5f5f5; border: none; width: 28px; height: 34px; font-size: 1rem; cursor: pointer; line-height: 1; }
.cc-sq-btn:hover { background: #eee; }
.cc-sq-input { width: 36px; height: 34px; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; text-align: center; font-size: 0.85rem; font-weight: 600; -moz-appearance: textfield; padding: 0; }
.cc-sq-input::-webkit-outer-spin-button, .cc-sq-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cc-sticky-add {
    height: 34px; padding: 0 16px;
    background: var(--button-bg, #1a1a2e); color: #fff;
    border: none; border-radius: 5px; font-size: 0.78rem;
    font-weight: 700; cursor: pointer; white-space: nowrap;
    letter-spacing: 0.3px;
}
.cc-sticky-add:hover { opacity: 0.9; }

@media (max-width: 900px) { .cc-sticky-attrs { display: none; } }
@media (max-width: 600px) { .cc-sticky-inner { padding: 8px 14px; } .cc-sticky-img { display: none; } }

/* ── Star Rating — Golden Color ── */
.star-rating span::before,
.woocommerce .star-rating span::before {
    color: #c7a008 !important;
}
.star-rating {
    color: #c7a008 !important;
}

/* --- + & - -----*/

.woocommerce-js .quantity .minus,
.woocommerce-js .quantity .plus {
    color: var(--ast-global-color-0, #000);
}

/* ── Product Tabs — Hide nav, show description directly ── */
.cc-tab-content .woocommerce-tabs .wc-tabs,
.cc-tab-content .woocommerce-tabs ul.tabs {
    display: none !important;
}
.cc-tab-content .woocommerce-tabs .woocommerce-Tabs-panel {
    display: block !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.cc-tab-content .woocommerce-tabs .woocommerce-Tabs-panel--description {
    display: block !important;
}
.cc-tab-content .woocommerce-tabs .woocommerce-Tabs-panel--reviews {
    display: none !important;
}
.cc-tab-content .woocommerce-tabs {
    padding: 0 !important;
    margin: 0 !important;
}
.cc-tab-content .woocommerce-tabs::before,
.cc-tab-content .woocommerce-tabs::after {
    display: none !important;
}

/* ── Review Form Star Rating — Golden ── */
#respond .stars a,
.woocommerce #reviews #respond .stars a,
.comment-form-rating .stars a {
    color: #c7a008 !important;
}
.comment-form-rating .stars a::before,
.comment-form-rating .stars span a::before {
    color: #c7a008 !important;
    content: "\2605" !important;
}
.comment-form-rating .stars.selected a.active::before,
.comment-form-rating .stars.selected a::before {
    color: #c7a008 !important;
}
.comment-form-rating .stars:hover a::before {
    color: #c7a008 !important;
}

/* --- sku ------*/
.cc-sku {color: #888; margin-bottom: 12px; }

.woocommerce-variation-add-to-cart{
    display: flex;
}
/* ── Sticky Color Dots ── */
.cc-sticky-color-dot {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    border: 2px solid transparent !important;
    padding: 0 !important;
    display: inline-block !important;
    cursor: pointer !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
    flex-shrink: 0 !important;
}
.cc-sticky-color-dot:hover {
    transform: scale(1.15) !important;
}
.cc-sticky-color-dot.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a1a2e !important;
    transform: scale(1.1) !important;
}

/* ══════════════════════════════════════════════════
   RELATED PRODUCTS — تصميم منظم احترافي
   ══════════════════════════════════════════════════ */
.cc-related { padding: 40px 0 60px; border-top: 1px solid #eee; }

/* عنوان Related Products */
.cc-related .related.products > h2,
.woocommerce .related.products > h2 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 24px !important;
    color: #1a1a1a !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #c7a008 !important;
    display: inline-block !important;
}

/* Grid 4 عمود */
.cc-related ul.products,
.woocommerce .cc-related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* كل كارد */
.cc-related ul.products li.product,
.woocommerce .cc-related ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: box-shadow 0.2s, transform 0.2s !important;
    list-style: none !important;
}
.cc-related ul.products li.product:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    transform: translateY(-2px) !important;
}

/* صورة المنتج */
.cc-related ul.products li.product img,
.woocommerce .cc-related ul.products li.product img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

/* اسم المنتج */
.cc-related ul.products li.product .woocommerce-loop-product__title,
.woocommerce .cc-related ul.products li.product h2 {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    padding: 10px 12px 4px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* السعر */
.cc-related ul.products li.product .price,
.woocommerce .cc-related ul.products li.product .price {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    padding: 0 12px 10px !important;
    display: block !important;
}
.cc-related ul.products li.product .price del {
    color: #aaa !important;
    font-weight: 400 !important;
    font-size: 0.78rem !important;
    margin-right: 4px !important;
}
.cc-related ul.products li.product .price ins {
    text-decoration: none !important;
    color: #c0392b !important;
}

/* زر Add to Cart */
.cc-related ul.products li.product .button,
.woocommerce .cc-related ul.products li.product a.button {
    display: block !important;
    margin: 0 12px 12px !important;
    padding: 8px 12px !important;
    text-align: center !important;
    border-radius: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    transition: opacity 0.2s !important;
}
.cc-related ul.products li.product .button:hover { opacity: 0.85 !important; }

/* Badge sale */
.cc-related ul.products li.product .onsale {
    top: 8px !important;
    left: 8px !important;
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}

@media (max-width: 900px) {
    .cc-related ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .cc-related ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .cc-related ul.products li.product img { height: 150px !important; }
}

/* ══ RELATED PRODUCTS CAROUSEL ══ */
.cc-related { padding: 50px 0 60px; border-top: 1px solid #eee; }
.cc-rel-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.cc-rel-title { text-align: center; font-size: 1rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #1a1a1a; margin: 0 0 0; }
.cc-rel-title::after { content: ''; display: block; width: 40px; height: 2px; background: #c7a008; margin: 6px auto 24px; border-radius: 2px; }
.cc-rel-car { display: flex; align-items: center; gap: 8px; }
.cc-rel-viewport { flex: 1; overflow: hidden; }
.cc-rel-track { display: flex; transition: transform 0.45s ease; }
.cc-rel-slide { flex-shrink: 0; box-sizing: border-box; padding: 0 8px; }
.cc-rel-card { display: block; text-decoration: none; background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; position: relative; }
.cc-rel-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); transform: translateY(-3px); }
.cc-rel-badge { position: absolute; top: 8px; left: 8px; background: #e74c3c; color: #fff; font-size: 0.62rem; font-weight: 700; padding: 2px 7px; border-radius: 3px; z-index: 1; }
.cc-rel-imgbox { aspect-ratio: 1/1; overflow: hidden; background: #f5f5f5; }
.cc-rel-imgbox img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; transition: transform 0.4s !important; }
.cc-rel-card:hover .cc-rel-imgbox img { transform: scale(1.05); }
.cc-rel-body { padding: 10px 12px 14px; }
.cc-rel-name { font-size: 0.82rem; font-weight: 600; color: #1a1a1a; margin: 0 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-rel-price { font-size: 0.88rem; font-weight: 700; color: #1a1a1a; margin: 0; }
.cc-rel-price del { color: #bbb; font-weight: 400; font-size: 0.75rem; margin-right: 3px; }
.cc-rel-price ins { text-decoration: none; color: #c0392b; }
.cc-rel-prev, .cc-rel-next { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ddd; background: #fff; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #333; transition: all 0.2s; box-shadow: 0 2px 6px rgba(0,0,0,0.07); line-height: 1; padding: 0; }
.cc-rel-prev:hover, .cc-rel-next:hover { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.cc-rel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.cc-rel-dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; border: none; cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s; }
.cc-rel-dot.active { background: #c7a008; transform: scale(1.35); }
@media (max-width: 768px) { .cc-rel-inner { padding: 0 12px; } }

/* ══ CAROUSEL CARD UPDATE — صورة + اسم + سعر + مقاسات + ألوان + ATC ══ */
.cc-rel-card { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.cc-rel-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.cc-rel-imglink { display: block; text-decoration: none; position: relative; }
.cc-rel-badge { position: absolute; top: 10px; right: 10px; background: #e74c3c; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 1; letter-spacing: 0.3px; }
.cc-rel-imgbox { aspect-ratio: 4/5; overflow: hidden; background: #f5f5f5; }
.cc-rel-imgbox img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; transition: transform 0.4s !important; }
.cc-rel-card:hover .cc-rel-imgbox img { transform: scale(1.04); }
.cc-rel-body { padding: 12px 14px 14px; }
.cc-rel-name { display: block; font-size: 0.85rem; font-weight: 600; color: #1a1a1a; text-decoration: none; margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-rel-name:hover { color: #c7a008; }
.cc-rel-price { font-size: 0.88rem; font-weight: 700; color: #1a1a1a; margin: 0 0 10px; }
.cc-rel-price del { color: #bbb; font-weight: 400; font-size: 0.75rem; margin-right: 4px; }
.cc-rel-price ins { text-decoration: none; color: #c0392b; }
/* مقاسات */
.cc-rel-sizes { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
.cc-rel-size { padding: 2px 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.7rem; font-weight: 600; color: #555; cursor: default; }
/* ألوان */
.cc-rel-colors { display: flex; gap: 5px; margin-bottom: 12px; }
.cc-rel-color { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.1); cursor: default; }
/* زر ATC */
.cc-rel-atc {
    display: block;
    text-align: center;
    padding: 9px 12px;
    background: #1a1a2e;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}
.cc-rel-atc:hover { opacity: 0.85; }

/* ══ CAROUSEL CARD — Final Style Match ══ */
.cc-rel-slide { padding: 0 10px; }
.cc-rel-card { border-radius: 0; border: none; box-shadow: none; background: transparent; }
.cc-rel-card:hover { box-shadow: none; transform: none; }

.cc-rel-imglink { border-radius: 12px; overflow: hidden; display: block; position: relative; }
.cc-rel-imgbox { aspect-ratio: 3/4 !important; }
.cc-rel-badge {
    top: 10px !important; right: 10px !important; left: auto !important;
    background: #e74c3c !important;
    font-size: 0.8rem !important;
    padding: 4px 10px !important;
    border-radius: 5px !important;
}

.cc-rel-body { padding: 12px 4px 14px; }

.cc-rel-name {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.cc-rel-price {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
.cc-rel-price del {
    color: #aaa !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
}
.cc-rel-price ins {
    text-decoration: none !important;
    color: #1a1a2e !important;
    font-weight: 700 !important;
}

/* مقاسات */
.cc-rel-sizes {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin-bottom: 10px !important;
}
.cc-rel-size {
    padding: 4px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #555 !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
}
.cc-rel-size:hover, .cc-rel-size.active {
    border-color: #1a1a2e !important;
    background: #1a1a2e !important;
    color: #fff !important;
}

/* ألوان */
.cc-rel-colors {
    display: flex !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
    align-items: center !important;
}
.cc-rel-color {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(0,0,0,0.12) !important;
    cursor: pointer !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
}
.cc-rel-color:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a1a2e !important;
}

/* زر */
.cc-rel-atc {
    padding: 12px !important;
    background: #1a1a2e !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.3px !important;
}

/* ══ Badge — يسار فوق ══ */
.cc-rel-badge {
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
}

/* ══ RELATED PRODUCTS — Final Fixes ══ */

/* العنوان في المنتصف */
.cc-rel-title {
    text-align: center !important;
    width: 100% !important;
}

/* الكارسول — الأزرار ملاصقة للكاردات */
.cc-rel-car {
    position: relative !important;
    padding: 0 !important;
}
.cc-rel-prev, .cc-rel-next {
    position: absolute !important;
    top: 35% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}
.cc-rel-prev { left: -18px !important; }
.cc-rel-next { right: -18px !important; }
.cc-rel-viewport { width: 100% !important; }

/* المقاسات — تأكد إنها ظاهرة */
.cc-rel-sizes {
    display: flex !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
    margin-bottom: 10px !important;
}
.cc-rel-size {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px !important;
    padding: 4px 8px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    background: #fff !important;
}

/* ══ BUY IT NOW BUTTON ══ */
.cc-buy-now-wrap {
    margin-top: 10px;
}
.cc-buy-now-btn {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    background: #e74c3c;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.1s;
    box-sizing: border-box;
}
.cc-buy-now-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════
   SHOP / CATEGORY ARCHIVE PAGE
   ══════════════════════════════════════════════════ */

/* ── Hero ── */
.cc-shop-hero {
    position: relative;
    height: 260px;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cc-shop-hero.has-img .cc-shop-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.cc-shop-hero:hover.has-img .cc-shop-hero-bg { transform: scale(1); }
.cc-shop-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,.85) 0%, rgba(26,26,46,.6) 100%); }
.cc-shop-hero-inner { position: relative; z-index: 2; text-align: center; padding: 0 20px; }
.cc-shop-hero-eyebrow { font-size: 0.7rem; letter-spacing: 4px; color: var(--primary, #c7a008); margin: 0 0 10px; font-weight: 600; }
.cc-shop-hero-title { font-family: 'Playfair Display', serif !important; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800 !important; color: #fff; margin: 0 0 12px; line-height: 1.1; }
.cc-shop-hero-desc { color: rgba(255,255,255,.75); font-size: 0.9rem; max-width: 520px; margin: 0 auto; line-height: 1.6; }

/* ── Container ── */
.cc-shop-container { max-width: 1320px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* ── Top Bar ── */
.cc-shop-topbar { display: flex; align-items: center; justify-content: space-between; padding: 20px 0 16px; border-bottom: 1px solid #eee; gap: 12px; flex-wrap: wrap; }
.cc-shop-count { font-size: 0.82rem; color: #888; }
.cc-shop-count span { font-weight: 700; color: #1a1a1a; font-size: 1rem; }
.cc-shop-topbar-right { display: flex; align-items: center; gap: 12px; }
.cc-sort-select { border: 1px solid #e0e0e0; border-radius: 6px; padding: 8px 32px 8px 12px; font-size: 0.82rem; font-weight: 500; color: #333; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; cursor: pointer; }
.cc-filter-btn { display: flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1px solid #e0e0e0; border-radius: 6px; background: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; cursor: pointer; color: #333; transition: all 0.2s; position: relative; }
.cc-filter-btn:hover { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.cc-filter-badge { position: absolute; top: -6px; right: -6px; background: var(--primary, #c7a008); color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ── Active Tags ── */
.cc-active-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; }
.cc-tag { display: inline-flex; align-items: center; gap: 6px; background: #f5f5f5; border-radius: 20px; padding: 5px 12px; font-size: 0.75rem; font-weight: 600; color: #333; }
.cc-tag-x { background: none; border: none; cursor: pointer; color: #999; font-size: 0.8rem; padding: 0; line-height: 1; transition: color 0.15s; }
.cc-tag-x:hover { color: #e74c3c; }
.cc-tag-clear { font-size: 0.75rem; color: #e74c3c; font-weight: 600; text-decoration: none; padding: 5px 0; }

/* ── Body Layout ── */
.cc-shop-body { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 24px 0 60px; align-items: start; }

/* ── Sidebar ── */
.cc-shop-sidebar { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; position: sticky; top: 90px; }
.cc-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #eee; }
.cc-sidebar-head h3 { font-size: 0.78rem; font-weight: 800; letter-spacing: 2px; color: #1a1a1a; margin: 0; font-family: 'Inter', sans-serif !important; }
.cc-sidebar-x { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: #999; padding: 0; display: none; }
.cc-filter-form { padding: 0; }
.cc-filter-section { border-bottom: 1px solid #f0f0f0; }
.cc-filter-head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: none; border: none; cursor: pointer; font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px; color: #1a1a1a; text-align: left; transition: color 0.2s; font-family: 'Inter', sans-serif; }
.cc-filter-head:hover { color: var(--primary, #c7a008); }
.cc-chevron { width: 14px; height: 14px; transition: transform 0.25s; }
.cc-filter-head.collapsed .cc-chevron { transform: rotate(-90deg); }
.cc-filter-panel { padding: 0 20px 16px; display: none; }
.cc-filter-panel.open { display: block; }

/* Price Slider */
.cc-price-display { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 0.82rem; font-weight: 700; color: #1a1a1a; }
/* slider styles moved below */

/* Color Filter */
.cc-color-grid { display: flex; flex-direction: column; gap: 8px; }
.cc-color-label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.cc-color-circle { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.15s; }
.cc-color-label:hover .cc-color-circle { transform: scale(1.15); }
.cc-color-label.active .cc-color-circle { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary, #c7a008); }
.cc-check { width: 12px; height: 12px; }
.cc-color-name { font-size: 0.8rem; color: #555; text-transform: capitalize; }
.cc-color-label.active .cc-color-name { font-weight: 600; color: #1a1a1a; }

/* Size Filter */
.cc-size-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-size-label { padding: 5px 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 0.75rem; font-weight: 600; color: #555; cursor: pointer; transition: all 0.15s; user-select: none; }
.cc-size-label:hover { border-color: #1a1a2e; color: #1a1a2e; }
.cc-size-label.active { background: #1a1a2e; border-color: #1a1a2e; color: #fff; }

/* Toggle */
.cc-toggle-row { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.cc-toggle-row span:first-child { font-size: 0.82rem; color: #444; }
.cc-toggle { position: relative; }
.cc-toggle input { position: absolute; opacity: 0; width: 0; }
.cc-toggle-track { display: block; width: 40px; height: 22px; background: #e0e0e0; border-radius: 11px; transition: background 0.25s; position: relative; cursor: pointer; }
.cc-toggle input:checked ~ .cc-toggle-track { background: var(--primary, #c7a008); }
.cc-toggle-thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform 0.25s; box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.cc-toggle input:checked ~ .cc-toggle-track .cc-toggle-thumb { transform: translateX(18px); }

/* Filter Footer */
.cc-filter-footer { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.cc-apply-btn { display: block; text-align: center; padding: 12px; background: #1a1a2e; color: #fff !important; border: none; border-radius: 7px; font-size: 0.78rem; font-weight: 800; letter-spacing: 1px; cursor: pointer; text-decoration: none; transition: opacity 0.2s; }
.cc-apply-btn:hover { opacity: 0.85; }
.cc-reset-btn { display: block; text-align: center; padding: 10px; background: none; border: 1px solid #e0e0e0; border-radius: 7px; font-size: 0.75rem; font-weight: 600; color: #888; text-decoration: none; transition: all 0.2s; }
.cc-reset-btn:hover { border-color: #e74c3c; color: #e74c3c; }

/* Mobile backdrop */
.cc-sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; opacity: 0; transition: opacity 0.3s; }
.cc-sidebar-backdrop.open { display: block; opacity: 1; }

/* ── Products Grid ── */
.cc-shop-grid-wrap { min-width: 0; }
.cc-shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── Product Card ── */
.cc-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #eee; transition: box-shadow 0.25s, transform 0.25s; opacity: 0; transform: translateY(16px); }
.cc-card.visible { opacity: 1; transform: translateY(0); animation: ccFadeUp 0.45s ease both; }
@keyframes ccFadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.cc-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-4px); }

.cc-card-imgwrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #f7f7f7; }
.cc-card-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: opacity 0.4s, transform 0.5s; }
.cc-img-hover { opacity: 0; }
.cc-card:hover .cc-img-main { opacity: 0; transform: scale(1.04); }
.cc-card:hover .cc-img-hover { opacity: 1; }
.cc-card-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3rem; background: #f5f5f5; }

/* Badges */
.cc-card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.cc-badge { font-size: 0.65rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; letter-spacing: 0.5px; }
.cc-badge-sale { background: #e74c3c; color: #fff; }
.cc-badge-feat { background: var(--primary, #c7a008); color: #fff; }

/* Quick actions */
.cc-card-actions { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; opacity: 0; transform: translateX(8px); transition: all 0.25s; }
.cc-card:hover .cc-card-actions { opacity: 1; transform: translateX(0); }
.cc-card-action { width: 34px; height: 34px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #333; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.12); transition: all 0.2s; }
.cc-card-action:hover { background: #1a1a2e; color: #fff; }

/* Card body */
.cc-card-body { padding: 14px 14px 16px; }
.cc-card-colors { display: flex; gap: 5px; align-items: center; margin-bottom: 8px; }
.cc-card-color-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,0.08); }
.cc-card-color-more { font-size: 0.65rem; color: #888; font-weight: 600; }
.cc-card-name { display: block; font-size: 0.85rem; font-weight: 600; color: #1a1a1a; text-decoration: none; margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-card-name:hover { color: var(--primary, #c7a008); }

/* Stars */
.cc-card-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 7px; }
.cc-stars-wrap { position: relative; display: inline-block; font-size: 12px; line-height: 1; }
.cc-stars-bg { color: #e0e0e0; letter-spacing: 1px; }
.cc-stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; color: var(--primary, #c7a008); letter-spacing: 1px; white-space: nowrap; }
.cc-rating-n { font-size: 0.72rem; color: #aaa; }

/* Sizes */
.cc-card-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.cc-card-size { font-size: 0.68rem; font-weight: 600; padding: 2px 7px; border: 1px solid #e0e0e0; border-radius: 4px; color: #666; }
.cc-size-plus { color: #aaa; border-color: transparent; }

/* Footer */
.cc-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.cc-card-price { font-size: 0.9rem; font-weight: 700; color: #1a1a1a; }
.cc-card-price del { color: #bbb; font-size: 0.75rem; font-weight: 400; margin-right: 3px; }
.cc-card-price ins { text-decoration: none; color: #e74c3c; }
.cc-card-atc { padding: 7px 14px; background: #1a1a2e; color: #fff !important; border-radius: 6px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.5px; text-decoration: none !important; transition: opacity 0.2s, transform 0.15s; white-space: nowrap; }
.cc-card-atc:hover { opacity: 0.85; transform: scale(1.03); }

/* ── Pagination ── */
.cc-pagination { margin-top: 40px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.cc-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid #e0e0e0; font-size: 0.82rem; font-weight: 600; color: #333; text-decoration: none; transition: all 0.2s; }
.cc-pagination .page-numbers:hover { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.cc-pagination .page-numbers.current { background: var(--primary, #c7a008); color: #fff; border-color: var(--primary, #c7a008); }
.cc-pagination .prev, .cc-pagination .next { width: auto; padding: 0 16px; font-size: 0.75rem; letter-spacing: 0.5px; }

/* ── Empty State ── */
.cc-empty { text-align: center; padding: 80px 20px; }
.cc-empty-icon { font-size: 4rem; margin-bottom: 16px; }
.cc-empty h3 { font-family: 'Playfair Display', serif !important; font-size: 1.6rem; color: #1a1a1a; margin-bottom: 10px; }
.cc-empty p { color: #888; margin-bottom: 24px; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
    .cc-shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .cc-shop-body { grid-template-columns: 1fr; }
    .cc-shop-sidebar { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; overflow-y: auto; z-index: 1000; border-radius: 0; transition: left 0.35s cubic-bezier(0.25,0.46,0.45,0.94); border: none; box-shadow: 4px 0 20px rgba(0,0,0,0.15); }
    .cc-shop-sidebar.open { left: 0; }
    .cc-sidebar-x { display: block; }
}
@media (max-width: 600px) {
    .cc-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cc-shop-hero { height: 200px; }
    .cc-card-body { padding: 10px; }
}

/* ══ SIDEBAR FILTER — Shopify Style ══ */

/* Category filter */
.cc-cat-item { margin-bottom: 2px; }
.cc-cat-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; }
.cc-cat-row.active .cc-cat-link { font-weight: 700; color: #1a1a2e; }
.cc-cat-link { flex: 1; font-size: 0.82rem; color: #444; text-decoration: none; transition: color 0.15s; }
.cc-cat-link:hover { color: var(--primary, #c7a008); }
.cc-sub-row { padding-left: 26px; }
.cc-cat-arrow { width: 14px; height: 14px; color: #999; cursor: pointer; transition: transform 0.2s; flex-shrink: 0; }
.cc-sub-cats { display: none; }
.cc-sub-cats.open { display: block; }

/* Checkbox */
.cc-cat-check, .cc-checkbox {
    width: 16px; height: 16px; flex-shrink: 0;
    border: 1.5px solid #ccc; border-radius: 3px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.15s; background: #fff;
}
.cc-cat-check.checked, .cc-checkbox.checked {
    background: #1a1a2e; border-color: #1a1a2e;
}
.cc-cat-check svg, .cc-checkbox svg { width: 10px; height: 10px; stroke: #fff; }

/* Check rows */
.cc-check-list { display: flex; flex-direction: column; gap: 2px; }
.cc-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.cc-check-row { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 5px; cursor: pointer; transition: background 0.12s; }
.cc-check-row:hover { background: #f5f5f5; }
.cc-check-row.active { background: #f0f4ff; }
.cc-check-label { font-size: 0.8rem; color: #444; flex: 1; }
.cc-check-row.active .cc-check-label { color: #1a1a2e; font-weight: 600; }
.cc-check-count { color: #aaa; font-size: 0.72rem; font-weight: 400; }

/* Selected count + Reset link */
.cc-avail-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 0.75rem; color: #888; }
.cc-reset-group { font-size: 0.75rem; color: #1a1a2e; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cc-reset-group:hover { color: var(--primary, #c7a008); }

/* Availability toggles */
.cc-avail-row { margin-bottom: 8px; }

/* Price labels */
.cc-price-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: #aaa; margin-bottom: 6px; }
.cc-price-range-display { display: flex; justify-content: center; gap: 8px; margin-top: 10px; font-size: 0.82rem; font-weight: 700; color: #1a1a2e; }

/* Remove apply button — auto submit replaces it */
.cc-filter-footer { padding: 16px 20px; }
.cc-reset-btn { display: block; text-align: center; padding: 10px; border: 1px solid #e0e0e0; border-radius: 7px; font-size: 0.75rem; font-weight: 600; color: #888; text-decoration: none; transition: all 0.2s; }
.cc-reset-btn:hover { border-color: #e74c3c; color: #e74c3c; background: #fff5f5; }



/* ══ PRICE RANGE SLIDER — Clean Implementation ══ */
.cc-dual-slider {
    position: relative;
    height: 40px;
    margin: 8px 0 4px;
    user-select: none;
}
.cc-slider-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: #e0e0e0;
    border-radius: 4px;
    z-index: 1;
}
.cc-slider-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--primary, #c7a008);
    border-radius: 4px;
    pointer-events: none;
}
/* الـ inputs فوق بعض بالـ z-index */
.cc-slider.cc-slider-min,
.cc-slider.cc-slider-max {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    z-index: 2;
    outline: none;
    cursor: pointer;
}
.cc-slider.cc-slider-min { z-index: 3; }
/* thumb */
.cc-slider.cc-slider-min::-webkit-slider-thumb,
.cc-slider.cc-slider-max::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary, #c7a008);
    border: 3px solid #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.25);
    pointer-events: all;
    cursor: grab;
    transition: transform 0.15s, box-shadow 0.15s;
}
.cc-slider.cc-slider-min::-webkit-slider-thumb:active,
.cc-slider.cc-slider-max::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.15);
    box-shadow: 0 2px 10px rgba(199,160,8,0.5);
}
.cc-slider.cc-slider-min::-moz-range-thumb,
.cc-slider.cc-slider-max::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary, #c7a008);
    border: 3px solid #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.25);
    pointer-events: all;
    cursor: grab;
}
/* إخفاء الـ track الافتراضي في Firefox */
.cc-slider.cc-slider-min::-moz-range-track,
.cc-slider.cc-slider-max::-moz-range-track {
    background: transparent;
    border: none;
}
.cc-price-range-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding: 7px 12px;
    background: #f7f7f7;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* ══ STOCK PROGRESS BAR ══ */
.cc-stock-bar-wrap {
    margin-bottom: 10px;
}
.cc-stock-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.cc-stock-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.cc-stock-sold {
    font-size: 0.68rem;
    color: #aaa;
}
/* Label colors */
.cc-bar-low   { color: #e74c3c; }
.cc-bar-medium{ color: #e67e22; }
.cc-bar-high  { color: #27ae60; }
.cc-bar-empty { color: #bbb; }

/* Track */
.cc-stock-track {
    width: 100%;
    height: 5px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}
/* Fill */
.cc-stock-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cc-stock-fill.cc-bar-low    { background: linear-gradient(90deg, #e74c3c, #ff6b6b); }
.cc-stock-fill.cc-bar-medium { background: linear-gradient(90deg, #e67e22, #f39c12); }
.cc-stock-fill.cc-bar-high   { background: linear-gradient(90deg, #27ae60, #2ecc71); }
.cc-stock-fill.cc-bar-empty  { background: #ddd; width: 100% !important; }

/* ══ QUICK ADD PANEL ══ */
.cc-quick-add {
    border-top: 1px solid #f0f0f0;
    padding: 10px 14px 14px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* مخفي بالـ default ويظهر بالـ hover */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
    border-top: none;
}
.cc-card:hover .cc-quick-add {
    max-height: 220px;
    opacity: 1;
    padding: 10px 14px 14px;
    border-top: 1px solid #f0f0f0;
}

/* Row */
.cc-qa-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cc-qa-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #999;
    min-width: 38px;
    flex-shrink: 0;
}

/* Color buttons */
.cc-qa-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.cc-qa-color-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, border-color 0.15s;
    padding: 0;
    flex-shrink: 0;
}
.cc-qa-color-btn:hover {
    transform: scale(1.15);
}
.cc-qa-color-btn.active {
    border-color: #1a1a2e;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a1a2e;
    transform: scale(1.1);
}

/* Size buttons */
.cc-qa-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.cc-qa-size-btn {
    padding: 3px 9px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #555;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
}
.cc-qa-size-btn:hover {
    border-color: #1a1a2e;
    color: #1a1a2e;
}
.cc-qa-size-btn.active {
    background: #1a1a2e;
    border-color: #1a1a2e;
    color: #fff;
}

/* Submit button */
.cc-qa-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 12px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    margin-top: 2px;
}
.cc-qa-submit:hover:not(:disabled) {
    background: var(--primary, #c7a008);
}
.cc-qa-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
/* Spinner animation */
.cc-spin {
    animation: ccRotate 0.8s linear infinite;
}
@keyframes ccRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Message */
.cc-qa-msg {
    font-size: 0.72rem;
    text-align: center;
    color: #27ae60;
    min-height: 14px;
}

/* موبايل — اعرض الـ panel دايماً */
@media (max-width: 768px) {
    .cc-quick-add {
        max-height: 220px !important;
        opacity: 1 !important;
        padding: 10px 14px 14px !important;
        border-top: 1px solid #f0f0f0 !important;
    }
}

/* ══ CARD BODY — الترتيب الجديد ══ */

/* شيل الـ hover animation من الـ quick add */
.cc-quick-add,
.cc-card:hover .cc-quick-add {
    display: none !important;
}

/* الـ card body layout */
.cc-card-body {
    padding: 12px 14px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

/* اسم المنتج */
.cc-card-name {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-decoration: none !important;
    margin: 0 !important;
}
.cc-card-name:hover { color: var(--primary, #c7a008) !important; }

/* السعر */
.cc-card-price {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    margin: 0 !important;
}
.cc-card-price del { color: #bbb !important; font-weight: 400 !important; font-size: 0.76rem !important; margin-right: 3px; }
.cc-card-price ins { text-decoration: none !important; color: #e74c3c !important; }

/* SIZE row */
.cc-qa-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}
.cc-qa-label {
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    color: #bbb !important;
    min-width: 34px !important;
    flex-shrink: 0 !important;
}
.cc-qa-sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.cc-qa-size-btn {
    padding: 3px 8px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    color: #555 !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
}
.cc-qa-size-btn:hover, .cc-qa-size-btn.active {
    background: #1a1a2e !important;
    border-color: #1a1a2e !important;
    color: #fff !important;
}

/* COLOR row */
.cc-qa-colors { display: flex; flex-wrap: wrap; gap: 5px; }
.cc-qa-color-btn {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
}
.cc-qa-color-btn:hover { transform: scale(1.15) !important; }
.cc-qa-color-btn.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #1a1a2e !important;
    transform: scale(1.1) !important;
}

/* Stock bar - أصغر margin */
.cc-stock-bar-wrap { margin: 0 !important; }

/* ATC wrapper */
.cc-qa-atc-wrap {
    padding: 10px 0 14px !important;
}
.cc-qa-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 10px !important;
    background: #1a1a2e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 7px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}
.cc-qa-submit:hover:not(:disabled) { background: var(--primary, #c7a008) !important; }
.cc-qa-submit:disabled { opacity: 0.4 !important; cursor: not-allowed !important; }
.cc-spin { animation: ccRotate 0.7s linear infinite; }

/* ══ CUSTOM BADGE ══ */
.cc-badge-custom {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}
/* Sale badge — نسبة الخصم */
.cc-badge-sale {
    background: #e74c3c !important;
    color: #fff !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    letter-spacing: 0.5px !important;
}
.cc-card-badges {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    align-items: flex-start !important;
}

/* ══ BADGES POSITIONING ══ */
.cc-badges-left {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    z-index: 3 !important;
}
.cc-badges-right {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    z-index: 3 !important;
}
.cc-badge-custom {
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}



/* ════════════════════════════════════════════════════════════════
   HOMEPAGE RESPONSIVE — MOBILE / TABLET / DESKTOP
   كل الأقسام متجاوبة مع الحفاظ على الوظائف
   ════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────
   TABLET  (max 900px)
───────────────────────────────── */
@media (max-width: 900px) {

    /* Hero */
    .hero-section { min-height: 70vh !important; }
    .hero-title    { font-size: 2.8rem !important; }
    .hero-description { font-size: 1rem !important; }

    /* Products */
    .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }

    /* Bundles */
    .bundle-products-section .product-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* Testimonials */
    .testimonial-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }

    /* Categories */
    .canine-categories-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }

    /* Newsletter */
    .canine-newsletter-inner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 24px !important;
    }
}

/* ─────────────────────────────────
   MOBILE  (max 767px)
───────────────────────────────── */
@media (max-width: 767px) {

    /* ── Announcement Bar ── */
    .announcement-content {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
        gap: 24px !important;
        padding: 0 16px !important;
        justify-content: flex-start !important;
    }
    .announcement-content::-webkit-scrollbar { display: none; }
    .announcement-item {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 0.78rem !important;
    }

    /* ── Countdown Bar ── */
    .countdown-bar {
        font-size: 0.82rem !important;
        padding: 8px 16px !important;
        text-align: center !important;
    }

    /* ── Hero ── */
    .hero-section {
        min-height: 92vh !important;
        height: auto !important;
        padding: 80px 0 50px !important;
        /* منع fixed attachment على iOS — بيكسر الصورة */
        background-attachment: scroll !important;
        /* الصورة تغطي كامل الـ section */
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .hero-content {
        padding: 0 24px !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        z-index: 2 !important;
    }
    .hero-subtitle  { font-size: 0.68rem !important; letter-spacing: 3px !important; }
    .hero-title     { font-size: clamp(1.9rem, 7vw, 2.5rem) !important; line-height: 1.15 !important; margin-bottom: 12px !important; }
    .hero-description { font-size: 0.93rem !important; line-height: 1.65 !important; margin-bottom: 28px !important; }

    /* Hero Buttons — عمود واحد ومتباعدين */
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .hero-buttons .btn,
    .hero-buttons .btn-primary,
    .hero-buttons .video-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 300px !important;
        padding: 15px 20px !important;
        font-size: 0.93rem !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* ── Trust Strip ── */
    .trust-strip { padding: 16px 0 !important; }
    .trust-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 0 16px !important;
    }
    .trust-item {
        font-size: 0.76rem !important;
        text-align: center !important;
        padding: 10px 8px !important;
        justify-content: center !important;
    }

    /* ── Section Headers ── */
    .section-header {
        padding: 0 16px !important;
        margin-bottom: 24px !important;
        text-align: center !important;
    }
    .section-title       { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
    .section-subtitle    { font-size: 0.72rem !important; }
    .section-description { font-size: 0.88rem !important; }

    /* ── Products Grid — عمود واحد على الموبايل ── */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 16px !important;
        max-width: 480px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .product-card { width: 100% !important; }
    .product-image {
        width: 100% !important;
        height: 260px !important;
        object-fit: cover !important;
    }
    .product-info { padding: 14px !important; }
    .product-title { font-size: 1rem !important; }

    /* ── Bundles ── */
    .bundle-products-section {
        padding: 40px 0 !important;
    }
    .bundle-products-section .product-grid {
        grid-template-columns: 1fr !important;
        max-width: 480px !important;
        margin: 0 auto !important;
    }

    /* ── Testimonials ── */
    .testimonials { padding: 40px 0 !important; }
    .testimonial-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 16px !important;
    }
    .testimonial-card { padding: 20px !important; }
    .testimonial-text { font-size: 0.9rem !important; }

    /* ── CTA ── */
    .cta { padding: 40px 20px !important; text-align: center !important; }
    .cta h2 { font-size: clamp(1.6rem, 6vw, 2rem) !important; margin-bottom: 20px !important; }
    .cta .btn { width: 100% !important; max-width: 280px !important; }

    /* ── Categories ── */
    .canine-categories-section { padding: 40px 0 !important; }
    .canine-categories-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 0 16px !important;
    }
    .canine-category-card { border-radius: 10px !important; }
    .canine-category-img  { height: 120px !important; }
    .canine-category-info h3 { font-size: 0.85rem !important; }

    /* ── Newsletter ── */
    .canine-newsletter-section { padding: 40px 16px !important; }
    .canine-newsletter-inner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
        padding: 30px 20px !important;
    }
    .canine-newsletter-text h2 { font-size: clamp(1.4rem, 5vw, 1.8rem) !important; }
    .canine-nl-wrap {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .canine-nl-input,
    .canine-nl-btn {
        width: 100% !important;
        font-size: 16px !important; /* منع iOS zoom */
        border-radius: 8px !important;
    }

    /* ── Instagram ── */
    .canine-instagram-section { padding: 40px 0 !important; }

    /* ── Recently Viewed ── */
    .canine-recent-section { padding: 40px 0 !important; }
    .canine-recent-section .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 16px !important;
        max-width: 100% !important;
    }

    /* ── General Spacing ── */
    section { padding: 40px 0 !important; }
    .products { padding: 40px 0 !important; }

    /* ── Bundle Items List ── */
    .bundle-items li { font-size: 0.8rem !important; }
    .bundle-items li img { width: 32px !important; height: 32px !important; }

    /* ── Buttons ── */
    .btn-small {
        width: 100% !important;
        text-align: center !important;
        padding: 11px 16px !important;
        font-size: 0.85rem !important;
    }
}

/* ─────────────────────────────────
   SMALL MOBILE  (max 400px)
───────────────────────────────── */
@media (max-width: 400px) {
    .hero-title { font-size: 1.8rem !important; }
    .product-image { height: 220px !important; }
    .canine-categories-grid { grid-template-columns: 1fr !important; }
    .trust-grid { grid-template-columns: 1fr !important; }
    .canine-recent-section .product-grid { grid-template-columns: 1fr !important; }
}



/* ════════════════════════════════════════════════════════
   PRODUCT TABS — ACCORDION ON MOBILE & TABLET
   ════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

    /* إخفاء الـ Tab Buttons الأفقية */
    .cc-tabs-nav { display: none !important; }

    /* كل Tab Content يظهر دايماً */
    .cc-tab-content {
        display: block !important;
        padding: 0 !important;
        border-bottom: 1px solid #eee;
    }

    /* Accordion Header */
    .cc-acc-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        color: #1a1a1a;
        background: #fff;
        cursor: pointer;
        border-top: 2px solid #eee;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.2s;
    }
    .cc-acc-header:hover { background: #fafafa; }
    .cc-acc-header.is-open { color: var(--primary, #c7a008); border-top-color: var(--primary, #c7a008); }

    /* السهم */
    .cc-acc-arrow {
        flex-shrink: 0;
        transition: transform 0.3s ease;
        color: #aaa;
    }
    .cc-acc-header.is-open .cc-acc-arrow {
        transform: rotate(180deg);
        color: var(--primary, #c7a008);
    }

    /* Accordion Body */
    .cc-acc-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    .cc-acc-body.is-open { max-height: 5000px; }

    /* Padding داخل المحتوى */
    .cc-acc-body .cc-container { padding: 20px !important; }

    /* Care Label */
    .cc-care-grid { flex-direction: column !important; gap: 12px !important; }
    .cc-care-img  { width: 100% !important; max-width: 100% !important; }

    /* Reviews form */
    .woocommerce-Reviews .comment-form p {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
    .woocommerce-Reviews .comment-form input,
    .woocommerce-Reviews .comment-form textarea { font-size: 16px !important; }
}
