/* ═══════════════════════════════════════════════
   RAMI B2C — Design System
   Minimalist · Clean · Fast
   ═══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --c-bg:         #ffffff;
    --c-bg-2:       #f7f7f5;
    --c-bg-3:       #f0f0ee;
    --c-text:       #111111;
    --c-text-2:     #555555;
    --c-text-3:     #999999;
    --c-accent:     #e63946;
    --c-accent-dk:  #c62d38;
    --c-border:     #e5e5e5;
    --c-border-2:   #d0d0d0;
    --c-black:      #111111;
    --c-white:      #ffffff;

    --font-head:  'Barlow Condensed', sans-serif;
    --font-body:  'Inter', sans-serif;

    --header-h:   64px;
    --container:  1320px;
    --r-sm:       4px;
    --r-md:       8px;
    --r-lg:       12px;
    --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; }

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 1400px) { .container { padding: 0 48px; } }

/* ── Typography ── */
.font-head { font-family: var(--font-head); }
.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 10px;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    height: var(--header-h);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
}
.header-logo img { height: 36px; width: auto; }
.header-logo .logo-text {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--c-black);
}
.header-logo .logo-text span { color: var(--c-accent); }

.header-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-nav a {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-2);
    border-radius: var(--r-sm);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.header-nav a:hover { color: var(--c-text); background: var(--c-bg-2); }
.header-nav a.active { color: var(--c-text); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-search { display: flex; align-items: center; gap: 8px; }
.header-search input {
    width: 200px;
    padding: 7px 14px;
    border: 1px solid var(--c-border);
    border-radius: 20px;
    font-size: 13px;
    background: var(--c-bg-2);
    transition: border-color 0.2s, width 0.3s;
    outline: none;
}
.header-search input:focus { border-color: var(--c-accent); background: white; width: 260px; }
.header-search input::placeholder { color: var(--c-text-3); }

.header-cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--c-black);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}
.header-cart:hover { background: var(--c-accent); }
.header-cart svg { width: 16px; height: 16px; }
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: var(--c-accent);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }

.header-account {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--c-border);
    border-radius: 50%;
    color: var(--c-text-2);
    transition: border-color 0.2s, color 0.2s;
}
.header-account:hover { border-color: var(--c-accent); color: var(--c-accent); }
.header-account svg { width: 16px; height: 16px; }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); transition: all 0.3s; border-radius: 2px; }

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: white;
    z-index: 99;
    padding: 24px;
    overflow-y: auto;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--c-border); }

/* ══════════════════════════════════════
   MEGA MENU / CATEGORIES BAR
══════════════════════════════════════ */
.cats-bar {
    background: var(--c-bg-2);
    border-bottom: 1px solid var(--c-border);
}
.cats-bar-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.cats-bar-inner::-webkit-scrollbar { display: none; }
.cats-bar a {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-text-2);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.cats-bar a:hover, .cats-bar a.current { color: var(--c-accent); border-bottom-color: var(--c-accent); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero-b2c {
    background: var(--c-bg-2);
    padding: 80px 0;
    overflow: hidden;
}
.hero-b2c-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}
.hero-b2c-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 16px;
}
.hero-b2c-title {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: var(--c-text);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-b2c-title em { color: var(--c-accent); font-style: normal; }
.hero-b2c-desc { font-size: 1rem; color: var(--c-text-2); line-height: 1.7; margin-bottom: 32px; max-width: 440px; }
.hero-b2c-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-b2c-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--c-bg-3); }
.hero-b2c-img img { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-transform: uppercase;
}
.btn-primary {
    background: var(--c-accent);
    color: white;
}
.btn-primary:hover { background: var(--c-accent-dk); color: white; }
.btn-secondary {
    background: var(--c-black);
    color: white;
}
.btn-secondary:hover { background: #333; color: white; }
.btn-outline {
    background: transparent;
    color: var(--c-text);
    border: 1.5px solid var(--c-border-2);
}
.btn-outline:hover { border-color: var(--c-text); }
.btn-ghost {
    background: transparent;
    color: var(--c-text-2);
    padding-left: 0;
    padding-right: 0;
}
.btn-ghost:hover { color: var(--c-accent); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 15px 32px; font-size: 14px; }

/* ══════════════════════════════════════
   SECTION LAYOUTS
══════════════════════════════════════ */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }
.section-gray { background: var(--c-bg-2); }
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--c-text);
    margin-bottom: 8px;
}
.section-sub { font-size: 0.95rem; color: var(--c-text-2); margin-bottom: 40px; }
.section-header { margin-bottom: 40px; }
.section-header-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════
   CATEGORY GRID
