:root {
    --primary-color: #eb623c;
    --primary-dark: #d65533;
    --primary-light: #f57a55;
    --secondary-color: #1f1f21;
    --secondary-light: #28282a;
    --secondary-dark: #161618;
    --text-dark: #ffffff;
    --text-light: #a0a0a0;
    --text-gray: #666666;
    --bg-light: #1f1f21;
    --bg-white: #28282a;
    --border-color: #3a3a3c;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
    --max-width: 1120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    margin: 0;
    padding: 0;
}

body.collection-page {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.header-top {
    background: var(--primary-color);
    padding: 0.5rem 0;
    color: white;
    font-size: 0.8rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-right a {
    color: white;
    text-decoration: underline;
}

.support-link {
    cursor: pointer;
    text-decoration: underline;
}

.main-nav {
    background: var(--secondary-light);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 65px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    height: 65px;
    background: var(--secondary-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle .hamburger {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative;
}

.nav-item {
    position: relative;
    list-style: none;
    height: 100%;
}

.nav-menu a {
    color: #f7fafc;
    font-weight: 600;
    position: relative;
    padding: 0 1.4rem;
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 1;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-light);
    background: rgba(235, 98, 60, 0.15);
    transition: all 0.2s ease;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.dropdown-trigger,
.nested-trigger {
    background: none;
    border: none;
    color: #f7fafc;
    font-weight: 600;
    padding: 0 1.4rem;
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 1.2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
    height: 100%;
    transition: all 0.3s ease;
}

.dropdown-trigger:hover,
.nested-trigger:hover {
    color: var(--primary-light);
    background: rgba(235, 98, 60, 0.15);
}

.dropdown-trigger.active {
    color: var(--primary-light);
    background: rgba(235, 98, 60, 0.15);
}

.arrow {
    font-size: 0.55rem;
    transition: transform 0.3s ease;
}

.dropdown-trigger.active .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    padding: 0.5rem 0;
    margin: 0;
    width: auto;
    border-top: 3px solid var(--primary-color);
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu li {
    padding: 0;
    position: relative;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.4rem;
    color: #1f1f21;
    text-transform: none;
    font-weight: 500;
    font-size: 0.92rem;
    height: auto;
    letter-spacing: normal;
}

.dropdown-menu a:hover {
    background: rgba(235, 98, 60, 0.08);
    color: var(--primary-color);
}

.has-nested {
    position: relative;
}

.nested-trigger {
    width: 100%;
    padding: 0.85rem 1.35rem;
    justify-content: space-between;
    color: white;
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: none;
    height: auto;
}

.nested-trigger:hover {
    background: var(--primary-dark);
    color: white;
}

.nested-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--primary-dark);
    min-width: 200px;
    padding: 0;
    margin: 0;
    border-radius: 0 4px 4px 0;
}

.nested-menu.active {
    display: block;
}

.nested-menu li {
    padding: 0;
}

.nested-menu a {
    display: block;
    padding: 0.85rem 1.35rem;
    color: white;
    font-size: 0.9rem;
}

.nested-menu a:hover {
    background: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(235, 98, 60, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-light);
    color: white;
    border: 1px solid var(--border-color);
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.collection-hero {
    background: var(--secondary-color);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.collection-hero .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.breadcrumb-divider {
    color: var(--text-gray);
}

.collection-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: white;
}

.collection-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
}

.collection-filters {
    background: var(--secondary-light);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.collection-filters .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.filters-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

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

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

.collection-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.sort-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.sort-select {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
}

.sort-select option {
    background: var(--secondary-dark);
    color: white;
}

.products-section {
    padding: 4rem 0;
    background: var(--secondary-color);
}

.products-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card-wrapper {
    width: 100%;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(235, 98, 60, 0.2);
}

.card__inner {
    position: relative;
}

.card__media {
    position: relative;
    padding-top: 100%;
    background: var(--secondary-dark);
    overflow: hidden;
}

.card__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card__media img {
    transform: scale(1.05);
}

.card__content {
    padding: 1rem;
}

.card__content--top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card__heading {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.card__heading a {
    color: white;
    text-decoration: none;
}

.card__heading h5 {
    font-size: 0.95rem;
}

.card__badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
}

.card__badge--bottom {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.card-information {
    padding: 0.5rem 0;
}

.card-information__subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0.75rem 0;
    line-height: 1.5;
}

.card-information__metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--secondary-dark);
    border-radius: 4px;
}

.card-information__metrics--item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.rating {
    margin: 0.5rem 0;
}

.rating-star {
    display: inline-block;
    width: 60px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eb623c'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") repeat-x;
    background-size: 12px 12px;
}

.rating-star::before {
    content: '';
    display: block;
    width: calc(var(--rating) * 12px);
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eb623c'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") repeat-x;
    background-size: 12px 12px;
}

.rating-text {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.rating-count {
    display: block;
    color: var(--text-gray);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.price {
    margin: 1rem 0;
}

.price--on-sale {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price__container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price__regular {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.price-item--regular {
    text-decoration: line-through;
}

.price__sale {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-item--sale {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.card__button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

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

.button--secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

.button--full-width {
    width: 100%;
}

.quick-add {
    margin-top: 1rem;
}

.footer {
    background: var(--secondary-dark);
    padding: 4rem 0 2rem;
    color: #e2e8f0;
    border-top: 3px solid var(--primary-color);
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
    text-align: center;
}

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

@media (max-width: 990px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 750px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .header-top-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        padding: 1rem 20px;
        height: auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--secondary-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px;
        gap: 0;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu a,
    .dropdown-trigger {
        width: 100%;
        padding: 1rem 1.25rem;
        height: auto;
        justify-content: space-between;
        text-align: left;
        font-size: 0.9rem;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: rgba(235, 98, 60, 0.08);
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-left: 3px solid var(--primary-color);
    }

    .dropdown-menu.active {
        display: block;
        max-height: 500px;
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu a {
        padding: 0.85rem 2rem;
        background: none;
        color: #e2e8f0;
    }

    .dropdown-menu a:hover {
        color: var(--primary-light);
    }

    .nested-menu {
        position: static;
        width: 100%;
        min-width: 100%;
        left: 0;
        box-shadow: none;
        border-radius: 0;
        background: rgba(0,0,0,0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nested-menu.active {
        display: block;
        max-height: 500px;
    }

    .nested-menu a {
        padding: 0.85rem 3rem;
    }

    .nested-trigger {
        justify-content: space-between;
    }

    .collection-hero h1 {
        font-size: 1.8rem;
    }

    .collection-description {
        font-size: 1rem;
    }

    .filters-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-filters {
        width: 100%;
    }
}

/* Compare checkbox styles */
.card__compare {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-compare-input {
    display: none;
}

.product-compare-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.product-compare-label:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.product-compare-input:checked + .product-compare-label {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-light);
}

.product-compare-label::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-gray);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.product-compare-input:checked + .product-compare-label::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
}

.product-compare-input:checked + .product-compare-label::after {
    content: '\2713';
    position: absolute;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 0.25rem;
    margin-top: -0.05rem;
}

/* Compare Modal styles */
.compare-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.compare-modal-content {
    background-color: var(--secondary-light);
    margin: 10% auto;
    padding: 0;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.compare-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.compare-modal-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.close-modal {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.compare-modal-body {
    padding: 1.5rem;
}

.compare-products-list {
    margin-bottom: 1.5rem;
}

.compare-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--secondary-dark);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.compare-product-item:last-child {
    margin-bottom: 0;
}

.compare-product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.compare-product-info {
    flex: 1;
}

.compare-product-info h4 {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 0.25rem;
}

.compare-product-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.remove-product {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.remove-product:hover {
    border-color: var(--error-color);
    color: var(--error-color);
}

.empty-message {
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    font-size: 0.95rem;
}

.compare-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.compare-button:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.compare-button:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Compare Section styles */
.compare-section {
    padding: 4rem 0;
    background: var(--secondary-color);
}

.compare-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.compare-table {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.compare-row {
    display: grid;
    grid-template-columns: 200px repeat(3, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row.compare-header {
    background: var(--secondary-dark);
    border-bottom: 2px solid var(--primary-color);
}

.compare-row.compare-header .compare-cell {
    padding: 1rem;
}

.compare-cell {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--border-color);
}

.compare-cell:last-child {
    border-right: none;
}

.compare-label {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    background: var(--secondary-dark);
}

.product-compare-card {
    text-align: center;
    width: 100%;
}

.product-compare-card img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.product-compare-card h3 {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 0.5rem;
}

.product-compare-card .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.remove-compare {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.remove-compare:hover {
    border-color: var(--error-color);
    color: var(--error-color);
}

.compare-actions .compare-cell {
    justify-content: center;
}

.compare-actions .button {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.compare-actions .button:hover {
    background: var(--primary-color);
    color: white;
}

.add-more-products {
    margin-top: 3rem;
}

.add-more-products h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 1.5rem;
}

.add-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.add-product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.add-product-card:hover {
    border-color: var(--primary-color);
}

.add-product-image {
    padding-top: 75%;
    position: relative;
    background: var(--secondary-dark);
}

.add-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.add-product-card h4 {
    padding: 1rem 1rem 0.5rem;
    font-size: 0.95rem;
    color: white;
    margin: 0;
}

.add-product-price {
    padding: 0 1rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.add-compare-button {
    display: block;
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.add-compare-button:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 990px) {
    .compare-row {
        grid-template-columns: 150px repeat(3, 1fr);
    }
    
    .add-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 750px) {
    .compare-row {
        grid-template-columns: 120px repeat(3, 1fr);
    }
    
    .compare-cell {
        padding: 0.75rem;
    }
    
    .product-compare-card img {
        max-height: 100px;
    }
    
    .product-compare-card h3 {
        font-size: 0.8rem;
    }
    
    .add-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Compare Navbar */
.compare-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-dark);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    display: block;
}

.compare-navbar .page-width {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.compare-navbar-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.compare-navbar-heading__title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.compare-navbar-heading__title svg {
    width: 10px;
    height: 10px;
    transition: transform 0.3s ease;
}

.compare-navbar-wrapper.open .compare-navbar-heading__title svg {
    transform: rotate(180deg);
}

.clear-all {
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.clear-all:hover {
    color: var(--primary-color);
}

details-modal {
    position: relative;
}

details-modal details {
    position: static;
}

details-modal details > summary {
    list-style: none;
    cursor: pointer;
}

details-modal details > summary::-webkit-details-marker {
    display: none;
}

.compare-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compare-button:hover:not(:disabled) {
    background: var(--primary-dark);
}

.compare-button:disabled {
    background: var(--border-color);
    cursor: not-allowed;
}

.modal__content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    overflow-y: auto;
}

details-modal details[open] .modal__content {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.modal__inner {
    position: relative;
    background: var(--secondary-light);
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 8px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.compare-table {
    padding: 1.5rem;
}

.compare-table__heading {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-top: 2rem;
}

.modal__close-button {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.modal__close-button:hover {
    color: var(--primary-color);
}

.modal__close-button svg {
    width: 18px;
    height: 18px;
}

.modal__back-button {
    position: absolute;
    top: 0;
    left: 0;
}

.product-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-item img {
    width: 100%;
    max-width: 150px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

.product-item .product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.product-item .button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.product-item .button:hover {
    background: var(--primary-dark);
}

.no-product {
    color: var(--text-gray);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.compare-table details {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.compare-table details > summary {
    padding: 1rem;
    background: var(--secondary-dark);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compare-table details > summary::-webkit-details-marker {
    display: none;
}

.compare-table details > summary svg {
    width: 10px;
    height: 10px;
    transition: transform 0.3s ease;
}

.compare-table details[open] > summary svg {
    transform: rotate(180deg);
}

.category-content {
    background: var(--bg-white);
}

.compare-line {
    display: grid;
    grid-template-columns: 150px repeat(3, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.compare-line:last-child {
    border-bottom: none;
}

.compare-key {
    padding: 0.75rem 1rem;
    background: var(--secondary-dark);
    color: var(--text-light);
    font-size: 0.85rem;
}

.compare-value {
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.85rem;
    text-align: center;
    border-left: 1px solid var(--border-color);
}

.compare-navbar-content {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.compare-navbar-content__item {
    width: 50px;
    height: 50px;
    background: var(--secondary-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.compare-navbar-content__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.compare-navbar-content__item .product-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.65rem;
    text-align: center;
    padding: 2px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compare-navbar-content__item svg {
    color: var(--text-gray);
}

@media (max-width: 750px) {
    .compare-navbar-wrapper {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .compare-navbar-content {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    
    .compare-navbar-heading__title {
        font-size: 0.85rem;
    }
    
    .compare-button {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .modal__inner {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .compare-table {
        padding: 1rem;
    }
    
    .compare-table__heading {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding-top: 2.5rem;
    }
    
    .product-item {
        flex: 0 0 calc(33.333% - 0.5rem);
    }
    
    .product-item img {
        max-width: 100%;
    }
    
    .compare-line {
        grid-template-columns: 80px repeat(3, 1fr);
    }
    
    .compare-key {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .compare-value {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
}