/* ==========================================================
   T323 THEME — style.css
   All component & page styles. Colors from concept-style.css.
   ========================================================== */

/* ----------------------------------------------------------
   GLOBAL RESETS & BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-family-main);
    color: var(--text-color);
    background: #fff;
    margin: 0;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--main); }

.main-color {
    color: var(--main);
}

.cart-price-breakdown .acsPanel.active {
    background-color: var(--main) !important;
    color: var(--text-on-dark) !important;
    border: none !important;
}

.acsPanel.active .text-muted, .acsPanel.active span, .acsPanel.active #priceOutput, .acsPanel.active #intervalOutput, .acsPanel.active i {
    color: var(--text-on-dark) !important;
}

@media (min-width: 768px) and (max-width: 992px) {
    #bestOfferBadge {
        right: -15% !important;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .giftcard-page .selectAmount {
        min-height: 60px;
    }
}

.alert span {
    position: relative;
    top: -7px;
}

/* ----------------------------------------------------------
   SHARED BUTTON
   ---------------------------------------------------------- */
.btn-primary-theme, #password-modal .btn-primary, #address-form .btn-primary, #cookie-box button, #payment-form button, #subscription_type input[type="submit"], #cancel-modal-locked button {
    display: inline-block;
    text-align: center;
    background: var(--main);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.7rem 1.75rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    opacity: .8;
}
.btn-primary-theme:hover, #password-modal .btn-primary:hover, #address-form .btn-primary:hover, #cookie-box button:hover, #payment-form button:hover, #subscription_type input[type="submit"]:hover, #cancel-modal-locked button:hover {
    background: var(--main-dark);
    color: #fff;
    opacity: 1;
}

#subscription_type input[type="submit"] {
    line-height: unset !important;
}

.acsBtn {
    text-decoration: none !important;
    border-radius: 30px !important;
}

/* ----------------------------------------------------------
   SECTION SHARED HELPERS
   ---------------------------------------------------------- */
.section-wrap { padding: 60px 0; }
.section-wrap--light { background: var(--light-bg); }

.section-line {
    width: 40px;
    height: 3px;
    background: var(--main);
    margin-bottom: 0.6rem;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.section-heading__left { display: flex; flex-direction: column; }
.section-heading--dark .section-title { color: var(--text-on-dark); }

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.section-all-link {
    color: var(--main);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-all-link:hover { color: var(--main-dark); }

/* Section tabs */
.section-tabs {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    flex-wrap: wrap;
}
.section-tab {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    cursor: pointer;
}
.section-tab.active,
.section-tab:hover {
    color: var(--main);
    border-bottom-color: var(--main);
}

/* JS tab panels */
.js-tab-panel { display: none; }
.js-tab-panel.active { display: block; }

/* ----------------------------------------------------------
   NAV — TOP BAR
   ---------------------------------------------------------- */
.nav-topbar {
    background: var(--main);
    color: rgba(255,255,255,0.92);
    font-size: 0.75rem;
    padding: 6px 0;
}
.nav-topbar-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
}
.nav-topbar-left .lang_swicher,
.nav-topbar-left .lang_swicher .current_lang,
.nav-topbar-left .nav-topbar-link,
.nav-topbar-left select,
.nav-topbar-left a { color: rgba(255,255,255,0.9) !important; font-size: 0.75rem; background: transparent; border-color: rgba(255,255,255,0.3); }
.nav-topbar-left select { border: 1px solid rgba(255,255,255,0.3); padding: 1px 4px; border-radius: 2px; cursor: pointer; }
.nav-topbar-left .dropdown-menu {
    z-index: 9999;
}
.nav-topbar-left .dropdown-menu .dropdown-item {
    color: var(--text-color) !important;
}

/* ----------------------------------------------------------
   NAV — MAIN BAR
   ---------------------------------------------------------- */
.site-nav {
    background: var(--dark-bg);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.2s;
}
.site-nav.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

.nav-inner {
    display: flex;
    align-items: center;
    height: 68px;
    gap: 2rem;
}

.nav-brand img {
    height: 36px;
    width: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}
.nav-links__link {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.8);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-links__link:hover,
.nav-links__link.active {
    color: #fff;
    border-bottom-color: var(--main);
}

/* Nav — category dropdown */
.nav-dropdown__chevron {
    font-size: 0.6rem;
    margin-left: 4px;
    transition: transform 0.2s;
    vertical-align: middle;
}
.nav-dropdown__toggle[aria-expanded="true"] .nav-dropdown__chevron { transform: rotate(180deg); }
.nav-dropdown__menu {
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 0.4rem 0;
    min-width: 190px;
    margin-top: 4px !important;
}
.nav-dropdown__item {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.8125rem;
    padding: 0.5rem 1.25rem !important;
}
.nav-dropdown__item:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
}
.nav-dropdown__divider { border-color: rgba(255,255,255,0.1) !important; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-search-form {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    overflow: hidden;
}
.nav-search-input {
    border: none;
    outline: none;
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
    width: 180px;
    background: transparent;
}
.nav-search-btn {
    background: transparent;
    border: none;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}
.nav-search-btn:hover { color: var(--main); }

.nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.2);
    align-self: center;
    flex-shrink: 0;
}

.nav-icon {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.nav-icon:hover { color: #fff; }

.nav-cart-icon { position: relative; }
.nav-cart-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    background: var(--main);
    color: #fff;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
}
.nav-hamburger span {
    display: block;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
    transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------
   NAV — MOBILE MENU
   ---------------------------------------------------------- */
.nav-mobile-menu {
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.nav-mobile-menu.is-open { max-height: 900px; }

.nav-mobile-search { padding: 1rem 0 0.5rem; }
.nav-mobile-search .nav-search-form { width: 100%; }
.nav-mobile-search .nav-search-input { width: 100%; }

.nav-mobile-links {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border-bottom: 1px solid var(--border);
}
.nav-mobile-links li a {
    display: block;
    padding: 0.65rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    border-bottom: 1px solid var(--border);
}
.nav-mobile-links li:last-child a { border-bottom: none; }
.nav-mobile-links li a:hover { color: var(--main); }

/* Mobile dropdown item (Shop with categories) */
.nav-mobile-item__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}
.nav-mobile-item__row a {
    border-bottom: none !important;
    flex: 1;
}
.nav-mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.65rem 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: color 0.2s, transform 0.25s;
}
.nav-mobile-toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--main); }
.nav-mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-mobile-submenu li a {
    padding-left: 1.25rem !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
    border-bottom: 1px solid var(--border) !important;
}
.nav-mobile-submenu li a:hover { color: var(--main) !important; }

/* ----------------------------------------------------------
   NAV — CATEGORY BAR
   ---------------------------------------------------------- */
