/* =====================================================
   DEBET SAFETY - MAIN STYLESHEET
   ===================================================== */

/* CSS Variables */
:root {
    --color-primary: #1a1a1a;
    --color-secondary: #B22234;
    --color-white: #ffffff;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;

    --font-display: 'BEBAS NEUE BOOK', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --header-height: 64px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-primary);
    background-color: var(--color-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul,
ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input {
    border: none;
    outline: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Main */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    height: var(--header-height);
    background-color: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.header__logo,
.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__logo-img,
.footer__logo-img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-badge {
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 16px;
    padding: 4px 6px;
    letter-spacing: 1px;
}

.logo-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
}

/* Navigation */
.header__nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav__link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-gray-400);
    transition: color 0.2s ease;
}

.nav__link:hover {
    color: var(--color-white);
}

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-gray-600);
    border-radius: 8px;
    padding: 8px 12px;
    gap: 8px;
    background-color: transparent;
}

.search-box__input {
    width: 100px;
    font-size: 13px;
    color: var(--color-white);
    background: transparent;
}

.search-box__input::placeholder {
    color: var(--color-gray-500);
}

.search-box__btn {
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box__btn:hover {
    color: var(--color-white);
}

/* Language Selector */
/* Lang dropdown */
.lang-selector {
    position: relative;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 8px;
    background: transparent;
    z-index: 1000;
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: -1;
}

.lang-selector:hover .lang-dropdown,
.lang-selector.open .lang-dropdown {
    display: block;
}

.lang-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
    min-width: 80px;
    border-radius: 4px;
}

.lang-dropdown__item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.lang-dropdown__item.active {
    color: #ffffff;
    font-weight: 700;
}

.lang-dropdown__item span:first-child {
    font-weight: 700;
    letter-spacing: 0.5px;
}


.lang-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-400);
    cursor: pointer;
}

.lang-selector:hover {
    color: var(--color-white);
}

/* Header Icons */
.header__icon {
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.header__icon:hover {
    color: var(--color-white);
}

/* Mobile Menu Toggle */
.header__menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    cursor: pointer;
}

.header__menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

/* Mobile Nav Icons - Hidden on Desktop */
.nav__icons-mobile {
    display: none;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding-top: 60px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

/* Footer Subscribe Column */
.footer__col--subscribe {
    max-width: 380px;
}

.footer__title {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 1px;
    margin-top: 32px;
    margin-bottom: 8px;
}

.footer__text {
    font-size: 13px;
    color: var(--color-gray-400);
    margin-bottom: 20px;
}

/* Subscribe Form */
.subscribe-form {
    display: flex;
    background-color: var(--color-white);
    border-radius: 30px;
    overflow: hidden;
}

.subscribe-form__input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--color-gray-400);
}

.subscribe-form__input {
    flex: 1;
    font-size: 13px;
    color: var(--color-primary);
}

.subscribe-form__input::placeholder {
    color: var(--color-gray-400);
}

.subscribe-form__btn {
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border-radius: 30px;
    transition: background-color 0.2s ease;
}

.subscribe-form__btn:hover {
    background-color: #8a1a29;
}

/* Footer Social */
.footer__social {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer__social-title {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 1px;
}

.footer__social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    color: var(--color-gray-400);
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--color-white);
}

/* Footer Columns */
.footer__col-title {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 13px;
    color: var(--color-gray-400);
    transition: color 0.2s ease;
    text-transform: uppercase;
}

.footer__links a:hover {
    color: var(--color-white);
}

.footer__email {
    text-decoration: underline;
    text-transform: none;
}

.footer__links--contact a {
    text-transform: none;
}

/* Footer Bottom */
.footer__bottom {
    border-top: 1px solid var(--color-gray-800);
    padding: 20px 0;
    text-align: right;
}

.footer__bottom p {
    font-size: 12px;
    color: var(--color-gray-500);
}

/* =====================================================
   FORM COMPONENTS (Shared)
   ===================================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--color-primary);
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.form-input::placeholder {
    color: var(--color-gray-400);
}

.form-input:focus {
    border-color: var(--color-primary);
}

/* Checkbox */
.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
}

.checkbox-label {
    font-size: 13px;
    color: var(--color-gray-600);
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    padding: 16px 32px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--color-gray-800);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
}