══════════════════════════════════════ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.cat-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--c-bg-3);
    cursor: pointer;
}
.cat-card:hover .cat-card-img { transform: scale(1.04); }
.cat-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 50%);
}
.cat-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px;
    color: white;
}
.cat-card-name {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.cat-card-count { font-size: 11px; color: rgba(255,255,255,0.65); }
/* For categories without image — colored placeholder */
.cat-card-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-bg-3);
}
.cat-card-placeholder svg { width: 48px; height: 48px; color: var(--c-border-2); }

/* ══════════════════════════════════════
   PRODUCT GRID
══════════════════════════════════════ */
.products-grid-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card-b2c {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}
.product-card-b2c:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.product-card-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--c-bg-2);
}
.product-card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.product-card-b2c:hover .product-card-img-wrap img { transform: scale(1.05); }
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.badge-sale { background: var(--c-accent); color: white; }
.badge-new  { background: var(--c-black); color: white; }
.product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    opacity: 0;
    transition: opacity 0.2s;
}
.product-card-b2c:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { background: var(--c-accent); border-color: var(--c-accent); color: white; }
.product-wishlist svg { width: 14px; height: 14px; }

.product-card-body-b2c {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-cat-link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text-3);
    margin-bottom: 6px;
    transition: color 0.2s;
}
.product-cat-link:hover { color: var(--c-accent); }
.product-name-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 10px;
    flex: 1;
    line-height: 1.4;
    transition: color 0.2s;
}
.product-name-link:hover { color: var(--c-accent); }
.product-price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.product-price-b2c {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-text);
}
.product-price-b2c .old-price {
    font-size: 0.85rem;
    color: var(--c-text-3);
    text-decoration: line-through;
    font-weight: 400;
}
.product-price-b2c ins { text-decoration: none; }
.product-add-btn {
    width: 100%;
    padding: 10px;
    background: var(--c-black);
    color: white;
    border: none;
    border-radius: var(--r-md);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.product-add-btn:hover { background: var(--c-accent); }
.product-add-btn svg { width: 14px; height: 14px; }

/* ── WooCommerce product grid override ── */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin: 0; }
.woocommerce ul.products li.product { margin: 0; float: none; width: auto; }

/* ══════════════════════════════════════
   SHOP LAYOUT (Archive)
══════════════════════════════════════ */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px 0;
}
/* Sidebar filters */
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.filter-section { margin-bottom: 28px; }
.filter-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-border);
}
.filter-list { display: flex; flex-direction: column; gap: 8px; }
.filter-item { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--c-text-2); }
.filter-item input[type="checkbox"] { accent-color: var(--c-accent); width: 15px; height: 15px; }
.filter-item:hover { color: var(--c-text); }
.filter-price { display: flex; gap: 8px; align-items: center; }
.filter-price input {
    width: 80px;
    padding: 6px 10px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    font-size: 13px;
}
/* Shop toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
.shop-results { font-size: 13px; color: var(--c-text-2); }
.shop-sort select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: 13px;
    background: white;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23666' stroke-width='2' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* Breadcrumb */
