/* CSS Variables */
:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --primary-grey: #1a1a1a;
    --light-grey: #f5f5f5;
    --medium-grey: #999999;
    --accent-color: #000000;
    --font-primary: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--primary-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-white);
    border-bottom: 1px solid var(--light-grey);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo .logo-image {
    height: 40px;
    width: auto;
    margin: 0;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    color: var(--primary-black);
    transition: var(--transition);
}

.cart-btn:hover {
    color: var(--accent-color);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: var(--primary-white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-black);
    transition: var(--transition);
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Page System */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-black);
    color: var(--primary-white);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background: var(--accent-color);
    color: var(--primary-white);
    transform: translateY(-2px);
}

.cta-btn {
    padding: 1.2rem 3rem;
    background: var(--accent-color);
    color: var(--primary-white);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-btn:hover {
    background: var(--primary-white);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero dual CTA — jump straight to Men or Women */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta-group .cta-btn {
    flex: 1 1 0;
    min-width: 150px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.hero-cta-group .cta-btn i {
    font-size: 0.95em;
}

/* MEN — solid black (keeps its fill on hover instead of inverting) */
.hero-cta-men:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

/* WOMEN — outlined, fills on hover */
.hero-cta-women {
    background: var(--primary-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
    box-shadow: none;
}

.hero-cta-women:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

/* Clear keyboard focus for accessibility */
.hero-cta-group .cta-btn:focus-visible {
    outline: 3px solid var(--primary-black);
    outline-offset: 3px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: var(--primary-black);
}

.page-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: var(--primary-black);
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
    text-align: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--medium-grey);
    margin-bottom: 1rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--medium-grey);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-grey);
    border-radius: 50%;
    color: var(--primary-white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-white);
}

.newsletter {
    display: flex;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    background: var(--primary-grey);
    color: var(--primary-white);
}

.newsletter input::placeholder {
    color: var(--medium-grey);
}

.newsletter button {
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: var(--primary-white);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter button:hover {
    background: var(--primary-white);
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-grey);
    color: var(--medium-grey);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-title,
    .page-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter {
        flex-direction: column;
    }
    
    .newsletter input,
    .newsletter button {
        border-radius: var(--border-radius);
    }
    
    .newsletter button {
        margin-top: 0.5rem;
    }
}

/* Checkout Page Styles */
.checkout-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.checkout-header {
    text-align: center;
    margin-bottom: 3rem;
}

.checkout-logo {
    margin-top: 1rem;
}

.checkout-logo-img {
    height: 60px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* ===== One-tap order sharing (checkout) ===== */
.checkout-lead {
    text-align: center;
    font-size: 1.05rem;
    color: #333;
    max-width: 520px;
    margin: 0 auto 0.5rem;
    line-height: 1.6;
}
.checkout-lead-arabic {
    text-align: center;
    font-size: 1.05rem;
    color: var(--medium-grey);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.send-order-block { margin: 0 auto 2.5rem; max-width: 560px; }

.send-order-buttons {
    display: flex;
    gap: 1rem;
}

.send-btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 1.15rem 1rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    color: #fff;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.send-btn i { font-size: 1.7rem; margin-bottom: 0.25rem; }
.send-btn-main { font-size: 1rem; font-weight: 800; letter-spacing: 0.02em; }
.send-btn-sub { font-size: 0.78rem; opacity: 0.85; font-weight: 600; }
.send-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22); }
.send-btn:active { transform: translateY(-1px); }

.send-instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}
.send-tiktok {
    background: #000;
    position: relative;
}
/* subtle TikTok cyan/red edge accent */
.send-tiktok i {
    text-shadow: 1.5px 0 0 rgba(37, 244, 238, 0.9), -1.5px 0 0 rgba(254, 44, 85, 0.9);
}

.share-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border: 1.5px solid var(--primary-black);
    border-radius: 14px;
    background: var(--primary-white);
    color: var(--primary-black);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.share-link-btn:hover { background: var(--primary-black); color: var(--primary-white); transform: translateY(-2px); }
.share-link-btn i { font-size: 1rem; }

.send-order-hint {
    text-align: center;
    font-size: 0.9rem;
    color: var(--medium-grey);
    margin: 1rem auto 0;
    line-height: 1.5;
}
.send-order-hint i { color: var(--primary-black); margin-right: 0.3rem; }
.send-order-hint strong { color: var(--primary-black); }

/* Order summary card */
.order-summary-card {
    max-width: 560px;
    margin: 0 auto 2.5rem;
    border: 1.5px solid #ececec;
    border-radius: 16px;
    background: var(--primary-white);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.order-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #f0f0f0;
}
.order-summary-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.copy-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border: 1.5px solid var(--primary-black);
    border-radius: 100px;
    background: var(--primary-white);
    color: var(--primary-black);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.copy-order-btn:hover { background: var(--primary-black); color: var(--primary-white); }
.copy-order-btn.copied { background: #1a7f37; border-color: #1a7f37; color: #fff; }

.order-list { padding: 0.5rem 1.15rem; }
.order-line {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f4f4f4;
}
.order-line:last-child { border-bottom: none; }
.order-line-img {
    width: 48px;
    height: 60px;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 8px;
    background: #f2f2f2;
    flex: 0 0 auto;
}
.order-line-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.order-line-name {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.order-line-meta { font-size: 0.8rem; color: var(--medium-grey); }
.order-line-price { font-weight: 800; font-size: 0.9rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-empty { text-align: center; color: var(--medium-grey); padding: 1.5rem 0; }

.order-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem;
    border-top: 1.5px solid #ececec;
    background: #fafafa;
}
.order-summary-total span { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; }
.order-summary-total strong { font-size: 1.25rem; font-weight: 900; font-variant-numeric: tabular-nums; }

.checkout-message {
    text-align: center;
    background: var(--light-grey);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.message-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.checkout-message h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.checkout-description {
    font-size: 1.1rem;
    color: var(--medium-grey);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.contact-options {
    margin-bottom: 3rem;
}

.contact-options h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-contact-card {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: var(--primary-white);
    border: 2px solid var(--light-grey);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.social-contact-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.social-contact-card.instagram:hover {
    border-color: #E4405F;
}

.social-contact-card.tiktok:hover {
    border-color: #000000;
}

.social-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-grey);
}

.social-contact-card.instagram .social-icon {
    color: #E4405F;
}

.social-contact-card.tiktok .social-icon {
    color: #000000;
}

.social-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.social-info p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--medium-grey);
    font-style: italic;
}

.checkout-benefits {
    margin-bottom: 3rem;
}

.checkout-benefits h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-grey);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--medium-grey);
    margin-bottom: 0;
}

.checkout-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.back-to-cart-btn,
.continue-shopping-btn {
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-cart-btn {
    background: var(--light-grey);
    color: var(--primary-black);
    border: 2px solid var(--light-grey);
}

.back-to-cart-btn:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    border-color: var(--primary-black);
}

.continue-shopping-btn {
    background: var(--accent-color);
    color: var(--primary-white);
    border: 2px solid var(--accent-color);
}

.continue-shopping-btn:hover {
    background: var(--primary-white);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Responsive Design for Checkout */
@media (max-width: 768px) {
    .checkout-content {
        padding: 1rem 0;
    }
    
    .checkout-message {
        padding: 2rem 1rem;
    }
    
    .social-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .social-contact-card {
        padding: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .checkout-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .back-to-cart-btn,
    .continue-shopping-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