/* Link Styles */
.link-secondary {
    font-size: 13px;
    color: var(--color-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.link-secondary:hover {
    color: #8a1a29;
}

/* =====================================================
   AUTH PAGES (Shared Layout)
   ===================================================== */
.auth-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 56px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 40px;
    line-height: 1.6;
}

.auth-form {
    text-align: left;
}

.auth-form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.auth-form__submit {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.auth-form__footer {
    text-align: center;
    font-size: 13px;
    color: var(--color-gray-600);
}

/* =====================================================
   RESPONSIVE - TABLET (max-width: 992px)
   ===================================================== */
@media (max-width: 992px) {
    .header__inner {
        justify-content: space-between;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-primary);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-top: 1px solid var(--color-gray-800);
    }

    .header__nav.active {
        display: flex;
    }

    .header__menu-toggle {
        display: flex;
    }

    .header__actions {
        display: none;
    }

    /* Nav icons inside mobile menu */
    .nav__icons-mobile {
        display: flex;
        gap: 20px;
        padding-top: 16px;
        border-top: 1px solid var(--color-gray-800);
        margin-top: 8px;
    }

    .nav__icons-mobile a {
        color: var(--color-gray-400);
        transition: color 0.2s ease;
    }

    .nav__icons-mobile a:hover {
        color: var(--color-white);
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer__col--subscribe {
        grid-column: span 2;
        max-width: 100%;
    }

    .auth-title {
        font-size: 44px;
    }
}

/* =====================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ===================================================== */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .container {
        padding: 0 16px;
    }

    /* Header Mobile */
    .search-box {
        display: none;
    }

    .lang-selector {
        display: none;
    }

    /* Footer Mobile - Sadələşdirilmiş */
    .footer {
        padding-top: 40px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__col--subscribe {
        grid-column: span 1;
    }

    .footer__col:not(.footer__col--subscribe) {
        display: none;
    }

    .footer__title {
        font-size: 20px;
        margin-top: 24px;
    }

    .subscribe-form {
        flex-direction: column;
        border-radius: 12px;
    }

    .subscribe-form__input-wrap {
        border-bottom: 1px solid var(--color-gray-200);
    }

    .subscribe-form__btn {
        border-radius: 0 0 12px 12px;
        padding: 14px 28px;
    }

    .footer__social {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer__bottom {
        text-align: center;
    }

    /* Auth Pages Mobile */
    .auth-section {
        padding: 40px 16px;
    }

    .auth-title {
        font-size: 36px;
    }

    .auth-subtitle {
        font-size: 13px;
        margin-bottom: 32px;
    }

    .auth-form__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-primary {
        max-width: 100%;
    }
}

/* =====================================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ===================================================== */
@media (max-width: 480px) {
    .logo-text {
        font-size: 16px;
    }

    .auth-title {
        font-size: 32px;
    }

    .form-input {
        padding: 12px 14px;
    }

    .btn-primary {
        padding: 14px 24px;
    }
}


/* =====================================================
   RESET PASSWORD - Additional Styles
   ===================================================== */
.auth-form__row--single {
    justify-content: flex-start;
    margin-bottom: 32px;
}

.btn-primary--wide {
    max-width: 280px;
}

@media (max-width: 768px) {
    .btn-primary--wide {
        max-width: 100%;
    }
}


/* =====================================================
   SHOP PAGE STYLES
   ===================================================== */

/* Shop Hero Banner */
.shop-hero {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.shop-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Shop Section Layout */
.shop-section {
    padding: 40px 0 60px;
}

.shop-section__inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

/* =====================================================
   SIDEBAR
   ===================================================== */
.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-block {
    border-bottom: 1px solid var(--color-gray-200);
    padding-bottom: 20px;
}

.sidebar-block:last-child {
    border-bottom: none;
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.sidebar-category__title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.sidebar-category__title span {
    font-weight: 400;
    color: var(--color-gray-500);
}

.sidebar-category__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.sidebar-category__list>li>a {
    font-size: 13px;
    color: var(--color-gray-600);
    transition: color 0.2s ease;
}

.sidebar-category__list>li>a:hover {
    color: var(--color-primary);
}

.sidebar-category__list>li>a span {
    color: var(--color-gray-400);
}

.sidebar-category__sublist {
    margin-top: 8px;
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-category__sublist a {
    font-size: 12px;
    color: var(--color-gray-500);
    transition: color 0.2s ease;
}

.sidebar-category__sublist a:hover,
.sidebar-category__sublist a.active {
    color: var(--color-secondary);
}

.sidebar-category__sublist a span {
    color: var(--color-gray-400);
}

/* =====================================================
   SHOP CONTENT
   ===================================================== */
.shop-content {
    display: flex;
    flex-direction: column;
}

/* Toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-toolbar__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-toolbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* View Toggle */
.view-toggle {
    display: flex;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    overflow: hidden;
}

.view-toggle__btn {
    padding: 8px 10px;
    color: var(--color-gray-400);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.view-toggle__btn:hover {
    color: var(--color-gray-600);
}

.view-toggle__btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.shop-toolbar__results {
    font-size: 13px;
    color: var(--color-gray-600);
}

/* Shop Select */
.shop-select {
    position: relative;
}

.shop-select select {
    appearance: none;
    padding: 10px 36px 10px 14px;
    font-size: 13px;
    color: var(--color-gray-600);
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    cursor: pointer;
    min-width: 140px;
}

.shop-select select:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* =====================================================
   PRODUCTS GRID
   ===================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
}

.product-card__image {
    position: relative;
    aspect-ratio: 1;
    background: var(--color-gray-100);
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-gray-400);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.product-card__wishlist:hover {
    color: var(--color-secondary);
}

.product-card__wishlist.active {
    color: var(--color-secondary);
}

.product-card__wishlist.active svg {
    fill: var(--color-secondary);
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.3px;
    color: var(--color-primary);
    line-height: 1.15;
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pagination__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    color: var(--color-gray-600);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.pagination__btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination__num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-600);
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pagination__num:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination__num.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* =====================================================
   SHOP PAGE - RESPONSIVE
   ===================================================== */

/* Mobile Filter Toggle */
.filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    margin-bottom: 20px;
}

.filter-toggle svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .shop-section__inner {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background: var(--color-white);
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .shop-sidebar.active {
        display: flex;
    }

    .sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        position: absolute;
        top: 16px;
        right: 16px;
        color: var(--color-gray-600);
    }

    .filter-toggle {
        display: inline-flex;
    }

    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .filter-overlay.active {
        display: block;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        height: 150px;
    }

    .shop-section {
        padding: 24px 0 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-toolbar__right {
        width: 100%;
    }

    .shop-select {
        flex: 1;
    }

    .shop-select select {
        width: 100%;
    }

    .product-card__title {
        font-size: 12px;
    }

    .pagination__btn,
    .pagination__num {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .shop-toolbar__left {
        width: 100%;
        justify-content: space-between;
    }

    .product-card__image {
        aspect-ratio: 1;
    }

    .product-card__image img {
        padding: 12px;
    }

    .product-card__wishlist {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
    }
}

/* =====================================================
   MEGA MENU
   ===================================================== */
.nav__dropdown {
    position: relative;
}

.nav__link--dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link--dropdown svg {
    transition: transform 0.2s ease;
}

.nav__dropdown:hover .nav__link--dropdown svg {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    min-width: 800px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav__dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu__inner {
    display: flex;
    gap: 40px;
}

.mega-menu__col {
    flex: 1;
    min-width: 150px;
}

.mega-menu__title {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-gray-200);
}

.mega-menu__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.mega-menu__list a {
    font-size: 12px;
    color: var(--color-gray-600);
    transition: color 0.2s ease;
}

.mega-menu__list a:hover {
    color: var(--color-secondary);
}

/* Brands Mega Menu */
.mega-menu--brands {
    min-width: 500px;
}

.mega-menu--brands .mega-menu__inner {
    gap: 60px;
}

/* =====================================================
   SHOP PAGE STYLES
   ===================================================== */

/* Shop Hero Banner */
.shop-hero {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.shop-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Shop Section Layout */
.shop-section {
    padding: 40px 0 60px;
}

.shop-section__inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

/* =====================================================
   SIDEBAR
   ===================================================== */
.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.sidebar-close {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    z-index: 10;
}

.sidebar-block {
    border-bottom: 1px solid var(--color-gray-200);
    padding-bottom: 20px;
}

.sidebar-block:last-child {
    border-bottom: none;
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Sidebar Accordion */
.sidebar-accordion {
    margin-bottom: 4px;
}

.sidebar-accordion__trigger {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 400;
    color: var(--color-primary);
    text-align: left;
    line-height: 1.4;
}

.sidebar-accordion__trigger .count {
    font-weight: 400;
    color: var(--color-gray-500);
}

.sidebar-accordion__trigger svg {
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.2s ease;
}

.sidebar-accordion__trigger.active svg {
    transform: rotate(180deg);
}

.sidebar-accordion__trigger.active,
.sidebar-accordion__trigger:hover {
    color: var(--color-secondary);
}

.sidebar-accordion__content {
    display: none;
    padding-left: 0;
    padding-bottom: 8px;
}

.sidebar-accordion__content.active {
    display: block;
}

/* Sidebar Lists */
.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-list__link {
    display: block;
    font-size: 12px;
    color: var(--color-gray-600);
    padding: 4px 0;
    transition: color 0.2s ease;
}

.sidebar-list__link:hover,
.sidebar-list__link.active {
    color: var(--color-secondary);
}

.sidebar-list__link span {
    color: var(--color-gray-400);
}

.sidebar-list__link.active span {
    color: var(--color-secondary);
}

/* Nested Sublist */
.sidebar-sublist {
    display: none;
    margin-left: 12px;
    margin-top: 6px;
    flex-direction: column;
    gap: 4px;
}

.sidebar-sublist.active {
    display: flex;
}

.sidebar-sublist a {
    font-size: 11px;
    color: var(--color-gray-500);
    padding: 3px 0;
    transition: color 0.2s ease;
}

.sidebar-sublist a:hover,
.sidebar-sublist a.active {
    color: var(--color-secondary);
}

.has-children>.sidebar-list__link::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.has-children>.sidebar-list__link.active::after {
    transform: rotate(180deg);
}

/* =====================================================
   SHOP CONTENT
   ===================================================== */
.shop-content {
    display: flex;
    flex-direction: column;
}

/* Filter Toggle */
.filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    margin-bottom: 20px;
    width: fit-content;
}

.filter-toggle svg {
    width: 18px;
    height: 18px;
}

.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.filter-overlay.active {
    display: block;
}

/* Toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-toolbar__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-toolbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* View Toggle */
.view-toggle {
    display: flex;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    overflow: hidden;
}

.view-toggle__btn {
    padding: 8px 10px;
    color: var(--color-gray-400);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.view-toggle__btn:hover {
    color: var(--color-gray-600);
}

.view-toggle__btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.shop-toolbar__results {
    font-size: 13px;
    color: var(--color-gray-600);
}

/* Shop Select */
.shop-select {
    position: relative;
}

.shop-select select {
    appearance: none;
    padding: 10px 36px 10px 14px;
    font-size: 13px;
    color: var(--color-gray-600);
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    cursor: pointer;
    min-width: 140px;
}

.shop-select select:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* =====================================================
   PRODUCTS GRID
   ===================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
}

.product-card__image {
    position: relative;
    aspect-ratio: 1;
    background: #fefefe;
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-gray-400);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.product-card__wishlist:hover {
    color: var(--color-secondary);
}

.product-card__wishlist.active {
    color: var(--color-secondary);
}

.product-card__wishlist.active svg {
    fill: var(--color-secondary);
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.3px;
    color: var(--color-primary);
    line-height: 1.15;
}

/* =====================================================
   BRANDS GRID
   ===================================================== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2/1;
    padding: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.brand-card:hover {
    border-color: var(--color-gray-400);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.brand-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(0);
    transition: filter 0.2s ease;
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pagination__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    color: var(--color-gray-600);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.pagination__btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination__num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-600);
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pagination__num:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination__num.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* =====================================================
   SHOP PAGE - RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {
    .mega-menu {
        min-width: 700px;
    }

    .mega-menu__inner {
        gap: 24px;
    }
}

@media (max-width: 1024px) {

    .products-grid,
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .mega-menu {
        display: none;
    }
}

@media (max-width: 992px) {
    .shop-section__inner {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background: var(--color-white);
        z-index: 1000;
        padding: 60px 20px 20px;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .shop-sidebar.active {
        display: flex;
    }

    .sidebar-close {
        display: flex;
    }

    .filter-toggle {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        height: 150px;
    }

    .shop-section {
        padding: 24px 0 40px;
    }

    .products-grid,
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-toolbar__right {
        width: 100%;
    }

    .shop-select {
        flex: 1;
    }

    .shop-select select {
        width: 100%;
    }

    .product-card__title {
        font-size: 12px;
    }

    .pagination__btn,
    .pagination__num {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .shop-toolbar__left {
        width: 100%;
        justify-content: space-between;
    }

    .product-card__image img {
        padding: 12px;
    }

    .product-card__wishlist {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
    }

    .brand-card {
        padding: 15px;
    }

    .brand-card img {
        max-height: 40px;
    }
}

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */

/* Breadcrumb */
.breadcrumb {
    background: var(--color-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.breadcrumb__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.breadcrumb__links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--color-gray-500);
}

.breadcrumb__links a {
    color: var(--color-gray-500);
    transition: color 0.2s ease;
}

.breadcrumb__links a:hover {
    color: var(--color-primary);
}

.breadcrumb__links span:last-child {
    color: var(--color-gray-400);
}

.breadcrumb__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb__btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gray-300);
    border-radius: 4px;
    color: var(--color-gray-500);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.breadcrumb__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Product Detail Section */
.product-detail {
    padding: 40px 0;
}

.product-detail__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Product Gallery - Düzəldilmiş */
.product-gallery {
    display: flex;
    gap: 20px;
    align-self: flex-start;
    /* Sağdakı mətnə görə uzanmasın */
}

.product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
    opacity: 1;
    transition: opacity 0.2s ease;
    pointer-events: auto;
}

.product-gallery:hover .product-gallery__thumbs {
    opacity: 1;
    pointer-events: auto;
}

.product-gallery__thumb {
    width: 80px;
    height: 80px;
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    padding: 4px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.product-gallery__thumb:hover {
    border-color: var(--color-gray-400);
}

.product-gallery__thumb.active {
    border: 2px solid var(--color-primary);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Thumbnail hover preview popup */
.thumb-hover-preview {
    position: absolute;
    width: 220px;
    height: 220px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    z-index: 20;
    padding: 10px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.thumb-hover-preview.visible {
    opacity: 1;
}

.thumb-hover-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery__main {
    width: 400px;
    min-height: 300px;
    height: auto;
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-gallery__actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.product-gallery__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-gray-400);
    transition: all 0.2s ease;
}

.product-gallery__action-btn:hover {
    color: var(--color-gray-600);
}

.product-gallery__action-btn.active {
    color: var(--color-secondary);
}

.product-gallery__action-btn.active svg {
    fill: var(--color-secondary);
}

.product-gallery__slides {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-gallery__slide {
    display: none;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 560px;
}

.product-gallery__slide.active {
    display: block;
}

/* Product Detail Inner - Grid düzəlişi */
.product-detail__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    /* Sol tərəf auto, sağ tərəf qalan */
    gap: 50px;
    align-items: flex-start;
    /* Yuxarıdan align */
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
}

.product-info__title {
    font-family: var(--font-display);
    font-size: 21px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.product-info__meta {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.product-info__meta-item {
    font-size: 13px;
}

.product-info__meta-item .label {
    color: var(--color-gray-500);
}

.product-info__meta-item .value {
    color: var(--color-primary);
}

.product-info__meta-item .link {
    color: var(--color-secondary);
}

.product-info__meta-item .link:hover {
    text-decoration: underline;
}

/* Product Colors */
.product-colors {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.product-colors .label {
    font-size: 13px;
    color: var(--color-gray-500);
}

.product-colors__options {
    display: flex;
    gap: 8px;
}

.color-option {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    transform: scale(1.2);
    box-shadow: none;
    border: none;
}

.product-colors__labels {
    display: flex;
    gap: 20px;
    margin-left: 8px;
}

.color-label {
    font-size: 11px;
    color: var(--color-gray-400);
    display: none;
}

.color-label.active {
    display: block;
    color: var(--color-gray-600);
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 24px;
}

.product-tabs__nav {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
}

.product-tabs__btn {
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-gray-600);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    transition: all 0.2s ease;
}

.product-tabs__btn:first-child {
    border-radius: 4px 0 0 4px;
}

.product-tabs__btn:last-child {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

.product-tabs__btn:hover {
    background: var(--color-gray-100);
}

.product-tabs__btn.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

.product-tabs__content {
    display: none;
}

.product-tabs__content.active {
    display: block;
}

/* Product Description */
.product-description {
    margin-bottom: 20px;
}

.product-description p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-gray-600);
}

.more-link {
    color: var(--color-secondary);
    font-weight: 500;
}

.more-link:hover {
    text-decoration: underline;
}

/* Product Features */
.product-features {
    margin-bottom: 24px;
}

.product-features h4,
.product-standarts h4,
.product-care h4,
.product-downloads h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.product-features ul {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.product-features__group-label {
    margin: 4px 0 2px;
    font-size: 12px;
}

.product-features li {
    font-size: 12px;
    color: var(--color-gray-600);
    padding-left: 16px;
    position: relative;
}

.product-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gray-400);
}

/* Standards */
.standarts-icons {
    display: flex;
    gap: 16px;
}

.standart-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.standart-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.standart-icon span {
    font-size: 10px;
    color: var(--color-gray-500);
}

/* Standards Detailed (Technical Tab) */
.product-standarts--detailed {
    margin-bottom: 24px;
}

.standarts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.standart-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.standart-item__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.standart-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.standart-item__info {
    font-size: 12px;
    line-height: 1.5;
}

.standart-item__info strong {
    color: var(--color-primary);
}

.standart-item__info span {
    color: var(--color-secondary);
}

/* Care Icons */
.product-care {
    margin-bottom: 24px;
}

.care-icons {
    display: flex;
    gap: 12px;
}

.care-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.care-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Downloads */
.product-downloads {
    margin-bottom: 24px;
}

.download-link {
    color: var(--color-secondary);
    font-size: 13px;
    font-weight: 500;
}

.download-link:hover {
    text-decoration: underline;
}

/* Product Meta Bottom */
.product-meta-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--color-gray-200);
}

.product-meta-bottom__item {
    font-size: 13px;
}

.product-meta-bottom__item .label {
    color: var(--color-gray-500);
}

.product-meta-bottom__item .value {
    color: var(--color-primary);
    font-weight: 500;
}

.product-meta-bottom__item .link {
    color: var(--color-secondary);
}

.product-meta-bottom__item .link:hover {
    text-decoration: underline;
}

/* =====================================================
   RELATED PRODUCTS
   ===================================================== */
.related-products {
    padding: 40px 0 60px;
    border-top: 1px solid var(--color-gray-200);
}

.related-products__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.related-products__title {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 1px;
}

.related-products__nav {
    display: flex;
    gap: 8px;
}

.related-products__btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gray-300);
    border-radius: 4px;
    color: var(--color-gray-500);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.related-products__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.related-products__slider {
    overflow: hidden;
}

.related-products__track {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease;
}

.related-products__track .product-card {
    flex: 0 0 calc(25% - 18px);
    min-width: calc(25% - 18px);
}

/* =====================================================
   PRODUCT DETAIL - RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .product-detail__inner {
        gap: 40px;
    }

    .product-info__title {
        font-size: 32px;
    }

    .related-products__track .product-card {
        flex: 0 0 calc(33.333% - 16px);
        min-width: calc(33.333% - 16px);
    }
}

@media (max-width: 992px) {
    .product-detail__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .breadcrumb__links {
        font-size: 11px;
    }

    .breadcrumb__links span:last-child {
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-detail {
        padding: 24px 0;
    }

    .product-gallery {
        flex-direction: column-reverse;
        max-width: 100%;
    }

    .product-gallery__thumbs {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .product-gallery__thumb {
        width: 60px;
        height: 60px;
    }

    .product-info__title {
        font-size: 28px;
    }

    .product-info__meta {
        flex-direction: column;
        gap: 8px;
    }

    .product-tabs__btn {
        padding: 10px 14px;
        font-size: 11px;
    }

    .related-products__track .product-card {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 480px) {
    .breadcrumb__nav {
        display: none;
    }

    .product-info__title {
        font-size: 24px;
    }

    .product-colors {
        flex-wrap: wrap;
    }

    .product-tabs__nav {
        flex-direction: column;
    }

    .product-tabs__btn {
        border-radius: 0;
        border: 1px solid var(--color-gray-300);
    }

    .product-tabs__btn:first-child {
        border-radius: 4px 4px 0 0;
    }

    .product-tabs__btn:last-child {
        border-radius: 0 0 4px 4px;
        border-left: 1px solid var(--color-gray-300);
        border-top: none;
    }

    .standarts-icons {
        flex-wrap: wrap;
    }

    .care-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 1024px) {
    .product-gallery__main {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .product-gallery__main {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
}


/* =====================================================
   PAGE HERO (Shared for IMS, About, etc.)
   ===================================================== */
.page-hero {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--color-white);
    letter-spacing: 3px;
}

/* =====================================================
   IMS SECTION
   ===================================================== */
.ims-section {
    padding: 50px 0;
}

/* IMS Accordion */
.ims-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.ims-accordion__item {
    border-bottom: 1px solid var(--color-gray-200);
}

.ims-accordion__item:first-child {
    border-top: 1px solid var(--color-gray-200);
}

.ims-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--color-primary);
    text-align: left;
    background: transparent;
    transition: color 0.2s ease;
}

.ims-accordion__trigger:hover {
    color: var(--color-gray-600);
}

.ims-accordion__trigger.active {
    color: var(--color-secondary);
}

.ims-accordion__content {
    display: none;
    overflow: hidden;
}

.ims-accordion__content.active {
    display: block;
}

.ims-accordion__body {
    padding: 0 0 30px 0;
}

.ims-accordion__body p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.ims-accordion__body p:last-child {
    margin-bottom: 0;
}

.ims-accordion__body strong {
    color: var(--color-primary);
}

.ims-accordion__body ul {
    margin-top: 12px;
    margin-left: 0;
    padding-left: 0;
}

.ims-accordion__body li {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-gray-600);
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
}