.nav-catbar {
    background: var(--dark-bg);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-catbar__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.nav-catbar__link {
    display: block;
    padding: 9px 16px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-catbar__link:hover {
    color: #fff;
    text-decoration: none;
}

/* ----------------------------------------------------------
   NAV — SEARCH POPUP
   ---------------------------------------------------------- */
.nav-search-popup {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    border-top: 1px solid rgba(255,255,255,0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.2s;
    z-index: 999;
}
.nav-search-popup.is-open {
    max-height: 80px;
    opacity: 1;
}
.nav-search-popup__form {
    display: flex;
    align-items: center;
    padding: 0.875rem 0;
    gap: 0.5rem;
}
.nav-search-popup__input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    outline: none;
    padding: 0.55rem 1rem;
    font-size: 0.9375rem;
    border-radius: 4px;
}
.nav-search-popup__input::placeholder { color: rgba(255,255,255,0.35); }
.nav-search-popup__input:focus { border-color: rgba(255,255,255,0.4); }
.nav-search-popup__btn {
    background: var(--main);
    border: none;
    color: #fff;
    padding: 0.55rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: background 0.2s;
}
.nav-search-popup__btn:hover { background: var(--main-dark); }
.nav-search-popup__close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.4rem 0.5rem;
    flex-shrink: 0;
    transition: color 0.2s;
}
.nav-search-popup__close:hover { color: #fff; }

/* ----------------------------------------------------------
   HERO SECTION — slider
   ---------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: var(--dark-bg);
}
@media (min-width: 992px) { .hero-section { min-height: 620px; } }

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.hero-bg-layer.is-active { opacity: 0.85; }

.hero-overlay {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: flex;
    align-items: stretch;
}
@media (min-width: 992px) { .hero-overlay { min-height: 620px; } }

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    padding: 60px 0;
}

.hero-content {
    flex: 1;
    max-width: 480px;
    color: var(--text-on-dark);
}
.hero-content__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    transition: opacity 0.25s;
}
.hero-content__subtitle {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    line-height: 1.6;
    transition: opacity 0.25s;
}
.hero-content.is-fading .hero-content__title,
.hero-content.is-fading .hero-content__subtitle { opacity: 0; }

/* Thumbnails column */
.hero-thumbs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 360px;
    flex-shrink: 0;
    align-self: stretch;
    padding: 60px 0;
}
/* Hero — mobile / tablet layout */
@media (max-width: 991px) {
    .hero-overlay .container {
        display: flex;
        flex-direction: column;
    }
    .hero-layout {
        flex: 1;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 36px 0 12px;
    }
    .hero-content { max-width: 100%; }
    .hero-thumbs {
        display: flex;
        flex-direction: row;
        flex-shrink: 0;
        width: 100%;
        height: 64px;
        padding: 0;
        gap: 6px;
        align-self: auto;
    }
    .hero-thumb { flex: 1; height: 64px; }
    .hero-thumb__img { height: auto !important; }
}

/* Dots — hidden on desktop, shown on mobile/tablet */
.hero-dots { display: none; }
@media (max-width: 991px) {
    .hero-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 8px 0 16px;
    }
    .hero-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        padding: 0;
        cursor: pointer;
        background: rgba(255, 255, 255, 0.35);
        transition: background 0.3s;
    }
    .hero-dot.is-active { background: var(--main); }
}

.hero-thumb {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.hero-thumb__img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    filter: grayscale(1) brightness(0.45);
    transition: filter 0.4s ease;
    border-radius: 5px;
}
.hero-thumb.is-active .hero-thumb__img {
    filter: grayscale(0) brightness(1);
}

.hero-thumb__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 0 0 5px 5px;
}
.hero-thumb__bar {
    height: 100%;
    width: 0%;
    background: var(--main);
    border-radius: 0 0 5px 5px;
}
@keyframes hero-bar-fill {
    from { width: 0%; }
    to { width: 100%; }
}
.hero-thumb.is-active .hero-thumb__bar {
    animation: hero-bar-fill 5s linear forwards;
}

/* ----------------------------------------------------------
   HERO FEATURES BAR
   ---------------------------------------------------------- */
.hero-features {
    background: var(--main);
    padding: 18px 0;
}
.hero-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 767px) {
    .hero-features__grid { grid-template-columns: repeat(2, 1fr); }
}

.hero-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
}
.hero-feature-item__icon {
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   CATEGORY GRID (4 cards)
   ---------------------------------------------------------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 991px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .category-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; } }

/* Count-based column variants */
.category-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.category-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) { .category-grid--cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px)  { .category-grid--cols-3 { grid-template-columns: repeat(2, 1fr); } }

.category-card {
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--card-bg);
}
.category-card__img {
    position: relative;
    background: var(--light-bg);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.category-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.category-card:hover .category-card__img img { transform: scale(1.04); }

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--main);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 2px;
}

.category-card__body {
    padding: 1rem 1.25rem 1.25rem;
    background: var(--card-bg);
}
.category-card__title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}
.category-card__link {
    color: var(--main);
    font-size: 0.875rem;
    font-weight: 600;
}
.category-card__link:hover { color: var(--main-dark); }

/* ----------------------------------------------------------
   PRODUCTS GRID (4×2, white cards)
   ---------------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 991px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .products-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; } }

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.product-card__img {
    background: var(--light-bg);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

.product-card__body {
    padding: 0.875rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}
.product-card__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
}
.product-card__name a:hover { color: var(--main); }

.product-card__stock {
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}
.product-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
}
.product-card__vat {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 2px;
}
.product-card__add {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.product-card__add:hover {
    background: var(--main);
    color: #fff;
    border-color: var(--main);
}

/* ----------------------------------------------------------
   DEALS OF THE WEEK — sidebar layout
   ---------------------------------------------------------- */
.deals-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 991px) {
    .deals-layout { grid-template-columns: 1fr; }
    .deals-sidebar { position: static !important; top: auto; }
}

.deals-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 88px;
}
.deals-sidebar__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}


/* ----------------------------------------------------------
   DARK CTA BANNER
   ---------------------------------------------------------- */
.dark-cta-banner {
    background: var(--dark-bg);
    padding: 60px 0;
}
.dark-cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.dark-cta-banner__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-on-dark);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}
.dark-cta-banner__desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.9375rem;
    margin: 0;
    max-width: 480px;
}

/* ----------------------------------------------------------
   CATEGORIES TILES (6 in a row)
   ---------------------------------------------------------- */
.categories-list-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
@media (max-width: 1199px) { .categories-list-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .categories-list-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 479px) { .categories-list-grid { grid-template-columns: repeat(2, 1fr); } }

.category-tile a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}
.category-tile__wrapper {
    width: 100%;
    height: 50px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main);
    border-radius: 30px;
    
}
.category-tile:hover { transform: scale(1.05); }
.category-tile__name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-on-dark);
}

/* ----------------------------------------------------------
   DARK PRODUCTS SECTION
   ---------------------------------------------------------- */
.dark-products-section {
    background: var(--dark-bg);
    padding: 60px 0;
}
.dark-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 991px) { .dark-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .dark-products-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; } }

