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

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1dbf73;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #17a663;
}

html {
    scrollbar-color: #1dbf73 #f1f1f1;
}

:root {
    --primary-color: #353535;
    --secondary-color: #1dbf73;
    --accent-color: #1dbf73;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

/* Accessibility - Visually Hidden */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Brands Marquee */
.brands-marquee {
    overflow: hidden;
    background: var(--white);
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-brand {
    height: 36px;
    width: 100px;
    object-fit: contain;
    margin-right: 5rem;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Hamburger - hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 10;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-top-inner {
    display: contents;
}

.logo-container {
    order: 1;
}

.search-container {
    order: 2;
}

.cart-section {
    order: 3;
}

.hamburger {
    order: 4;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0.5rem 1.5rem;
    border-top: 1px solid #eee;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: calc(1.5rem + 150px + 1.5rem);
    padding-right: calc(1.5rem + 80px + 1.5rem);
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.4rem 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Main Site Link */
.nav-link-main {
    color: var(--secondary-color) !important;
    font-weight: 700;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.nav-dropdown > .nav-link svg {
    transition: transform 0.3s;
}

.nav-dropdown:hover > .nav-link svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 190px;
    max-height: 60vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.6rem 1.25rem;
    border: none;
    background: none;
    color: var(--text-color);
    font-size: 0.88rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--secondary-color);
    padding-left: 1.5rem;
}

.dropdown-item.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.dropdown-item-disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coming-soon-badge {
    font-size: 0.65rem;
    background: var(--light-bg);
    color: var(--text-light);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}

.logo-container {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    cursor: pointer;
    transition: opacity 0.2s;
}

.logo-link:hover {
    opacity: 0.85;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.cart-section {
    flex-shrink: 0;
}

.cart-button {
    position: relative;
    background: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s;
}

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

.cart-count {
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
}

.search-wrapper {
    position: relative;
    max-width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: var(--light-bg);
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background: var(--white);
}

.search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    opacity: 0.4;
    pointer-events: none;
}

/* Filters */
/* Products Grid */
.products-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-images {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

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

.image-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--white);
}

.product-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.product-category {
    display: inline-block;
    background: var(--light-bg);
    color: var(--secondary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    margin-bottom: 0.6rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--accent-color);
}

.product-price.out-of-stock {
    color: #999;
    font-size: 1rem;
}

.view-details-btn,
.add-to-cart-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
    font-weight: 600;
}

.view-details-btn:hover,
.add-to-cart-btn:hover {
    background: #17a663;
}

/* Product Detail Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2001;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.product-modal.active {
    display: flex;
}

.product-modal-content {
    background: var(--white);
    border-radius: 15px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    line-height: 1;
    padding: 0.25rem 0.75rem;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s;
}

.close-modal:hover {
    background: var(--light-bg);
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 2rem 2rem;
}

.product-modal-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.modal-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.3s, opacity 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0.7;
}

.modal-arrow:hover {
    background: rgba(255, 255, 255, 1);
    opacity: 1;
}

.modal-arrow-left {
    left: 0.5rem;
}

.modal-arrow-right {
    right: 0.5rem;
}

.thumbnail-images {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumbnail-image:hover {
    border-color: var(--secondary-color);
}

.thumbnail-image.active {
    border-color: var(--secondary-color);
}

.product-modal-info {
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.modal-category {
    display: inline-block;
    background: var(--light-bg);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.modal-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.modal-description ul {
    padding-left: 1.5rem;
    line-height: 1.8;
}

.modal-description li {
    margin-bottom: 0.5rem;
}

/* Color Selector */
.color-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.color-selector-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-right: 0.25rem;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border: 2px solid #ddd;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 0.85rem;
}

.color-option:hover {
    border-color: #999;
}

.color-option.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.25);
}

.color-swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.color-name {
    font-weight: 500;
    color: #333;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-bg);
}

.modal-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.modal-add-to-cart-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
    font-weight: 600;
}

.modal-add-to-cart-btn:hover {
    background: #17a663;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background: var(--white);
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--light-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}

.cart-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    line-height: 1;
    padding: 0;
}

