/* ═══════════════════════════════════════════════════════════
   ROYAL BAGS DZ — MAIN STYLESHEET
   ═══════════════════════════════════════════════════════════ */

/* ───────────── ROOT VARIABLES ───────────── */
:root {
    --color-dark: #1a0f08;
    --color-brown: #2c1810;
    --color-brown-light: #4a2f20;
    --color-gold: #c9a961;
    --color-gold-light: #d4a574;
    --color-gold-dark: #a88941;
    --color-cream: #faf7f2;
    --color-cream-dark: #f5f0ea;
    --color-text: #3a2a1e;
    --color-text-muted: #8b7a68;
    --color-white: #ffffff;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.08);
    --shadow-md: 0 8px 24px rgba(44, 24, 16, 0.12);
    --shadow-lg: 0 16px 48px rgba(44, 24, 16, 0.18);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ───────────── GLOBAL RESET ───────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* ✨ تمرير ناعم للروابط #featured */
}

body {
    font-family: 'Segoe UI', 'Tahoma', sans-serif;
    background-color: var(--color-cream);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    color: var(--color-brown);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ───────────── UTILITIES ───────────── */
.text-gold {
    color: var(--color-gold);
}

.hero-mobile-bg {
    display: none;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn-gold,
.btn-outline-light-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-dark);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

    .btn-gold:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(201, 169, 97, 0.5);
        color: var(--color-dark);
    }

.btn-outline-light-custom {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

    .btn-outline-light-custom:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: var(--color-gold);
        color: var(--color-gold);
        transform: translateY(-3px);
    }

    .btn-gold.btn-lg,
    .btn-outline-light-custom.btn-lg {
        padding: 16px 42px;
        font-size: 16px;
    }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-brown) 0%, var(--color-brown-light) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(201, 169, 97, 0.15), transparent 50%), radial-gradient(circle at 20% 80%, rgba(201, 169, 97, 0.08), transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 169, 97, 0.15);
    color: var(--color-gold);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border: 1px solid rgba(201, 169, 97, 0.3);
}

    .hero-badge i {
        font-size: 0.85rem;
    }

/* Title */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.8;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    font-family: 'Georgia', serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

/* ─── Hero Visual ─── */
.hero-visual {
    display: flex;
    margin: 0;
    padding: 0;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
}

.hero-icon {
    position: relative;
    z-index: 2;
    display: flex;
    animation: float 4s ease-in-out infinite;
}

/* كود عرض الصورة الأساسي */
.hero-img-blend {
    max-width: 100%;
    height: 100%;
    display: block;
}

.hero-icon:hover .hero-img-blend {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 35px 60px rgba(201, 169, 97, 0.6));
}

/* ─── Floating Shapes ─── */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.15), transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -20px;
    inset-inline-start: -20px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -10px;
    inset-inline-end: -10px;
    animation-delay: -3s;
}

.add-to-cart-form {
    padding: 0 1rem 1rem;
}

.btn-add-to-cart {
    width: 100%;
    padding: 10px 14px;
    background: var(--accent-gold, #c9a961);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .btn-add-to-cart:hover {
        background: var(--primary-light, #4a2f20);
    }

    .btn-add-to-cart:disabled {
        background: #ccc;
        cursor: not-allowed;
    }
/* ═══════════════════════════════════════════════════════════
   FEATURES BAR
   ═══════════════════════════════════════════════════════════ */
.features-bar {
    background: var(--color-white);
    padding: 40px 0;
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px;
    transition: var(--transition);
}

    .feature-item:hover i {
        transform: scale(1.15) rotate(-5deg);
    }

    .feature-item i {
        font-size: 28px;
        color: var(--color-gold);
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    .feature-item h6 {
        font-size: 0.95rem;
        margin: 0;
        color: var(--color-brown);
        font-weight: 600;
    }

    .feature-item p {
        font-size: 0.8rem;
        color: var(--color-text-muted);
        margin: 0;
    }

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--color-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--color-brown);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.2;
}

    .section-title.text-start {
        text-align: start;
    }

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 0 auto;
    border-radius: 3px;
}

/* ═══════════════════════════════════════════════════════════
   FEATURED PRODUCTS
   ═══════════════════════════════════════════════════════════ */
.featured-section {
    padding: 100px 0;
    background: var(--color-cream);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.product-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    color: inherit;
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: var(--color-cream-dark);
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream-dark);
}

    .product-placeholder i {
        font-size: 4rem;
        color: var(--color-text-muted);
        opacity: 0.4;
    }

