:root {
    --shop-primary: #dc2a87;
    --shop-secondary: #654393;
    --shop-dark: #15263c;
    --shop-text: #647783;
    --shop-light: #f7f8fc;
    --shop-border: #e6eaf0;
}

.featured-products-section,
.product-details-section,
.product-tabs-section,
.related-products-section {
    padding: 80px 0;
    background: #fff;
}

.shop-intro,
.related-products-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.shop-eyebrow,
.related-products-heading > div > span {
    display: block;
    margin-bottom: 8px;
    color: var(--shop-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.shop-intro h1,
.related-products-heading h2 {
    margin: 0 0 10px;
    color: var(--shop-dark);
    font-size: 40px;
    font-weight: 700;
}

.shop-intro h1 span {
    color: var(--shop-primary);
}

.shop-intro p {
    max-width: 650px;
    margin: 0;
    color: var(--shop-text);
    font-size: 16px;
}

.shop-trust-note {
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    border: 1px solid var(--shop-border);
    border-radius: 14px;
    background: var(--shop-light);
}

.shop-trust-note > i {
    color: var(--shop-primary);
    font-size: 28px;
}

.shop-trust-note strong,
.shop-trust-note span {
    display: block;
}

.shop-trust-note strong {
    color: var(--shop-dark);
}

.shop-trust-note span {
    color: var(--shop-text);
    font-size: 12px;
}

.category-filter-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 36px;
    padding: 18px 20px;
    border: 1px solid var(--shop-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(21, 38, 60, 0.06);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}


.product-results-inner {
    position: relative;
    min-height: 250px;
}

.product-results-inner.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

.product-results-header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--shop-text);
    font-size: 13px;
}

.clear-product-filter {
    color: var(--shop-primary);
    font-weight: 600;
}

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

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--shop-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(21, 38, 60, 0.06);
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(21, 38, 60, 0.12);
}

.product-image {
    position: relative;
    height: 250px;
    display: block;
    padding: 20px;
    overflow: hidden;
    background: #f8f9fc;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

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

.product-image-placeholder,
.detail-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5cbd4;
    font-size: 55px;
}


.detail-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 10px;
    border-radius: 6px;
    color: #fff;
    background: var(--shop-primary);
    font-size: 11px;
    font-weight: 700;
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 21px;
}

.product-category {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--shop-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-content h3 {
    min-height: 50px;
    margin: 0 0 9px;
    font-size: 17px;
    line-height: 1.45;
}

.product-content h3 a {
    color: var(--shop-dark);
}

.product-content h3 a:hover {
    color: var(--shop-primary);
}

.product-short-description {
    margin: 0 0 15px;
    color: var(--shop-text);
    font-size: 13px;
    line-height: 1.65;
}

.price-box {
    margin-top: auto;
}

.product-card .price-box {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
}



.product-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.view-btn,
.buy-list-btn,
.view-all-products-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 41px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.view-btn {
    border: 1px solid var(--shop-secondary);
    color: var(--shop-secondary);
    background: #fff;
}

.view-btn:hover {
    color: #fff;
    background: var(--shop-secondary);
}

.buy-list-btn,
.view-all-products-btn {
    border: 1px solid var(--shop-primary);
    color: #fff;
    background: var(--shop-primary);
}

.buy-list-btn:hover,
.view-all-products-btn:hover {
    color: #fff;
    background: var(--shop-secondary);
    border-color: var(--shop-secondary);
}

.product-pagination {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.product-pagination .pagination {
    margin: 0;
}

.product-pagination .page-link {
    margin: 0 3px;
    border: 1px solid var(--shop-border);
    border-radius: 7px;
    color: var(--shop-secondary);
}

.product-pagination .page-item.active .page-link {
    border-color: var(--shop-primary);
    background: var(--shop-primary);
}

.empty-products {
    padding: 75px 20px;
    border: 1px dashed #dce1e8;
    border-radius: 16px;
    text-align: center;
    background: var(--shop-light);
}

.empty-products-icon {
    margin-bottom: 15px;
    color: var(--shop-primary);
    font-size: 42px;
}

.empty-products h3 {
    color: var(--shop-dark);
}

.empty-products p {
    color: var(--shop-text);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--shop-secondary);
    font-weight: 600;
}

.product-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 55px;
}

.main-image {
    position: relative;
    height: 540px;
    padding: 35px;
    border: 1px solid var(--shop-border);
    border-radius: 18px;
    background: #f8f9fc;
}

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

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 11px;
    margin-top: 15px;
}

