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

body {
    font-size: 14px;
    line-height: 1.6;
    color: #777;
}

.home {
    background-color: #ffffff;
}

.sidebar {
    margin-top: 20px;
    width: 100%;
    background: #f4f6f8;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.sidebar-title {
    background: gray;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title span {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sidebar-title i {
    color: #fff;
    font-size: 16px;
}

.sidebar-menu {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.menu-item>a {
    display: flex;
    align-items: center;
    padding: 11px 20px;
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: max-height 0.5s ease;
    position: relative;
}

.menu-item>a:hover {
    background: #c0c0c0;
}

.menu-item.is-active>a {
    background: #fff0f0;
}

.menu-item.is-active>a::before {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 0 2px 2px 0;
}

.menu-item+.menu-item {
    border-top: 1px solid #e5e7eb;
}

.menu-toggle {
    display: none;
}

.menu-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    color: black;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.menu-label:hover {
    background: #c0c0c0;
}

.menu-label .chevron {
    font-size: 11px;
    transition: transform 0.5s ease;
    color: gray;
    flex-shrink: 0;
}

.menu-toggle:checked+.menu-label .chevron {
    transform: rotate(180deg);
}

.menu-toggle:checked+.menu-label {
    background: #e5e7eb;
}

.sub-menu {
    list-style: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #f4f6f8;
    border-top: 1px solid #e5e7eb;
}

.menu-toggle:checked~.sub-menu {
    max-height: 1000px;
}

.sub-menu-item {
    border-bottom: 1px solid #e9ecef;
}

.sub-menu-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 10px 32px;
    color: black;
    font-size: 13px;
    font-weight: 600;
}

.sub-menu-label .chevron {
    font-size: 11px;
    transition: transform 0.5s ease;
    color: gray;
    flex-shrink: 0;
}

.sub-menu-label:hover {
    background: #eef0f3;
}

.sub-menu-toggle:checked+.sub-menu-label .chevron {
    transform: rotate(180deg);
}

.sub-sub-menu {
    list-style: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #fff;
    border-top: 1px solid #e9ecef;
}

.sub-menu-toggle:checked~.sub-sub-menu {
    max-height: 800px;
}

.sub-sub-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px 9px 44px;
    color: black;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
}

.sub-sub-menu li a:hover {
    background: #c0c0c0;
    padding-left: 48px;
}

.sub-sub-menu li a:hover::before {
    background: #eef0f3;
}

.menu-link>a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.menu-link>a:hover {
    background: #c0c0c0;
}

.menu-link>a i {
    color: #fff0f0;
    font-size: 15px;
    transition: color 0.5s ease;
    width: 18px;
    text-align: center;
}

.menu-label>.menu-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.row.row-large {
    max-width: 1300px;
}

.row {
    margin-top: 20px;
    display: flex;
}

.product-main {
    border-left: 1px solid #e5e7eb;
}

.product-gallery {
    position: relative;
    max-width: 520px;
    background: white;
    margin: 0 auto;
    text-align: center;
}

.sale-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #d97757;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(217, 119, 87, 0.35);
}

.main-image-container {
    position: relative;
    background: #fff;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.image-radio {
    display: none;
}

.main-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: fill;
}

#img1:checked~.main-image-container .main-image-wrapper .main-image-1,
#img2:checked~.main-image-container .main-image-wrapper .main-image-2,
#img3:checked~.main-image-container .main-image-wrapper .main-image-3,
#img4:checked~.main-image-container .main-image-wrapper .main-image-4,
#img5:checked~.main-image-container .main-image-wrapper .main-image-5,
#img6:checked~.main-image-container .main-image-wrapper .main-image-6,
#img7:checked~.main-image-container .main-image-wrapper .main-image-7,
#img8:checked~.main-image-container .main-image-wrapper .main-image-8,
#img9:checked~.main-image-container .main-image-wrapper .main-image-9,
#img10:checked~.main-image-container .main-image-wrapper .main-image-10,
#img11:checked~.main-image-container .main-image-wrapper .main-image-11,
#img12:checked~.main-image-container .main-image-wrapper .main-image-12,
#img13:checked~.main-image-container .main-image-wrapper .main-image-13,
#img14:checked~.main-image-container .main-image-wrapper .main-image-14,
#img15:checked~.main-image-container .main-image-wrapper .main-image-15,
#img16:checked~.main-image-container .main-image-wrapper .main-image-16,
#img17:checked~.main-image-container .main-image-wrapper .main-image-17,
#img18:checked~.main-image-container .main-image-wrapper .main-image-18,
#img19:checked~.main-image-container .main-image-wrapper .main-image-19,
#img20:checked~.main-image-container .main-image-wrapper .main-image-20,
#img21:checked~.main-image-container .main-image-wrapper .main-image-21,
#img22:checked~.main-image-container .main-image-wrapper .main-image-22 {
    display: block;
}