.breadcrumb-wrap {
    padding: 12px 0;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 0;
}
.woocommerce-breadcrumb {
    font-size: 12px;
    color: var(--c-text-3);
}
.woocommerce-breadcrumb a { color: var(--c-text-2); }
.woocommerce-breadcrumb a:hover { color: var(--c-accent); }

/* ══════════════════════════════════════
   SINGLE PRODUCT
══════════════════════════════════════ */
.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 48px 0;
}
/* Gallery */
.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.product-gallery-main {
    aspect-ratio: 1;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--c-bg-2);
    margin-bottom: 12px;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}
.product-gallery-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--r-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
    flex-shrink: 0;
}
.product-gallery-thumbs img.active,
.product-gallery-thumbs img:hover { border-color: var(--c-accent); }

/* Product info */
.product-info .product-cat-link { display: block; margin-bottom: 8px; }
.product-info h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--c-text);
    margin-bottom: 12px;
}
.product-info .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 16px;
    display: block;
}
.product-info .price ins { text-decoration: none; color: var(--c-accent); }
.product-info .price del { font-size: 1.1rem; color: var(--c-text-3); font-weight: 400; }
.product-info .woocommerce-product-rating { margin-bottom: 16px; }
.product-short-desc { font-size: 0.9rem; color: var(--c-text-2); line-height: 1.7; margin-bottom: 24px; border-top: 1px solid var(--c-border); padding-top: 20px; }
.product-divider { height: 1px; background: var(--c-border); margin: 20px 0; }

/* Configurator */
.configurator { margin-bottom: 24px; }
.config-section { margin-bottom: 20px; }
.config-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text);
    margin-bottom: 10px;
    display: block;
}
/* Material selector */
.material-options { display: flex; gap: 10px; flex-wrap: wrap; }
.material-option { display: none; }
.material-option + label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-md);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-2);
    transition: all 0.2s;
    min-width: 90px;
    text-align: center;
}
.material-option:checked + label {
    border-color: var(--c-accent);
    color: var(--c-accent);
    background: rgba(230,57,70,0.05);
}
.material-option + label .mat-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    background: var(--c-bg-3);
}
/* Extras */
.extras-list { display: flex; flex-direction: column; gap: 10px; }
.extra-item { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.extra-item input[type="checkbox"] { margin-top: 2px; accent-color: var(--c-accent); width: 16px; height: 16px; flex-shrink: 0; }
.extra-item-info { flex: 1; }
.extra-item-name { font-size: 13px; font-weight: 500; color: var(--c-text); }
.extra-item-desc { font-size: 12px; color: var(--c-text-3); margin-top: 2px; }
.extra-item-price { font-size: 12px; font-weight: 600; color: var(--c-accent); }
/* Note textarea */
.config-note {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: 13px;
    resize: vertical;
    min-height: 80px;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--font-body);
}
.config-note:focus { border-color: var(--c-accent); }

/* Add to cart area */
.add-to-cart-wrap { display: flex; flex-direction: column; gap: 10px; }
.qty-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.qty-wrap label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    overflow: hidden;
}
.qty-ctrl button {
    width: 36px;
    height: 36px;
    background: var(--c-bg-2);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--c-text);
    transition: background 0.2s;
}
.qty-ctrl button:hover { background: var(--c-bg-3); }
.qty-ctrl input {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--c-border);
    border-right: 1px solid var(--c-border);
    height: 36px;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}
.btn-add-to-cart {
    width: 100%;
    padding: 14px;
    background: var(--c-black);
    color: white;
    border: none;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-add-to-cart:hover { background: var(--c-accent); }
.btn-cerere {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--c-text);
    border: 1.5px solid var(--c-border-2);
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-cerere:hover { border-color: var(--c-text); }

/* Product meta */
.product-meta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--c-border); font-size: 12px; color: var(--c-text-3); }
.product-meta span { margin-right: 16px; }
.product-meta a { color: var(--c-text-2); }
.product-meta a:hover { color: var(--c-accent); }

