* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif !important;
}

:root {
    --primary-color: #0f172a;
    --accent-color: #3b82f6;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #334155;
    --text-color: #1e293b; 
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

i {
    font-family: 'FontAwesome', sans-serif !important;
}

header {
    width: 100%;
    background: #ffff;
    position: relative;
    padding: 5px 10px;
    border-bottom: 5px solid #4F86C9;
}
header .logo-link {
    /*margin: 0 auto;*/
    margin-left: 0;
    display: block;
    width: fit-content;
}
.logo-link img {
    display: block;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.merchandise-container {
    padding: 0 20px 20px 20px;
} 

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.product-images {
    flex: 1;
    min-width: 300px;
    flex-direction: column;
}

.product-image {
    width: 100%;
    margin-bottom: 10px;
    height: auto;
}

.product-details {
    /*flex: 1;*/
    /*min-width: 300px;*/
    /*position: sticky;*/
    /*top: 0;*/
    /*height: fit-content;*/

    flex: 1;
    min-width: 300px;
    position: relative;
}

.product-details-holder {
    padding: 35px 5% 20px 5%;
}

.sticky-section {
    width: 100%; /* Ensures it takes up 100% of its parent container's width */
    box-sizing: border-box; /* Ensures padding and borders are included in width calculation */
}

.breadcrumb {
    display: flex;
    gap: 5px;
    font-size: 14px;
    margin-bottom: 25px;
    color: #666;
    background: transparent;
    padding: 0;
}

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

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

h1 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

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

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

.current-price {
    font-size: 18px;
    font-weight: bold;
    color: #4F86C9;
}

.discount {
    color: #e74c3c;
    font-weight: 500;
}

.discounted-description {
    max-width: 620px;
    width: 100%;
    background: transparent;
    border: 1px solid lightgray;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 20px -15px rgba(0, 0, 0, 0.25);
}

.club-info {
    font-size: 14px;
    line-height: 22px;
}

.club-info a {
    color: #000;
    font-weight: 500;
    text-decoration: underline;
}

.club-info a:hover {
    color: #333;
}

.section-title {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: normal;
}

.view-all {
    margin-left: auto;
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

.view-all:hover {
    text-decoration: underline;
}

.color-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.color-swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    position: relative;
}

.color-swatch.gray, .color-swatch.grey {
    background-color: darkgrey;
}

.color-swatch.yellow {
    background-color: #ffd900;
}

.color-swatch.black {
    background-color: #000;
}

.color-swatch.blue {
    background-color: #6b8ac9;
}

.color-swatch.burgundy {
    background-color: #8c1c2c;
}

.color-swatch.white {
    background-color: #fff;
}

.color-swatch.navy {
    background-color: #12284c;
}

.color-swatch.lavender {
    background-color: #dcd6e9;
}

.color-swatch.brown {
    background-color: #7d5a50;
}

.color-swatch.beige {
    background-color: #e8d0c0;
}

.color-swatch.pink {
    background-color: #f5d6d9;
}

.color-option.dark-pink {
    background-color: #b11855;
}

.color-swatch.green {
    background-color: #28a745;
}

.color-swatch.red {
    background-color: #dc3545;
}

.color-swatch.orange {
    background-color: #fd7e14;
}

.color-swatch.purple {
    background-color: #6f42c1;
}

.color-swatch.teal {
    background-color: #20c997;
}

.color-swatch.coral {
    background-color: #ff7f50;
}

.color-swatch.skyblue {
    background-color: #87ceeb;
}

.color-swatch.olive {
    background-color: #808000;
}

.color-swatch.gold {
    background-color: #ffd700;
}

.size-selector {
    margin-bottom: 0;
    flex-direction: column;
    align-items: baseline;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.size-option {
    width: auto;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 2px;
    cursor: pointer;
    background-color: #fff;
    font-size: 14px;
    padding: 10px;
}

.size-option.active {
    background-color: rgba(46, 79, 126, 1);
    color: #fff;
}
.size-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.size-guide {
    display: block;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    border: none;
    background: transparent;
}

.size-guide:hover {
    text-decoration: underline;
}

.stock-info {
    font-size: 14px;
    margin-bottom: 0;
    color: #666;
}
.stock-info {
    color: green;
}

.stock-danger {
    color: red;
}

.add-to-bag {
    flex: 1;
    background-color: rgba(46, 79, 126, 1);
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 30px;
    width: 100%;
    margin: 15px 0;
}

.shipping-info {
    font-size: 14px;
    margin-bottom: 15px;
}

.shipping-info .views {
    color: #2e4f7e;
    margin-top: 10px;
}

.shipping-info .views img {
    width: 16px;
    margin-right: 5px;
}

.product-sections {
    margin-top: 30px;
}

.accordion {
    border-top: 1px solid #ddd;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion h3 {
    font-size: 16px;
    font-weight: bold;
}

.accordion-icon {
    font-size: 20px;
}

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

.stars {
    color: #000;
}

.complete-look {
    margin-top: 30px;
}

.complete-look h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.look-products {
    display: flex;
    gap: 20px;
}

.look-product {
    width: 180px;
    text-align: center;
}

.look-product img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.look-product-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.next-arrow {
    align-self: center;
    font-size: 20px;
    cursor: pointer;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px;
    display: flex;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #222;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: 2px solid #3465a4;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    font-size: 30px;
}

.close-button:hover {
    background-color: #f0f0f0;
}

.modal-body {
    padding: 20px;
}

.size-category {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #222;
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.size-chart-table th,
.size-chart-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.size-chart-table th {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
}

.size-chart-table tr:nth-child(even) {
    background-color: #fafafa;
}

.size-chart-table tr:hover {
    background-color: #f2f2f2;
}

.section-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1000;
}

.section-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-overlay-content {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 100%;
    height: 100%;
    background-color: white;
    overflow-y: auto;
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.section-overlay-content.active {
    transform: translateX(0);
    max-width: 500px;
}

.overlay-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1003;
}

.overlay-content-inner {
    padding: 50px 30px 30px;
    height: 100%;
}

body.overlay-open {
    overflow: hidden;
}

.section-overlay-backdrop.active {
    opacity: 1;
}
.accordion .product-description,
.accordion .shipping-description,
.accordion .care-description,
.accordion .reviews-description,
.accordion .questions-description {
    display: none;
}

.product-description ul,
.care-description ul,
.shipping-description ul,
.reviews-description ul,
.questions-description ul {
    padding-left: 20px;
    margin: 10px 0;
}

.product-description ul li,
.care-description ul li,
.shipping-description ul li,
.reviews-description ul li,
.questions-description ul li {
    line-height: 30px;
}

.product-description p,
.care-description p,
.shipping-description p,
.reviews-description p,
.questions-description p {
    line-height: normal;
    margin-bottom: 20px;
}

.cus_review {
    margin: 20px 0;
}

.cus_review span {
    display: block;
}

.cus_review i {
    display: block;
    margin-bottom: 10px;
}
.overlay-content-inner h2 {
    margin-bottom: 30px;
}

/* Related Products Design */
.related-section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.related-products-container {
    width: 100%;
}

.related-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 20px;
    justify-content: center;
}

.related-product-card {
    flex: 0 0 calc(20% - 8px);
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

a.related-product-card:hover {
    text-decoration: none;
}

.related-product-image-container {
    height: auto;
    position: relative;
    background-color: #f5f5f5;
    margin-bottom: 10px;
}

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

.related-product-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: normal;
    color: #000;
}

.related-price-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.related-sale-price {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.related-discount-tag {
    font-size: 16px;
    color: #cc0000;
    font-weight: 500;
}

.load-more-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.load-more-btn {
    background-color: #ffffff;
    border: 1px solid #000000;
    color: #000000;
    padding: 12px 30px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background-color: #f5f5f5;
}

.third-row {
    display: none;
}

.countdown-container {
    text-align: center;
    background-color: white;
    border-radius: 7px;
    box-shadow: none;
    padding: 10px;
    max-width: fit-content;
    width: 100%;
    border: 1px solid gray;
    margin: 20px auto;
}
.countdown-container .title {
    color: #e74c3c;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.countdown-container .timer {
    display: flex;
    justify-content: space-around;
    margin-top: 0;
    gap: 25px;
}
.countdown-container .timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.countdown-container .time {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    width: 60px;
    height: 45px;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}
.countdown-container .label {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    padding: 0;
    font-weight: 400;
}

/* Responsive styles */

@media (min-width: 1440px) {
    .product-details-holder {
        padding: 20px 15%;
    }
}

@media (max-width: 991px) {
    .related-product-card {
        flex: 0 0 calc(33.333% - 7px);
    }

    .product-container {
        flex-direction: column;
        gap: 10px;
    }

    .product-images .owl-dots {
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }

    .product-images .owl-dot {
        width: 30px;
        height: 3px;
        background-color: #ddd !important;
        margin: 0 3px;
        border-radius: 0 !important;
    }

    .product-images .owl-dot.active {
        background-color: #333 !important;
    }

    /* Remove margin-bottom when in carousel mode */
    .product-images .product-image {
        margin-bottom: 0;
    }

    .product-details {
        width: 100%;
    }

    .product-details-holder {
        padding: 10px;
    }
    .related-product-title {
        font-size: 14px;
    }
    .related-original-price, .related-sale-price, .related-discount-tag {
        font-size: 12px;
    }
    .related-product-title {
        margin-top: 0;
    }
}

@media (max-width: 479px) {
    .related-product-card {
        flex: 0 0 calc(50% - 5px);
    }
    .countdown-container .timer {
        gap: 20px;
    }
    .countdown-container .time {
        font-size: 18px;
        width: 50px;
        height: 45px;
    }
    .countdown-container .label {
        font-size: 12px;
    }
    .accordion {
        padding: 6px 0;
    }
    .related-product-title {
        margin-top:0;
    }
    .related-merchandise-section {
        padding: 0 10px;
    }
    .merchandise-container {
        padding: 0;
    }
}

@media (max-width: 400px) {
    .countdown-container {
        max-width: 100%;
        margin: 10px auto;
        width: fit-content;
    }
    .countdown-container .title {
        font-size: 16px;
    }
    .countdown-container .timer {
        gap: 15px;
    }
    .countdown-container .time {
        font-size: 18px;
        width: 40px;
        height: 39px;
        margin-bottom: 12px;
    }
    .shipping-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Additional CSS from JavaScript file */
@keyframes spin {
    to { transform: rotate(360deg); }
}

body {
    background-color: #fff;
    color: var(--text-color);
    line-height: 1.6;
}

/* Product Detail Section */
.product-detail {
    display: grid;
    grid-template-columns: 55% 45%;
    margin: 40px 0;
    gap: 3em;
    position: relative;
}

/* Left Column - Image Gallery */
.product-gallery {
    display: flex;
    gap: 20px;
    position: relative;
}

.gallery-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 500px;
    scrollbar-width: thin;
    padding: 5px;
    width: 90px;
    position: sticky;
    top: 1em;
}

.gallery-nav::-webkit-scrollbar {
    width: 4px;
}

.gallery-nav::-webkit-scrollbar-thumb {
    background-color: var(--medium-gray);
    border-radius: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.main-image {
    flex: 1;
    height: fit-content;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px 5px #e8e8e8;
    position: sticky;
    top: 1em;
}

.main-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease;
}

.main-image:hover img {
    transform: scale(1.03);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-arrow:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Right Column - Product Info */
.product-info {
    padding: 0 30px;
}

.breadcrumb {
    display: flex;
    list-style: none;
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.breadcrumb li {
    margin-right: 8px;
}

.breadcrumb a {
    color: var(--dark-gray);
    text-decoration: none;
}

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

.product-info .product-title {
    font-family: poppins;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--primary-color);
}

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

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #3a86ff;
}

.discount-badge {
    background-color: #d71212;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

.original-price, .original-price-related {
    margin-right: 15px;
    font-size: 18px;
    text-decoration: line-through;
    color: #94a3b8;
}

.free-shipping {
    display: inline-block;
    background-color: #ecfdf5;
    color: #047857;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 15px;
}

.option-label {
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.color-options {
    display: flex;
    gap: 15px;
    margin-left: 0.3em;
    margin-bottom: 30px;
}

.color-option {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.color-option.color-swatch {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.color-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

/* Add a diagonal line through disabled color swatches */
.color-option.disabled::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #ff0000;
    transform: rotate(45deg);
}

/* Styling for disabled size buttons */
.size-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f8f8f8;
    color: #999;
    border-color: #ddd;
}

.size-option.disabled:before {
    content: "";
    position: absolute;
    width: 2px;
    height: inherit;
    background-color: #ff0000;
    transform: rotate(45deg);
}

.color-option.selected {
    transform: scale(1.2);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent-color);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.size-option {
    min-width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    background-color: transparent;
}

.size-option:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.size-option.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.size-guide {
    font-size: 14px;
    color: var(--accent-color);
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
}

.size-guide:hover {
    color: var(--primary-color);
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.add-to-cart {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    padding: 18px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.add-to-cart:hover {
    background-color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.2);
}

.add-to-cart svg {
    transition: var(--transition);
}

.add-to-cart:hover svg {
    transform: translateX(3px);
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 25px;
    padding: 10px 0;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.delivery-info {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-color);
}

.delivery-info-title {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
}

.delivery-info-text {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.7;
}

.club-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.club-info a:hover {
    text-decoration: underline;
}

/* Product Tabs (Converted to Collapsible Sections) */
.product-tabs {
    margin: 30px 0;
}

.tabs-header {
    border-bottom: none;
    margin-bottom: 0;
    display: block;
}

.tab-btn {
    width: 100%;
    padding: 20px 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    transition: var(--transition);
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-btn:after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    transition: var(--transition);
}

.tab-btn.active:after {
    transform: rotate(-135deg);
}

.tab-btn:hover {
    color: var(--accent-color);
}

.tab-content {
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 25px 15px;
    max-height: fit-content;
}

.product-description p,
.care-instructions p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--dark-gray);
}

#shipping-returns h4 {
    margin: 20px 0 10px;
    color: var(--primary-color);
}

#shipping-returns ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

#shipping-returns li {
    margin-bottom: 8px;
    color: var(--dark-gray);
}

#shipping-returns a {
    color: var(--accent-color);
    text-decoration: none;
}

#shipping-returns a:hover {
    text-decoration: underline;
}