.main-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.zoom-btn:hover {
    background: #fff;
    border-color: #d1d5db;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.zoom-btn i {
    color: #1a1a2e;
    font-size: 18px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.slider-arrow:hover {
    background: #fff;
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow i {
    color: #1a1a2e;
    font-size: 16px;
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

.thumbnail-container {
    position: relative;
    margin-top: 16px;
}

.thumbnail-scroll {
    overflow-x: scroll;
    position: relative;
}

.thumbnail-wrapper {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    transition: transform 0.4s ease;
}

.thumbnail-item {
    flex: 0 0 calc(25% - 9px);
    min-width: calc(25% - 9px);
}

.thumbnail-label {
    display: block;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s ease;
    background: #fff;
    aspect-ratio: 1 / 1;
    opacity: 0.3;
}

.thumbnail-label:hover {
    transform: translateY(-2px);
    opacity: 1;
}

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

#img1:checked~.thumbnail-container .thumb-1,
#img2:checked~.thumbnail-container .thumb-2,
#img3:checked~.thumbnail-container .thumb-3,
#img4:checked~.thumbnail-container .thumb-4,
#img5:checked~.thumbnail-container .thumb-5,
#img6:checked~.thumbnail-container .thumb-6,
#img7:checked~.thumbnail-container .thumb-7,
#img8:checked~.thumbnail-container .thumb-8,
#img9:checked~.thumbnail-container .thumb-9,
#img10:checked~.thumbnail-container .thumb-10,
#img11:checked~.thumbnail-container .thumb-11,
#img12:checked~.thumbnail-container .thumb-12,
#img13:checked~.thumbnail-container .thumb-13,
#img14:checked~.thumbnail-container .thumb-14,
#img15:checked~.thumbnail-container .thumb-15,
#img16:checked~.thumbnail-container .thumb-16,
#img17:checked~.thumbnail-container .thumb-17,
#img18:checked~.thumbnail-container .thumb-18,
#img19:checked~.thumbnail-container .thumb-19,
#img20:checked~.thumbnail-container .thumb-20,
#img21:checked~.thumbnail-container .thumb-21,
#img22:checked~.thumbnail-container .thumb-22 {
    opacity: 1;
}

.thumbnail-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.thumbnail-arrow:hover {
    background: #fff;
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-50%) scale(1.1);
}

.thumbnail-arrow i {
    color: #1a1a2e;
    font-size: 14px;
    transition: color all 0.5s ease;
}

.thumbnail-prev {
    left: -16px;
}

.thumbnail-next {
    right: -16px;
}

.thumbnail-prev.disabled,
.thumbnail-next.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.product-info {
    margin: 0 0.5em;
    padding-top: 10px;
    flex: 1;
}

.breadcrumb-list {
    color: #222;
    font-weight: bold;
    letter-spacing: 0;
    padding: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.breadcrumb-list a {
    color: rgba(102, 102, 102, 0.7);
    text-decoration: none;
}

.divider {
    position: relative;
    top: 0;
    opacity: 0.35;
    margin: 0 0.3em;
    font-weight: 300;
}

.product-title {
    font-family: "Lato", sans-serif;
    font-size: 25px;
    width: 100%;
    margin-bottom: 10px;
    font-weight: bold;
}

.line-divider {
    height: 3px;
    display: block;
    background-color: rgba(110, 109, 109, 0.185);
    margin: 1em 0 1em;
    width: 100%;
    max-width: 30px;
}

.price-container {
    display: block;
    margin: 12px 0;
    font-weight: bolder;
}

.price-details {
    display: block;
}

.old-price {
    line-height: 1;
    font-size: 36px;
    margin-right: 5px;
    opacity: 0.6;
    text-decoration: line-through;
    font-weight: normal;
}

.new-price {
    line-height: 1;
    color: #111;
    font-size: 36px;
    margin-right: 5px;
    text-decoration: none;
}

.currency {
    font-size: 18px;
    vertical-align: top;
    margin-top: 1px;
}

.short-description {
    margin: 20px 0;
}

.short-description ul {
    margin-bottom: 20px;
}

.short-description ul li {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
    margin-left: -10px;
}

.cart {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quantity-container {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    background: #f5f5f5;
    height: 40px;
    margin-left: 20px;
}

.quantity-container label {
    display: none;
}

.button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    font-size: 18px;
    cursor: pointer;
    background: #f9f9f9;
}

.button:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    outline: none;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-container {
    height: 40px;
    margin-left: 20px;
    display: inline-flex;
}

.add-to-cart-btn {
    width: 190px;
    height: 40px;
    border: none;
    background-color: #d26e4b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 8px;
}

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    border-radius: 1px;
}

.add-to-cart-text {
    color: white;
    font-size: 1.04em;
    font-weight: 600;
    margin-bottom: 0;
}

.store-container {
    padding: 16px;
    border: 1px dashed #888888;
    margin-bottom: 8px;
    margin-top: 25px;
    border-radius: 10px;
}

.store-container b {
    color: #fa5230;
    font-size: 18px;
}

.store-list {
    margin-top: 10px;
    list-style: none;
    margin-left: -30px;
    font-size: 16px;
}

.store-list li {
    margin-bottom: 8px;
    color: red;
    font-weight: bold;
}

.store-link {
    color: #334862;
    text-decoration: none;
}

.category-info {
    margin-top: 20px;
    padding-top: 10px;
    font-size: 14px;
    color: #555;
    border-top: 1px solid #e5e7eb;
}

.category-info a {
    color: #334862;
    text-decoration: none;
}

.social-share {
    position: relative;
    display: inline-block;
    color: #999;
    margin: 20px 0;
}

.social-share a {
    width: 40px;
    height: 40px;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
    border: 2px solid silver;
    border-radius: 999px;
    font-size: 18px;
    margin: 0 2px 14px 2px;
    color: silver;
}

.facebook:hover {
    background-color: #3b5998;
    color: white;
}

.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.email:hover {
    background-color: #c71610;
    color: white;
}

.pinterest:hover {
    background-color: #bd081c;
    color: white;
}

.linkedin:hover {
    background-color: #0077b5;
    color: white;
}

.product-tabs {
    background: #fff;
}

.tabs-container {
    max-width: 1270px;
    border-top: 1px solid #ececec;
    margin: 0 30px;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.review-item strong {
    display: block;
    font-size: 16px;
}

.review-item i {
    color: #f5a623;
    margin-right: 2px;
    padding-right: 8px;
}

.review-item p {
    font-size: 16px;
}

.review-form textarea {
    resize: none;
    font-size: 16px;
}

.tab-input {
    display: none;
}

.tab-labels {
    display: flex;
    font-size: 16px;
    box-sizing: border-box;
    gap: 10px;
}

.tab-labels .radio .name {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: rgba(51, 65, 85, 1);
    border-top: 3px solid transparent;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.2s ease;
}

#tab-description:checked~.tab-labels label[for="tab-description"] .name,
#tab-reviews:checked~.tab-labels label[for="tab-reviews"] .name {
    border-top: 3px solid #6b7280;
}

.tab-content-area {
    padding: 30px 0;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#tab-description:checked~.tab-content-area #description {
    display: block;
    opacity: 1;
}

#tab-reviews:checked~.tab-content-area #reviews {
    display: block;
    opacity: 1;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
}