/* Product tabs */
.product-tabs { margin-top: 64px; }
.tabs-nav { display: flex; border-bottom: 1px solid var(--c-border); margin-bottom: 32px; }
.tabs-nav button {
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--c-text-3);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    margin-bottom: -1px;
}
.tabs-nav button.active { color: var(--c-text); border-bottom-color: var(--c-accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p { font-size: 0.9rem; color: var(--c-text-2); line-height: 1.8; margin-bottom: 16px; }

/* ══════════════════════════════════════
   CART PAGE
══════════════════════════════════════ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    padding: 48px 0;
    align-items: start;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    text-align: left;
    padding: 0 16px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-text-3);
    border-bottom: 1px solid var(--c-border);
}
.cart-table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--c-border);
    vertical-align: middle;
}
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--r-md); }
.cart-item-name { font-size: 0.9rem; font-weight: 600; color: var(--c-text); margin-bottom: 4px; }
.cart-item-meta { font-size: 12px; color: var(--c-text-3); }
.cart-remove { color: var(--c-text-3); cursor: pointer; padding: 4px; }
.cart-remove:hover { color: var(--c-accent); }
.cart-coupon { display: flex; gap: 8px; margin-top: 20px; }
.cart-coupon input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: 13px;
    outline: none;
}
.cart-coupon input:focus { border-color: var(--c-accent); }

/* Order summary */
.order-summary {
    background: var(--c-bg-2);
    border-radius: var(--r-lg);
    padding: 28px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
}
.summary-title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; color: var(--c-text-2); }
.summary-row.total { font-size: 1.1rem; font-weight: 700; color: var(--c-text); border-top: 1px solid var(--c-border-2); padding-top: 16px; margin-top: 8px; }
.summary-shipping { font-size: 12px; color: var(--c-text-3); margin-bottom: 20px; }

/* ══════════════════════════════════════
   CHECKOUT
══════════════════════════════════════ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    padding: 48px 0;
    align-items: start;
}
.checkout-section { margin-bottom: 32px; }
.checkout-section-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border);
}
/* Customer type toggle */
.customer-type { display: flex; gap: 0; border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; margin-bottom: 24px; }
.customer-type-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: white;
    color: var(--c-text-2);
    border: none;
    transition: all 0.2s;
}
.customer-type-btn.active { background: var(--c-black); color: white; }
/* Form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row-full { margin-bottom: 16px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-text-2); }
.field-group input,
.field-group select,
.field-group textarea {
    padding: 10px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    background: white;
    font-family: var(--font-body);
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus { border-color: var(--c-accent); }
.field-group textarea { resize: vertical; min-height: 80px; }
/* Shipping methods */
.shipping-methods { display: flex; flex-direction: column; gap: 10px; }
.shipping-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); cursor: pointer; transition: border-color 0.2s; }
.shipping-option:has(input:checked) { border-color: var(--c-accent); background: rgba(230,57,70,0.03); }
.shipping-option input[type="radio"] { accent-color: var(--c-accent); width: 16px; height: 16px; }
.shipping-option-info { flex: 1; }
.shipping-option-name { font-size: 13px; font-weight: 600; color: var(--c-text); }
.shipping-option-desc { font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.shipping-option-price { font-size: 13px; font-weight: 700; color: var(--c-text); }
/* Payment methods */
.payment-methods { display: flex; flex-direction: column; gap: 10px; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); cursor: pointer; transition: border-color 0.2s; }
.payment-option:has(input:checked) { border-color: var(--c-accent); }
.payment-option input[type="radio"] { accent-color: var(--c-accent); width: 16px; height: 16px; }
.payment-option-name { font-size: 13px; font-weight: 600; }
.payment-option-desc { font-size: 11px; color: var(--c-text-3); margin-top: 2px; }
.payment-icon { width: 36px; height: 24px; object-fit: contain; }

