/* AquaPure Water Test Romania - Store Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,400&display=swap');

:root {
    --terracotta: #C85A2A;
    --terracotta-dark: #A6441B;
    --terracotta-light: #FBF0EB;
    --bg-cream: #FAF6F0;
    --bg-white: #FFFFFF;
    --dark-charcoal: #141312;
    --text-primary: #1E1B18;
    --text-muted: #78716C;
    --border-color: #E7E5E4;
    --yellow-star: #F59E0B;
    --radius-card: 24px;
    --radius-pill: 99px;
    --radius-sm: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Announcement Bar */
.top-notice {
    background-color: var(--dark-charcoal);
    color: #D6D3D1;
    font-size: 13px;
    padding: 8px 24px;
}
.top-notice-container {
    max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
}
.top-notice a { color: var(--terracotta); font-weight: 700; }

/* Main Header Navigation */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky; top: 0; z-index: 1000;
}
.header-container {
    max-width: 1280px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px; font-weight: 800; color: var(--text-primary); display: flex; align-items: center; gap: 10px;
}
.logo-icon {
    width: 38px; height: 38px; background: var(--terracotta); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.logo-icon svg {
    width: 22px; height: 22px; stroke: #FFFFFF; fill: none; stroke-width: 2.2;
}
.svg-icon {
    display: inline-block; vertical-align: -0.125em; width: 1.1em; height: 1.1em; flex-shrink: 0;
}
.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-menu a { font-size: 15px; font-weight: 600; color: var(--text-primary); transition: color 0.2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--terracotta); }

.header-right { display: flex; align-items: center; gap: 16px; }
.search-box {
    display: flex; align-items: center; background: #F5F5F4; border-radius: var(--radius-pill); padding: 8px 16px; gap: 8px; border: 1px solid var(--border-color);
}
.search-box input { border: none; background: transparent; outline: none; font-size: 14px; width: 140px; font-family: inherit; }

.cart-icon-btn {
    display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--terracotta); color: white; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; transition: background 0.2s;
}
.cart-icon-btn:hover { background: var(--terracotta-dark); }
.cart-count { background: #FFFFFF; color: var(--terracotta-dark); font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }

.mobile-menu-btn {
    display: none; background: #F5F5F4; border: 1px solid var(--border-color); font-size: 20px; cursor: pointer; color: var(--text-primary); padding: 6px 12px; border-radius: 8px;
}

.hero-banner {
    position: relative;
    background: linear-gradient(180deg, rgba(20, 19, 18, 0.75) 0%, rgba(20, 19, 18, 0.9) 100%), url('../images/water_kit_16in1.jpg') center/cover no-repeat;
    color: white;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 24px;
}
.hero-subtitle {
    font-size: 15px; font-weight: 600; color: #E7E5E4; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.hero-title {
    font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 800; letter-spacing: 2px; margin-bottom: 24px; color: #FFFFFF; line-height: 1.1;
}
.btn-primary-large {
    background: var(--terracotta); color: white; border: none; padding: 16px 48px; border-radius: var(--radius-pill); font-weight: 700; font-size: 16px; cursor: pointer; transition: all 0.2s; display: inline-block; box-shadow: 0 8px 20px rgba(200, 90, 42, 0.3);
}
.btn-primary-large:hover { background: var(--terracotta-dark); transform: translateY(-2px); }

.shop-curved-wrapper {
    background: var(--bg-white);
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding: 40px 24px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}
.shop-container { max-width: 1280px; margin: 0 auto; }

.category-filter-bar {
    display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap;
}
.cat-pill {
    background: #F5F5F4; border: 1px solid var(--border-color); padding: 10px 24px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.cat-pill.active, .cat-pill:hover { background: var(--terracotta); color: white; border-color: var(--terracotta); }

.products-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 60px;
}

.store-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    display: flex; flex-direction: column;
    transition: all 0.3s ease;
}
.store-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: var(--terracotta-light);
}

.store-card-img {
    height: 260px; position: relative; overflow: hidden; background: #F5F5F4;
}
.store-card-img img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.store-card:hover .store-card-img img { transform: scale(1.06); }

.store-card-badge {
    position: absolute; top: 16px; left: 16px; background: var(--terracotta); color: white; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: 0.5px;
}

.store-card-body {
    padding: 28px; display: flex; flex-direction: column; flex-grow: 1; background: var(--bg-white); border-top-left-radius: 24px; border-top-right-radius: 24px; margin-top: -24px; position: relative; z-index: 2;
}

.store-card-title {
    font-size: 22px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; line-height: 1.25;
}
.rating-stars {
    color: var(--yellow-star); font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; gap: 4px;
}
.rating-label { color: var(--text-muted); font-size: 13px; font-weight: 600; margin-left: 6px; }

