/* URZZO E-COMMERCE CORE v3.0 
   Style: High-End Editorial (Bazaar Inspired)
   ENG: Full layout for Grid, Product Details and Navigation.
*/

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #fff;
    color: #000;
    font-family: 'Inter', sans-serif;
    padding-top: 40px; /* Spatiu pentru Utility Bar */
    -webkit-font-smoothing: antialiased;
}

/* --- UTILITY BAR --- */
.utility-bar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 40px;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
    z-index: 3000;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.utility-bar a { text-decoration: none; color: #000; margin-right: 20px; }
.subscribe-btn { background: #000; color: #fff !important; padding: 6px 15px; }

/* --- HEADER & LOGO --- */
.hb-main-header { width: 100%; background: #fff; position: relative; }

.logo-container {
    text-align: center;
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid #000;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background: #fff;
    overflow: hidden;
}

.hb-logo {
    font-family: 'Bodoni Moda', serif !important;
    font-size: 8rem !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    color: #000 !important;
    text-transform: uppercase !important;
    letter-spacing: -6px !important; /* ENG: Signature Bazaar tight kerning */
    line-height: 0.7;
    display: inline-block;
}

/* --- STICKY NAV --- */
.hb-nav-sticky {
    position: sticky;
    top: 40px;
    background: #fff;
    border-bottom: 1px solid #000;
    z-index: 2000;
    padding: 18px 0;
    transition: all 0.4s ease;
}

.nav-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* ENG: 3-column grid for perfect centering */
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.nav-links { display: flex; gap: 3rem; }
.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.mini-logo {
    font-family: 'Bodoni Moda', serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    letter-spacing: -1.5px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    transition: all 0.4s ease;
}

/* --- SCROLLED STATE (Bazaar Effect) --- */
body.is-scrolled .logo-container { 
    height: 0; 
    padding: 0; 
    opacity: 0; 
    border-bottom: none; 
    pointer-events: none;
}

body.is-scrolled .mini-logo { 
    opacity: 1; 
    visibility: visible; 
    transform: translateX(0); 
}

body.is-scrolled .hb-nav-sticky { 
    padding: 12px 0; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
}

/* --- PRODUCT GRID (INDEX) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #eee;
    border: 1px solid #eee;
    max-width: 1600px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    background: #fff;
    transition: all 0.4s ease;
}

.product-card:hover { z-index: 10; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.card-link { text-decoration: none; color: inherit; display: block; padding: 40px; }


/* ENG: High-end grid consistency */
.img-container {
    background: #fcfcfc; /* Un alb foarte ușor gri, dă profunzime */
    overflow: hidden;
}

.img-container img {
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-card:hover .img-container img {
    transform: scale(1.08); /* Zoom lin la hover */
}

/* ENG: Better Typography for Product Title */
.product-title {
    font-size: 13px;
    letter-spacing: 0.3px;
    color: #111;
    text-transform: none;
    margin-top: 15px;
}

/* ENG: Price styling upgrade */
.current-price {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}




.sale-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 5px 12px;
}

.save-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #ddd;
    z-index: 5;
    transition: color 0.3s;
}

.save-btn:hover { color: #e74c3c; }

.info .brand { 
    font-size: 10px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #888; 
    font-weight: 800; 
    margin-bottom: 8px;
    display: block;
}


.price-row { font-size: 14px; font-weight: 700; }
.old-price { text-decoration: line-through; color: #bbb; margin-right: 10px; font-weight: 400; }
.sale-price { color: #d00; }

/* --- PRODUCT DETAILS - THE WOW FACTOR --- */
.product-details {
    display: flex;
    max-width: 1500px;
    margin: 100px auto;
    padding: 0 5%;
    gap: 120px;
    animation: fadeInPage 0.8s ease-out; /* ENG: Smooth entrance */
}

@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.image-gallery { 
    flex: 1.4; 
    background: #f9f9f9; /* ENG: Subtle background to frame the product */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
}

.image-gallery img {
    max-width: 85%;
    height: auto;
    mix-blend-mode: multiply;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.image-gallery:hover img {
    transform: scale(1.03);
}

.details-info { 
    flex: 0.6; 
    position: sticky; 
    top: 160px; 
    align-self: flex-start; 
}

.details-info .brand {
    font-size: 0.75rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: #000;
}

.product-details h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: 3.5rem; /* ENG: Bigger, more editorial title */
    font-weight: 400;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.price-row .current-price {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 50px;
    display: block;
    color: #000;
}

/* --- THE EDIT BOX --- */
.edit-box {
    border-top: 1px solid #000;
    padding-top: 50px;
    margin-top: 50px;
}

.edit-box h4 {
    font-size: 0.8rem;
    letter-spacing: 5px;
    margin-bottom: 25px;
    font-weight: 900;
}

.short-desc {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.6rem;
    font-style: italic;
    line-height: 1.4;
    color: #111;
    margin-bottom: 30px;
}

/* --- BUTTONS --- */
.buy-button {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 28px;
    font-size: 0.85rem;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    border: 1px solid #000;
}

.buy-button:hover {
    background: transparent;
    color: #000;
}

.save-btn-large {
    border: 1px solid #eee;
    background: #fff;
    padding: 20px;
    margin-top: 15px;
    transition: border-color 0.3s;
}

.save-btn-large:hover {
    border-color: #000;
}

/* --- FOOTER --- */
footer { 
    background: #000; 
    color: #fff; 
    padding: 8rem 2.5rem; 
    text-align: center; 
    margin-top: 10rem; 
}

.footer-logo { 
    font-family: 'Bodoni Moda', serif; 
    font-size: 5rem; 
    font-weight: 900; 
    color: #fff; 
    text-decoration: none; 
    text-transform: uppercase; 
    letter-spacing: -4px; 
    display: block; 
    margin-bottom: 30px; 
}

.footer-links { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    margin-bottom: 40px; 
    flex-wrap: wrap;
}

.footer-links a { 
    color: #fff; 
    text-decoration: none; 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    opacity: 0.6; 
    letter-spacing: 1.5px;
}

.copyright {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.4;
    line-height: 1.8;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-details { flex-direction: column; gap: 50px; }
    .hb-logo { font-size: 5rem !important; letter-spacing: -3px !important; }
}

@media (max-width: 700px) {
    .product-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 15px; }
    .nav-links a { font-size: 0.6rem; letter-spacing: 1px; }
    .hb-logo { font-size: 3.5rem !important; }
}