/* ══════════════════════════════════════
   TRUST BAR
══════════════════════════════════════ */
.trust-bar { border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 24px 0; }
.trust-bar-inner { display: flex; justify-content: space-around; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item svg { width: 22px; height: 22px; color: var(--c-accent); flex-shrink: 0; }
.trust-item-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--c-text); }
.trust-item-text span { font-size: 11px; color: var(--c-text-3); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer-b2c { background: var(--c-black); color: rgba(255,255,255,0.75); margin-top: 64px; }
.footer-top-b2c {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 56px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-b2c .footer-logo-b2c img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand-b2c p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.footer-social svg { width: 15px; height: 15px; }
.footer-col-b2c h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 16px;
}
.footer-col-b2c ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col-b2c a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col-b2c a:hover { color: white; }
.footer-bottom-b2c {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    gap: 16px;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════
   FLASH MESSAGES / NOTICES
══════════════════════════════════════ */
.woocommerce-notices-wrapper { position: fixed; top: calc(var(--header-h) + 16px); right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    padding: 14px 20px;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    animation: slideInRight 0.3s var(--ease);
}
@keyframes slideInRight { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.woocommerce-message { background: #f0faf0; color: #1a6b1a; border-left: 3px solid #1a6b1a; }
.woocommerce-info { background: #f0f4ff; color: #1a3a8f; border-left: 3px solid #1a3a8f; }
.woocommerce-error { background: #fff0f0; color: #8f1a1a; border-left: 3px solid var(--c-accent); }

/* ══════════════════════════════════════
   MODAL — Cerere preț
══════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
    background: white;
    border-radius: var(--r-lg);
    padding: 36px;
    max-width: 480px;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.3s var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; color: var(--c-text-3); }
.modal-close:hover { color: var(--c-text); }
.modal { position: relative; }

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.woocommerce-pagination ul { display: flex; gap: 6px; justify-content: center; margin-top: 48px; }
.woocommerce-pagination li { list-style: none; }
.woocommerce-pagination a, .woocommerce-pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-2);
    transition: all 0.2s;
}
.woocommerce-pagination a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.woocommerce-pagination .current { background: var(--c-black); color: white; border-color: var(--c-black); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1200px) {
    .products-grid-wrap { grid-template-columns: repeat(3, 1fr); }
    .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-top-b2c { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1024px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .single-product-layout { grid-template-columns: 1fr; gap: 32px; }
    .product-gallery { position: static; }
    .checkout-layout { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .hero-b2c-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .header-nav { display: none; }
    .nav-toggle { display: flex; }
    .header-search input { width: 140px; }
    .products-grid-wrap { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .section { padding: 48px 0; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top-b2c { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid-wrap { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
/* ══════════════════════════════════════
   SINGLE PRODUCT — IKEA-style (pip)
══════════════════════════════════════ */
.pip-breadcrumb { padding: 14px 0; border-bottom: 1px solid var(--c-border); font-size: 12px; }
.pip-breadcrumb .woocommerce-breadcrumb { color: var(--c-text-3); }
.pip-breadcrumb .woocommerce-breadcrumb a { color: var(--c-text-2); }
.pip-breadcrumb .woocommerce-breadcrumb a:hover { color: var(--c-accent); text-decoration: underline; }

.pip-wrap { padding: 40px 0 0; }
.pip-inner { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: start; }

/* ── Gallery ── */
.pip-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pip-gallery-main {
    position: relative;
    aspect-ratio: 1;
    background: var(--c-bg-2);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 12px;
    cursor: zoom-in;
}
.pip-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.pip-gallery-main:hover img { transform: scale(1.03); }
.pip-zoom-btn {
    position: absolute; bottom: 14px; right: 14px;
    width: 38px; height: 38px;
    background: white; border: 1px solid var(--c-border);
    border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--c-text-2); transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.pip-zoom-btn:hover { background: var(--c-black); color: white; border-color: var(--c-black); }
.pip-sale-badge { position: absolute; top: 14px; left: 14px; background: var(--c-accent); color: white; padding: 4px 10px; border-radius: var(--r-sm); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.pip-gallery-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pip-gallery-strip::-webkit-scrollbar { display: none; }
.pip-thumb {
    flex-shrink: 0; width: 80px; height: 80px;
    border-radius: var(--r-md); overflow: hidden;
    border: 2px solid transparent; cursor: pointer;
    background: var(--c-bg-2); padding: 0;
    transition: border-color 0.2s;
}
.pip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pip-thumb.active, .pip-thumb:hover { border-color: var(--c-accent); }

/* ── Product info ── */
.pip-type { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-3); display: block; margin-bottom: 10px; transition: color 0.2s; }
.pip-type:hover { color: var(--c-accent); }
.pip-title { font-family: var(--font-head); font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; margin-bottom: 10px; }
.pip-tagline { font-size: 1rem; color: var(--c-text-2); margin-bottom: 10px; line-height: 1.5; }
.pip-sku { font-size: 12px; color: var(--c-text-3); margin-bottom: 14px; }
.pip-sku span { color: var(--c-text-2); }

/* Rating */
.pip-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.pip-stars { display: flex; gap: 2px; color: #f5a623; }
.pip-rating-link { font-size: 12px; color: var(--c-text-2); text-decoration: underline; }
.pip-rating-link:hover { color: var(--c-accent); }

/* Price */
.pip-price-block { padding: 20px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); margin-bottom: 20px; }
.pip-price { font-size: 2rem; font-weight: 800; color: var(--c-text); line-height: 1; margin-bottom: 6px; }
.pip-price ins { text-decoration: none; color: var(--c-accent); }
.pip-price del { font-size: 1.1rem; color: var(--c-text-3); font-weight: 400; margin-right: 8px; }
.pip-price-note { font-size: 11px; color: var(--c-text-3); }

/* Delivery box */
.pip-delivery-box { display: flex; flex-direction: column; gap: 10px; background: var(--c-bg-2); border-radius: var(--r-md); padding: 16px; margin-bottom: 24px; }
.pip-delivery-item { display: flex; align-items: flex-start; gap: 12px; }
.pip-delivery-item svg { flex-shrink: 0; color: var(--c-accent); margin-top: 1px; }
.pip-delivery-item strong { display: block; font-size: 13px; font-weight: 600; color: var(--c-text); }
.pip-delivery-item span { font-size: 12px; color: var(--c-text-3); }

/* Option sections */
.pip-option-section { margin-bottom: 22px; }
.pip-option-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pip-option-label { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--c-text); }
.pip-option-help { font-size: 12px; color: var(--c-accent); text-decoration: underline; }

/* Material cards */
.pip-material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pip-mat-card { position: relative; cursor: pointer; }
.pip-mat-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.pip-mat-card-inner {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-md);
    transition: all 0.2s;
}
.pip-mat-card input:checked ~ .pip-mat-card-inner { border-color: var(--c-accent); background: rgba(230,57,70,.04); }
.pip-mat-name { font-size: 13px; font-weight: 600; color: var(--c-text); }
.pip-mat-sub { font-size: 11px; color: var(--c-text-3); }
.pip-check-icon { position: absolute; top: 8px; right: 8px; color: var(--c-border-2); transition: color 0.2s; }
.pip-mat-card input:checked ~ .pip-check-icon { color: var(--c-accent); }

/* Extras */
.pip-extras { display: flex; flex-direction: column; gap: 8px; }
.pip-extra-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}
.pip-extra-card input { position: absolute; opacity: 0; }
.pip-extra-card:has(input:checked) { border-color: var(--c-accent); background: rgba(230,57,70,.03); }
.pip-extra-icon { width: 40px; height: 40px; background: var(--c-bg-2); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--c-text-2); }
.pip-extra-card:has(input:checked) .pip-extra-icon { background: rgba(230,57,70,.1); color: var(--c-accent); }
.pip-extra-info { flex: 1; }
.pip-extra-info strong { display: block; font-size: 13px; font-weight: 600; color: var(--c-text); }
.pip-extra-info span { font-size: 11px; color: var(--c-text-3); }
.pip-extra-price { font-size: 12px; font-weight: 600; color: var(--c-accent); white-space: nowrap; }
.pip-extra-check {
    width: 22px; height: 22px;
    border: 1.5px solid var(--c-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: transparent;
    transition: all 0.2s;
}
.pip-extra-card:has(input:checked) .pip-extra-check { background: var(--c-accent); border-color: var(--c-accent); color: white; }

/* Note */
.pip-note {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--c-border); border-radius: var(--r-md);
    font-size: 13px; font-family: var(--font-body);
    resize: vertical; min-height: 80px; outline: none;
    transition: border-color 0.2s; background: white;
}
.pip-note:focus { border-color: var(--c-accent); }
.pip-note::placeholder { color: var(--c-text-3); }

/* CTA */
.pip-cta-wrap { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.pip-qty-row { display: flex; align-items: center; gap: 16px; }
.pip-qty { display: flex; align-items: center; border: 1.5px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.pip-qty-btn { width: 40px; height: 40px; background: white; border: none; cursor: pointer; font-size: 1.1rem; font-weight: 400; color: var(--c-text); transition: background 0.2s; }
.pip-qty-btn:hover { background: var(--c-bg-2); }
.pip-qty-input { width: 52px; text-align: center; border: none; border-left: 1.5px solid var(--c-border); border-right: 1.5px solid var(--c-border); height: 40px; font-size: 14px; font-weight: 700; outline: none; }
.pip-stock-tag { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #1a6b1a; }
.pip-stock-tag svg { color: #1a6b1a; }
.pip-add-btn {
    width: 100%; padding: 16px;
    background: var(--c-black); color: white;
    border: none; border-radius: var(--r-md);
    font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    cursor: pointer; transition: background 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.pip-add-btn:hover { background: var(--c-accent); }
.pip-cerere-btn {
    width: 100%; padding: 13px;
    background: transparent; color: var(--c-text);
    border: 1.5px solid var(--c-border-2); border-radius: var(--r-md);
    font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pip-cerere-btn:hover { border-color: var(--c-text); }
.pip-out-of-stock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--c-text-2); padding: 12px 0; }

/* Trust chips */
.pip-trust-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-border); }
.pip-chip { display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--c-bg-2); border-radius: 20px; font-size: 11px; font-weight: 500; color: var(--c-text-2); }
.pip-chip svg { color: var(--c-accent); }

/* ── Sticky bar ── */
.pip-sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: white; border-top: 1px solid var(--c-border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    transform: translateY(100%); transition: transform 0.3s var(--ease);
    padding: 12px 0;
}
.pip-sticky-bar.visible { transform: translateY(0); }
.pip-sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pip-sticky-product { display: flex; align-items: center; gap: 12px; }
.pip-sticky-product img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--r-sm); }
.pip-sticky-product strong { display: block; font-size: 14px; font-weight: 600; }
.pip-sticky-product span { font-size: 13px; color: var(--c-text-2); }
.pip-sticky-btn { width: auto; padding: 13px 32px; font-size: 14px; }

/* ── Lower accordion ── */
.pip-lower { padding: 48px 0; border-top: 1px solid var(--c-border); margin-top: 48px; }
.pip-accordion { border-bottom: 1px solid var(--c-border); }
.pip-acc-head {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0; background: none; border: none; cursor: pointer;
    font-size: 15px; font-weight: 600; color: var(--c-text); text-align: left;
    transition: color 0.2s;
}
.pip-acc-head:hover { color: var(--c-accent); }
.pip-acc-head.active { color: var(--c-accent); }
.pip-acc-icon { transition: transform 0.3s; flex-shrink: 0; color: var(--c-text-3); }
.pip-acc-head.active .pip-acc-icon { transform: rotate(180deg); }
.pip-acc-body { display: none; padding-bottom: 28px; }
.pip-acc-body.open { display: block; }
.pip-desc-content p { font-size: 0.9rem; color: var(--c-text-2); line-height: 1.8; margin-bottom: 16px; }
.pip-desc-content h2 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; margin-top: 20px; }
.pip-desc-content ul { padding-left: 0; display: flex; flex-direction: column; gap: 8px; }
.pip-desc-content ul li { font-size: 0.875rem; color: var(--c-text-2); padding-left: 20px; position: relative; }
.pip-desc-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--c-accent); }

