/* ==========================================================================
   2mfashion - Stylesheet
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --primary-color: #0f172a;       /* Deep slate/black */
    --accent-color: #10b981;        /* Emerald green */
    --accent-light: #d1fae5;
    --text-color: #334155;          /* Charcoal text */
    --text-muted: #64748b;          /* Grey text */
    --bg-light: #f8fafc;            /* Light background */
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: #e2e8f0;
    --font-family: 'Cairo', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
}

/* General Reset & Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-color);
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Announcements Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent-color);
    z-index: 100;
    position: relative;
}

.announcement-bar p {
    animation: pulseAnnouncement 3s infinite;
}

/* Header & Navbar */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99;
    transition: all 0.3s ease;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent-color);
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.desktop-nav a:hover, 
.desktop-nav a.active {
    color: var(--primary-color);
    background-color: #f1f5f9;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #1e293b;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.15rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-pulse {
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s infinite;
}

/* Product Section Layout */
.product-hero {
    padding: 40px 0 60px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 95px;
}

.main-image-container {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/4;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-image-container:hover img {
    transform: scale(1.05);
}

.badge-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ef4444;
    color: #ffffff;
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 30px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    animation: pulseBadge 2s infinite;
}

.gallery-zoom-hint {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 5;
    opacity: 0.8;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.thumb-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.thumb-item img {
    border-radius: 8px;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 4px;
}

.thumb-item span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.thumb-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.thumb-item.active {
    border-color: var(--primary-color);
    background-color: #f8fafc;
}

.thumb-item.active span {
    color: var(--primary-color);
}

/* Product Info Panel */
.product-info-panel {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-premium);
}

.brand-tag {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-color);
    background-color: var(--accent-light);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.product-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Pricing Layout */
