/* 🏷️ GLOBAL MULTI-TENANT APPAREL LAYOUT ENGINE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body {
    background-color: var(--outer-backdrop-color);
    color: #f4f4f5;
    min-height: 100vh;
}

/* 🏙️ EXPANDED LUXURY CANVAS WRAPPER */
.app-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--inner-canvas-color);
    min-height: 100vh;
    padding-bottom: 120px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    position: relative;
}

/* 👑 PINNED STICKY TOP WRAPPER CONTROL MODULE */
.sticky-top-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--inner-canvas-color);
    border-bottom: 1px solid #1c1c1e;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 📏 SLEEK & NARROW HEADER (Shrunk down completely!) */
header {
    padding: 16px 24px 8px 24px;
    background: linear-gradient(to bottom, #18181b, var(--inner-canvas-color));
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centered layout for a narrower look */
    gap: 16px;
}

.brand-name {
    font-size: 22px; /* Slightly smaller for premium look */
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    text-transform: uppercase;
}

.brand-sub {
    font-size: 12px;
    color: #a1a1aa;
    margin-top: 2px;
}

.store-badge {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Dynamic Live Keywords Search input */
.search-wrapper {
    padding: 0 24px;
    margin-top: 8px;
}

.search-input-field {
    width: 100%;
    background-color: #1c1c1e;
    border: 1px solid #2c2c2e;
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input-field:focus {
    border-color: var(--primary-brand-color);
}

/* Horizontal Category Filter Pills Row */
.category-nav-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 24px;
    scrollbar-width: none;
    background-color: var(--inner-canvas-color);
}

.category-nav-bar::-webkit-scrollbar {
    display: none;
}

.pill-link {
    text-decoration: none;
    color: #a1a1aa;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 25px;
    border: 2px solid #2c2c2e;
    white-space: nowrap;
    transition: all 0.2s;
}

.active-pill {
    background-color: var(--primary-brand-color);
    border-color: var(--primary-brand-color);
    color: #fff;
}

/* 👗 ULTRA-CLEAN 3-COLUMN LOOKBOOK PRODUCT GRID */
.catalog-container {
    padding: 24px 24px 0 24px;
}

.category-block {
    margin-bottom: 32px;
}

.category-title {
    font-size: 14px;
    font-weight: 800;
    color: #a1a1aa;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #2c2c2e;
    padding-bottom: 6px;
}

.fashion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

./* 👗 ULTRA-CLEAN 3-COLUMN LOOKBOOK PRODUCT CARD BASE */
.fashion-card {
    background-color: #18181b;
    border: 1px solid #2c2c2e;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;

    /* ⚡ SMOOTH TRANSITION TIMING: Controls how gently the hover animation moves */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 💻 COMPUTER MOUSE HOVER ANIMATION (Lifts card & casts premium glow shadow) */
.fashion-card:hover {
    transform: translateY(-6px); /* Smoothly lifts the card upward */
    border-color: var(--primary-brand-color); /* Glows with the tenant's accent brand color */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), 0 0 10px rgba(220, 38, 38, 0.15);
}

/* 📲 MOBILE PHONE TOUCH CLICK SNAP-POP ACTION */
/* Executes seamlessly on touchscreens when a user touches/clicks a card */
.fashion-card:active {
    transform: scale(0.96); /* Gives a satisfying physical press-down spring effect */
    transition: transform 0.1s ease;
}

.img-container {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #27272a;
    position: relative;
}

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

.selection-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: var(--primary-brand-color);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.info-block {
    padding: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 11px;
    font-weight: 600;
    color: #f4f4f5;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 12px;
    font-weight: 900;
    color: #fbbf24;
    font-family: monospace;
}

.select-action-btn {
    width: 100%;
    font-size: 10px;
    font-weight: 800;
    background: #27272a;
    color: #e4e4e7;
    border: 1px solid #3f3f46;
    border-radius: 4px;
    padding: 5px 0;
    margin-top: 8px;
    text-transform: uppercase;
}

/* 🚨 STICKY FOOTER WITH DUAL SIDE-BY-SIDE BUTTON ROW */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    background-color: rgba(12, 12, 13, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid #2c2c2e;
    padding: 16px 24px;
    z-index: 999;

    display: flex; /* Arranges buttons next to each other */
    gap: 12px;
}

.footer-btn {
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    padding: 16px;
    border-radius: 12px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-btn-call {
    background-color: #27272a;
    color: #fff;
    border: 1px solid #3f3f46;
    width: 35%; /* Fixed balanced width */
}

.footer-btn-bag {
    background-color: var(--primary-brand-color);
    color: #fff;
    border: none;
    width: 65%; /* Takes up rest of the canvas width */
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.2);
}

.footer-btn:active {
    opacity: 0.85;
}
/* 🛍️ SUGGESTION ROWS MATRIX GRID TRACKS */
.similar-section-wrapper {
    margin-top: 40px;
    border-top: 1px solid #1c1c1e;
    padding-top: 24px;
}

.similar-heading {
    font-size: 13px;
    font-weight: 800;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.similar-card {
    text-decoration: none;
    background-color: #18181b;
    border: 1px solid #2c2c2e;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.similar-card:hover {
    transform: translateY(-2px);
    border-color: #444;
}

.similar-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #27272a;
}

.similar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-info {
    padding: 8px;
}

.similar-title {
    font-size: 11px;
    font-weight: 600;
    color: #e4e4e7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.similar-price {
    font-size: 11px;
    font-weight: 900;
    color: #fbbf24;
    font-family: monospace;
}