/* Similar Products */
.similar-products {
    margin: 80px 0;
}

.similar-products-title{
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    color: var(--primary-color);
    text-align: center;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 40px;
    position: relative;
    color: var(--primary-color);
    text-align: center;
}

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

.product-card {
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    background-color: #fff;
    box-shadow: 4px 4px 6px 0 lightgrey;
    text-decoration: none;
    display: block;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card-img {
    position: relative;
    height: auto;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 500px;
    transition: var(--transition);
}

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

.product-card-info {
    padding: 20px;
}

.product-card-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--primary-color);
}

.product-card-price {
    font-weight: 600;
    color: var(--dark-gray);
}

.current-price-related {
    color: var(--accent-color);
    font-size: 20px;
    font-weight: 700;
}

/* Size Chart Modal */
.modal-dialog {
    width: 100%;
    max-width: 600px;
}

.modal-content {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--medium-gray);
}

.modal-title {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-gray);
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-info {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .product-gallery {
        flex-direction: column-reverse;
    }

    .gallery-nav {
        flex-direction: row;
        max-height: none;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: wrap;
    }

    .thumbnail {
        flex: 0 0 80px;
    }

    .main-image {
        height: 400px;
        position: relative;
    }

    .section-title {
        font-size: 14px;
    }

    .product-info .product-title {
        font-size: 22px;
    }
}


@media (max-width: 576px) {
    .product-price {
        align-items: flex-start;
        gap: 8px;
    }

    .free-shipping {
        margin-left: 0;
    }

    .size-options {
        gap: 8px;
    }

    .size-option {
        min-width: 45px;
        height: 45px;
    }

    .main-image {
        height: 350px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.commitment-description {
    white-space: pre-line;
}