/* Badge */
.discount-badge {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
    z-index: 2;
}

/* Overlay */
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 15, 8, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: var(--color-white);
    color: var(--color-brown);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    transform: translateY(10px);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-card:hover .quick-view {
    transform: translateY(0);
}

/* Info */
.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.15rem;
    color: var(--color-brown);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: var(--color-gold-dark);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--color-cream-dark);
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-current {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    font-family: 'Georgia', serif;
    line-height: 1;
}

.price-old {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

    .stock-badge.in-stock {
        background: rgba(40, 167, 69, 0.12);
        color: var(--color-success);
    }

    .stock-badge.out-stock {
        background: rgba(220, 53, 69, 0.12);
        color: var(--color-danger);
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-muted);
}

    .empty-state i {
        font-size: 4rem;
        color: var(--color-gold);
        opacity: 0.5;
        margin-bottom: 20px;
    }

    .empty-state h4 {
        color: var(--color-brown);
        margin-bottom: 8px;
    }

/* ═══════════════════════════════════════════════════════════
   VALUES SECTION
   ═══════════════════════════════════════════════════════════ */
.values-section {
    padding: 100px 0;
    background: var(--color-white);
}

.values-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.values-circle {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, var(--color-cream), var(--color-cream-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    animation: pulse 4s ease-in-out infinite;
}

    .values-circle i {
        font-size: 120px;
        color: var(--color-gold);
    }

.values-card {
    position: absolute;
    background: var(--color-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 5s ease-in-out infinite;
}

    .values-card i {
        font-size: 24px;
        color: var(--color-gold);
    }

    .values-card span {
        font-weight: 600;
        color: var(--color-brown);
        font-size: 0.9rem;
    }

.values-card-1 {
    top: 40px;
    inset-inline-end: 20px;
    animation-delay: -2s;
}

.values-card-2 {
    bottom: 40px;
    inset-inline-start: 20px;
    animation-delay: -4s;
}

.values-text {
    color: var(--color-text);
    margin: 24px 0 32px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: var(--color-cream);
}

    .value-item:hover {
        background: var(--color-cream-dark);
        transform: translateX(-8px);
    }

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .value-icon i {
        font-size: 20px;
        color: var(--color-dark);
    }

.value-item h6 {
    color: var(--color-brown);
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 1rem;
}

.value-item p {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 0.88rem;
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-brown) 0%, var(--color-brown-light) 100%);
    position: relative;
    overflow: hidden;
}

    .cta-section::before,
    .cta-section::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .cta-section::before {
        top: -50%;
        inset-inline-end: -10%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(201, 169, 97, 0.15), transparent 70%);
    }

    .cta-section::after {
        bottom: -50%;
        inset-inline-start: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(201, 169, 97, 0.1), transparent 70%);
    }

    .cta-section .container {
        position: relative;
        z-index: 2;
    }

.cta-title {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    font-weight: 400;
}