/* Spec table */
.pip-spec-table { width: 100%; border-collapse: collapse; }
.pip-spec-table tr { border-bottom: 1px solid var(--c-border); }
.pip-spec-table tr:last-child { border-bottom: none; }
.pip-spec-table td { padding: 12px 0; font-size: 13px; }
.pip-spec-table td:first-child { color: var(--c-text-2); width: 45%; font-weight: 500; }
.pip-spec-table td:last-child { color: var(--c-text); font-weight: 600; }

/* Delivery table */
.pip-delivery-table { display: flex; flex-direction: column; gap: 0; }
.pip-del-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-border); align-items: center; font-size: 13px; }
.pip-del-row:last-child { border-bottom: none; }
.pip-del-name { font-weight: 600; color: var(--c-text); }
.pip-del-desc { color: var(--c-text-2); }
.pip-del-price { font-weight: 700; color: var(--c-text); white-space: nowrap; }

/* Reviews summary */
.pip-rating-summary { display: flex; align-items: center; gap: 20px; padding: 20px; background: var(--c-bg-2); border-radius: var(--r-md); margin-bottom: 24px; }
.pip-rating-big { font-size: 3.5rem; font-weight: 800; line-height: 1; }
.pip-stars-lg { display: flex; gap: 3px; color: #f5a623; margin-bottom: 4px; }

/* Related */
.pip-related { padding: 48px 0; }

/* Responsive */
@media (max-width: 1100px) {
    .pip-inner { grid-template-columns: 1fr 400px; gap: 40px; }
}
@media (max-width: 900px) {
    .pip-inner { grid-template-columns: 1fr; gap: 32px; }
    .pip-gallery { position: static; }
    .pip-material-grid { grid-template-columns: repeat(3, 1fr); }
    .pip-del-row { grid-template-columns: 1fr 1fr; }
    .pip-del-desc { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .pip-price { font-size: 1.6rem; }
    .pip-sticky-product { display: none; }
    .pip-sticky-btn { width: 100%; }
    .pip-material-grid { grid-template-columns: 1fr 1fr 1fr; }
    .pip-trust-chips { gap: 6px; }
    .pip-chip { font-size: 10px; padding: 5px 10px; }
}

/* ══════════════════════════════════════
   IKEA-STYLE CATEGORY ROW
══════════════════════════════════════ */
.cats-section { padding-bottom: 56px; }

.ikea-cat-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.ikea-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}
.ikea-cat-card:hover .ikea-cat-img-wrap { background: #e8e8e6; }
.ikea-cat-card:hover .ikea-cat-name { text-decoration: underline; }

.ikea-cat-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    background: #f5f5f3;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background 0.2s;
}
.ikea-cat-img-wrap img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.35s var(--ease);
}
.ikea-cat-card:hover .ikea-cat-img-wrap img { transform: scale(1.06); }

.ikea-cat-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #c0c0bc;
}

.ikea-cat-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    text-align: center;
    line-height: 1.35;
    max-width: 130px;
}

@media (max-width: 1100px) {
    .ikea-cat-row { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 860px) {
    .ikea-cat-row { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
@media (max-width: 600px) {
    .ikea-cat-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .ikea-cat-name { font-size: 11px; }
}
@media (max-width: 400px) {
    .ikea-cat-row { grid-template-columns: repeat(2, 1fr); }
}
