/* Simplified Product CSS */
.bridal-product-page {
    padding-top: 130px;
    padding-bottom: 80px;
}

/* breadcrumb */
.bridal-breadcrumb-wrap {
    margin-bottom: 28px;
}

.bridal-breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    gap: 6px;
}

.bridal-breadcrumb .breadcrumb-item a {
    color: #9a8577;
    text-decoration: none;
}

.bridal-breadcrumb .breadcrumb-item.active {
    color: #b08d57;
    font-weight: 700;
}

/* cards */
.bridal-gallery-card,
.bridal-product-info-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(176, 141, 87, 0.08);
}

.bridal-gallery-card {
    padding: 20px;
}

.bridal-product-info-card {
    padding: 28px;
}

/* gallery */
.bridal-main-image-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #f7f1ed;
    margin-bottom: 18px;
}

.bridal-main-image {
    width: 100%;
    height: 640px;
    object-fit: cover;
    display: block;
}

.bridal-video-trigger {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: #b66d5d;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    transition: 0.25s ease;
}

.bridal-video-trigger:hover {
    transform: scale(1.05);
}

.bridal-thumbs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bridal-thumb {
    width: 84px;
    height: 100px;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f5efea;
    transition: all 0.25s ease;
}

.bridal-thumb:hover,
.bridal-thumb.active {
    border-color: #d4af37;
    transform: translateY(-2px);
}

/* product heading */
.bridal-product-title-main {
    font-size: clamp(2rem, 3vw, 3rem);
    color: #4d4038;
    line-height: 1.3;
    margin-bottom: 14px;
    font-weight: 700;
}

.bridal-brand-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7e6d63;
    margin-bottom: 16px;
}

/* price */
.bridal-price-box {
    background: linear-gradient(135deg, #b08d57, #d9b8aa);
    color: #fff;
    border-radius: 24px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.bridal-offer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bridal-offer-chip {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.bridal-current-price {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.bridal-old-price {
    font-size: 1rem;
    text-decoration: line-through;
    opacity: 0.8;
}

.bridal-save-note {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.92);
}

/* stock */
.bridal-stock-box {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.bridal-stock-box.is-in {
    background: #f2fbf4;
    color: #2f8a4c;
}

.bridal-stock-box.is-low {
    background: #fff8ed;
    color: #b7791f;
}

.bridal-stock-box.is-out {
    background: #fff1ee;
    color: #b25c4b;
}

/* description */
.bridal-description-box,
.bridal-policies-box,
.bridal-meta-box {
    background: #fffaf7;
    border: 1px solid rgba(176,141,87,0.08);
    border-radius: 24px;
    padding: 18px;
    margin-bottom: 18px;
}

.bridal-description-box h6,
.bridal-section-mini-title {
    color: #4d4038;
    font-weight: 700;
    margin-bottom: 12px;
}

.bridal-description-box p {
    margin: 0;
    line-height: 2;
    color: #6f6258;
}

/* colors */
.bridal-variants-wrap {
    margin-bottom: 18px;
}

.bridal-variant-block {
    margin-bottom: 18px;
}

.bridal-variant-title {
    font-weight: 700;
    color: #4d4038;
    margin-bottom: 12px;
}

.bridal-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bridal-color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
    transition: 0.25s ease;
}

.bridal-color-swatch:hover {
    transform: scale(1.08);
}

.bridal-color-swatch.active {
    transform: scale(1.08);
    box-shadow: 0 0 0 3px #d4af37, 0 0 0 6px rgba(212, 175, 55, 0.18);
}

.bridal-color-swatch.out-of-stock {
    opacity: 0.35;
    cursor: not-allowed;
}

/* WhatsApp button */
.bridal-product-actions {
    margin-bottom: 22px;
}

.bridal-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    border: none;
    border-radius: 18px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.2);
}

.bridal-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
    color: #fff;
}

.bridal-whatsapp-btn i {
    font-size: 1.4rem;
}

/* meta */
.bridal-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.bridal-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    border: 1px solid rgba(176,141,87,0.08);
}

.bridal-meta-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff8f4;
    color: #b08d57;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bridal-meta-item small {
    display: block;
    color: #9a8577;
    margin-bottom: 2px;
}