.product-card-dark {
    background: var(--dark-card);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.product-card-dark__img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--dark-card);
}
.product-card-dark__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.product-card-dark:hover .product-card-dark__img img { transform: scale(1.04); }

.product-card-dark__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}
.product-card-dark__name a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-on-dark);
    display: block;
}
.product-card-dark__name a:hover { color: var(--main); }

.product-card-dark__cta {
    display: block;
    background: var(--main);
    color: #fff;
    text-align: center;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background 0.2s;
}
.product-card-dark__cta:hover { background: var(--main-dark); color: #fff; }

.product-card-dark__price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-on-dark);
}
.product-card-dark__vat {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    margin-left: 2px;
}
.product-card-dark__stock {
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ----------------------------------------------------------
   SERVICES SECTION (3 cards)
   ---------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 767px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
    border: 1px solid var(--border);
    padding: 1.5rem 1.75rem;
    background: var(--card-bg);
}
.service-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text-color);
}
.service-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1rem;
}
.service-card__link {
    color: var(--main);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.service-card__link:hover { color: var(--main-dark); }

/* ----------------------------------------------------------
   PRODUCT LIST ROWS (featured tires, list style)
   ---------------------------------------------------------- */
.product-list-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--card-bg);
    transition: background 0.15s;
}
.product-list-row:first-child { border-top: 1px solid var(--border); }
.product-list-row:hover { background: var(--light-bg); }

.product-list-row__img {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-list-row__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-list-row__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.product-list-row__name a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-color);
}
.product-list-row__name a:hover { color: var(--main); }

.product-list-row__stock {
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-list-row__price {
    flex-shrink: 0;
    text-align: right;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
}
.product-list-row__vat {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 2px;
}

@media (max-width: 479px) {
    .product-list-row { gap: 0.75rem; }
    .product-list-row__img { width: 100px; height: 100px; }
    .product-list-row__price { font-size: 0.9rem; }
}

/* ----------------------------------------------------------
   BRAND TEXT SECTION
   ---------------------------------------------------------- */
.brand-text-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.brand-text-content {
    max-height: 80px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
}
.brand-text-content::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
    transition: opacity 0.3s;
}
.brand-text-content.is-expanded { max-height: 800px; }
.brand-text-content.is-expanded::after { opacity: 0; }

.brand-text-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}
.show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--main);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0;
}
.show-more-btn:hover { color: var(--main-dark); }
.show-more-icon { transition: transform 0.3s; font-size: 0.7rem; }


/* ----------------------------------------------------------
   FOOTER — MAIN DARK
   ---------------------------------------------------------- */
.site-footer {
    background: var(--dark-bg);
    color: var(--text-on-dark);
    padding: 52px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-logo img {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}
.footer-company-name {
    color: var(--text-on-dark);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
}
.footer-address { font-size: 0.825rem; line-height: 1.7; margin-bottom: 0.5rem; }
.footer-contact-item { font-size: 0.825rem; margin: 0.2rem 0; }

.footer-col-title {
    color: var(--text-on-dark);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 1.1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.footer-links__link {
    font-size: 0.85rem;
    color: var(--text-on-dark);
    transition: color 0.2s;
}
.footer-links__link:hover { color: var(--main); }

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 14px 0;
    font-size: 0.78rem;
    color: var(--text-on-dark);
}
.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
@media (max-width: 575px) {
    .footer-bottom__inner { flex-direction: column; align-items: center; text-align: center; }
}

/* ----------------------------------------------------------
   BACK TO TOP
   ---------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 42px;
    height: 42px;
    background: var(--main);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--main-dark); }

/* ----------------------------------------------------------
   EXISTING — CART, PRODUCT PAGE, FILTERS, BADGES
   ---------------------------------------------------------- */
.cart-price-breakdown { padding: 0; }

.credit-cards { margin: 3px 3px 0; }
.credit-cards-block .credit-card {
    display: inline-block;
    width: 46px;
    margin-right: 5px;
    background-size: contain;
    position: relative;
    top: 5px;
    background-repeat: no-repeat !important;
}

.switch input[type=checkbox]:checked,
.switch input[type=checkbox] { margin-right: 5px !important; }

#subscription_id.custom-select { height: fit-content !important; }

#subscription_type input {
    background: #000;
    color: #fff;
    line-height: 38px;
    padding: 0 32px;
    height: 40px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    border: 0;
}

.iti--allow-dropdown { width: 100%; }
.modal { z-index: 99999; }

.subscribe-checkbox .checkmark {
    position: absolute !important;
    left: 3px !important;
    top: -8px !important;
}

.table> :not(caption)>*>* { border-bottom: none !important; }
tr { border-color: transparent !important; }

input[type=checkbox]:checked {
    -webkit-appearance: checkbox !important;
    accent-color: var(--main) !important;
    background-color: var(--main) !important;
}
input[type=checkbox] { padding: 0; width: 12px; height: 12px; }

.container-alert { z-index: 2000 !important; position: relative; }
.close { border: 0; background: transparent; }
.container-alert .close {
    background-color: transparent;
    border: 0;
    position: absolute;
    right: 0;
}
.container-alert .close span { font-size: x-large; }

/* Product page — variant selector */
.product-page input[type=number]::-webkit-inner-spin-button { display: none !important; }
.product-page .variant-options { gap: 0.5rem; }
.product-page .variant-box {
    border: 1px solid var(--border);
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    min-width: 50px;
    flex: 0 0 auto;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}
