/* Product Details Version 3 Styles */

/* Swatch Styling */
.variant__color--list {
    margin-right: 12px;
    margin-bottom: 8px;
    display: inline-block;
}

.variant__color--list input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.variant__color--value {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    vertical-align: middle;
}

.variant__color--value:hover {
    transform: scale(1.08);
}

.variant__color--list input[type="radio"]:checked + .variant__color--value {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--secondary-color, #c59d5f);
    transform: scale(1.1);
}

/* Size Options Styling */
.variant__size {
    margin: 0;
    padding: 0;
    list-style: none;
}

.variant__size--list {
    margin-right: 10px;
    margin-bottom: 8px;
    display: inline-block;
}

.variant__size--list input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.variant__size--value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--border-color2, #e5e5e5);
    border-radius: 6px;
    background-color: #ffffff;
    color: var(--foreground-sub-color, #444);
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.variant__size--value:hover {
    border-color: var(--secondary-color, #c59d5f);
    color: var(--secondary-color, #c59d5f);
}

.variant__size--list input[type="radio"]:checked + .variant__size--value {
    background-color: var(--secondary-color, #c59d5f);
    border-color: var(--secondary-color, #c59d5f);
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(197, 157, 95, 0.35);
}

/* Quantity Controls - Original Furea Pill-Shaped Design */
.quantity__box {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.quantity__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color2, #eeeff2);
    margin: 0;
    width: 3.5rem;
    height: 3.5rem;
    text-align: center;
    padding: 0;
    background: var(--gray-color2, #f5f5f5);
    color: var(--foreground-sub-color, #333333);
    cursor: pointer;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.quantity__value.decrease {
    margin-right: -4px;
    border-radius: 17px 0 0 17px;
}

.quantity__value.increase {
    margin-left: -4px;
    border-radius: 0 17px 17px 0;
}

.quantity__value:hover,
.quantity__value:focus-visible {
    background-color: var(--secondary-color, #AD724B);
    color: #ffffff;
    border-color: var(--secondary-color, #AD724B);
    outline: none;
}

.quantity__value:active {
    background-color: var(--secondary-color-dark, #48250C);
    border-color: var(--secondary-color-dark, #48250C);
    color: #ffffff;
}

input.quantity__number {
    text-align: center;
    border: none;
    border-top: 1px solid var(--border-color2, #eeeff2);
    border-bottom: 1px solid var(--border-color2, #eeeff2);
    margin: 0;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--foreground-sub-color, #333333);
    background: #ffffff;
    -moz-appearance: textfield;
}

input.quantity__number:focus {
    outline: none;
    border-top-color: var(--secondary-color, #AD724B);
    border-bottom-color: var(--secondary-color, #AD724B);
}

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

.quickview__cart--btn {
    height: 3.8rem;
    line-height: 3.8rem;
    padding: 0 25px;
    margin-left: 15px;
    font-size: 1.5rem;
}

/* Badges */
.product__details--badge-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.2rem;
}

.product__details--badge-wrapper .product__badge--items.featured,
.product__details--badge-wrapper .product__offer-badge--discount,
.product__details--badge-wrapper .product__offer-badge--title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    line-height: 1;
    margin: 0 !important;
    vertical-align: middle;
    box-sizing: border-box;
}

.product__details--badge-wrapper .product__badge--items.featured {
    background: #8b5a2b;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product__details--badge-wrapper .product__offer-badge--discount {
    background: #e53e3e;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0 10px;
    border-radius: 4px;
}

.product__details--badge-wrapper .product__offer-badge--discount.product__offer-badge--sale {
    background: #dd6b20;
}

.product__details--badge-wrapper .product__offer-badge--title {
    background: rgba(197, 157, 95, 0.15);
    color: #8b5a2b;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid rgba(197, 157, 95, 0.3);
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Pricing Display */
.product__details--info__price .current__price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--secondary-color, #c59d5f);
}

.product__details--info__price .old__price {
    font-size: 1.8rem;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

/* Wishlist Button */
.variant__wishlist--icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--foreground-sub-color, #555);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.variant__wishlist--icon:hover {
    color: var(--secondary-color, #c59d5f);
}

.variant__wishlist--icon.active {
    color: #e53e3e;
}

.variant__wishlist--icon.active svg {
    fill: #e53e3e;
}

/* Social Share & Copy Link (Matching Blog Details Style & Brown Theme) */
.quickview__social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.quickview__social--title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color, #242424);
    margin: 0;
}

.quickview__social--wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.quickview__social--list {
    margin: 0 !important;
    padding: 0;
}

.quickview__social--icon {
    width: 3.2rem;
    height: 3.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary-color, #AD724B);
    color: #ffffff !important;
    border: none;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
    outline: none;
}

.quickview__social--icon svg {
    display: block;
    width: auto;
    height: auto;
    max-width: 16px;
    max-height: 16px;
    color: #ffffff !important;
    fill: currentColor;
    stroke: none;
    transition: transform 0.2s ease;
}

.quickview__social--icon.product-details__copy-link--btn svg {
    fill: none;
    stroke: #ffffff !important;
    stroke-width: 2.2;
}

.quickview__social--icon:hover {
    background: var(--secondary-color-dark, #48250C);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.quickview__social--icon:focus-visible {
    outline: 2px solid var(--secondary-color, #AD724B);
    outline-offset: 2px;
}

.blog__copy-link--item {
    position: relative;
}

.blog__copy-link--tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background-color: #222222;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 100;
}

.blog__copy-link--tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: #222222 transparent transparent transparent;
}

.blog__copy-link--item.is-copied .blog__copy-link--tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Gallery enhancements */
.product__media--preview__items--img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    background: #fafafa;
    border-radius: 8px;
}

.product__media--nav__items--img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: border-color 0.2s ease;
}

.product__media--nav .swiper-slide-thumb-active .product__media--nav__items--img {
    border-color: var(--secondary-color, #c59d5f);
    box-shadow: 0 0 0 2px var(--secondary-color, #c59d5f);
}

/* Toast feedback */
.product-details-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #ffffff;
    border-left: 4px solid var(--secondary-color, #c59d5f);
    padding: 14px 20px;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    font-size: 1.4rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-details-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===================================================
   Part 2: Rich-Text Product Descriptions
   =================================================== */

.product-details__rich-text {
    color: var(--text-gray-color, #555555);
    font-size: 1.5rem;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
}

.product-details__rich-text h1,
.product-details__rich-text h2,
.product-details__rich-text h3,
.product-details__rich-text h4,
.product-details__rich-text h5,
.product-details__rich-text h6 {
    color: var(--secondary-color, #222222);
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.product-details__rich-text h1:first-child,
.product-details__rich-text h2:first-child,
.product-details__rich-text h3:first-child,
.product-details__rich-text h4:first-child {
    margin-top: 0;
}

.product-details__rich-text p {
    margin-bottom: 1.2rem;
    line-height: 1.75;
}

.product-details__rich-text p:last-child {
    margin-bottom: 0;
}

.product-details__rich-text ul,
.product-details__rich-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2.4rem;
}

.product-details__rich-text ul {
    list-style-type: disc;
}

.product-details__rich-text ol {
    list-style-type: decimal;
}

.product-details__rich-text li {
    margin-bottom: 0.6rem;
    line-height: 1.65;
}

.product-details__rich-text blockquote {
    margin: 1.8rem 0;
    padding: 1.4rem 1.8rem;
    border-left: 4px solid var(--secondary-color, #c59d5f);
    background: rgba(197, 157, 95, 0.08);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #444;
}

.product-details__rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1rem 0;
    display: inline-block;
}

.product-details__rich-text table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.8rem;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-details__rich-text table th,
.product-details__rich-text table td {
    border: 1px solid var(--border-color2, #e5e5e5);
    padding: 0.8rem 1.2rem;
    font-size: 1.4rem;
}

.product-details__rich-text table th {
    background-color: rgba(0, 0, 0, 0.03);
    font-weight: 600;
}

.product-details__rich-text a {
    color: var(--secondary-color, #c59d5f);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.product-details__rich-text a:hover {
    color: #8b5a2b;
}

/* Collapsible Description Containers */
.product-details__desc-wrapper {
    position: relative;
    transition: max-height 0.35s ease-in-out;
}

.product-details__desc-wrapper.is-collapsed {
    overflow: hidden;
}

.summary-desc-wrapper.is-collapsed {
    max-height: 140px;
}

.tab-desc-wrapper.is-collapsed {
    max-height: 380px;
}

.product-details__desc-wrapper.is-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 100%);
    pointer-events: none;
}

.product-details__tab__inner .tab-desc-wrapper.is-collapsed::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.product-details__read-more-wrapper {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

.product-details__read-more-btn,
.tab-read-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    background: var(--secondary-color, #ad724b) !important;
    border: none !important;
    color: var(--white-color, #ffffff) !important;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    padding: 0.6rem 1.6rem !important;
    height: auto !important;
    line-height: 1.5 !important;
    border-radius: 0.3rem !important;
    transition: var(--transition, all 0.3s ease) !important;
    user-select: none;
    text-decoration: none;
    width: auto !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.product-details__read-more-btn:hover,
.product-details__read-more-btn:focus,
.tab-read-more-btn:hover,
.tab-read-more-btn:focus {
    background: var(--primary-color, #222222) !important;
    color: var(--white-color, #ffffff) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    outline: none;
}

.product-details__read-more-btn svg,
.tab-read-more-btn svg {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.25s ease;
}

/* Tab Keyboard Access & Header Responsive Compact Single Row Layout (Left Aligned Matching Template) */
.product__details--tab {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 36px;
    margin: 0 0 2.5rem 0 !important;
    padding: 0 0 4px 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product__details--tab::-webkit-scrollbar {
    display: none;
}

.product__details--tab__list {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 !important;
    padding: 6px 0 8px 0;
    cursor: pointer;
    position: relative;
    color: var(--foreground-sub-color, #444444);
    transition: color 0.25s ease;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
}

.product__details--tab__list::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    background: var(--secondary-color, #AD724B);
    left: 50%;
    right: 50%;
    bottom: 0;
    transition: all 0.25s ease;
    border-radius: 1px;
}

.product__details--tab__list.active {
    color: var(--secondary-color, #AD724B) !important;
    font-weight: 600;
}

.product__details--tab__list.active::before {
    width: 100%;
    left: 0;
    right: 0;
}

.product__details--tab__list:hover {
    color: var(--secondary-color, #AD724B);
}

.product__details--tab__list:hover::before {
    width: 100%;
    left: 0;
    right: 0;
}

.product__details--tab__list:focus-visible {
    outline: 2px solid var(--secondary-color, #AD724B);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Tablet & Mobile adjustments (<= 767px) */
@media only screen and (max-width: 767px) {
    .product__details--tab {
        gap: 24px;
        margin-bottom: 1.8rem !important;
    }

    .product__details--tab__list {
        font-size: 1.6rem;
        padding: 6px 0 8px 0;
    }
}

/* Small mobile adjustments (<= 375px down to 320px) */
@media only screen and (max-width: 375px) {
    .product__details--tab {
        gap: 18px;
        margin-bottom: 1.5rem !important;
    }

    .product__details--tab__list {
        font-size: 1.5rem;
        padding: 5px 0 7px 0;
    }
}

/* Empty State */
.product-details__empty-state {
    background: #faf8f5;
    border: 1px dashed var(--border-color2, #e5e5e5);
    border-radius: 8px;
    padding: 3.5rem 2rem;
    color: #777777;
    font-size: 1.5rem;
    text-align: center;
}

/* ===================================================
   Part 2: Product Videos Slider & Video Cards
   =================================================== */

.product__videos--slider-container {
    position: relative;
    width: 100%;
}

.product__videos--swiper {
    position: relative;
    overflow: hidden;
    padding: 4px 2px 12px 2px;
}

.product__videos--swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Video Card Structure */
.product__video--card {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--border-color2, #e8e8e8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product__video--card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--border-color, #c8c8c8);
}

.product__video--card-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
}

.blog__video--thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #f7f3ee;
    overflow: hidden;
}

.blog__video--thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product__video--card:hover .blog__video--thumbnail:not(.is-fallback-logo) {
    transform: scale(1.06);
}

/* Fallback Indoors Logo */
.blog__video--thumbnail.is-fallback-logo {
    object-fit: contain !important;
    padding: 2.2rem 2.8rem;
    background-color: #f7f3ee;
    transform: none !important;
}

.blog__video--overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.08) 60%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.product__video--card:hover .blog__video--overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0) 100%);
}

.blog__video--play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--secondary-color, #AD724B);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.blog__video--play-btn svg {
    margin-left: 2px;
}

.product__video--card:hover .blog__video--play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: #ffffff;
}

/* Provider Badges */
.blog__video--badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.blog__video--badge-youtube { background: #e50914; }
.blog__video--badge-instagram { background: #d62976; }
.blog__video--badge-tiktok { background: #000000; border: 1px solid rgba(255, 255, 255, 0.3); }
.blog__video--badge-facebook { background: #1877f2; }
.blog__video--badge-snapchat { background: #fffc00; color: #000000; }
.blog__video--badge-vimeo { background: #1ab7ea; }

/* Video Info & Action Links */
.blog__video--info {
    padding: 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    background: #ffffff;
}

.blog__video--card-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--secondary-color, #222);
    margin-bottom: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog__video--card-title a {
    color: inherit;
    transition: color 0.2s ease;
}

.blog__video--card-title a:hover {
    color: var(--secondary-color, #AD724B);
}

.blog__video--action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color, #AD724B);
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.blog__video--action-link:hover {
    gap: 0.8rem;
    opacity: 0.85;
}

/* Video Carousel Navigation Controls */
.product__videos--slider-container {
    position: relative;
    width: 100%;
}

.product__videos--nav.is-locked,
.product__videos--nav .swiper__nav--btn.swiper-button-lock {
    display: none !important;
}

.product__videos--nav .swiper__nav--btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color2, #e4e4e4);
    color: var(--secondary-color, #222222);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.25s ease;
    z-index: 10;
    padding: 0;
    margin: 0 !important;
    outline: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.product__videos--nav .swiper__nav--btn::after {
    display: none !important;
}

.product__videos--nav .swiper__nav--btn .blog__videos--nav-icon {
    width: 16px;
    height: 16px;
    display: block;
    color: currentColor;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.product__videos--nav .swiper__nav--btn:hover:not(.swiper-button-disabled) {
    background: var(--secondary-color, #AD724B);
    border-color: var(--secondary-color, #AD724B);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.product__videos--nav .swiper__nav--btn:focus-visible {
    outline: 2px solid var(--secondary-color, #AD724B);
    outline-offset: 2px;
}

.product__videos--nav .swiper__nav--btn.swiper-button-disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
}

/* Desktop positioning for navigation arrows */
@media only screen and (min-width: 1200px) {
    .product__videos--btn-prev {
        position: absolute !important;
        left: -20px !important;
        top: 105px !important;
        transform: translateY(-50%) !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
    }

    .product__videos--btn-prev:hover:not(.swiper-button-disabled) {
        transform: translateY(-50%) scale(1.08) !important;
    }

    .product__videos--btn-next {
        position: absolute !important;
        right: -20px !important;
        top: 105px !important;
        transform: translateY(-50%) !important;
        left: auto !important;
        bottom: auto !important;
        margin: 0 !important;
    }

    .product__videos--btn-next:hover:not(.swiper-button-disabled) {
        transform: translateY(-50%) scale(1.08) !important;
    }
}

/* Tablet positioning (768px - 1199px) */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .product__videos--btn-prev {
        position: absolute !important;
        left: -12px !important;
        top: 100px !important;
        transform: translateY(-50%) !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: 10;
    }

    .product__videos--btn-next {
        position: absolute !important;
        right: -12px !important;
        top: 100px !important;
        transform: translateY(-50%) !important;
        left: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: 10;
    }

    .product__videos--btn-prev:hover:not(.swiper-button-disabled),
    .product__videos--btn-next:hover:not(.swiper-button-disabled) {
        transform: translateY(-50%) scale(1.06) !important;
    }
}

/* Mobile positioning (<= 767px) */
@media only screen and (max-width: 767px) {
    .product__videos--nav .swiper__nav--btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    }

    .product__videos--btn-prev {
        position: absolute !important;
        left: 2px !important;
        top: 95px !important;
        transform: translateY(-50%) !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: 12;
    }

    .product__videos--btn-next {
        position: absolute !important;
        right: 2px !important;
        top: 95px !important;
        transform: translateY(-50%) !important;
        left: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: 12;
    }

    .product__videos--nav .swiper__nav--btn .blog__videos--nav-icon {
        width: 14px;
        height: 14px;
    }
}

/* ===================================================
   Part 3: Product Ratings, Customer Reviews & Form
   =================================================== */

/* Star Rating Components */
.rating__star--list {
    gap: 3px;
}

.rating__list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.rating__star--svg {
    width: 16px;
    height: 16px;
    display: block;
    color: #e0e0e0;
}

.rating__star--svg.text-warning,
.rating__list.text-warning svg {
    color: #f59e0b;
    fill: #f59e0b;
    stroke: #f59e0b;
}

.rating__star--fill {
    display: inline-block;
    height: 100%;
}

.product__rating--link {
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.product__rating--link:hover {
    opacity: 0.85;
}

.product__rating--score {
    font-size: 1.5rem;
    color: #222222;
}

.product__rating--count {
    font-size: 1.35rem;
    color: #666666;
}

/* Big Rating Score Summary in Reviews Tab */
.reviews__score-big span.fs-1 {
    font-size: 3.2rem;
    line-height: 1;
    color: #222222;
}

/* Review Items & Layout */
.reviews__comment--list {
    background: #ffffff;
    border: 1px solid var(--border-color2, #f0f0f0);
    border-radius: 10px;
    padding: 2rem 2.2rem;
    transition: box-shadow 0.2s ease;
}

.reviews__comment--list:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.reviews__comment--content__title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--secondary-color, #222222);
}

.reviews__comment--content__date {
    font-size: 1.3rem;
}

.reviews__comment--content__desc {
    color: #555555;
    font-size: 1.45rem;
    line-height: 1.7;
    word-break: break-word;
}

/* Per-Review Read More Collapsing */
.review-comment-body-wrapper.is-collapsed {
    max-height: 95px;
    overflow: hidden;
    position: relative;
}

.review-comment-body-wrapper.is-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 100%);
    pointer-events: none;
}

.review-read-more-btn {
    background: transparent;
    border: none;
    padding: 2px 0;
    margin-top: 4px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color, #c59d5f);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.review-read-more-btn:hover {
    color: #8b5a2b;
}

/* Interactive Star Rating Selector */
.star-rating__fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.star-rating__legend {
    font-size: 1.5rem;
    color: #222222;
}

.star-rating__picker {
    gap: 4px;
}

.star-rating__star-label {
    cursor: pointer;
    padding: 4px;
    color: #d1d5db;
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.star-rating__star-label svg {
    stroke: #d1d5db;
    fill: none;
    transition: all 0.15s ease;
}

/* Hover and checked states utilizing flex-row-reverse */
.star-rating__picker:hover .star-rating__star-label svg,
.star-rating__picker input:checked ~ label svg {
    stroke: #f59e0b;
    fill: #f59e0b;
    color: #f59e0b;
}

.star-rating__picker .star-rating__star-label:hover ~ label svg,
.star-rating__picker .star-rating__star-label:hover svg {
    stroke: #f59e0b !important;
    fill: #f59e0b !important;
    color: #f59e0b !important;
    transform: scale(1.12);
}

.star-rating__picker input:focus + label {
    outline: 2px solid var(--secondary-color, #c59d5f);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Guest Review Form Inputs */
.guest-review__form .form-control {
    border: 1px solid var(--border-color2, #e5e5e5);
    border-radius: 6px;
    padding: 1.1rem 1.4rem;
    font-size: 1.45rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guest-review__form .form-control:focus {
    border-color: var(--secondary-color, #c59d5f);
    box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.2);
    outline: none;
}

.guest-review__form .form-control.is-invalid {
    border-color: #ef4444 !important;
    background-image: none;
}

.invalid-feedback {
    color: #ef4444;
    font-size: 1.25rem;
    margin-top: 0.4rem;
    display: block;
}

.char-counter {
    font-size: 1.2rem;
}

.guest-review__submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    line-height: 1 !important;
    padding: 0 3.5rem !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border: none !important;
    border-radius: 6px !important;
    background: var(--secondary-color, #AD724B) !important;
    color: #ffffff !important;
    transition: all 0.25s ease !important;
    margin: 0 auto !important;
    box-shadow: 0 2px 6px rgba(173, 114, 75, 0.25);
}

.guest-review__submit-btn:hover:not(:disabled) {
    background: var(--secondary-color-dark, #48250C) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72, 37, 12, 0.3);
}

.guest-review__submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Pagination Styles */
.product-reviews__pagination {
    margin-top: 2rem;
}

.pagination__wrapper .pagination__item,
.pagination__wrapper .pagination__item--arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--border-color2, #e5e5e5);
    border-radius: 6px;
    background: #ffffff;
    color: #444444;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination__wrapper .pagination__item:hover:not(.active),
.pagination__wrapper .pagination__item--arrow:hover:not(.disabled) {
    background: rgba(197, 157, 95, 0.12);
    border-color: var(--secondary-color, #c59d5f);
    color: var(--secondary-color, #c59d5f);
}

.pagination__wrapper .pagination__item.active {
    background: var(--secondary-color, #c59d5f);
    border-color: var(--secondary-color, #c59d5f);
    color: #ffffff;
}

.pagination__wrapper .pagination__item--arrow.disabled,
.pagination__list.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Loading Overlay for Dynamic Review Partial */
.product-reviews__loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    min-height: 150px;
    border-radius: 8px;
}

/* ==========================================================
   RELATED PRODUCTS ("You may also like" matching Shop cards)
   ========================================================== */
.product__section {
    overflow: hidden;
    position: relative;
}

.product__section .product__section--inner {
    position: relative;
    padding: 0 2px 20px;
}

.product__section .swiper-wrapper {
    align-items: stretch;
}

.product__section .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.product__section .swiper-slide .product__items {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
    border-radius: 0.6rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product__section .swiper-slide .product__items:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product__section .product__items--thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    line-height: 1;
    border-radius: 0.6rem 0.6rem 0 0;
    background-color: #f8f8f8;
    flex-shrink: 0;
}

.product__section .product__items--link {
    display: block;
    width: 100%;
    height: 100%;
}

.product__section .product__items--img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.product__section .product__secondary--img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.product__section .product__items:hover .product__secondary--img {
    opacity: 1;
    visibility: visible;
}

.product__section .product__items:hover .product__items--img {
    transform: scale(1.05);
}

/* Badge System */
.product__section .product__badge-container {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    max-width: 45%;
    pointer-events: none;
}

.product__section .product__offer-badge-group {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    max-width: 55%;
    pointer-events: none;
}

.product__section .product__badge--items,
.product__section .product__offer-badge--discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.product__section .product__badge--items.featured {
    background-color: #AD724B;
    color: #ffffff;
}

.product__section .product__badge--items.new {
    background-color: #2b2b2b;
    color: #ffffff;
}

.product__section .product__offer-badge--discount {
    background-color: #d9534f;
    color: #ffffff;
}

.product__section .product__offer-badge--title {
    display: inline-block;
    background-color: #F3E7D8 !important;
    color: #65432D !important;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    line-height: 1.2;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(101, 67, 45, 0.15);
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

/* Card Content Area */
.product__section .product__items--content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.2rem 1.4rem 1rem;
    text-align: center;
    box-sizing: border-box;
}

/* Standardized Product Card Title Wrapping (Natural wrap, centered, at least 2 lines reserved, accommodates 3+ lines) */
.product__section .product__items--content__title {
    display: block;
    width: 100%;
    max-width: 86%;
    margin: 0 auto 0.6rem;
    padding: 0 0.5rem;
    box-sizing: border-box;
    font-size: 1.4rem;
    line-height: 1.35;
    min-height: 2.7em;
    height: auto;
    text-align: center;
    text-wrap: balance;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

.product__section .product__items--content__title a {
    color: var(--primary-color, #121a25);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
}

.product__section .product__items--content__title a:hover,
.product__section .product__items--content__title a:focus {
    color: var(--secondary-color, #AD724B);
}

/* Price block aligned consistently across cards */
.product__section .product__items--price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.6rem;
    margin-top: auto;
    margin-bottom: 0.6rem;
}

.product__section .product__items--price .current__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color, #AD724B);
}

.product__section .product__items--price .old__price {
    font-size: 1.3rem;
    color: var(--light-color, #a5a5a5);
    text-decoration: line-through;
}

/* Color Swatches */
.product__section .product__items--color {
    min-height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product__section .product__items--color__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product__section .product__color-swatch {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.product__section .product__color-swatch-more {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-color, #a5a5a5);
    margin-left: 0.2rem;
}

/* Action buttons overlay (Quickview, Wishlist) */
.product__section .product__items--action {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    padding: 0 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(10px);
}

.product__section .product__items:hover .product__items--action {
    opacity: 1;
    visibility: visible;
    bottom: 1.2rem;
    transform: translateY(0);
}

.product__section .product__items--action__btn {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-color, #121a25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.product__section .product__items--action__btn:hover {
    background: var(--secondary-color, #AD724B);
    color: #ffffff;
    transform: scale(1.08);
}

/* ===================================================
   Part 4: "You May Also Like" Related Products Carousel Navigation Controls
   =================================================== */

.related__products--slider-container {
    position: relative;
    width: 100%;
}

.related__products--nav.is-locked,
.related__products--nav .swiper__nav--btn.swiper-button-lock {
    display: none !important;
}

.related__products--nav .swiper__nav--btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color2, #e4e4e4);
    color: var(--secondary-color, #222222);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.25s ease;
    z-index: 10;
    padding: 0;
    outline: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.related__products--nav .swiper__nav--btn::after {
    display: none !important;
}

.related__products--nav .swiper__nav--btn .related__products--nav-icon {
    width: 16px;
    height: 16px;
    display: block;
    color: currentColor;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.related__products--nav .swiper__nav--btn:hover:not(.swiper-button-disabled) {
    background: var(--secondary-color, #AD724B);
    border-color: var(--secondary-color, #AD724B);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.related__products--nav .swiper__nav--btn:focus-visible {
    outline: 2px solid var(--secondary-color, #AD724B);
    outline-offset: 2px;
}

.related__products--nav .swiper__nav--btn.swiper-button-disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
}

/* Desktop positioning for navigation arrows */
@media only screen and (min-width: 1200px) {
    .related__products--btn-prev {
        position: absolute !important;
        left: -20px !important;
        top: 130px !important;
        transform: translateY(-50%) !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
    }

    .related__products--btn-prev:hover:not(.swiper-button-disabled) {
        transform: translateY(-50%) scale(1.08) !important;
    }

    .related__products--btn-next {
        position: absolute !important;
        right: -20px !important;
        top: 130px !important;
        transform: translateY(-50%) !important;
        left: auto !important;
        bottom: auto !important;
        margin: 0 !important;
    }

    .related__products--btn-next:hover:not(.swiper-button-disabled) {
        transform: translateY(-50%) scale(1.08) !important;
    }
}

/* Tablet positioning (768px - 1199px) */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .related__products--btn-prev {
        position: absolute !important;
        left: -12px !important;
        top: 120px !important;
        transform: translateY(-50%) !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: 10;
    }

    .related__products--btn-next {
        position: absolute !important;
        right: -12px !important;
        top: 120px !important;
        transform: translateY(-50%) !important;
        left: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: 10;
    }

    .related__products--btn-prev:hover:not(.swiper-button-disabled),
    .related__products--btn-next:hover:not(.swiper-button-disabled) {
        transform: translateY(-50%) scale(1.06) !important;
    }
}

/* Mobile positioning (<= 767px) */
@media only screen and (max-width: 767px) {
    .related__products--nav .swiper__nav--btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    }

    .related__products--btn-prev {
        position: absolute !important;
        left: 2px !important;
        top: 95px !important;
        transform: translateY(-50%) !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: 12;
    }

    .related__products--btn-next {
        position: absolute !important;
        right: 2px !important;
        top: 95px !important;
        transform: translateY(-50%) !important;
        left: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: 12;
    }

    .related__products--nav .swiper__nav--btn .related__products--nav-icon {
        width: 14px;
        height: 14px;
    }
}

@media only screen and (max-width: 576px) {
    .product__section .product__items--content {
        padding: 0.8rem 0.5rem 0.6rem;
    }

    .product__section .product__items--content__title {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        font-size: 1.25rem;
        line-height: 1.3;
        min-height: 2.6em;
        height: auto;
        margin-bottom: 0.4rem;
    }
}

@media only screen and (max-width: 360px) {
    .product__section .product__items--content__title {
        font-size: 1.15rem;
        line-height: 1.25;
        min-height: 2.5em;
        height: auto;
    }
}