.bridal-meta-item span {
    color: #4d4038;
    font-weight: 700;
}

/* Reviews Section */
.bridal-reviews-section {
    margin-top: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #fff8f4, #ffffff);
    border-radius: 20px;
}

.reviews-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.rating-summary {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.average-rating {
    text-align: center;
    padding: 20px;
    border-left: 1px solid #eee;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #d4af37;
    font-family: 'Cormorant Garamond', serif;
}

.rating-stars {
    color: #d4af37;
    font-size: 1.2rem;
    margin: 10px 0;
}

.rating-count {
    color: #7b6d63;
    font-size: 0.9rem;
}

.rating-bars {
    padding: 10px 20px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rating-star-label {
    width: 40px;
    color: #d4af37;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #e8d5a3);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.rating-percent {
    width: 45px;
    color: #7b6d63;
    font-size: 0.85rem;
}

.review-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #e8d5a3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-name {
    font-weight: 600;
    color: #4d4038;
    margin-bottom: 5px;
}

.review-date {
    font-size: 0.8rem;
    color: #a79a92;
}

.review-rating {
    color: #d4af37;
    font-size: 0.9rem;
}

.review-comment {
    color: #5f5147;
    line-height: 1.7;
    margin-bottom: 15px;
}

.review-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.review-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-image:hover {
    transform: scale(1.05);
}

.write-review-btn {
    background: linear-gradient(135deg, #d4af37, #e8d5a3);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.write-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    color: #fff;
}

.empty-reviews {
    text-align: center;
    padding: 40px;
    color: #a79a92;
}

.empty-reviews i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* related */
.bridal-related-section {
    margin-top: 70px;
}

.bridal-section-heading {
    margin-bottom: 34px;
    text-align: center;
}

.bridal-section-label {
    display: inline-block;
    color: #b08d57;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
}

.bridal-section-heading h3 {
    color: #4d4038;
    font-size: 2rem;
    font-weight: 700;
}

.bridal-related-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(176,141,87,0.08);
    transition: 0.3s ease;
}

.bridal-related-card:hover {
    transform: translateY(-6px);
}

.bridal-related-img-wrap {
    height: 310px;
    overflow: hidden;
    background: #f7f1ed;
}

.bridal-related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bridal-related-body {
    padding: 18px;
    text-align: center;
}

.bridal-related-title {
    color: #4d4038;
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 10px;
    min-height: 48px;
}

.bridal-related-price {
    margin-bottom: 14px;
}

.bridal-related-price .new-price {
    color: #b08d57;
    font-size: 1.2rem;
    font-weight: 700;
}

.bridal-related-price .old-price {
    color: #a79a92;
    text-decoration: line-through;
    margin-right: 8px;
    font-size: 0.95rem;
}

.bridal-related-btn {
    display: inline-block;
    width: 100%;
    border-radius: 16px;
    padding: 11px 16px;
    border: 1px solid rgba(176,141,87,0.18);
    color: #7a6458;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.bridal-related-btn:hover {
    background: #fff8f4;
    color: #b08d57;
}

/* responsive */
@media (max-width: 991.98px) {
    .bridal-main-image {
        height: 520px;
    }

    .bridal-product-info-card {
        padding: 22px;
    }
    
    .average-rating {
        border-left: none;
        border-bottom: 1px solid #eee;
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .bridal-product-page {
        padding-top: 110px;
    }

    .bridal-main-image {
        height: 420px;
    }

    .bridal-thumb {
        width: 70px;
        height: 84px;
    }

    .bridal-meta-grid {
        grid-template-columns: 1fr;
    }

    .bridal-related-img-wrap {
        height: 260px;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Fix for rating stars - ensures only stars show, no duplicate text */
.rating-input {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    direction: ltr !important;
}

.rating-input input[type="radio"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.rating-input label {
    font-size: 2rem !important;
    color: #ddd !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
    font-family: 'Arial', 'FontAwesome', sans-serif !important;
}

.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #d4af37 !important;
}

.rating-input input[type="radio"]:checked ~ label {
    color: #d4af37 !important;
}

/* Remove any default radio button styling that might appear */
.rating-input input[type="radio"] + label::before {
    display: none !important;
    content: none !important;
}