.cart-items {
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-bg);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: bold;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-btn {
    background: var(--light-bg);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #ddd;
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-item {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.cart-summary {
    padding: 1.5rem;
    background: var(--light-bg);
    border-top: 2px solid #ddd;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    padding-top: 0.75rem;
    border-top: 2px solid #ddd;
}

.checkout-btn {
    width: 100%;
    background: #1dbf73;
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: #17a663;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
    }

    .header-top {
        display: contents;
    }

    .header-top-inner {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 0.75rem;
        order: 1;
        background: var(--white);
    }

    .hamburger {
        display: flex;
        order: unset;
    }

    .logo-container {
        order: unset;
        flex: 1;
    }

    .cart-section {
        order: unset;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-top: 1px solid #eee;
        background: var(--white);
        padding-left: 0;
        padding-right: 0;
        order: 2;
    }

    .header-nav.open {
        display: flex;
    }

    .search-container {
        order: 3;
        padding: 0.5rem 0.75rem 0.65rem;
        border-top: 1px solid #eee;
        background: var(--white);
        max-width: none;
    }

    .header-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
        border-bottom: 1px solid #f0f0f0;
        white-space: normal;
        width: 100%;
        text-align: left;
    }

    .header-nav .nav-link::after {
        display: none;
    }

    .header-nav .nav-dropdown {
        width: 100%;
    }

    .header-nav .nav-dropdown > .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 1.25rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-nav .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        background: var(--light-bg);
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        padding: 0;
        transition: max-height 0.3s ease;
    }

    .header-nav .nav-dropdown:hover .dropdown-menu {
        transform: none;
        max-height: 0;
        padding: 0;
    }

    .header-nav .nav-dropdown.open .dropdown-menu {
        max-height: 50vh;
        overflow-y: auto;
        padding: 0.25rem 0;
    }

    .header-nav .nav-dropdown.open > .nav-link svg {
        transform: rotate(180deg);
    }

    .header-nav .dropdown-item {
        padding: 0.65rem 2rem;
        font-size: 0.85rem;
    }

    .header-nav .dropdown-item:hover {
        padding-left: 2rem;
    }

    .search-input {
        padding: 0.45rem 0.75rem 0.45rem 2.25rem;
        font-size: 0.85rem;
    }

    .logo {
        height: 40px;
    }

    .cart-button {
        padding: 0.4rem 0.7rem;
        font-size: 0.85rem;
    }

    .cart-count {
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }

    .products-container {
        padding: 0 1rem;
    }

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

    .product-price {
        font-size: 0.85rem;
    }

    .view-details-btn,
    .add-to-cart-btn {
        padding: 0.35rem 0.65rem;
        font-size: 0.65rem;
    }

    .cart-content {
        width: 95%;
    }

    .product-modal {
        padding: 0.5rem;
    }

    .product-modal-content {
        max-height: 95vh;
    }

    .product-modal-body {
        grid-template-columns: 1fr;
        padding: 2.5rem 0.75rem 0.75rem;
        gap: 1rem;
    }

    .main-image-container {
        height: 200px;
    }

    .modal-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .thumbnail-image {
        width: 60px;
        height: 60px;
    }

    .modal-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .modal-category {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .modal-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .modal-description ul {
        padding-left: 1.25rem;
        line-height: 1.6;
    }

    .modal-description li {
        margin-bottom: 0.35rem;
    }

    .color-selector {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .color-option {
        padding: 0.3rem 0.65rem;
        font-size: 0.8rem;
    }

    .color-swatch {
        width: 15px;
        height: 15px;
    }

    .modal-footer {
        padding-top: 1rem;
    }

    .modal-price {
        font-size: 1.3rem;
    }

    .modal-add-to-cart-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .close-modal {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.5rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Product Detail Page */
.product-page-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.back-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: #17a663;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.product-detail-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    align-self: start;
    position: sticky;
    top: 1rem;
}

@media (max-width: 768px) {
    .product-page-container {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 0.5rem 0.5rem;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--secondary-color);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.pagination-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.pagination-number:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.pagination-number.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .pagination {
        gap: 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.45rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .pagination-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}