.product-page .variant-box.active { border-color: #000; font-weight: bold; }
.product-page .variant-box:hover { border-color: #666; }
.product-page .variant-image { max-width: 40px; height: auto; display: block; margin: 0 auto 4px; }
.product-page .variant-label { font-size: 0.8rem; display: block; white-space: nowrap; }

/* Filters */
@media (max-width: 767px) {
    .shop .filters-block {
        overflow-y: scroll;
        position: fixed;
        top: 0; bottom: 0; left: 0;
        z-index: 9999;
        padding: 0 1rem;
        width: 100vw; height: 100vh;
        background: #fff;
    }
    .shop .filters-block.hidden {
        transform: translate(-400px, 0);
        opacity: 0;
        pointer-events: none;
    }
    .filters-block .btn.btn-secondary {
        display: inline-block;
        text-align: center;
        background: var(--main);
        color: #fff;
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.03em;
        padding: 0.7rem 1.75rem;
        border: none;
        border-radius: 30px;
        cursor: pointer;
        transition: background 0.2s;
        text-decoration: none;
        opacity: .8;
    }
}
.shop .filters-close { width: 100%; padding-top: 1rem; height: 35px; }
@media (min-width: 768px) {
    .shop .filters-close { display: none; }
    .shop .filters-block .filters-block-inner { position: relative; }
}
.shop .filters-close>div {
    margin: auto; margin-right: 0;
    width: 20px; height: 1px;
    background-color: var(--border);
}
.shop .filters-close>div:nth-of-type(1) { transform: translate(0, 0.5px) rotate(45deg); }
.shop .filters-close>div:nth-of-type(2) { transform: translate(0, -0.5px) rotate(-45deg); }

.shop .filters-block .title { margin: .9rem 0 .2rem; }
.shop .filters-block .link-filter {
    display: inline-flex; width: 100%; padding: 5px 0;
    position: relative; cursor: pointer; user-select: none;
}
.shop .filters-block .link-filter.suboption { padding-left: 1.2rem; transform: scale(0.9); }
.shop .filters-block .link-filter input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.shop .filters-block .link-filter span {
    display: inline-block; width: 18px; height: 18px;
    position: relative; margin-right: 10px;
    text-align: center; background-color: white;
    border: solid 1px #999; line-height: 16px;
    border-radius: 3px; top: 1px;
    transition: all 0.2s;
}
.shop .filters-block .link-filter:not(.selected) span i { display: none; }
.shop .filters-block .link-filter:not(.selected):hover span { border: solid 1px #111; margin-right: 1rem; }
.shop .filters-block .link-filter.selected span { border-color: #111; background-color: #111; margin-right: 1rem; }
.shop .filters-block .link-filter.selected span i { display: inline-flex; color: white; }

#search-brands {
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: var(--text-color);
    background: #fff;
    box-shadow: none;
    transition: border-color 0.2s;
    outline: none;
}
#search-brands:focus, #payment-form .form-control:focus {
    border-color: var(--main);
    box-shadow: none;
    outline: none;
}

.shop .filters-block .brand-filter {
    height: 400px !important;
    margin-top: 0.4rem; padding: 0 0.4rem;
    border-bottom: 0.5px solid #f1f1f1;
    border-top: 0.5px solid #f1f1f1;
    overflow-y: scroll;
}
.brand-entry,
#filter-category-0 .pl-2,
#collapse-categories div { margin: 0.25rem 0; }

#collapse-categories input[type=checkbox],
#brand-filter input[type=checkbox] {
    display: inline-block; width: 18px; height: 18px;
    position: relative; margin-right: 10px;
    text-align: center; background-color: white;
    border: solid 1px #111; line-height: 16px;
    border-radius: 3px; top: 1px;
    transition: all 0.2s;
}

/* Security badges */
.containerBadges1 { margin: 0.5rem auto 0; text-align: center; }
.containerBadges1 .cards { max-width: 90%; }
.containerBadges1 .badgeText { margin-bottom: 10px; font-size: 16px; padding-top: 15px; font-weight: 500; }
.containerBadges1 svg { margin: 0 5px; opacity: 0.6; }

.containerBadges2 {
    display: flex; align-items: center; justify-content: space-between;
    width: fit-content; margin: 0 auto 0.5rem;
    max-width: 100%; padding: 10px 15px 10px 5px;
}
.containerBadges2 svg { width: 88px; fill: var(--cta-green); opacity: 0.8; }
.containerBadges2 .containercards { padding: 5px 20px; }
.containerBadges2 .badgeText { margin-bottom: 0; font-weight: 500; }
.containerBadges2 .containerTextCards { display: flex; flex-direction: column; align-items: center; }
.containerBadges2 .securityBadges .credit-cards { display: flex; text-align: center; }

/* ===========================================
   CONTACT PAGE
   =========================================== */

.contact-page {
    background: var(--light-bg);
    padding: 60px 0 80px;
    min-height: 60vh;
}

.contact-page__inner {
    max-width: 760px;
    margin: 0 auto;
}

/* Intro section */
.contact-intro {
    margin-bottom: 40px;
}

.contact-intro__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.contact-intro__text {
    color: var(--text-color);
    line-height: 1.75;
    font-size: 0.95rem;
}

.contact-form__field {
    margin-bottom: 20px;
}

.contact-form__label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 6px;
}

.contact-form__required {
    color: var(--main);
}

.contact-form__input,
.contact-form__textarea,
.main-form .form-control,
.contact-form__captcha input {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: border-color 0.2s;
    box-shadow: none;
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.main-form .form-control:focus,
.contact-form__captcha input:focus {
    border-color: var(--main);
    outline: none;
    box-shadow: none;
}

.contact-form__captcha input {
    margin: 20px 0;
}

.contact-form__textarea {
    min-height: 200px;
    resize: vertical;
}


@media (max-width: 575px) {
    .contact-page { padding: 36px 0 60px; }
    .contact-intro__title { font-size: 1.4rem; }
}

/* Services bar — reusable */
.services-bar {
    background: var(--main);
    padding: 40px 0;
}

.services-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services-bar__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #fff;
}

.services-bar__icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.services-bar__title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 4px;
}

.services-bar__desc {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 991px) {
    .services-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 575px) {
    .services-bar { padding: 32px 0; }
    .services-bar__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===========================================
   FAQ PAGE
   =========================================== */

.faq-page {
    background: var(--light-bg);
    padding: 60px 0 80px;
}

.faq-page__inner {
    max-width: 760px;
    margin: 0 auto;
}

/* FAQ page title with split top border */
.faq-page__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 32px;
    padding-top: 18px;
    position: relative;
}

.faq-page__title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--main) 40px, var(--border) 40px);
}

/* FAQ cards — actual classes from faq-bs5.twig partial */
.faq-page__inner .single-faq {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
}

.faq-page__inner .faq-heading {
    background: transparent !important;
    border: none !important;
    padding: 0;
}

.faq-page__inner .faq-heading h5 {
    margin: 0;
}

/* Toggle link — question row */
.faq-page__inner .faq-heading h5 a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 4px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    text-decoration: none;
    gap: 12px;
}

.faq-page__inner .faq-heading h5 a:hover {
    color: var(--text-color);
    text-decoration: none;
}

/* Icon on the right: chevron-down when collapsed, minus when expanded */
.faq-page__inner .faq-heading h5 a::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f078';
    font-size: 0.8rem;
    color: var(--text-color);
    flex-shrink: 0;
    margin-left: auto;
}

.faq-page__inner .faq-heading h5 a[class="collapsed"]::after {
    content: '\f078' !important;
}

.faq-page__inner .faq-heading h5 a[class]::after {
    content: '\f068';
}

/* Answer body */
.faq-page__inner li {
    list-style-type: none !important;
}

.faq-page__inner .card-body {
    background: transparent !important;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0 4px 18px;
    line-height: 1.7;
}

@media (max-width: 575px) {
    .faq-page { padding: 36px 0 60px; }
}

/* ===========================================
   POLICY PAGES (terms, privacy, cookies)
   =========================================== */

.policy-page {
    background: var(--light-bg);
    padding: 60px 0 80px;
}

.policy-page__inner {
    max-width: 900px;
    margin: 0 auto;
}

.policy-page__inner h2,
.policy-page__inner h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 28px 0 10px;
}

.policy-page__inner p,
.policy-page__inner li {
    font-size: 0.9rem;
    color: rgba(64, 64, 64, 1.0);
    line-height: 1.75;
}

