/* =========================================================
   SHEEYAA MODERN PREMIUM FASHION - ULTRA CLEAN PREMIUM CSS
   ========================================================= */
:root {
    --ink: #171717;
    --paper: #f8f7f4;
    --white: #ffffff;
    --muted: #77736d;
    --border: rgba(23, 23, 23, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

/* =========================================================
   UPDATED NAVIGATION HEADER (Elegant modern layout shadow)
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.015);
}

.header-container {
    width: min(calc(100% - 64px), 1200px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.02em;
    transition: opacity 0.25s ease;
}

.main-nav a:hover {
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions .icon-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    padding: 6px 12px;
    opacity: 0.8;
    transition: opacity 0.25s ease;
}

.header-actions .icon-btn:hover {
    opacity: 0.5;
}

.cart-trigger {
    background: var(--ink) !important;
    color: var(--white) !important;
    border-radius: 4px;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

/* =========================================================
   RESTRUCTURED HERO PRESENTATION WITH PREMIUM VISUAL BANNER
   ========================================================= */
.hero-viewport {
    padding: 160px 0;
    width: 100%;
    margin: 0 auto;
    /* Uses a curated luxury interior/apparel aesthetic placeholder image */
    background: linear-gradient(to right, rgba(248, 247, 244, 0.92) 40%, rgba(248, 247, 244, 0.4) 100%), 
                url('https://unsplash.com');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    width: min(calc(100% - 64px), 1200px);
    margin: 0 auto;
    max-width: 650px;
    text-align: left;
}

.hero-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    display: block;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 24px 0;
    line-height: 1.1;
    color: var(--ink);
}

.hero-content p {
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 48px0;
    font-weight: 450;
}

/* Premium Button Upgrade Layout */
.button {
    background: var(--ink);
    color: var(--white);
    border: 1px solid var(--ink);
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    background: transparent;
    color: var(--ink);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.button:active {
    transform: scale(0.98);
}

/* =========================================================
   SHOWROOM & PRODUCT DISPLAY ARCHITECTURE (Aliniere Fixa)
   ========================================================= */
.main-showroom {
    width: min(calc(100% - 48px), 1200px);
    margin: 60px auto 100px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 36px;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 600;
}

.products-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

/* Fixes card height and creates a strict layout flow */
.product-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.product-card-image-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    background: #f0f0f0;
    overflow: hidden;
    flex-shrink: 0;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dynamic container that absorbs empty space to push buttons down */
.product-card-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1; 
}

.product-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
    color: var(--ink);
}

/* Price block strict bottom placement */
.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto; 
    padding-top: 16px;
    margin-bottom: 16px;
    border-top: 1px dashed var(--border);
}

.product-card-price {
    font-size: 16px;
    font-weight: 700;
}

.product-colors-dots-wrap {
    display: flex;
    align-items: center;
}

.product-color-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    margin: 0 3px;
}

/* Action buttons full-width anchor tracking */
.product-card-actions {
    width: 100%;
    margin-top: 0;
}

.product-card-actions .button {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================================
   FOOTER SETUP (Coloane curate in subsol)
   ========================================================= */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    width: 100%;
    margin-top: 120px;
}

.footer-grid {
    width: min(calc(100% - 48px), 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-brand-col h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand-col p {
    color: var(--muted);
    font-size: 14px;
    max-width: 320px;
}

.footer-links-col h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links-col a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.footer-links-col a:hover {
    opacity: 1;
}

.footer-bottom {
    width: min(calc(100% - 48px), 1200px);
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
}

/* =========================================================
   SECURE GATEWAY MODAL LOG IN DIALOG
   ========================================================= */
#loginModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#loginModal.open {
    display: flex !important;
}

.modal-box {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-head h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--muted);
}

.modal-login-form .form-group {
    margin-bottom: 20px;
}

.modal-login-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink);
}

.modal-login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    background: var(--paper);
    outline: none;
}

.modal-login-form input:focus {
    border-color: var(--ink);
}

.modal-login-form .button {
    width: 100%;
    margin-top: 12px;
}

/* General Utilities */
.hidden { display: none !important; }
.no-scroll { overflow: hidden; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