.ims-accordion__body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gray-400);
}

/* Certificate Image */
.certificate-image {
    max-width: 400px;
}

.certificate-image img {
    width: 100%;
    height: auto;
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
}

/* =====================================================
   RECENTLY VIEWED SECTION
   ===================================================== */
.recently-viewed {
    padding: 40px 0 60px;
    border-top: 1px solid var(--color-gray-200);
}

.recently-viewed__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.recently-viewed__title {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 1px;
}

.recently-viewed__nav {
    display: flex;
    gap: 8px;
}

.recently-viewed__btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--color-gray-400);
    transition: all 0.2s ease;
}

.recently-viewed__btn:hover {
    color: var(--color-primary);
}

.recently-viewed__slider {
    overflow: hidden;
}

.recently-viewed__track {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease;
}

.recently-viewed__track .product-card {
    flex: 0 0 calc(25% - 18px);
    min-width: calc(25% - 18px);
}

/* =====================================================
   IMS PAGE - RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .page-hero {
        height: 180px;
    }

    .page-hero__title {
        font-size: 28px;
        padding: 0 20px;
    }

    .ims-section {
        padding: 30px 0;
    }

    .ims-accordion__trigger {
        font-size: 14px;
        padding: 16px 0;
    }

    .ims-accordion__body p,
    .ims-accordion__body li {
        font-size: 12px;
    }

    .certificate-image {
        max-width: 100%;
    }

    .recently-viewed__track .product-card {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 480px) {
    .page-hero__title {
        font-size: 22px;
    }

    .ims-accordion__trigger {
        font-size: 13px;
    }
}


/* =====================================================
   PAGE HERO - Updated with Breadcrumb
   ===================================================== */