@media (max-width: 575px) {
    .policy-page { padding: 36px 0 60px; }
}

/* ===========================================
   LOGIN PAGE
   =========================================== */

.login-page {
    background: var(--light-bg);
    padding: 80px 0;
    min-height: 60vh;
}

.login-page .container {
    display: flex;
    justify-content: center;
}

.login-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 48px;
    width: 100%;
    max-width: 500px;
}

.login-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.login-card__subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.login-card__field {
    margin-bottom: 20px;
}

.login-card__label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 6px;
}

.login-card__label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.login-card__label-row .login-card__label {
    margin-bottom: 0;
}

.login-card__forgot {
    font-size: 0.875rem;
    color: var(--main);
    text-decoration: none;
}

.login-card__forgot:hover {
    color: var(--main-dark);
    text-decoration: underline;
}

.login-card__input {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: border-color 0.2s;
    box-shadow: none;
}

.login-card__input:focus {
    border-color: var(--main);
    outline: none;
    box-shadow: none;
}

.login-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
}

.login-card__register {
    font-size: 0.9rem;
    color: var(--main);
    text-decoration: none;
}

.login-card__register:hover {
    color: var(--main-dark);
    text-decoration: underline;
}

/* Shared form partial inputs inside login card (register page) */
.login-card .form-control,
.login-card .form-control:focus {
    border-radius: 4px;
    border-color: #d1d1d1;
    box-shadow: none;
    font-size: 0.9rem;
    padding: 10px 14px;
}

.login-card .form-control:focus {
    border-color: var(--main);
}

.login-card label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 6px;
}

.login-card .iti {
    width: 100%;
}

@media (max-width: 575px) {
    .login-page { padding: 48px 0; }
    .login-card { padding: 28px 20px; }
    .login-card__actions { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===========================================
   CART PAGE
   =========================================== */

.cart-page {
    background: var(--light-bg);
    padding: 40px 0 60px;
    min-height: 60vh;
}

/* — Cart card — */
.cart-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px 32px;
    margin-bottom: 32px;
}

.cart-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
}

.cart-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.cart-free-shipping {
    font-size: 0.85rem;
    color: var(--text-color);
    margin: 0;
}

.cart-free-shipping a {
    color: var(--main);
    text-decoration: none;
}

/* — Table head — */
.cart-table-head {
    display: grid;
    grid-template-columns: 110px 1fr 200px 120px;
    gap: 20px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-color);
}

.cart-table-head .col-product { grid-column: 1 / 3; }
.cart-table-head .col-qty { text-align: center; }
.cart-table-head .col-total { text-align: right; }

/* — Cart item row — */
.cart-item {
    display: grid;
    grid-template-columns: 110px 1fr 200px 120px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item__image {
    width: 110px;
    height: 110px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 2rem;
}

.cart-item__brand {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cart-item__name {
    font-size: 0.9rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
}

.cart-item__name:hover { color: var(--main); }

.cart-item__prices {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
}

.cart-item__price-sale {
    color: var(--text-color);
    font-weight: 600;
}

/* — Qty stepper — */
.cart-item__qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cart-qty-stepper {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 100px;
}

.cart-qty-form {
    margin: 0;
    display: flex;
}

.cart-qty-btn {
    background: #fff;
    border: none;
    width: 34px;
    height: 34px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-color);
    transition: background 0.15s;
}

.cart-qty-btn:hover { background: var(--light-bg); }

.cart-qty-stepper .cart-qty-form:first-child .cart-qty-btn { border-radius: 100px 0 0 100px; }
.cart-qty-stepper .cart-qty-form:last-child .cart-qty-btn { border-radius: 0 100px 100px 0; }

.cart-qty-value {
    min-width: 38px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-color);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.cart-qty-remove {
    background: none;
    border: none;
    color: var(--main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* — Item total — */
.cart-item__total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.cart-item__total-sale {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

/* — Empty cart — */
.cart-empty {
    text-align: center;
    padding: 40px 0;
}

.cart-empty p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

/* — Bottom row — */
.cart-bottom {
    display: flex;
    justify-content: flex-end;
}

/* — Order summary — */
.cart-order-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 340px;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
}

/* — Responsive — */
@media (max-width: 767px) {
    .cart-card { padding: 20px 16px; }
    .cart-table-head { display: none; }
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
    }
    .cart-item__qty {
        grid-column: 1 / 3;
        justify-content: flex-start;
    }
    .cart-item__total { grid-column: 1 / 3; }
    .cart-bottom { justify-content: stretch; }
    .cart-order-summary { width: 100%; }
}

@media (max-width: 575px) {
    .cart-page { padding: 24px 0 48px; }
    .cart-item__image { width: 80px; height: 80px; }
    .cart-card__header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Cart & checkout — general link style (excludes buttons) */
.cart-page a:not(.btn-primary-theme):not(.cart-item__name),
.checkout-page a:not(.btn-primary-theme) {
    color: var(--main);
    text-decoration: underline;
}

/* ===========================================
   CHECKOUT PAGE
   =========================================== */

.checkout-page {
    background: var(--light-bg);
    padding: 40px 0 60px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

/* — Section headings inside cards — */
.checkout-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

/* — Delivery form inputs — */
.checkout-main .form-control {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--text-color);
    box-shadow: none;
}

.checkout-main .form-control:focus {
    border-color: var(--main);
    box-shadow: none;
    outline: none;
}

.checkout-main label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 6px;
}

.checkout-main .iti { width: 100%; }

/* — Sidebar — */
.checkout-sidebar .cart-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* — Responsive — */
@media (max-width: 991px) {
    .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .checkout-page { padding: 24px 0 48px; }
}

/* ----------------------------------------------------------
   PRIME PAGE
   ---------------------------------------------------------- */

/* — Banner / breadcrumb area — */
.breadcrumb-area {
    background: var(--light-bg);
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-area__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.breadcrumb-area__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.breadcrumb-area .breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
    font-size: 0.8rem;
    white-space: nowrap;
}

.breadcrumb-area .breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-area .breadcrumb-item a:hover { color: var(--main); }
.breadcrumb-area .breadcrumb-item.active,
.breadcrumb-area .breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* — Prime-specific services — */
.prime-services {
    background: #fff;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.prime-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.prime-services__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.prime-services__icon {
    font-size: 1.4rem;
    color: var(--main);
    flex-shrink: 0;
    margin-top: 2px;
}

.prime-services__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 4px;
}

.prime-services__desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .breadcrumb-area__title { font-size: 1.5rem; }
    .prime-services__grid { grid-template-columns: 1fr; gap: 20px; }
}

.prime-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--main);
    margin-bottom: 0.5rem;
}

.prime-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* — Section 1: About — */
.prime-about { background: #fff; padding: 60px 0; }

.prime-about__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.25rem;
}

.prime-about__text {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-color);
}