.card-section-label {
    font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}
.store-card-desc {
    font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; flex-grow: 1;
}

.store-card-footer {
    display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #F5F5F4; padding-top: 18px; margin-top: auto;
}
.price-group { display: flex; flex-direction: column; }
.price-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.price-amount { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.price-old { font-size: 13px; text-decoration: line-through; color: #A8A29E; }

.btn-add-cart {
    background: var(--terracotta); color: white; border: none; padding: 12px 24px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(200, 90, 42, 0.2);
}
.btn-add-cart:hover { background: var(--terracotta-dark); transform: scale(1.03); }

.product-list-row {
    display: flex; align-items: center; justify-content: space-between; background: var(--bg-white); border-radius: var(--radius-card); border: 1px solid var(--border-color); padding: 16px 24px; margin-bottom: 16px; gap: 20px; transition: all 0.2s;
}
.product-list-row:hover { border-color: var(--terracotta); transform: translateX(4px); }
.product-list-thumb { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; flex-shrink: 0; }
.product-list-info { flex-grow: 1; }
.product-list-title { font-size: 18px; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.product-list-desc { font-size: 13px; color: var(--text-muted); }
.product-list-action { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.product-list-price { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.btn-icon-add { width: 44px; height: 44px; border-radius: 12px; background: var(--terracotta); color: white; font-size: 22px; font-weight: 700; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.btn-icon-add:hover { background: var(--terracotta-dark); }

/* Shopping Cart Section Section */
.cart-page-container { max-width: 900px; margin: 40px auto 80px; }
.cart-page-header { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 24px; }
.cart-status-notice {
    background: #FDF2E9; border: 1px solid #FDBA74; color: #9A3412; padding: 14px 24px; border-radius: var(--radius-pill); text-align: center; font-weight: 700; font-size: 14px; margin-bottom: 32px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cart-item-row {
    display: flex; align-items: center; justify-content: space-between; background: var(--bg-white); border-radius: var(--radius-card); border: 1px solid var(--border-color); padding: 16px 24px; margin-bottom: 16px; gap: 20px;
}
.qty-stepper {
    display: flex; align-items: center; background: #F5F5F4; border-radius: var(--radius-pill); border: 1px solid var(--border-color); padding: 4px 12px; gap: 12px;
}
.qty-btn { border: none; background: transparent; font-size: 18px; font-weight: 800; cursor: pointer; color: var(--text-primary); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }

.checkout-summary-card {
    background: var(--dark-charcoal); color: white; border-radius: var(--radius-card); padding: 32px; margin-top: 32px;
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 16px; color: #D6D3D1; }
.summary-total-box {
    background: white; color: var(--dark-charcoal); border-radius: var(--radius-sm); padding: 20px; margin-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 22px; font-weight: 800;
}

/* Page Layout for Legal / Content Pages */
.page-container { max-width: 900px; margin: 40px auto 80px; padding: 40px; background: var(--bg-white); border-radius: var(--radius-card); border: 1px solid var(--border-color); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.page-title { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 800; margin-bottom: 24px; color: var(--text-primary); }
.content-box { font-size: 15px; color: #44403C; line-height: 1.7; }
.content-box h2 { font-size: 20px; font-weight: 800; margin: 28px 0 12px; color: var(--text-primary); }
.content-box p { margin-bottom: 16px; }

/* Romanian Footer */
.footer { background: var(--dark-charcoal); color: #A8A29E; padding: 60px 24px 30px; font-size: 14px; }
.footer-container { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 24px; color: white; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-title { color: white; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #A8A29E; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 30px; border-top: 1px solid #292524; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; }

/* Responsive Rules for Mobile */
@media (max-width: 992px) {
    .header-container { flex-wrap: wrap; padding: 12px 16px; }
    .mobile-menu-btn { display: block; order: 2; }
    .header-right { order: 3; }
    .nav-menu { display: none; width: 100%; flex-direction: column; gap: 12px; order: 4; padding-top: 16px; border-top: 1px solid var(--border-color); margin-top: 12px; }
    .nav-menu.active { display: flex; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .top-notice-container { flex-direction: column; text-align: center; gap: 4px; font-size: 11px; }
    .search-box { display: none; }
    .hero-title { font-size: 38px; }
    .btn-primary-large { width: 100%; text-align: center; }
    .products-grid { grid-template-columns: 1fr; }
    .product-list-row { flex-direction: column; align-items: flex-start; }
    .product-list-action { width: 100%; justify-content: space-between; margin-top: 12px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}