.cta-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {

    /* ─── Hero Mobile Background ─── */
    .hero-mobile-bg {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        overflow: hidden;
    }

        .hero-mobile-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .hero-mobile-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient( 
                180deg,
            rgba(249, 245, 241, 0.85) 0%, 
            rgba(249, 245, 241, 0.75) 50%, 
            rgba(249, 245, 241, 0.9) 100% );
            z-index: 1;
        }

    .hero-section {
        min-height: 100vh;
        padding: 60px 0;
        text-align: center;
    }

    .hero-subtitle {
        margin-inline: auto;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none !important;
    }

    .section-title.text-start {
        text-align: center;
    }

    .values-section {
        text-align: center;
    }

    .values-visual {
        height: 350px;
        margin-bottom: 40px;
    }

    .values-circle {
        width: 240px;
        height: 240px;
    }

        .values-circle i {
            font-size: 80px;
        }

    .value-item:hover {
        transform: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 575px) {

    .features-bar {
        padding: 30px 0;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

        .feature-item i {
            font-size: 24px;
        }

    .featured-section,
    .values-section,
    .cta-section {
        padding: 60px 0;
    }

    .hero-section {
        min-height: 100vh;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

        .hero-buttons .btn-gold,
        .hero-buttons .btn-outline-light-custom {
            width: 100%;
        }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .product-image {
        height: 250px;
    }
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════ */

/* احترام تفضيلات المستخدم للحركة */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus state واضح */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════════════ */
.cart-page {
    padding: 60px 0 100px;
}

.cart-header {
    margin-bottom: 48px;
}

.cart-title {
    font-family: 'Georgia', serif;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: var(--color-brown);
    margin: 0 0 10px;
}

.cart-title-rule {
    width: 48px;
    height: 3px;
    background: var(--color-gold);
    border-radius: var(--radius-full);
    margin: 0 0 14px;
}

.cart-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Layout: items + sticky summary */
.cart-layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

/* Items panel */
.cart-items {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 8px 32px;
}

.cart-item {
    display: grid;
    grid-template-columns: 96px 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--color-cream-dark);
}

    .cart-item:last-child {
        border-bottom: none;
    }

.cart-item__image {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

    .cart-item__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cart-item__image i {
        font-size: 1.5rem;
        color: var(--color-text-muted);
        opacity: 0.5;
    }

.cart-item__info h3 {
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-brown);
    margin: 0 0 6px;
    line-height: 1.35;
}

.cart-item__unit-price {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Quantity stepper — thin outlined pill, no boxed icon buttons */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-gold-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.qty-stepper__btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-brown);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

    .qty-stepper__btn:hover {
        background: var(--color-cream-dark);
        color: var(--color-gold-dark);
    }

    .qty-stepper__btn:focus-visible {
        outline: 2px solid var(--color-gold);
        outline-offset: 2px;
    }

.qty-stepper__value {
    min-width: 34px;
    text-align: center;
    font-weight: 600;
    color: var(--color-brown);
    font-size: 0.95rem;
    border-inline: 1px solid var(--color-cream-dark);
    padding: 0 4px;
    line-height: 34px;
}

/* Subtotal + remove column */
.cart-item__aside {
    text-align: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.cart-item__subtotal {
    font-family: 'Georgia', serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-gold-dark);
}

.cart-item__remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    color: var(--color-text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
}

    .cart-item__remove:hover {
        color: var(--color-danger);
    }

/* Summary card */
.cart-summary {
    position: sticky;
    top: 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 32px 30px;
    position: relative;
    overflow: hidden;
}

    .cart-summary::before {
        content: "";
        position: absolute;
        inset-inline: 0;
        top: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    }

.cart-summary__title {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-brown);
    margin: 6px 0 24px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    font-size: 0.92rem;
}

    .summary-line span:first-child {
        color: var(--color-text-muted);
    }

    .summary-line span:last-child {
        color: var(--color-brown);
        font-weight: 600;
    }

.summary-note {
    display: flex;
    gap: 10px;
    background: var(--color-cream-dark);
    border-inline-start: 3px solid var(--color-gold-light);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-text);
    margin: 8px 0 22px;
    line-height: 1.55;
}

    .summary-note i {
        color: var(--color-gold-dark);
        margin-top: 2px;
    }

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 3px double var(--color-gold-light);
    padding-top: 16px;
    margin-bottom: 26px;
}

    .summary-total span:first-child {
        font-family: 'Georgia', serif;
        color: var(--color-brown);
        font-size: 1.05rem;
    }

    .summary-total span:last-child {
        font-family: 'Georgia', serif;
        color: var(--color-gold-dark);
        font-size: 1.4rem;
        font-weight: 600;
    }

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gold-dark);
    border: 2px solid var(--color-gold-light);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

    .btn-outline-gold:hover {
        background: var(--color-cream-dark);
        border-color: var(--color-gold);
        color: var(--color-brown);
    }

.cart-cta {
    width: 100%;
    margin-bottom: 12px;
}

.cart-policy-note {
    display: flex;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 20px 0 0;
}

    .cart-policy-note i {
        color: var(--color-gold);
        margin-top: 2px;
        flex-shrink: 0;
    }

/* Mobile: stack each cart row */
@media (max-width: 576px) {
    .cart-items {
        padding: 4px 18px;
    }

    .cart-item {
        grid-template-columns: 72px 1fr;
        grid-template-areas:
            "image info"
            "stepper aside";
        row-gap: 16px;
        padding: 22px 0;
    }

    .cart-item__image {
        grid-area: image;
        width: 72px;
        height: 72px;
    }

    .cart-item__info {
        grid-area: info;
    }

    .qty-stepper {
        grid-area: stepper;
        justify-self: start;
    }

    .cart-item__aside {
        grid-area: aside;
        align-items: flex-end;
    }

    .cart-summary {
        position: static;
    }
}

/* ═══════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════ */
@media print {
    .hero-section,
    .cta-section,
    .features-bar,
    .floating-shape {
        display: none !important;
    }

    body {
        background: white;
    }
}
.color-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fff9e6, #faf7f2);
    border: 1px solid #e8d5a8;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #2c1810;
    font-family: 'Segoe UI', sans-serif;
}