@media (min-width: 992px) {
    .prime-about__text { padding-left: 2rem; }
}

.prime-about__text p { margin-bottom: 1rem; }

/* — Section 2: See the Difference — */
.prime-diff { background: var(--light-bg); padding: 60px 0; }

.prime-diff__subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0.5rem auto 0;
}

.prime-diff__image { object-fit: cover; border-radius: 4px; max-height: 420px; }

.prime-diff__without {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.prime-diff__member {
    border: 1px solid var(--main);
    border-radius: 8px;
    padding: 1.5rem;
    background: rgba(200,16,46,0.04);
    position: relative;
    margin-top: 2.5rem;
}

.prime-diff__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.prime-diff__price-reg {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.prime-diff__price-member {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0;
}

.prime-diff__member-badge {
    position: absolute;
    top: 0;
    left: 1.5rem;
    transform: translateY(-50%);
    background: var(--main);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 3px 12px;
}

.prime-diff__savings {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.prime-diff__savings-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(34,160,107,0.12);
    color: var(--green);
    padding: 4px 10px;
    border-radius: 2px;
}

.prime-diff__note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.prime-diff__footer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 480px;
    margin: 1.25rem auto 0;
}

/* — Section 3: How It Works — */
.prime-how { background: #fff; padding: 60px 0; }

.prime-how__card {
    background: var(--light-bg);
    padding: 2rem;
    height: 100%;
    text-align: center;
    border-radius: 4px;
}

.prime-how__num {
    width: 48px;
    height: 48px;
    background: var(--main);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin: 0 auto 1.25rem;
}

.prime-how__card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.prime-how__card-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* — Section 4: How to Get Started (Steps) — */
.prime-steps-section { padding: 60px 0; background: var(--light-bg); }

.prime-steps { max-width: 600px; margin: 0 auto; }

.prime-steps__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.prime-steps__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 2px;
}

.prime-steps__num {
    width: 40px;
    height: 40px;
    background: var(--main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.prime-steps__connector {
    width: 2px;
    flex: 1;
    min-height: 20px;
    background: var(--border);
    margin: 6px 0;
}

.prime-steps__item:last-child .prime-steps__connector { display: none; }

.prime-steps__card {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid var(--main);
    border-radius: 0 8px 8px 0;
    padding: 1.1rem 1.25rem;
    margin-bottom: 8px;
    flex: 1;
}

.prime-steps__icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: var(--main-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.prime-steps__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.prime-steps__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
}

.prime-steps__badge {
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(34,160,107,0.1);
    color: var(--green);
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.prime-steps__text {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* — Section 5: Configure Your Plan — */
.prime-configure { background: var(--light-bg); padding: 60px 0; }

.prime-configure__form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2.5rem;
    max-width: 740px;
    margin: 0 auto;
}

.prime-range-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
}

.prime-range-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--main);
}

.prime-range-track {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.prime-configure__form input[type="range"] {
    height: 5px;
    background: var(--border) !important;
    accent-color: var(--main);
    cursor: pointer;
    width: 100%;
}

.prime-configure__form input[type="range"]::-webkit-slider-thumb {
    width: 15px;
    height: 15px;
    background: var(--main);
    border: none;
}

@media (max-width: 575px) {
    .prime-about { padding: 40px 0; }
    .prime-diff { padding: 40px 0; }
    .prime-how { padding: 40px 0; }
    .prime-steps-section { padding: 40px 0; }
    .prime-configure { padding: 40px 0; }
    .prime-configure__form { padding: 1.5rem; }
    .prime-section-title { font-size: 1.4rem; }
}

/* ===========================================
   COLLECTION PAGE
   =========================================== */

/* Controls topbar */
.coll-topbar {
    background: rgba(246 246 246 / 1.0);
    padding: 0.625rem 0;
}
.coll-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.coll-topbar__left { display: flex; align-items: center; gap: 1rem; }
.coll-topbar__toggle, .coll-sidebar button.btn.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s;
}
.coll-sidebar.shop {
    position: sticky;
    top: 7rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
}
.filters-block .form-select:focus {
    box-shadow: none;
    border-color: var(--main);
}
.coll-sidebar button.btn.btn-primary {
    color: var(--text-color);
}
.coll-topbar__toggle:hover { border-color: #111; }
.coll-topbar__right { display: flex; align-items: center; gap: 0.625rem; }
.coll-topbar__sort-label { font-size: 0.8125rem; color: var(--text-muted); }
.coll-topbar__sort {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    background: #fff;
    cursor: pointer;
    outline: none;
}
.coll-topbar__sort:focus { border-color: var(--main); }

/* Main wrap & layout */
.coll-wrap { padding: 2rem 0 3.5rem; background: rgba(246 246 246 / 1.0); }
.coll-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: start;
}
.coll-layout--no-sidebar { grid-template-columns: 1fr; }
.coll-sidebar--hidden { display: none; }

/* Products grid */
.coll-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 1100px) { .coll-products__grid { grid-template-columns: repeat(2, 1fr); } }