.pricing-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f1f5f9;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.price-box {
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-box .price-val {
    font-size: 2.2rem;
    font-weight: 800;
}

.price-box .currency {
    font-size: 1.1rem;
    font-weight: 700;
}

.old-price-box {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.1rem;
    font-weight: 600;
}

.save-tag {
    background-color: #fef2f2;
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #fee2e2;
    margin-right: auto;
}

/* Urgency Indicator */
.urgency-meter {
    margin-bottom: 25px;
}

.urgency-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stock-warn i {
    margin-left: 3px;
}

.progress-bar {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #ef4444;
    border-radius: 10px;
    animation: progressPulse 2.5s infinite alternate;
}

/* Quick Highlights */
.quick-highlights {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.quick-highlights li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-highlights li i {
    font-size: 1.1rem;
}

/* Configurator Controls */
.configurator-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Colors Configuration grid */
.color-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.color-btn {
    background-color: #ffffff;
    border: 2px solid var(--border-color);
    padding: 12px 10px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.bg-white { background-color: #ffffff; }
.bg-olive { background-color: #556b2f; }
.bg-maroon { background-color: #800000; }
.border { border: 1px solid #cbd5e1; }

.color-btn:hover {
    border-color: var(--text-muted);
}

.color-btn.active {
    border-color: var(--primary-color);
    background-color: #f8fafc;
}

/* Fit Selection grid */
.fit-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.fit-btn {
    background-color: #ffffff;
    border: 2px solid var(--border-color);
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    text-align: right;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fit-btn i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--text-muted);
}

.fit-btn small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.fit-btn:hover {
    border-color: var(--text-muted);
}

.fit-btn.active {
    border-color: var(--primary-color);
    background-color: #f8fafc;
}

.fit-btn.active i {
    color: var(--primary-color);
}

/* Sizing UI & Calculator */
.size-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-size-calculator {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-size-calculator:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

/* Size Calculator Slide Down panel */
.calculator-panel {
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 18px;
    display: none;
    animation: slideDown 0.3s ease-out forwards;
    border: 1px dashed var(--text-muted);
    margin-bottom: 8px;
}

.calculator-text {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.weight-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.weight-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    height: 6px;
    background: #cbd5e1;
    border-radius: 5px;
    outline: none;
}

.weight-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.1s ease;
}

.weight-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.weight-display {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 75px;
    text-align: left;
}

.calc-result {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--border-color);
}

.calc-result strong {
    font-size: 1.1rem;
    color: var(--accent-color);
}

/* Sizing Buttons Grid */
.size-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.size-btn {
    background-color: #ffffff;
    border: 2px solid var(--border-color);
    padding: 12px 6px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.size-btn small {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
}

.size-btn:hover {
    border-color: var(--text-muted);
}

.size-btn.active {
    border-color: var(--primary-color);
    background-color: #f8fafc;
}

.size-btn.active small {
    color: var(--primary-color);
}

/* CTA and Trust indicators */
.cta-action-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trust-icons-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.trust-icons-row span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-icons-row i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Features Block */
.features-block {
    padding: 80px 0;
    background-color: #f1f5f9;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
}

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

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Sizing Guide Table */
.sizing-guide-section {
    padding: 40px 0;
}

.sizing-card {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.sizing-card-content {
    padding: 35px;
}

.sizing-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.table-responsive {
    overflow-x: auto;
}

.sizing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.sizing-table th {
    background-color: #f1f5f9;
    padding: 12px;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
}

.sizing-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sizing-table tr:hover td {
    background-color: #f8fafc;
}

.sizing-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #eff6ff;
    color: #1d4ed8;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #dbeafe;
}

/* Reviews Panel */
.reviews-block {
    padding: 80px 0;
}

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

.review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.reviewer-info h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-color);
}

.reviewer-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.reviewer-status i {
    margin-left: 2px;
}

.stars {
    color: #fbbf24;
    font-size: 0.85rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Checkout Section Layout */
.checkout-section {
    padding: 60px 0 100px 0;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.checkout-form-card, 
.checkout-summary-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
}

.form-header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.form-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Form Styling Controls */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 768px) {
    .form-group-row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.required {
    color: #ef4444;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 45px 14px 15px;
    background-color: #f8fafc;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    outline: none;
    transition: all 0.3s ease;
}

.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.input-wrapper:not(:has(select))::after {
    display: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

/* Quantity Selection Panel */
.qty-selector-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f1f5f9;
    padding: 12px 18px;
    border-radius: 12px;
    margin-top: 10px;
}

.qty-selector-container label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
}

.qty-btn-group {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: transparent;
    border: none;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: background-color 0.2s;
}

.qty-btn:hover {
    background-color: #f1f5f9;
}

#qty-input {
    width: 45px;
    height: 38px;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    outline: none;
}

/* Checkout Invoice Summary Panel */
.checkout-summary-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.selected-product-summary {
    display: flex;
    gap: 15px;
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.summary-thumb {
    width: 70px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.summary-details h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.summary-details p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.invoice-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.invoice-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.invoice-line strong {
    color: var(--primary-color);
}

.invoice-line.total-line {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    border-top: 2px dashed var(--border-color);
}

.invoice-line.total-line .total-price {
    color: var(--accent-color);
    font-size: 1.4rem;
}

/* Guarantee Info */
.guarantee-box {
    display: flex;
    gap: 15px;
    background-color: #f0fdf4;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #dcfce7;
}

.guarantee-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.guarantee-content h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #166534;
    margin-bottom: 4px;
}

.guarantee-content p {
    font-size: 0.8rem;
    color: #14532d;
    font-weight: 600;
}

/* Footer Section */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 120px 0;
    border-top: 3px solid var(--accent-color);
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
}

.footer-logo h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-copy {
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    width: 100%;
    max-width: 600px;
}

/* Mobile Sticky Bar */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    padding: 15px 20px;
    z-index: 98;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.05);
    display: none;
}

.mobile-sticky-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-sticky-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mobile-sticky-price .price-val {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-color);
}

.mobile-sticky-price .sticky-desc {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.sticky-order-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
    animation: buttonPulse 2s infinite;
}

/* Success Modal / Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.popup-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-card {
    transform: scale(1);
}

.success-icon-animation {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #d1fae5;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 20px auto;
    animation: scaleCheckmark 0.5s ease-out forwards;
}

.popup-card h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.popup-lead {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.order-receipt {
    background-color: #f8fafc;
    border-radius: 16px;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-receipt p {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
}

.order-receipt strong {
    color: var(--primary-color);
}

.popup-footer-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.popup-card .btn {
    width: 100%;
}

/* Animations declarations */
@keyframes pulseAnnouncement {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes buttonPulse {
    0% { box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4); transform: translateY(-1px); }
    100% { box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2); }
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes progressPulse {
    from { opacity: 0.85; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleCheckmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.animate-bounce-y {
    animation: bounceY 2s infinite;
}

@keyframes bounceY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .checkout-summary-card {
        order: -1;
    }
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    .product-title {
        font-size: 1.7rem;
    }
    
    .features-block, .reviews-block {
        display: none !important;
    }
    
    .checkout-section {
        padding: 40px 0 80px 0;
    }
}
