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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #000;
    background-color: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

html, body {
    width: 100%;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #101010;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
}

.announcement-bar a {
    color: #fff;
    text-decoration: none;
}

/* Header Navigation */
.main-nav {
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.logo {
    display: block;
    flex-shrink: 0;
}

.nav-icons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    min-width: 0;
}

.nav-menu a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.nav-menu a:hover {
    text-decoration: underline;
}


.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Products Section */
.products-section {
    padding: 40px 0;
}

.products-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.products-count {
    color: #666;
    font-size: 14px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    direction: ltr;
}

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

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

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

/* Product Card */
.product-card {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.badge {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
}

.badge-sale {
    background-color: #c72e2f;
    color: #fff;
}

.badge-limited {
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-customizable {
    background-color: #4f7576;
    color: #fff;
}

.product-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 16px;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Color Swatches */
.color-swatches {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    border: 1px solid #d0d0d0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    padding: 0;
    background: none;
}

.color-swatch:hover {
    border-color: #000;
}

.color-swatch.active {
    border: 2px solid #000;
    box-shadow: 0 0 0 1px #fff inset;
}

.color-swatch-inner {
    width: 100%;
    height: 100%;
    border-radius: 1px;
    background-size: cover;
    background-position: center;
}

/* Product Info */
.product-info {
    text-align: left;
}

.product-variant {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.product-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 42px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.price-current {
    font-size: 18px;
    font-weight: 600;
    color: #c72e2f;
}

.price-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

/* Star Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 16px;
    height: 16px;
}

.star-filled {
    color: #000;
}

.star-empty {
    color: #ccc;
}

.rating-count {
    color: #666;
    font-size: 13px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 48px 0;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #000;
}

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

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.page-number:hover {
    border-color: #000;
}

.page-number.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Popular Categories */
.popular-categories {
    padding: 60px 0;
    border-top: 1px solid #e0e0e0;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

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

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

.category-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #000;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-images {
    margin-bottom: 16px;
}

.category-images img {
    width: 100%;
    max-width: 120px;
    height: auto;
}

.category-title {
    font-size: 16px;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #101010;
    color: #fff;
    padding: 48px 0 24px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-section {
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    margin-top: 32px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 0;
    font-size: 18px;
    color: #666;
}

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #000;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.search-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.search-modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.search-header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
}

#search-input {
    flex: 1;
    border: none;
    font-size: 18px;
    padding: 8px;
    outline: none;
}

.search-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-results {
    overflow-y: auto;
    max-height: calc(80vh - 80px);
    padding: 16px;
}

.search-result-item {
    display: flex;
    gap: 16px;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-price {
    font-size: 16px;
    font-weight: 600;
    color: #c72e2f;
    margin-bottom: 4px;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.search-no-results h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

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

.back-to-products {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    margin-bottom: 32px;
    padding: 8px 0;
}

.back-to-products:hover {
    text-decoration: underline;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

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

/* Gallery */
.product-detail-gallery {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.product-main-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background-color: #f5f5f5;
    margin-bottom: 16px;
    overflow: hidden;
}

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

.product-features-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    gap: 16px;
}

.product-features-overlay .product-feature {
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.product-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.product-thumbnail {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    background-color: #f5f5f5;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.product-thumbnail:hover {
    border-color: #ccc;
}

.product-thumbnail.active {
    border-color: #000;
}

.product-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.product-detail-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-detail-price .price-current {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.product-detail-price .price-original {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.product-detail-size {
    font-size: 15px;
    color: #666;
}

.detail-label {
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    display: block;
}

.product-detail-colors {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.detail-label-sku {
    font-size: 14px;
    color: #666;
    margin: 8px 0 12px 0;
}

.color-swatches-detail {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-swatches-detail .color-swatch {
    width: 48px;
    height: 48px;
}

.btn-customize {
    width: 100%;
    padding: 14px 24px;
    background: #fff;
    border: 2px solid #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-customize:hover {
    background: #f5f5f5;
}

.product-detail-cart {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}

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

.qty-selector label {
    font-weight: 600;
    font-size: 14px;
}

.detail-qty-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #ccc;
    font-size: 16px;
    cursor: pointer;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.cart-total {
    font-size: 20px;
    font-weight: 700;
    margin-left: auto;
}

.btn-add-to-cart {
    width: 100%;
    padding: 16px 24px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    background: #333;
}

.product-features-mobile {
    display: none;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .product-features-overlay {
        display: none;
    }
    
    .product-features-mobile {
        display: flex;
    }
}

/* Upsell Sections */
.goes-great-with,
.you-may-like {
    margin: 60px 0;
    padding: 40px 0;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.upsell-products,
.related-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .upsell-products,
    .related-products {
        grid-template-columns: 1fr;
    }
}

.upsell-product-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upsell-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.upsell-product-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background-color: #f5f5f5;
    border-radius: 4px;
    flex-shrink: 0;
}

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

.upsell-product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.upsell-product-price {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.upsell-product-variant {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.upsell-color-swatches {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.upsell-color-swatches .color-swatch {
    width: 28px;
    height: 28px;
}

.upsell-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    margin-bottom: 8px;
}

.upsell-badge-limited {
    background: #000;
    color: #fff;
}

.upsell-prime {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #00a8e1;
    margin-top: 8px;
}

.btn-add-upsell {
    padding: 10px 24px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
}

.btn-add-upsell:hover {
    background: #333;
}

/* Accordion */
.product-details-accordion {
    margin: 60px 0;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 24px;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding-top: 24px;
}

.accordion-content.active {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .accordion-content.active {
        grid-template-columns: 1fr;
    }
}

.details-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.details-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 24px;
}

.details-list li {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

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

.spec-item {
    font-size: 14px;
    color: #333;
}

.details-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .details-image {
        order: -1;
    }
}

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

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

@media (max-width: 968px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.product-detail__gallery {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.product-detail__main-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: #f5f5f5;
    margin-bottom: 20px;
    overflow: hidden;
}

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

.product-detail__features {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 12px;
}

.product-detail__features .product-feature {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-detail__thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #f5f5f5;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.thumbnail:hover {
    border-color: #ccc;
}

.thumbnail.active {
    border-color: #000;
}

.product-detail__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    color: #000;
}

.back-btn:hover {
    text-decoration: underline;
}

.product-detail__title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}

.product-detail__price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-detail__price .price-current {
    font-size: 28px;
    font-weight: 700;
}

.product-detail__size {
    font-size: 16px;
    color: #666;
}

.product-detail__colors {
    padding: 24px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.color-label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.color-swatches-large {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.color-swatch-large {
    width: 60px;
    height: 60px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    padding: 4px;
    background: #fff;
    transition: all 0.2s;
}

.color-swatch-large:hover {
    border-color: #000;
}

.color-swatch-large.active {
    border-color: #000;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

.color-swatch-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.customize-btn {
    width: 100%;
    padding: 16px;
    background: #fff;
    border: 2px solid #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.customize-btn:hover {
    background: #f5f5f5;
}

.product-detail__cart {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-selector label {
    font-weight: 600;
}

.qty-selector select {
    padding: 10px 40px 10px 16px;
    border: 1px solid #ccc;
    font-size: 16px;
    cursor: pointer;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.total-price {
    font-size: 24px;
    font-weight: 700;
    margin-left: auto;
}

.add-to-cart-btn {
    width: 100%;
    padding: 18px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: #333;
}

/* Upsell Items */
.goes-great-with {
    margin-top: 40px;
}

.goes-great-with h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.upsell-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.upsell-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    align-items: center;
}

.upsell-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
}

.upsell-info {
    flex: 1;
}

.upsell-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.upsell-price {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.upsell-variant {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.upsell-colors {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

.upsell-color-dot {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    border: 1px solid #ddd;
}

.upsell-badge {
    font-size: 11px;
    padding: 4px 8px;
    background: #000;
    color: #fff;
    border-radius: 3px;
    display: inline-block;
}

.upsell-add-btn {
    padding: 10px 24px;
    background: #000;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
}

.upsell-add-btn:hover {
    background: #333;
}

/* Specs Section */
.product-specs {
    margin: 60px 0;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

.specs-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.specs-toggle.active svg {
    transform: rotate(180deg);
}

.specs-content {
    display: none;
    padding-top: 30px;
    gap: 40px;
}

.specs-content.active {
    display: flex;
}

@media (max-width: 768px) {
    .specs-content.active {
        flex-direction: column;
    }
}

.specs-text {
    flex: 2;
}

.specs-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.specs-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 24px;
}

.specs-text ul li {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.specs-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.specs-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specs-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* You May Also Like */
.you-may-like {
    margin: 60px 0;
}

.you-may-like h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: center;
}

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

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

.related-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.related-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 16px;
}

.related-colors {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    border: 1px solid #ddd;
}

.related-size {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.related-badge {
    font-size: 11px;
    padding: 4px 8px;
    background: #000;
    color: #fff;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 12px;
}

.related-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.related-price {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.related-rating {
    font-size: 14px;
    color: #666;
}

.related-rating span:first-child {
    color: #000;
    margin-right: 6px;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

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

.cart-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.cart-modal-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.cart-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

/* Free Shipping Bar */
.free-shipping-bar {
    padding: 16px 24px;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.shipping-progress {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.shipping-progress-bar {
    height: 100%;
    background: #22725f;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.shipping-message {
    font-size: 13px;
    color: #666;
    text-align: center;
}

.shipping-message.complete {
    color: #22725f;
    font-weight: 600;
}

/* Cart Items */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 4px;
    flex-shrink: 0;
}

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

.cart-item-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-variant {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.qty-btn:hover {
    border-color: #000;
}

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

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
}

.cart-item-remove:hover {
    color: #c72e2f;
}

.cart-item-prime {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #00a8e1;
    margin-top: 8px;
}

/* Cart Upsells */
.cart-upsells {
    padding: 24px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.cart-upsells h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cart-upsell-products {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-upsell-item {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-upsell-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-upsell-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 4px;
    flex-shrink: 0;
}

.cart-upsell-info {
    flex: 1;
}

.cart-upsell-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-upsell-price {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-upsell-variant {
    font-size: 12px;
    color: #666;
}

.cart-upsell-add {
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
}

.cart-upsell-add:hover {
    background: #333;
}

/* Cart Footer */
.cart-footer {
    padding: 24px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 12px;
}

.btn-checkout:hover {
    background: #333;
}

.view-full-cart {
    display: block;
    text-align: center;
    color: #000;
    text-decoration: underline;
    font-size: 14px;
}

/* Quick View Modal */
.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.quick-view-modal.active {
    display: flex;
}

.quick-view-content {
    background: white;
    border-radius: 8px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

@media (max-width: 768px) {
    .quick-view-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.quick-view-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.quick-view-image {
    width: 100%;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.quick-view-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-view-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.quick-view-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-view-price .price-current {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.quick-view-price .price-original {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.quick-view-size {
    font-size: 14px;
    color: #666;
}

.quick-view-features {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.quick-view-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.quick-view-feature svg {
    width: 20px;
    height: 20px;
}

.quick-view-qty {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-view-qty label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.quick-view-qty select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.quick-view-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-view-add-to-cart {
    background: #000;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-view-add-to-cart:hover {
    background: #333;
}

.quick-view-full-details {
    background: white;
    color: #000;
    border: 2px solid #000;
    padding: 16px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    display: block;
}

.quick-view-full-details:hover {
    background: #f5f5f5;
}

/* Quick View Icon on Product Card */
.product-card {
    position: relative;
}

.quick-view-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 5;
}

.product-card:hover .quick-view-icon {
    opacity: 1;
}

.quick-view-icon:hover {
    background: #f5f5f5;
    transform: scale(1.1);
}

.quick-view-icon svg {
    width: 20px;
    height: 20px;
}

/* Add to Cart Notification */
.add-to-cart-notification {
    position: fixed;
    top: 80px;
    left: 24px;
    background: #22725f;
    color: #fff;
    padding: 16px 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10001;
    opacity: 0;
    transform: translateX(-400px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.add-to-cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.add-to-cart-notification.hide {
    opacity: 0;
    transform: translateX(0);
}

.add-to-cart-notification svg {
    flex-shrink: 0;
}

#notification-message {
    font-size: 15px;
    font-weight: 600;
}

/* Empty Cart */
.cart-empty {
    text-align: center;
    padding: 60px 24px;
}

.cart-empty h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cart-empty p {
    color: #666;
    margin-bottom: 24px;
}

.cart-empty-btn {
    padding: 12px 32px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
}

.cart-empty-btn:hover {
    background: #333;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 12px;
        gap: 8px;
    }

    .nav-menu {
        gap: 12px;
        flex: 1;
        overflow: hidden;
        white-space: nowrap;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .icon-btn {
        padding: 6px;
    }
}