/* Product card */
.coll-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.coll-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.coll-card__img {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--light-bg);
    overflow: hidden;
}
.coll-card__img a { display: block; width: 100%; height: 100%; }
.coll-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.coll-card:hover .coll-card__img img { transform: scale(1.04); }
.coll-card__badge {
    position: absolute;
    top: 0; left: 0;
    background: var(--main);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    z-index: 1;
}
.coll-card__body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.coll-card__brand {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 0.2rem;
}
.coll-card__name {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.375rem;
}
.coll-card__name a { color: var(--text-color); }
.coll-card__name a:hover { color: var(--main); }
.coll-card__stock {
    font-size: 0.72rem;
    color: var(--green);
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.coll-card__prices { margin-top: auto; }
.coll-card__price-old {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.coll-card__price {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--main);
    margin-bottom: 0.625rem;
}
.coll-card__vat { font-size: 0.68rem; font-weight: 400; color: var(--text-muted); }
.coll-card__add {
    display: block;
    text-align: center;
    background: #111;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.2s;
}
.coll-card__add:hover { background: #333; color: #fff; }

/* Responsive */
@media (max-width: 767px) {
    .coll-layout { grid-template-columns: 1fr; }
    .coll-topbar__sort-label, .coll-topbar__toggle { display: none; }
    .coll-products__grid { grid-template-columns: repeat(2, 1fr); }
    .coll-sidebar.shop {
        position: relative;
        top: unset;
    }
}
@media (max-width: 575px) {
    .coll-wrap { padding: 1.25rem 0 2rem; }
    .coll-products__grid { gap: 0.625rem; }
    .coll-card__body { padding: 0.5rem; }
    .coll-card__name { font-size: 0.75rem; }
}

/* ==========================================================
   PRODUCT PAGE (pp-*)
   ========================================================== */

.pp-wrap {
    padding: 2.5rem 0 3rem;
    background: var(--light-bg);
}

/* 3-column grid: images | info | sidebar */
.pp-top-grid {
    display: grid;
    grid-template-columns: 40fr 34fr 26fr;
    gap: 2rem;
    align-items: start;
}

.pp-top-grid > *:nth-child(4) {
  grid-column: span 2;
}

/* --- Gallery --- */
.pp-gallery__main {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}
.pp-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
}
.pp-gallery__main:hover img { transform: scale(1.03); }
.pp-gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.pp-gallery__thumb {
    width: 62px;
    height: 62px;
    border: 2px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s;
}
.pp-gallery__thumb.active,
.pp-gallery__thumb:hover { border-color: var(--main); }
.pp-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Info column --- */
.pp-brand {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}
.pp-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}
.pp-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}
.pp-rating__stars { color: #f5a623; font-size: 0.85rem; }
.pp-rating__score { font-size: 0.875rem; font-weight: 600; color: var(--text-color); }
.pp-rating__count { font-size: 0.8rem; color: var(--text-muted); }
.pp-rating__count:hover { color: var(--main); }

.pp-stock-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.pp-badge-stock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(34,160,107,0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
}
.pp-ship-notice {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pp-price-wrap {
    margin: 0.5rem 0 1rem;
}
.pp-price-original {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 0.1rem;
}
.pp-price-main {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--main);
    display: block;
}

.pp-actions { margin-bottom: 0.6rem; }

.pp-btn-cart {
    display: block;
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}
.pp-btn-cart:hover { background: #333; color: #fff; }

.pp-location {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pp-tabs .nav-tabs { border-top: 1.5px solid var(--border); border-bottom: none; }
.pp-tabs .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
    color: var(--text-muted);
    border: none;
    border-top: 2px solid transparent;
    border-radius: 0;
}
.pp-tabs .nav-link.active {
    color: var(--text-color);
    font-weight: 600;
    border-top-color: var(--main);
    background: none;
    border-radius: 0;
}
.pp-tabs .tab-content {
    background-color: var(--card-bg);
    border-radius: 5px;
    font-size: 0.875rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-top: 1rem;
}

.qty-field {
    background-color: var(--card-bg);
    border-radius: 30px;
}

/* --- Details sidebar --- */
.pp-sidebar {
    border-radius: 10px;
    overflow: hidden;
    position: sticky;
    top: 7rem;
}
.pp-sidebar__section {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--border);
}
.pp-sidebar__section:last-child { border-bottom: none; }
.pp-sidebar__title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}
.pp-sidebar__attr {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}
.pp-sidebar__attr td { padding: 0.28rem 0; vertical-align: top; }
.pp-sidebar__attr td:first-child { color: var(--text-muted); width: 48%; }
.pp-sidebar__attr td:last-child { font-weight: 500; color: var(--text-color); }

.pp-sidebar__doc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-color);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    gap: 0.5rem;
}
.pp-sidebar__doc:last-child { border-bottom: none; }
.pp-sidebar__doc-dl { color: var(--main); font-weight: 500; white-space: nowrap; }
.pp-sidebar__doc:hover .pp-sidebar__doc-dl { text-decoration: underline; }

.pp-sidebar__ask-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}
.pp-sidebar__ask-link {
    font-size: 0.8rem;
    color: var(--main);
    text-decoration: underline;
}

/* --- Related products --- */
.pp-related {
    background: var(--light-bg);
    padding: 3rem 0 3.5rem;
}
.pp-related__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.pp-related__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
}
.pp-related__view-all {
    font-size: 0.85rem;
    color: var(--main);
    text-decoration: underline;
}
.pp-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.pp-rel-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.pp-rel-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.08); }
.pp-rel-card__img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fafafa;
}
.pp-rel-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.pp-rel-card:hover .pp-rel-card__img img { transform: scale(1.04); }
.pp-rel-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--main);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 1;
}
.pp-rel-card__low {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.62);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    padding: 5px 4px;
    z-index: 1;
}
.pp-rel-card__body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}
.pp-rel-card__brand {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}
.pp-rel-card__name {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}
.pp-rel-card__name a { color: var(--text-color); }
.pp-rel-card__name a:hover { color: var(--main); }
.pp-rel-card__sku {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin: 0;
}
.pp-rel-card__rating {
    font-size: 0.68rem;
    color: #f5a623;
    display: flex;
    align-items: center;
    gap: 2px;
}
.pp-rel-card__rating span { color: var(--text-muted); margin-left: 3px; font-size: 0.68rem; }
.pp-rel-card__stock {
    font-size: 0.72rem;
    color: var(--green);
    margin: 0;
}
.pp-rel-card__prices {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-top: 0.25rem;
}
.pp-rel-card__old { font-size: 0.78rem; color: var(--text-muted); }
.pp-rel-card__price { font-size: 1rem; font-weight: 700; color: var(--text-color); }
.pp-rel-card__add {
    display: block;
    text-align: center;
    background: #111;
    color: #fff;
    border-radius: 20px;
    padding: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: auto;
    padding-top: 0.55rem;
    text-decoration: none;
    transition: background 0.2s;
}
.pp-rel-card__add:hover { background: var(--main); color: #fff; }

/* --- Responsive --- */
@media (max-width: 991px) {
    .pp-top-grid { grid-template-columns: 1fr 1fr; }
    .pp-sidebar { grid-column: 1 / -1; position: static; }
    .pp-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .pp-gallery__thumb { width: 52px; height: 52px; }
    .pp-price-main { font-size: 1.6rem; }
    .pp-related__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .pp-rel-card__body { padding: 0.5rem; }
}

/* ==========================================================
   GIFTCARD / STORE CREDIT PAGE
   ========================================================== */

.giftcard-page { background: #fff; }

.giftcard-page h4.fw-bold {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Image card details strip */
.giftcard-page .card_details {
    border-color: var(--border) !important;
    background: #fff;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-radius: 6px;
}
.giftcard-page .card_details .card-text { font-weight: 500; color: var(--text-color); }

/* Amount preset buttons */
.giftcard-page .selectAmount {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 0.4rem;
    line-height: 1.4;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.giftcard-page .selectAmount:hover {
    border-color: var(--main);
    color: var(--main);
    background: var(--main-light);
}
.giftcard-page .selectAmount.selectAmountActive {
    border-color: var(--main);
    color: var(--text-on-dark);
    background: var(--main) !important;
    font-weight: 600;
    box-shadow: 0 0 0 1px var(--main);
}

/* Custom amount input */
.giftcard-page .customAmount, .giftcard-page .customAmount.selectAmountActive {
    border-radius: 8px;
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
    border: 1.5px solid var(--border);
    font-size: 0.875rem;
    padding: 0.6rem 0.75rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.giftcard-page .customAmount:focus, .giftcard-page .customAmount.selectAmountActive {
    border-color: var(--main);
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
    box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
    outline: none;
}
.giftcard-page .customAcceptedRange {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.giftcard-page .form-control:focus {
    box-shadow: none !important;
    border-color: var(--main);
}

/* "Buy now" submit button */
.giftcard-page .offerSubmit {
    background: var(--main);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    transition: background 0.2s, opacity 0.2s;
    letter-spacing: 0.02em;
}
.giftcard-page .offerSubmit:hover:not(:disabled) {
    background: var(--main-dark);
    color: #fff;
}
.giftcard-page .offerSubmit:disabled {
    background: var(--main);
    opacity: 0.45;
    cursor: not-allowed;
}

/* "BEST OFFER" badge */
#bestOfferBadge { background: var(--main) !important; }

/* Policy text */
#textPolicy { font-size: 0.78rem; color: var(--text-muted); line-height: 1.65; }
#textPolicy a { color: var(--main); text-decoration: underline; }

/* ----------------------------------------------------------
   SUBSCRIPTION PAGE
   ---------------------------------------------------------- */
.sub-page .login-card {
    max-width: 640px;
}

/* Move intl-tel-input overrides from inline style */
.sub-page .iti { width: 100% !important; }
.sub-page .iti__country-list { max-width: 287px !important; }

.sub-page__promo {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.sub-page__lead {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.sub-page__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.sub-page .form-control[type="email"] {
    margin: 0.5rem 0;
}

/* ----------------------------------------------------------
   ACCOUNT PAGE
   ---------------------------------------------------------- */
.acct-page {
    background: var(--light-bg);
    padding: 0 0 64px;
}

/* Two-column layout: sidebar (300px) | main (1fr) */
.acct-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 28px;
    align-items: start;
    padding-top: 40px;
}

/* ── PROFILE HEADER ─────────────────────────────────────── */
.acct-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--dark-bg);
    border-radius: 10px;
    padding: 20px 18px;
    margin-bottom: 16px;
}

.acct-profile__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--main);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.2rem;
}

.acct-profile__info { min-width: 0; }

.acct-profile__name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-on-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acct-profile__email {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.acct-profile__badge {
    display: inline-block;
    margin-top: 7px;
    background: var(--main);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 20px;
    padding: 2px 10px;
}

/* ── SIDEBAR CARDS ──────────────────────────────────────── */
.acct-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}

.acct-card--danger { border-color: rgba(200,16,46,0.3); }

.acct-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    background: #fafafa;
}

.acct-card__title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.acct-card__title i { color: var(--main); }
.acct-card__title--danger { color: var(--main); }

.acct-card__edit {
    font-size: 0.78rem;
    color: var(--main);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}
.acct-card__edit:hover { color: var(--main-dark); text-decoration: none; }

.acct-card__body { padding: 16px 18px; }

.acct-card__note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.6;
}

/* Scale down btn-primary-theme inside sidebar cards */
.acct-card .btn-primary-theme {
    font-size: 0.8rem;
    padding: 0.5rem 1.1rem;
}

/* ── INFO ROWS ──────────────────────────────────────────── */
.acct-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
}
.acct-info-row:last-of-type { border-bottom: none; }