.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.page-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.page-hero__breadcrumb a:hover {
    color: var(--color-white);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-section {
    padding: 60px 0;
}

.about-content {
    max-width: 900px;
}

.about-content__title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   CAREERS PAGE
   ===================================================== */
.careers-section {
    padding: 60px 0;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.careers-info__title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.careers-info p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.careers-vacancies {
    margin-top: 30px;
}

.careers-vacancies h4 {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.careers-vacancies p {
    color: var(--color-gray-500);
}

/* Application Form */
.application-form {
    background: var(--color-white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

/* File Input */
.file-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    overflow: hidden;
}

.file-input {
    display: none;
}

.file-input__name {
    flex: 1;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--color-gray-400);
}

.file-input__btn {
    padding: 14px 20px;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.file-input__btn:hover {
    background: #8a1a29;
}

/* Form Submit Variations */
.form-submit--right {
    display: flex;
    justify-content: flex-end;
}

.form-submit--center {
    display: flex;
    justify-content: center;
}

/* Button Red Variant */
.btn-primary--red {
    background: var(--color-secondary);
    max-width: 160px;
}

.btn-primary--red:hover {
    background: #8a1a29;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-info-section {
    padding: 50px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.contact-info-card__title {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.contact-info-card__address,
.contact-info-card__text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: 8px;
}

.contact-info-card__phone {
    display: block;
    font-size: 13px;
    color: var(--color-gray-600);
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.contact-info-card__phone:hover {
    color: var(--color-secondary);
}

.contact-info-card__email {
    font-size: 13px;
    color: var(--color-secondary);
    text-decoration: underline;
}

.contact-info-card__email:hover {
    color: #8a1a29;
}

/* Maps */
.contact-maps {
    padding-bottom: 50px;
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 0;
    background: var(--color-gray-100);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-form__title {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.contact-form .form-input {
    background: var(--color-white);
}

/* =====================================================
   RESPONSIVE - About, Careers, Contact
   ===================================================== */
@media (max-width: 992px) {
    .careers-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .about-section,
    .careers-section {
        padding: 40px 0;
    }

    .about-content__title,
    .careers-info__title {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row--3 {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .maps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form__title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .file-input-wrap {
        flex-direction: column;
    }

    .file-input__name {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .file-input__btn {
        width: 100%;
        text-align: center;
    }
}

/* =====================================================
   MY ACCOUNT PAGE
   ===================================================== */
.account-section {
    padding: 30px 0 60px;
}

.account-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--color-gray-500);
    margin-bottom: 30px;
}

.account-breadcrumb a {
    color: var(--color-gray-500);
    transition: color 0.2s ease;
}

.account-breadcrumb a:hover {
    color: var(--color-primary);
}

.account-title {
    font-family: var(--font-display);
    font-size: 48px;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
}

/* Account Tabs */
.account-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.account-tabs__btn {
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--color-gray-600);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    transition: all 0.2s ease;
}

.account-tabs__btn:first-child {
    border-radius: 30px 0 0 30px;
}

.account-tabs__btn:last-child {
    border-radius: 0 30px 30px 0;
}

.account-tabs__btn:not(:first-child) {
    border-left: none;
}

.account-tabs__btn:hover {
    background: var(--color-gray-100);
}

.account-tabs__btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Tab Contents */
.account-tabs__content {
    display: none;
}

.account-tabs__content.active {
    display: block;
}

/* Personal Details Form */
.account-form {
    max-width: 480px;
    margin: 0 auto;
}

.account-form .form-group {
    margin-bottom: 20px;
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 13px;
    color: var(--color-secondary);
    background: var(--color-white);
    border: 1px solid var(--color-secondary);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* =====================================================
   WISHLIST TAB
   ===================================================== */
.wishlist-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.wishlist-header__title {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.5px;
}

.wishlist-header__count {
    font-size: 13px;
    color: var(--color-gray-500);
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Wishlist Card */
.wishlist-card {
    display: flex;
    flex-direction: column;
}

.wishlist-card__image {
    position: relative;
    aspect-ratio: 1;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.wishlist-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.wishlist-card__heart {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--color-secondary);
    background: transparent;
}

.wishlist-card__title {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.wishlist-card__btn {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-gray-600);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.wishlist-card__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.wishlist-card__btn--added {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

.wishlist-card__btn--added:hover {
    background: #8a1a29;
    border-color: #8a1a29;
    color: var(--color-white);
}

/* =====================================================
   ENQUIRY LIST TAB
   ===================================================== */
.enquiry-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.enquiry-table {
    width: 100%;
    border-collapse: collapse;
}

.enquiry-table thead th {
    padding: 16px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray-500);
    text-align: left;
    border-bottom: 1px solid var(--color-gray-200);
}

.enquiry-table tbody tr {
    border-bottom: 1px solid var(--color-gray-200);
}

.enquiry-table tbody td {
    padding: 20px 12px;
    vertical-align: middle;
}

/* Checkbox */
.enquiry-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* Product Cell */
.enquiry-product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.enquiry-product img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    padding: 4px;
}

.enquiry-product span {
    font-size: 13px;
    color: var(--color-primary);
}

/* Quantity Control */
.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    overflow: hidden;
}

.quantity-control__btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-gray-500);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.quantity-control__btn:hover {
    background: var(--color-gray-100);
    color: var(--color-primary);
}

.quantity-control__value {
    width: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
}

/* Action Buttons */
.enquiry-actions {
    display: flex;
    gap: 12px;
}

.enquiry-action-btn {
    color: var(--color-gray-400);
    transition: color 0.2s ease;
}

.enquiry-action-btn:hover {
    color: var(--color-gray-600);
}

.enquiry-action-btn--delete:hover {
    color: var(--color-secondary);
}

/* Send Enquiry Button */
.enquiry-submit {
    display: flex;
    justify-content: center;
}

.btn-send-enquiry {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-white);
    background: var(--color-secondary);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.btn-send-enquiry:hover {
    background: #8a1a29;
}

/* =====================================================
   MY ACCOUNT - RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .account-title {
        font-size: 36px;
    }

    .account-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .account-tabs__btn {
        width: 280px;
        text-align: center;
        border-radius: 0;
        border: 1px solid var(--color-gray-300);
    }

    .account-tabs__btn:first-child {
        border-radius: 8px 8px 0 0;
    }

    .account-tabs__btn:last-child {
        border-radius: 0 0 8px 8px;
    }

    .account-tabs__btn:not(:first-child) {
        border-left: 1px solid var(--color-gray-300);
        border-top: none;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .enquiry-table thead th {
        font-size: 11px;
        padding: 12px 8px;
    }

    .enquiry-table tbody td {
        padding: 16px 8px;
    }

    .enquiry-product img {
        width: 50px;
        height: 50px;
    }

    .enquiry-product span {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .account-title {
        font-size: 28px;
    }

    .account-tabs__btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 12px;
    }

    .wishlist-card__title {
        font-size: 12px;
    }

    .wishlist-card__btn {
        font-size: 10px;
        padding: 10px 12px;
    }

    /* Mobile table - hide some columns */
    .enquiry-table thead th:nth-child(3),
    .enquiry-table thead th:nth-child(4),
    .enquiry-table tbody td:nth-child(3),
    .enquiry-table tbody td:nth-child(4) {
        display: none;
    }
}

/* =====================================================
   NEWS LIST PAGE
   ===================================================== */
.news-section {
    padding: 50px 0 60px;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.news-item:first-child {
    padding-top: 0;
}

.news-item__image {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: 4px;
    overflow: hidden;
}

.news-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item__image img {
    transform: scale(1.05);
}

.news-item__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-item__category {
    display: inline-block;
    padding: 6px 14px;
    font-size: 11px;
    color: var(--color-gray-600);
    border: 1px solid var(--color-gray-300);
    border-radius: 20px;
}

.news-item__date {
    font-size: 12px;
    color: var(--color-gray-500);
}

.news-item__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.news-item__title a {
    color: var(--color-primary);
    transition: color 0.2s ease;
}

.news-item__title a:hover {
    color: var(--color-secondary);
}

/* =====================================================
   NEWS SIDEBAR
   ===================================================== */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-sidebar__block {
    padding-bottom: 24px;
}

.news-sidebar__title {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* Search */
.news-search {
    display: flex;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    overflow: hidden;
}

.news-search__input {
    flex: 1;
    padding: 12px 16px;
    font-size: 13px;
    border: none;
    outline: none;
}

.news-search__input::placeholder {
    color: var(--color-gray-400);
}

.news-search__btn {
    padding: 12px 14px;
    color: var(--color-gray-500);
    background: var(--color-white);
    transition: color 0.2s ease;
}

.news-search__btn:hover {
    color: var(--color-primary);
}

/* Latest Posts */
.latest-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.latest-post {
    display: flex;
    align-items: center;
    gap: 12px;
}

.latest-post img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.latest-post__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.latest-post__date {
    font-size: 10px;
    color: var(--color-gray-500);
    text-transform: uppercase;
}

.latest-post__title {
    font-size: 13px;
    color: var(--color-primary);
    transition: color 0.2s ease;
}

.latest-post:hover .latest-post__title {
    color: var(--color-secondary);
}

/* News Categories */
.news-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-categories li a {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.2s ease;
}

.news-categories li a span {
    font-weight: 400;
    color: var(--color-gray-500);
}

.news-categories li a:hover {
    color: var(--color-secondary);
}

/* Popular Tags */
.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    color: var(--color-gray-600);
    background: var(--color-gray-200);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* =====================================================
   NEWS DETAIL PAGE
   ===================================================== */
.news-detail-section {
    padding: 50px 0 60px;
}

.news-detail {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.news-detail__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.news-detail__category {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    color: var(--color-gray-600);
    border: 1px solid var(--color-gray-300);
    border-radius: 20px;
}

.news-detail__date {
    font-size: 13px;
    color: var(--color-gray-500);
}

.news-detail__title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 30px;
}

.news-detail__content {
    text-align: left;
    margin-bottom: 40px;
}

.news-detail__content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

/* News Gallery */
.news-gallery {
    text-align: left;
}

.news-gallery__main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--color-gray-100);
}

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

.news-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--color-gray-600);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-gallery__nav:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.news-gallery__nav--prev {
    left: 16px;
}

.news-gallery__nav--next {
    right: 16px;
}

.news-gallery__fullscreen {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    color: var(--color-white);
    transition: background 0.2s ease;
}

.news-gallery__fullscreen:hover {
    background: rgba(0, 0, 0, 0.8);
}

.news-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.news-gallery__thumb {
    aspect-ratio: 16/10;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.news-gallery__thumb:hover {
    border-color: var(--color-gray-400);
}

.news-gallery__thumb.active {
    border-color: var(--color-primary);
}

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

/* =====================================================
   NEWS PAGES - RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: 16px;
    }

    .news-item__image {
        width: 100%;
        height: 200px;
    }

    .news-sidebar {
        grid-template-columns: 1fr;
    }

    .news-detail__title {
        font-size: 24px;
    }

    .news-gallery__thumbs {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-gallery__nav {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .news-detail__title {
        font-size: 20px;
    }

    .news-gallery__thumbs {
        gap: 8px;
    }
}
/* =====================================================
   DATASHEET PAGE  (product-specific, printable)
   ===================================================== */

/* --- Toolbar (screen only) --- */
.ds-toolbar {
    background: #1a1a1a;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.ds-toolbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ds-back-btn {
    color: #ccc;
    font-size: 13px;
    text-decoration: none;
}
.ds-back-btn:hover { color: #fff; }

.ds-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    background: var(--color-primary, #1a5c38);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
}
.ds-download-btn:hover { background: #0d3d24; }

/* --- Page wrapper (PDF-like A4 layout) --- */
.ds-page {
    max-width: 210mm;
    min-height: 297mm;
    margin: 40px auto 60px;
    background: #fff;
    border: 1px solid #e0e0e0;
    font-family: 'Open Sans', var(--font-body, sans-serif);
    font-size: 12px;
    color: #222;
    overflow: hidden;
    position: relative;
}

/* --- Header banner --- */
.ds-header {
    background: #333;
    color: #fff;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.ds-header__left { flex: 1; }
.ds-header__product-name {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .5px;
}
.ds-header__right { text-align: right; }
.ds-header__brand-name {
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
}
.ds-header__tp-label {
    font-family: 'Oswald', var(--font-display, sans-serif);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* --- Body (2-col) --- */
.ds-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
}
.ds-body__image {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ds-product-img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}
.ds-body__info {
    padding: 0 32px 24px 8px;
}

/* Section bar */
.ds-section-bar {
    font-family: 'Oswald', var(--font-display, sans-serif);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: #444;
    color: #fff;
    padding: 6px 14px;
    margin: 16px 0 12px;
}
.ds-desc-text {
    font-size: 11.5px;
    line-height: 1.55;
    color: #333;
    text-align: justify;
}
.ds-spec-group-label {
    font-size: 12px;
    font-weight: 700;
    margin: 10px 0 3px;
}
.ds-spec-value {
    font-size: 11.5px;
    color: #444;
}
.ds-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ds-spec-list li {
    font-size: 11.5px;
    color: #444;
    line-height: 1.45;
}

/* --- Bottom section --- */
.ds-bottom {
    padding: 0 32px 16px;
}
.ds-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
}

/* Colors */
.ds-colors-label {
    font-size: 13px;
    font-weight: 700;
    color: #c00;
    text-decoration: underline;
    margin-bottom: 6px;
}
.ds-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}
.ds-color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.ds-color-box {
    width: 30px;
    height: 22px;
    border: 1px solid rgba(0,0,0,.15);
}
.ds-color-name {
    font-size: 8px;
    color: #555;
    text-align: center;
    max-width: 50px;
}

/* Sizes */
.ds-sizes-label {
    font-size: 13px;
    font-weight: 700;
    color: #c00;
    text-decoration: underline;
    margin: 8px 0 4px;
}
.ds-sizes-value {
    font-size: 14px;
    font-weight: 600;
}

/* Standarts */
.ds-stds-label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}
.ds-stds-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}
.ds-std-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.ds-std-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.ds-std-code {
    font-size: 8px;
    color: #333;
    font-weight: 600;
    text-align: center;
}

/* Wash & care */
.ds-care-section { margin-top: 12px; }
.ds-care-label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}
.ds-care-icons { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ds-care-icon { width: 36px; height: 36px; object-fit: contain; }

/* --- Footer --- */
.ds-footer {
    border-top: 3px solid #333;
    margin: 16px 32px 0;
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 10px;
    color: #333;
}
.ds-footer__contact { line-height: 1.6; }
.ds-footer__certs {
    display: flex;
    gap: 8px;
    align-items: center;
}
.ds-footer__cert-img {
    height: 45px;
    object-fit: contain;
}

/* Legacy classes (no longer used, kept for compatibility) */
.ds-section { margin-bottom: 20px; }
.ds-section__title {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--color-primary, #1a5c38);
    margin: 0 0 8px; border-bottom: 1px solid #e8e8e8; padding-bottom: 4px;
}
.ds-props-section { margin-bottom: 28px; }
.ds-props-table {
    width: 100%; border-collapse: collapse; font-size: 12px;
}
.ds-props-table th,
.ds-props-table td {
    padding: 6px 10px; border: 1px solid #e0e0e0;
    text-align: left; vertical-align: top;
}
.ds-props-table th {
    background: #f5f7f5; font-weight: 600; width: 38%; color: #333;
}
.ds-props-table tr:nth-child(even) td { background: #fafafa; }

/* --- Print styles --- */
@media print {
    .no-print, .header, .footer, nav, .sidebar, .product-care, .related-section {
        display: none !important;
    }
    body { background: #fff; margin: 0; }
    .ds-page {
        max-width: 100%; margin: 0; border: none; box-shadow: none;
    }
    .ds-toolbar { display: none !important; }
    @page { size: A4; margin: 0; }
}

@media (max-width: 600px) {
    .ds-page { width: 100%; min-height: auto; }
    .ds-body { grid-template-columns: 1fr; }
    .ds-bottom-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   BRANDS PAGE
   ===================================================== */
.brands-section {
    padding: 50px 0 70px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 20px;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: 6px;
    background: #fff;
    transition: box-shadow .2s, border-color .2s;
}

.brand-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-color: #bbb;
}

.brand-card__img {
    width: 100%;
    max-width: 130px;
    height: 80px;
    object-fit: contain;
}

.brand-card__placeholder {
    width: 80px;
    height: 80px;
    background: var(--color-primary, #1a5c38);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.brand-card__name {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: #333;
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* =====================================================
   PRODUCT CARD THUMBNAIL STRIP
   ===================================================== */
.product-card__thumbs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 4px;
    padding: 5px 6px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
    background: rgba(255,255,255,0.8);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-card:hover .product-card__thumbs {
    opacity: 1;
}

.pct__btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 3px;
    background: #f0f0f0;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.65;
    transition: opacity .15s;
}

.pct__btn img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    transform: none !important;
    transition: none !important;
}

.pct__btn.active,
.pct__btn:hover {
    opacity: 1;
}


/* Description 5 sətir limit + fade */
.desc-short {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.desc-wrapper {
    position: relative;
}

.desc-wrapper:not(.desc-expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
}

.desc-short.desc-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
/* Thumbnail scroll gizlət */
.product-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

/* Mətn hər iki tərəfdən düz */
.product-description p,
.desc-short,
.desc-full {
    text-align: justify;
}
