/*
 * ═══════════════════════════════════════════════════════
 *  DWIJA Diamond — Product Detail Page
 *  Rose Gold Luxury Theme
 * ═══════════════════════════════════════════════════════
 */

/* ── Product Detail Hero ─────────────────────────────── */

.product-detail-breadcrumb {
    background-image: none !important;
    background: #1E1618 !important;
    min-height: 240px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden;
    border-bottom: none;
    display: flex;
    align-items: stretch;
}

.pdp-hero__img-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.pdp-hero__img-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #1E1618 0%,
        rgba(30, 22, 24, 0.55) 35%,
        rgba(30, 22, 24, 0) 100%
    );
}

.pdp-hero__content-panel {
    position: relative;
    z-index: 2;
    width: 100%;
}

.pdp-hero__inner {
    padding: 101px 0 44px;
    max-width: 620px;
}

/* Breadcrumb */
.pdp-hero__crumbs ol {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.pdp-hero__crumbs li {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
}

.pdp-hero__crumbs li + li::before {
    content: '›';
    margin: 0 7px;
    color: rgba(183, 110, 121, 0.5);
    font-size: 14px;
}

.pdp-hero__crumbs li a {
    color: rgba(255,255,255,0.48);
    text-decoration: none;
    transition: color .2s ease;
}

.pdp-hero__crumbs li a:hover {
    color: #D4A0A7;
}

.pdp-hero__crumbs li[aria-current="page"] {
    color: rgba(255,255,255,0.7);
}

/* Rose gold accent line */
.pdp-hero__accent {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #B76E79 0%, #D4A0A7 50%, rgba(212, 160, 167, 0) 100%);
    border-radius: 2px;
    margin-bottom: 14px;
    animation: pdp-accent-grow 1.2s ease-out forwards;
}

@keyframes pdp-accent-grow {
    from { width: 0;    opacity: 0; }
    to   { width: 48px; opacity: 1; }
}

/* Category badge */
.pdp-hero__badge {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #D4A0A7;
    background: rgba(183, 110, 121, 0.12);
    border: 1px solid rgba(183, 110, 121, 0.35);
    border-radius: 20px;
    padding: 3px 13px;
    margin-bottom: 12px;
}

/* Product title */
.pdp-hero__title {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 300;
    line-height: 1.28;
    color: #ffffff;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Price */
.pdp-hero__price-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.pdp-hero__price {
    font-size: 22px;
    font-weight: 700;
    color: #D4A0A7;
    letter-spacing: 0.01em;
}

.pdp-hero__price-del {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    text-decoration: line-through;
}

.pdp-hero__sale-badge {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #1E1618;
    background: #B76E79;
    padding: 2px 8px;
    border-radius: 3px;
    align-self: center;
}

/* Meta row */
.pdp-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.pdp-hero__sku {
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.03em;
}

.pdp-hero__sep {
    color: rgba(183, 110, 121, 0.4);
    font-size: 10px;
}

.pdp-hero__stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.pdp-hero__stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.pdp-hero__stock--in  { color: #5dd68a; }
.pdp-hero__stock--in  .pdp-hero__stock-dot { background: #5dd68a; box-shadow: 0 0 5px rgba(93,214,138,0.6); }
.pdp-hero__stock--out { color: #f07070; }
.pdp-hero__stock--out .pdp-hero__stock-dot { background: #f07070; }

.pdp-hero__cat-link {
    color: rgba(183, 110, 121, 0.7);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color .2s ease;
}
.pdp-hero__cat-link:hover { color: #D4A0A7; }

/* ── Product Info Area ───────────────────────────────── */

.sp-area {
    padding: 60px 0;
    background: linear-gradient(180deg, #FFFAF7 0%, #FFF8F4 100%);
}

.sp-area .sp-nav .sp-content .sp-heading h5 a {
    color: #2D2424;
    font-weight: 300;
    font-size: clamp(20px, 2.2vw, 28px);
    transition: color 0.3s ease;
}

.sp-area .sp-nav .sp-content .sp-heading h5 a:hover {
    color: #B76E79 !important;
}

.sp-area .reference {
    color: #A09090;
    font-size: 13px;
    letter-spacing: 0.03em;
}

.sp-area .rating-box .rating-star {
    color: #E0D0C8;
}

.sp-area .rating-box .rating-star--filled {
    color: #B76E79;
}

.sp-area .price-box .new-price {
    color: #8E5158;
    font-size: 22px;
    font-weight: 700;
}

.sp-area .price-box .old-price {
    color: #A09090;
    font-size: 16px;
    text-decoration: line-through;
}

/* Essential info */
.sp-essential_stuff ul li {
    color: #8A7A7A;
    border-bottom-color: #F2E6E0;
}

.sp-essential_stuff ul li span {
    color: #4A3C3C;
    font-weight: 600;
}

/* Attribute select */
.product-size_box select {
    border-color: #EBD8D0;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.product-size_box select:focus {
    border-color: #B76E79;
}

/* Quantity */
.cart-plus-minus {
    border-color: #EBD8D0;
    border-radius: 8px;
}

.cart-plus-minus-box {
    color: #3A2E2E;
}

/* ═══════════════════════════════════════════════════════
   ADD TO CART & BUY NOW — Premium Design
   ═══════════════════════════════════════════════════════ */

.qty-btn_area ul {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.qty-btn_area .qty-cart_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #B76E79 0%, #C4858E 100%);
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px rgba(183, 110, 121, 0.28);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.qty-btn_area .qty-cart_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.6s ease;
}

.qty-btn_area .qty-cart_btn:hover {
    background: linear-gradient(135deg, #8E5158 0%, #B76E79 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(142, 81, 88, 0.32);
}

.qty-btn_area .qty-cart_btn:hover::before {
    left: 100%;
}

.qty-btn_area .qty-cart_btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(142, 81, 88, 0.25);
}

/* Buy Now button */
.qty-btn_area__buy-now {
    margin-left: 10px;
}

#buy-now-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 14px 28px !important;
    background: #2D2424 !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 0 8px 24px rgba(45, 36, 36, 0.2);
    text-decoration: none !important;
}

#buy-now-btn:hover {
    background: #B76E79 !important;
    border-color: #B76E79 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(183, 110, 121, 0.3) !important;
}

/* Wishlist button */
.qty-btn_area .qty-wishlist_btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EBD8D0;
    border-radius: 50%;
    color: #A09090;
    background: #ffffff;
    transition: all 0.3s ease;
}

.qty-btn_area .qty-wishlist_btn:hover {
    border-color: #B76E79;
    color: #B76E79;
    background: rgba(183, 110, 121, 0.04);
}

/* Social links */
.hiraola-social_link > ul > li > a {
    border-color: #EBD8D0;
    color: #A09090;
    transition: all 0.3s ease;
}

.hiraola-social_link > ul > li > a:hover {
    border-color: #B76E79;
    color: #B76E79;
    background: rgba(183, 110, 121, 0.06);
}

/* ═══════════════════════════════════════════════════════
   PRODUCT IMAGE GALLERY — Slider Layout
   ═══════════════════════════════════════════════════════ */

.sp-img_area {
    position: relative;
}

.zoompro-border {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #EBD8D0;
    background: linear-gradient(145deg, #FEF5F2, #FFF8F4);
}

.zoompro-border img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.25s ease;
}

.zoompro-border {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #EBD8D0;
    background: linear-gradient(145deg, #FEF5F2, #FFF8F4);
}

.zoompro-border > img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.25s ease;
}

/* ═══════════════════════════════════════════════════════
   CUSTOM IMAGE ZOOM — Lens + Result Window
   ═══════════════════════════════════════════════════════ */

/* Lens follows cursor over the image */
.dj-zoom-lens {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px solid rgba(183, 110, 121, 0.45);
    border-radius: 50%;
    background: rgba(183, 110, 121, 0.05);
    pointer-events: none;
    z-index: 10;
    transform: translate(-50%, -50%);
    display: none;
    box-shadow: 0 0 0 1px rgba(183, 110, 121, 0.12), 0 4px 20px rgba(0,0,0,0.1);
}

/* Zoom result window — positioned right of the image */
.dj-zoom-result {
    position: absolute;
    top: 0;
    left: calc(100% + 16px);
    width: 400px;
    height: 400px;
    border: 1px solid #EBD8D0;
    border-radius: 14px;
    background-repeat: no-repeat;
    background-color: #FFFAF7;
    box-shadow: 0 20px 50px rgba(45, 36, 36, 0.12);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dj-zoom-result.is-active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1199px) {
    .dj-zoom-result {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 991px) {
    .dj-zoom-result,
    .dj-zoom-lens {
        display: none !important;
    }
}

/* Thumbnail slider — horizontal scrollable row */
.sp-img_slider {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.sp-img_slider::-webkit-scrollbar {
    display: none;
}

.sp-img_slider a {
    flex: 0 0 72px;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.sp-img_slider a:hover {
    border-color: #D4A0A7;
}

.sp-img_slider a.active {
    border-color: #B76E79;
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.2);
}

.sp-img_slider a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Product Tabs ────────────────────────────────────── */

.sp-product-tab_area {
    padding: 60px 0;
    background: linear-gradient(180deg, #FFF8F4 0%, #F9EDEA 50%, #FFF8F4 100%);
}

.sp-product-tab_nav .product-tab > ul.product-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}

.sp-product-tab_nav .product-tab > ul.product-menu > li > a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px !important;
    border: 1px solid #EBD8D0;
    border-radius: 999px;
    background: #ffffff;
    color: #8A7A7A;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 2px 12px rgba(45, 36, 36, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sp-product-tab_nav .product-tab > ul.product-menu > li > a::after {
    display: none;
}

.sp-product-tab_nav .product-tab > ul.product-menu > li > a.active,
.sp-product-tab_nav .product-tab > ul.product-menu > li > a:hover {
    border-color: #B76E79;
    background: #B76E79;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(183, 110, 121, 0.22);
    transform: translateY(-1px);
}

/* Description */
.product-description {
    color: #4A3C3C;
    font-size: 15px;
    line-height: 1.8;
}

/* Specification table */
.specification-inner_stuff td {
    border-color: #F2E6E0;
    color: #4A3C3C;
}

.specification-inner_stuff td strong {
    color: #2D2424;
}

/* Reviews */
#reviews .review-rating-bar {
    background: #F2E6E0;
}

#reviews .review-rating-fill {
    background: #B76E79;
}

/* ── Collapsible Description ── */
.desc-collapse {
    position: relative;
    max-height: 96px; /* ~4 lines */
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.desc-collapse.expanded {
    max-height: 3000px;
}

.desc-fade {
    position: relative;
    height: 52px;
    margin-top: -52px;
    background: linear-gradient(to bottom, rgba(255, 250, 247, 0) 0%, #FFF8F4 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.desc-fade.hidden {
    opacity: 0;
}

.desc-toggle-wrap {
    margin-top: 14px;
    text-align: center;
}

/* ── Description Toggle Button ── */
.desc-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 24px;
    border: 1.5px solid #B76E79;
    border-radius: 3px;
    background: transparent;
    color: #B76E79;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.desc-toggle-btn:hover {
    background: #B76E79;
    color: #ffffff;
}

.desc-toggle-btn i {
    font-size: 15px;
    transition: transform 0.35s ease;
}

.desc-toggle-btn.expanded i {
    transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════
   RELATED PRODUCTS & SPECIAL OFFERS — Match Home Page
   ═══════════════════════════════════════════════════════ */

.related-products-section,
.hiraola-product_area-2 {
    padding: 60px 0 70px;
    border-top: 1px solid #F2E6E0;
    background: linear-gradient(180deg, #FFFAF7 0%, #FFF8F4 100%);
}

.related-section-title {
    margin-bottom: 36px;
    text-align: left;
}

.related-section-title h4 {
    font-size: clamp(26px, 2.8vw, 42px);
    font-weight: 300;
    color: #2D2424;
    letter-spacing: -0.01em;
    text-transform: none;
    margin: 0 0 10px;
}

.related-title-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #B76E79, transparent);
    border-radius: 2px;
}

/* Slider slide spacing — tight gap */
.related-products-slider .slide-item,
.hiraola-product_slider-3 .slide-item {
    padding: 0 4px;
}

/* Slick track — stretch slides to equal height */
.related-products-slider .slick-track,
.hiraola-product_slider-3 .slick-track {
    display: flex;
    align-items: stretch;
}

.related-products-slider .slick-slide,
.hiraola-product_slider-3 .slick-slide {
    height: auto;
}

.related-products-slider .slick-slide > div,
.hiraola-product_slider-3 .slick-slide > div {
    height: 100%;
}

/* ── Product Cards — Identical to Home Page ── */
.related-products-section .single_product,
.hiraola-product_area-2 .single_product {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #EBD8D0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(45, 36, 36, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.related-products-section .single_product:hover,
.hiraola-product_area-2 .single_product:hover {
    border-color: #E8C4C9;
    box-shadow: 0 16px 44px rgba(183, 110, 121, 0.16);
    transform: translateY(-6px);
}

/* Make slide-item stretch to fill row height */
.related-products-slider .slide-item,
.hiraola-product_slider-3 .slide-item {
    display: flex;
    align-items: stretch;
}

.related-products-slider .slide-item > *,
.hiraola-product_slider-3 .slide-item > * {
    width: 100%;
}

/* Product image container — matches home */
.related-products-section .single_product .product-img,
.hiraola-product_area-2 .single_product .product-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(145deg, #FEF5F2, #FFF8F4);
    position: relative;
}

.related-products-section .single_product .product-img::after,
.hiraola-product_area-2 .single_product .product-img::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(183, 110, 121, 0.04));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.related-products-section .single_product:hover .product-img::after,
.hiraola-product_area-2 .single_product:hover .product-img::after {
    opacity: 1;
}

/* Product images */
.related-products-section .single_product .product-img img,
.hiraola-product_area-2 .single_product .product-img img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease !important;
}

.related-products-section .single_product:hover .product-img img.primary-img,
.related-products-section .single_product:hover .product-img img.secondary-img,
.hiraola-product_area-2 .single_product:hover .product-img img.primary-img,
.hiraola-product_area-2 .single_product:hover .product-img img.secondary-img {
    transform: scale(1.05);
}

/* Badges — matches home */
.related-products-section .single_product .product-img .sticker,
.related-products-section .single_product .product-img .sticker-2,
.hiraola-product_area-2 .single_product .product-img .sticker,
.hiraola-product_area-2 .single_product .product-img .sticker-2 {
    top: 14px;
    left: 14px;
    min-width: 48px;
    height: 24px;
    padding: 0 12px;
    border-radius: 999px;
    background: #8E5158;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 24px;
    text-transform: uppercase;
}

.related-products-section .single_product .product-img .sticker-2,
.hiraola-product_area-2 .single_product .product-img .sticker-2 {
    background: #B76E79;
}

/* Content area — matches home */
.related-products-section .single_product .hiraola-product_content,
.hiraola-product_area-2 .single_product .hiraola-product_content {
    padding: 18px 18px 22px;
    border-top: 1px solid #F2E6E0;
    border-radius: 0 0 14px 14px;
    background: #ffffff;
    text-align: left;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* Product name — matches home, fixed height for uniformity */
.related-products-section .product-desc_info,
.hiraola-product_area-2 .product-desc_info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.related-products-section .product-desc_info h6,
.hiraola-product_area-2 .product-desc_info h6 {
    min-height: 40px;
    max-height: 40px;
    margin-bottom: 8px;
    padding-bottom: 0;
}

.related-products-section .product-desc_info h6 .product-name,
.hiraola-product_area-2 .product-desc_info h6 .product-name {
    color: #2D2424;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.38;
    letter-spacing: 0.01em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    text-decoration: none;
}

.related-products-section .product-desc_info h6 .product-name:hover,
.hiraola-product_area-2 .product-desc_info h6 .product-name:hover {
    color: #B76E79 !important;
}

/* Price — matches home */
.related-products-section .price-box .new-price,
.hiraola-product_area-2 .price-box .new-price {
    color: #8E5158;
    font-size: 16.5px;
    font-weight: 700;
}

.related-products-section .price-box .old-price,
.hiraola-product_area-2 .price-box .old-price {
    color: #A09090;
    font-size: 13.5px;
    font-weight: 400;
}

/* Rating — matches home */
.related-products-section .rating-star,
.hiraola-product_area-2 .rating-star {
    color: #E0D0C8;
}

.related-products-section .rating-star--filled,
.hiraola-product_area-2 .rating-star--filled {
    color: #B76E79;
}

/* Action buttons on cards */
.related-products-section .single_product .product-img .add-actions > ul > li > a,
.hiraola-product_area-2 .single_product .product-img .add-actions > ul > li > a {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.96);
    color: #3A2E2E;
    box-shadow: 0 8px 22px rgba(45, 36, 36, 0.10);
    transition: all 0.3s ease;
}

.related-products-section .single_product .product-img .add-actions > ul > li > a:hover,
.hiraola-product_area-2 .single_product .product-img .add-actions > ul > li > a:hover {
    border-color: #B76E79;
    background: #B76E79;
    color: #ffffff;
}

/* Slick arrow buttons */
.related-products-slider.slick-slider .slick-prev,
.related-products-slider.slick-slider .slick-next,
.hiraola-product_slider-3.slick-slider .slick-prev,
.hiraola-product_slider-3.slick-slider .slick-next {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #EBD8D0;
    border-radius: 8px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #4A3C3C;
    box-shadow: 0 8px 30px rgba(45, 36, 36, 0.07);
    transition: all 0.3s ease;
}

.related-products-slider.slick-slider .slick-prev:hover,
.related-products-slider.slick-slider .slick-next:hover,
.hiraola-product_slider-3.slick-slider .slick-prev:hover,
.hiraola-product_slider-3.slick-slider .slick-next:hover {
    background: #B76E79;
    border-color: #B76E79;
    color: #fff;
}

.related-products-slider.slick-slider .slick-prev,
.hiraola-product_slider-3.slick-slider .slick-prev {
    left: -20px;
}

.related-products-slider.slick-slider .slick-next,
.hiraola-product_slider-3.slick-slider .slick-next {
    right: -20px;
}

/* ── Tag chips ── */
.sp-area .sp-nav .sp-content .hiraola-tag-line > a {
    border-color: #EBD8D0;
    background: #FFF8F4;
    color: #4A3C3C;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.sp-area .sp-nav .sp-content .hiraola-tag-line > a:hover {
    background: #B76E79 !important;
    color: #ffffff !important;
    border-color: #B76E79 !important;
}

/* ═══════════════════════════════════════════════════════
   PRODUCT CUSTOMIZATION FIELD
   ═══════════════════════════════════════════════════════ */

.product-customization {
    margin-top: 20px;
}

.product-customization > label {
    display: block;
    margin-bottom: 8px;
    color: #3A2E2E;
    font-size: 14px;
    font-weight: 600;
}

#product-customization {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #EBD8D0;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#product-customization:focus {
    border-color: #B76E79;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
    outline: none;
}

.product-customization__count {
    display: block;
    margin-top: 5px;
}

/* ═══════════════════════════════════════════════════════
   REVIEWS TAB
   ═══════════════════════════════════════════════════════ */

/* Header rating stars (above price) */
#product-header-stars .fa-star {
    color: #E0D0C8;
}

/* Toast notification */
.review-toast {
    display: none;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* Rating summary */
.review-summary {
    display: none;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 24px;
    padding: 24px 0 20px;
    border-bottom: 1px solid #F2E6E0;
}

.review-summary__score-wrap {
    min-width: 90px;
    text-align: center;
}

.review-summary__score {
    color: #2D2424;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.review-summary__stars {
    margin: 5px 0 3px;
}

.review-summary__count {
    color: #A09090;
    font-size: 12px;
}

.review-summary__bars {
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}

/* Review list loading state */
.review-loading {
    padding: 40px 0;
    color: #A09090;
    text-align: center;
}

.review-loading i {
    font-size: 24px;
}

.review-loading__label {
    margin-top: 8px;
    font-size: 13px;
}

/* Login prompt */
.review-login-prompt {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #EBD8D0;
    border-radius: 12px;
    background: #FFF8F4;
    text-align: center;
}

.review-login-prompt__icon {
    display: block;
    margin-bottom: 8px;
    color: #B76E79;
    font-size: 22px;
}

.review-login-prompt p {
    margin: 6px 0 14px;
    color: #8A7A7A;
    font-size: 13px;
}

.review-login-prompt .auth-login-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 6px;
    background: #2D2424;
    color: #fff;
    text-decoration: none;
    transition: all 0.35s ease;
}

.review-login-prompt .auth-login-btn:hover {
    background: #B76E79;
    color: #fff;
}

/* Write a review */
.review-write {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #F2E6E0;
}

.review-write__title {
    margin-bottom: 20px;
    color: #2D2424;
    font-size: 18px;
    font-weight: 700;
}

.review-form {
    max-width: 680px;
}

.review-form__group {
    margin-bottom: 20px;
}

.review-form__group--comment {
    margin-bottom: 18px;
}

.review-form__label {
    display: block;
    margin-bottom: 8px;
    color: #3A2E2E;
    font-size: 13px;
    font-weight: 600;
}

.review-form__req {
    color: #e74c3c;
}

.star-picker {
    display: flex;
    gap: 5px;
    cursor: pointer;
}

.star-picker .star-icon {
    color: #E0D0C8;
    font-size: 30px;
    transition: color 0.15s ease;
}

.star-label {
    margin-top: 5px;
    color: #A09090;
    font-size: 12px;
}

#form-review textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #EBD8D0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#form-review textarea:focus {
    border-color: #B76E79;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.12);
}

.review-form__error {
    display: none;
    margin-top: 4px;
    color: #e74c3c;
    font-size: 12px;
}

#review-submit-btn {
    min-width: 160px;
    padding: 11px 30px;
    border: none;
    border-radius: 6px;
    background: #B76E79;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.35s ease;
}

#review-submit-btn:hover {
    background: #8E5158;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile-First Breakpoints
   ═══════════════════════════════════════════════════════ */

/* ── 1199px — Tablet Landscape ─────────────────────── */
@media (max-width: 1199px) {
    .pdp-hero__inner {
        padding-top: 36px;
    }

    .pdp-hero__img-panel {
        width: 48%;
    }

    .dj-zoom-result {
        width: 300px;
        height: 300px;
    }

    .sp-area {
        padding: 48px 0;
    }

    .sp-product-tab_area {
        padding: 48px 0;
    }

    .related-products-section,
    .hiraola-product_area-2 {
        padding: 48px 0 56px;
    }
}

/* ── 991px — Tablet Portrait ───────────────────────── */
@media (max-width: 991px) {
    .product-detail-breadcrumb {
        min-height: 200px;
    }

    .pdp-hero__img-panel {
        width: 52%;
        opacity: 0.4;
    }

    .pdp-hero__inner {
        max-width: 100%;
    }

    .sp-area {
        padding: 40px 0;
    }

    .sp-area .sp-nav .sp-content .sp-heading h5 a {
        font-size: clamp(18px, 2.4vw, 24px);
    }

    .sp-product-tab_area {
        padding: 40px 0;
    }

    .sp-product-tab_nav .product-tab > ul.product-menu {
        gap: 8px;
        margin-bottom: 28px;
    }

    .related-products-section,
    .hiraola-product_area-2 {
        padding: 40px 0 48px;
    }

    .related-section-title h4 {
        font-size: clamp(22px, 2.6vw, 34px);
    }

    /* Hide zoom on tablet and below */
    .dj-zoom-result,
    .dj-zoom-lens {
        display: none !important;
    }
}

/* ── 767px — Mobile Landscape ──────────────────────── */
@media (max-width: 767px) {
    .product-detail-breadcrumb {
        min-height: 160px;
    }

    .pdp-hero__img-panel {
        width: 100%;
        opacity: 0.25;
    }

    /* On mobile, hide elevateZoom overlays — we use custom tap-to-zoom instead */
    .zoomWindow,
    .zoomLens,
    .zoomContainer {
        display: none !important;
    }

    /* Tap-to-zoom: image scales up inside a scrollable container */
    .zoompro-border.zoomed {
        overflow: visible !important;
        cursor: zoom-out;
    }

    .zoompro-border.zoomed img {
        transform: scale(2.2);
        transform-origin: var(--zoom-x, center) var(--zoom-y, center);
        transition: transform 0.3s ease;
        z-index: 5;
        position: relative;
    }

    .pdp-hero__img-panel::after {
        background: rgba(30, 22, 24, 0.6);
    }

    .pdp-hero__inner {
        padding: 28px 16px 24px;
        max-width: 100%;
    }

    .pdp-hero__crumbs ol {
        margin-bottom: 14px;
    }

    .pdp-hero__crumbs li {
        font-size: 10px;
    }

    .pdp-hero__accent {
        width: 36px;
        margin-bottom: 10px;
    }

    .pdp-hero__badge {
        font-size: 8.5px;
        padding: 3px 10px;
        margin-bottom: 8px;
    }

    .pdp-hero__title {
        font-size: 20px;
        margin-bottom: 14px;
        line-height: 1.32;
    }

    .pdp-hero__price-wrap {
        gap: 8px;
        margin-bottom: 10px;
    }

    .pdp-hero__price {
        font-size: 18px;
    }

    .pdp-hero__price-del {
        font-size: 12px;
    }

    .pdp-hero__meta {
        font-size: 11px;
    }

    /* Product Info */
    .sp-area {
        padding: 32px 0;
    }

    .sp-area .sp-nav .sp-content .sp-heading h5 a {
        font-size: clamp(16px, 2.5vw, 20px);
    }

    .sp-area .price-box .new-price {
        font-size: 20px;
    }

    .sp-area .price-box .old-price {
        font-size: 14px;
    }

    /* Product Gallery */
    .zoompro-border {
        border-radius: 10px;
    }

    .sp-img_slider {
        gap: 6px;
        margin-top: 10px;
    }

    .sp-img_slider a {
        flex: 0 0 64px;
        border-radius: 6px;
    }

    /* Buttons */
    .qty-btn_area ul {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        align-items: center;
    }

    .qty-btn_area .qty-cart_btn {
        grid-column: 1;
        min-width: 0;
        padding: 13px 20px;
    }

    #buy-now-btn {
        grid-column: 2;
        min-width: 0 !important;
        width: auto !important;
        padding: 13px 20px !important;
    }

    .qty-btn_area .qty-wishlist_btn {
        grid-column: 1 / -1;
        width: 44px;
        height: 44px;
        justify-self: start;
        border-radius: 50%;
    }

    /* Tabs */
    .sp-product-tab_area {
        padding: 32px 0;
    }

    .sp-product-tab_nav .product-tab > ul.product-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 6px;
        margin-bottom: 24px;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sp-product-tab_nav .product-tab > ul.product-menu::-webkit-scrollbar {
        display: none;
    }

    .sp-product-tab_nav .product-tab > ul.product-menu > li > a {
        white-space: nowrap;
        padding: 8px 16px !important;
        font-size: 10px;
        flex: 0 0 auto;
    }

    .product-description {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Specification table */
    .specification-inner_stuff {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .specification-inner_stuff table {
        min-width: 400px;
    }

    /* Related / Special Products */
    .related-products-section,
    .hiraola-product_area-2 {
        padding: 32px 0 40px;
    }

    .related-section-title {
        margin-bottom: 24px;
    }

    .related-section-title h4 {
        font-size: clamp(20px, 3vw, 28px);
    }

    .related-products-section .single_product,
    .hiraola-product_area-2 .single_product {
        border-radius: 10px;
    }

    .related-products-section .single_product:hover,
    .hiraola-product_area-2 .single_product:hover {
        transform: none;
        border-color: #EBD8D0;
        box-shadow: 0 2px 12px rgba(45, 36, 36, 0.04);
    }

    .related-products-section .product-desc_info h6,
    .hiraola-product_area-2 .product-desc_info h6 {
        min-height: auto;
        max-height: none;
    }

    .related-products-section .single_product .hiraola-product_content,
    .hiraola-product_area-2 .single_product .hiraola-product_content {
        padding: 14px 14px 18px;
    }

    .related-products-section .product-desc_info h6 .product-name,
    .hiraola-product_area-2 .product-desc_info h6 .product-name {
        font-size: 13.5px;
    }

    .related-products-section .price-box .new-price,
    .hiraola-product_area-2 .price-box .new-price {
        font-size: 15px;
    }

    .related-products-slider.slick-slider .slick-prev,
    .hiraola-product_slider-3.slick-slider .slick-prev {
        left: 6px;
    }

    .related-products-slider.slick-slider .slick-next,
    .hiraola-product_slider-3.slick-slider .slick-next {
        right: 6px;
    }

    .related-products-slider .slide-item,
    .hiraola-product_slider-3 .slide-item {
        padding: 0 3px;
    }
}

/* ── 575px — Mobile Portrait ───────────────────────── */
@media (max-width: 575px) {
    .product-detail-breadcrumb {
        min-height: 140px;
    }

    .pdp-hero__inner {
        padding: 24px 14px 20px;
    }

    .pdp-hero__title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .pdp-hero__price {
        font-size: 16px;
    }

    .pdp-hero__accent {
        width: 28px;
        margin-bottom: 8px;
    }

    .sp-area {
        padding: 28px 0;
    }

    .sp-area .sp-nav .sp-content .sp-heading h5 a {
        font-size: 17px;
    }

    .sp-area .price-box .new-price {
        font-size: 18px;
    }

    .sp-img_slider {
        gap: 5px;
    }

    .sp-img_slider a {
        flex: 0 0 56px;
    }

    .qty-btn_area .qty-cart_btn {
        padding: 13px 20px;
        font-size: 11px;
    }

    #buy-now-btn {
        padding: 13px 20px !important;
        font-size: 11px !important;
    }

    .sp-product-tab_nav .product-tab > ul.product-menu > li > a {
        padding: 7px 14px !important;
        font-size: 9.5px;
        min-height: 36px;
    }

    .sp-product-tab_area {
        padding: 28px 0;
    }

    .related-products-section,
    .hiraola-product_area-2 {
        padding: 28px 0 32px;
    }

    .related-section-title h4 {
        font-size: 20px;
    }

    .related-products-slider.slick-slider .slick-prev,
    .hiraola-product_slider-3.slick-slider .slick-prev {
        left: -6px;
        width: 32px;
        height: 32px;
    }

    .related-products-slider.slick-slider .slick-next,
    .hiraola-product_slider-3.slick-slider .slick-next {
        right: -6px;
        width: 32px;
        height: 32px;
    }

    .related-products-section .single_product .product-img,
    .hiraola-product_area-2 .single_product .product-img {
        border-radius: 10px 10px 0 0;
    }
}

/* ── 479px — Small Phones ─────────────────────────── */
@media (max-width: 479px) {
    .product-detail-breadcrumb {
        min-height: 120px;
    }

    .pdp-hero__inner {
        padding: 20px 12px 18px;
    }

    .pdp-hero__crumbs li {
        font-size: 9px;
    }

    .pdp-hero__crumbs li + li::before {
        margin: 0 5px;
        font-size: 12px;
    }

    .pdp-hero__title {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .pdp-hero__price-wrap {
        flex-wrap: wrap;
        gap: 6px;
    }

    .pdp-hero__price {
        font-size: 15px;
    }

    .pdp-hero__meta {
        font-size: 10px;
        gap: 4px;
    }

    .sp-area {
        padding: 24px 0;
    }

    .sp-area .sp-nav .sp-content .sp-heading h5 a {
        font-size: 16px;
    }

    .sp-area .price-box .new-price {
        font-size: 17px;
    }

    .sp-area .reference {
        font-size: 12px;
    }

    .zoompro-border {
        border-radius: 8px;
    }

    .sp-img_slider {
        gap: 4px;
    }

    .sp-img_slider a {
        flex: 0 0 50px;
    }

    .qty-btn_area ul {
        gap: 8px;
    }

    .qty-btn_area .qty-cart_btn {
        padding: 12px 18px;
        font-size: 10.5px;
        letter-spacing: 0.1em;
    }

    #buy-now-btn {
        padding: 12px 18px !important;
        font-size: 10.5px !important;
        letter-spacing: 0.1em !important;
    }

    .sp-product-tab_nav .product-tab > ul.product-menu {
        gap: 5px;
        margin-bottom: 20px;
    }

    .sp-product-tab_nav .product-tab > ul.product-menu > li > a {
        padding: 6px 12px !important;
        font-size: 9px;
    }

    .product-description {
        font-size: 13px;
    }

    .related-section-title h4 {
        font-size: 18px;
    }

    .related-section-title {
        margin-bottom: 20px;
    }

    .related-products-section .product-desc_info h6 .product-name,
    .hiraola-product_area-2 .product-desc_info h6 .product-name {
        font-size: 13px;
    }

    .related-products-section .price-box .new-price,
    .hiraola-product_area-2 .price-box .new-price {
        font-size: 14px;
    }

    .related-products-section .price-box .old-price,
    .hiraola-product_area-2 .price-box .old-price {
        font-size: 12px;
    }

    /* Offcanvas mobile filter */
    #mobileFilter {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        z-index: 9999;
        overflow-y: auto;
        transition: left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
        padding: 20px;
    }

    #mobileFilter.is-open {
        left: 0;
    }

    #mobileFilter-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(30, 22, 24, 0.5);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    #mobileFilter-overlay.is-active {
        display: block;
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Reviews Tab & Customization
   ═══════════════════════════════════════════════════════ */

@media (max-width: 767px) {
    .review-summary {
        gap: 20px;
        padding: 20px 0 16px;
    }

    .review-summary__score {
        font-size: 40px;
    }

    .review-write {
        margin-top: 26px;
        padding-top: 20px;
    }

    .review-write__title {
        font-size: 17px;
    }

    .star-picker .star-icon {
        font-size: 28px;
    }

    .review-login-prompt {
        padding: 20px 18px;
    }
}

@media (max-width: 575px) {
    .review-summary {
        gap: 14px;
    }

    .review-summary__score-wrap {
        min-width: 72px;
    }

    .review-summary__score {
        font-size: 34px;
    }

    /* Bars drop to full width below the score */
    .review-summary__bars {
        min-width: 100%;
        max-width: 100%;
    }

    .star-picker {
        gap: 8px;
    }

    .star-picker .star-icon {
        font-size: 26px;
    }

    #review-submit-btn {
        width: 100%;
    }

    .product-customization > label {
        font-size: 13px;
    }
}