.thumb {
    height: 90px;
    padding: 7px;
    border: 1px solid var(--shop-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb.active,
.thumb:hover {
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 2px rgba(220, 42, 135, 0.1);
}

.product-info .category {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--shop-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-info h1 {
    margin: 0 0 15px;
    color: var(--shop-dark);
    font-size: 38px;
    line-height: 1.25;
}

.availability-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    color: var(--shop-text);
    font-size: 13px;
}

.available-badge {
    color: #198754;
    font-weight: 600;
}

.product-info > .price-box {
    margin: 0 0 25px;
    padding: 20px;
    border-radius: 13px;
    background: var(--shop-light);
}

.product-info > .price-box h2 {
    margin: 0 0 7px;
    color: var(--shop-dark);
    font-size: 34px;
}

.price-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mrp {
    color: var(--shop-text);
}

.discount {
    padding: 5px 9px;
    border-radius: 5px;
    color: #198754;
    background: rgba(25, 135, 84, 0.1);
    font-size: 12px;
    font-weight: 700;
}

.highlights {
    margin-bottom: 26px;
}

.highlights h3 {
    margin-bottom: 14px;
    color: var(--shop-dark);
    font-size: 19px;
}

.highlights ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.highlights li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--shop-text);
    line-height: 1.55;
}

.highlights li i {
    margin-top: 4px;
    color: #198754;
}

.button-group {
    margin-bottom: 12px;
}

.buy-btn {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--shop-primary),
        var(--shop-secondary)
    );
    font-size: 16px;
    font-weight: 700;
}

.buy-btn:hover {
    color: #fff;
    box-shadow: 0 10px 25px rgba(220, 42, 135, 0.25);
}

.buy-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.external-purchase-note {
    margin: 0 0 20px;
    color: var(--shop-text);
    font-size: 12px;
    text-align: center;
}

.delivery-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 17px;
    border: 1px solid var(--shop-border);
    border-radius: 12px;
}

.delivery-icon {
    color: var(--shop-primary);
    font-size: 25px;
}

.delivery-box strong {
    color: var(--shop-dark);
}

.delivery-box p {
    margin: 4px 0 0;
    color: var(--shop-text);
    font-size: 12px;
    line-height: 1.6;
}

.trust-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--shop-border);
    border-radius: 12px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 15px 8px;
    color: var(--shop-text);
    font-size: 11px;
    text-align: center;
}

.trust-item + .trust-item {
    border-left: 1px solid var(--shop-border);
}

.trust-item i {
    color: var(--shop-primary);
    font-size: 19px;
}

.product-tabs-section {
    background: var(--shop-light);
}

.tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    padding: 7px;
    overflow-x: auto;
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    background: #fff;
}

.tab-btn {
    min-width: 150px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    color: var(--shop-text);
    background: transparent;
    font-weight: 600;
    cursor: pointer;
}

.tab-btn.active {
    color: #fff;
    background: var(--shop-secondary);
}

.tab-content {
    display: none;
    padding: 32px;
    border: 1px solid var(--shop-border);
    border-radius: 15px;
    background: #fff;
}

.tab-content.active {
    display: block;
}

.product-rich-content {
    color: var(--shop-text);
    font-size: 16px;
    line-height: 1.85;
}

.product-rich-content img {
    max-width: 100%;
    height: auto;
}

.specification-table {
    width: 100%;
    border-collapse: collapse;
}

.specification-table th,
.specification-table td {
    padding: 15px 18px;
    border: 1px solid var(--shop-border);
    text-align: left;
}

.specification-table th {
    width: 35%;
    color: var(--shop-dark);
    background: #f7f8fb;
}

.related-products-heading a {
    color: var(--shop-primary);
    font-weight: 600;
}

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

    .product-wrapper {
        gap: 35px;
    }
}

@media (max-width: 991px) {
    .shop-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-wrapper {
        grid-template-columns: 1fr;
    }

    .main-image {
        height: 480px;
    }
}

@media (max-width: 767px) {
    .featured-products-section,
    .product-details-section,
    .product-tabs-section,
    .related-products-section {
        padding: 55px 0;
    }

    .shop-intro h1,
    .related-products-heading h2 {
        font-size: 30px;
    }

    .category-filter-wrapper {
        flex-direction: column;
    }

    .category-title {
        padding-top: 0;
    }

    .shop-trust-note {
        min-width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 280px;
    }

    .main-image {
        height: 380px;
        padding: 20px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .thumb {
        height: 72px;
    }

    .product-info h1 {
        font-size: 29px;
    }

    .availability-row,
    .price-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .trust-box {
        grid-template-columns: 1fr;
    }

    .trust-item + .trust-item {
        border-top: 1px solid var(--shop-border);
        border-left: 0;
    }

    .tab-content {
        padding: 22px 18px;
    }

    .related-products-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}