.acct-info-row__label {
    color: var(--text-muted);
    flex-shrink: 0;
}
.acct-info-row__value {
    color: var(--text-color);
    font-weight: 500;
    text-align: right;
    word-break: break-all;
}

/* ── MEMBERSHIP BADGES ──────────────────────────────────── */
.acct-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    padding: 2px 10px;
}
.acct-badge--active {
    background: rgba(34,160,107,0.12);
    color: var(--green);
}
.acct-badge--inactive {
    background: var(--border);
    color: var(--text-muted);
}

/* ── TOGGLE ROW ─────────────────────────────────────────── */
.acct-toggle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

/* ── CREDIT ROWS ────────────────────────────────────────── */
.acct-credit-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--border);
}
.acct-credit-row i { color: var(--main); font-size: 0.85rem; }
.acct-credit-row__amount { font-weight: 700; color: var(--text-color); }
.acct-credit-row__exp { margin-left: auto; color: var(--text-muted); font-size: 0.75rem; }

.acct-readmore__link {
    color: var(--main);
    cursor: pointer;
}
.acct-readmore__link:hover { color: var(--main-dark); }

/* ── FORM INPUTS ────────────────────────────────────────── */
.acct-form__input {
    display: block;
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-color);
    background: #fff;
    margin-bottom: 10px;
    transition: border-color 0.15s;
}
.acct-form__input:focus {
    border-color: var(--main);
    outline: none;
}
.acct-form__input:disabled {
    background: var(--light-bg);
    color: var(--text-muted);
    cursor: not-allowed;
}

#address-form .form-control:focus, #password-modal .form-control:focus {
    border-color: var(--main);
    box-shadow: none;
}

/* ── CANCEL BUTTON ──────────────────────────────────────── */
.acct-btn-cancel {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1.5px solid var(--main);
    background: transparent;
    color: var(--main);
    border-radius: 6px;
    padding: 0.45rem 1rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.acct-btn-cancel:hover {
    background: var(--main);
    color: #fff;
}

/* ── MAIN CONTENT ───────────────────────────────────────── */
.acct-main { min-width: 0; }

/* ── TABS ───────────────────────────────────────────────── */
.acct-tab-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    border-bottom: 2px solid var(--border);
    background: var(--card-bg);
    border-radius: 10px 10px 0 0;
}

.acct-tab-nav__btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 14px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
}
.acct-tab-nav__btn.active,
.acct-tab-nav__btn:focus {
    color: var(--main);
    border-bottom-color: var(--main);
    outline: none;
}
.acct-tab-nav__btn:hover { color: var(--main); }

.acct-tab-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 24px;
    min-height: 300px;
}

/* ── EMAIL LIST ─────────────────────────────────────────── */
.acct-mail-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.15s;
}
.acct-mail-row:last-child { border-bottom: none; }
.acct-mail-row:hover { color: var(--main); }

.acct-mail-row__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--main-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--main);
    font-size: 0.85rem;
}

.acct-mail-row__body { flex: 1; min-width: 0; }

.acct-mail-row__subject {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.acct-mail-row__date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.acct-mail-row__arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.acct-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 48px 0;
    font-size: 0.9rem;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991px) {
    .acct-layout { grid-template-columns: 1fr; }
    .acct-sidebar { order: 0; }
    .acct-main { order: 1; }
}
@media (max-width: 575px) {
    .acct-layout { padding-top: 24px; }
    .acct-tab-nav__btn { padding: 12px 14px; font-size: 0.8rem; }
    .acct-tab-content { padding: 16px; }
}

/* ----------------------------------------------------------
   SUBSCRIPTION PAGE
   ---------------------------------------------------------- */
.sub-page .login-card {
    max-width: 640px;
}

/* Move intl-tel-input overrides from inline style */
.sub-page .iti { width: 100% !important; }
.sub-page .iti__country-list { max-width: 287px !important; }

.sub-page__promo {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.sub-page__lead {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.sub-page__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.sub-page .form-control[type="email"] {
    margin: 0.5rem 0;
}