.table-title {
    font-size: 26px;
    font-weight: bold;
    color: #1a1a2e;
    margin: 25px 0;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.info-table {
    font-size: 16px;
}

.info-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.info-table td {
    padding: 6px 0;
    border-color: #e5e7eb;
    color: #444;
}

.table-label {
    width: 30%;
    color: #777;
}

.review-container {
    max-width: 900px;
    margin: 0 auto;
}

.review-heading {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 20px;
    text-align: left;
}

.no-reviews-text {
    font-size: 16px;
    color: #555;
}

.review-login-prompt {
    border: 2px solid #446084;
    padding: 15px 30px 30px;
}

.review-login-prompt p {
    font-size: 16px;
    color: #334862;
}

.related-products {
    background: #fff;
    padding: 60px 0;
    margin-top: 50px;
}

.related-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.related-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #d26e4b;
    margin: 15px auto 0;
    border-radius: 2px;
}

.carousel {
    position: relative;
    padding: 0 50px;
}

.carousel-inner {
    padding: 10px 0;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
}

.item-image-box {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f9fa;
}

.item-image-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .item-image {
    transform: scale(1.1);
}

.product-card .product-info {
    padding: 18px 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card .product-title {
    margin-bottom: 12px;
}

.product-card .product-title a {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    height: 39px;
    overflow: hidden;
    transition: color 0.2s ease;
}

.product-card .product-title a:hover {
    color: #e8242b;
}

.product-card .product-price {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.product-card .product-stock {
    font-size: 15px;
    color: #e8242b;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.product-card .product-stock i {
    font-size: 12px;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    border-color: #d1d5db;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.carousel-control-icon i {
    font-size: 20px;
    color: #d1d5db;
    transition: color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-icon i,
.carousel-control-next:hover .carousel-control-icon i {
    color: #d1d5db;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
}

@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .header-search {
        width: 100%;
    }

    .header-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .header-menu li a {
        font-size: 13px;
    }

    .product-main {
        border-left: none;
        margin-top: 20px;
    }

    .product-title {
        font-size: 20px;
    }

    .old-price,
    .new-price {
        font-size: 24px;
    }

    .short-description ul li {
        font-size: 16px;
    }

    .cart {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .quantity-container {
        margin-left: 0;
    }

    .cart-container {
        margin-left: 0;
        width: 100%;
    }

    .add-to-cart-btn {
        width: 100%;
        max-width: 300px;
    }

    .product-gallery {
        max-width: 100%;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .thumbnail-arrow {
        display: none;
    }

    .thumbnail-item {
        flex: 0 0 calc(33.33% - 8px);
        min-width: calc(33.33% - 8px);
    }

    .table-label {
        width: 40%;
    }

    .tab-labels {
        flex-wrap: wrap;
        gap: 5px;
    }

    .carousel {
        padding: 0;
    }

    .related-products {
        padding: 30px 0;
    }

    .social-share a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}