/* =====================================================
   GLOBAL RESET
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f8f9fb;
    color: #333;
}


/* =====================================================
   MAIN PRODUCT CONTAINER
   ===================================================== */

.container {
    width: calc(100% - 30px);
    max-width: 1100px;

    margin: 60px auto;
    padding: 40px 20px;

    background: #fff;
    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   BACK BUTTON
   ===================================================== */

.back-btn {
    display: inline-block;

    margin-bottom: 30px;
    padding: 8px 18px;

    background: #b88e2f;
    color: #fff;

    border-radius: 25px;

    cursor: pointer;

    font-size: 14px;
    text-decoration: none;

    transition: 0.3s ease;
}

.back-btn:hover {
    background: #000;
}


/* =====================================================
   PRODUCT WRAPPER
   ===================================================== */

.product-wrapper {
    display: flex;

    width: 100%;
    gap: 50px;

    align-items: flex-start;
}


/* =====================================================
   PRODUCT IMAGE
   ===================================================== */

.product-image {
    flex: 1;

    width: 100%;
    min-width: 0;
}


/* =====================================================
   CAROUSEL
   ===================================================== */

.carousel {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: #f4f4f4;
}

.carousel-track {
    display: flex;

    width: 100%;

    flex-wrap: nowrap;

    transition: transform 0.4s ease-in-out;

    will-change: transform;
}

.carousel-item {
    flex: 0 0 100%;

    width: 100%;
    min-width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f4f4f4;
}

.carousel-item img,
.carousel-item video {
    display: block;

    width: 100%;
    max-width: 100%;

    height: 450px;

    object-fit: contain;

    border-radius: 12px;
}


/* =====================================================
   CAROUSEL BUTTONS
   ===================================================== */

.carousel-btn {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.70);

    color: #fff;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    z-index: 20;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.carousel-btn:hover {
    background: #b88e2f;

    transform:
        translateY(-50%)
        scale(1.05);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}


/* =====================================================
   NO IMAGE
   ===================================================== */

.no-media-item {
    width: 100%;
    min-width: 100%;

    height: 450px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f4f4f4;
}

.no-media-item .no-image {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: #aaa;

    font-size: 13px;
}

.no-media-item .no-image-icon {
    margin-bottom: 8px;

    font-size: 42px;

    line-height: 1;
}


/* =====================================================
   PRODUCT DETAILS
   ===================================================== */

.product-details {
    flex: 1;

    width: 100%;
    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}

.product-details h1 {
    font-size: 28px;

    font-weight: 600;

    line-height: 1.35;

    margin-bottom: 15px;

    word-break: break-word;
}


/* =====================================================
   ACCENT LINE
   ===================================================== */

.accent-line {
    width: 60px;
    height: 4px;

    margin-bottom: 25px;

    background: #b88e2f;

    border-radius: 3px;
}


/* =====================================================
   PRODUCT INFORMATION
   ===================================================== */

.info {
    width: 100%;

    margin-bottom: 20px;
}

.info p {
    margin-bottom: 12px;

    font-size: 15px;

    color: #555;

    line-height: 1.5;

    overflow-wrap: anywhere;
}

.info b {
    color: #000;
}


/* =====================================================
   DESCRIPTION
   ===================================================== */

.description {
    width: 100%;

    margin-top: 25px;

    padding: 24px;

    background: #fafafa;

    border: 1px solid #eeeeee;

    border-radius: 14px;
}

.description h3 {
    margin: 0 0 12px;

    font-size: 20px;

    font-weight: 600;

    color: #222;
}

.description p {
    margin: 0;

    color: #666;

    font-size: 15px;

    line-height: 1.8;

    white-space: pre-line;

    overflow-wrap: anywhere;
}


/* =====================================================
   PRODUCT HIGHLIGHTS
   ===================================================== */

.product-highlights {
    margin-top: 20px;

    padding: 20px;

    background: #fffdf8;

    border: 1px solid #e8e1d3;

    border-radius: 12px;
}

.product-highlights h3 {
    margin-bottom: 15px;

    color: #222;

    font-size: 17px;

    font-weight: 600;
}

.highlight-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.highlight-item {
    display: flex;

    align-items: flex-start;

    gap: 10px;
}

.highlight-item > span {
    width: 25px;
    height: 25px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f3ead5;

    color: #8a6a20;

    font-size: 13px;

    font-weight: 700;
}

.highlight-item strong {
    display: block;

    color: #333;

    font-size: 12px;
}

.highlight-item small {
    display: block;

    margin-top: 2px;

    color: #888;

    font-size: 10px;

    line-height: 1.4;
}


/* =====================================================
   PRICE BOX
   ===================================================== */

.price-box {
    width: 100%;

    margin-top: 20px;

    padding: 22px;

    background: #fffdf8;

    border: 1px solid #e8e1d3;

    border-radius: 10px;
}

.price-box h3 {
    margin-bottom: 16px;

    color: #222;

    font-size: 18px;

    font-weight: 600;
}

.price-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 10px;

    color: #555;

    font-size: 14px;

    line-height: 1.5;
}

.price-row span:first-child {
    min-width: 0;
}

.price-row span:last-child {
    flex-shrink: 0;

    text-align: right;
}

.price-row.subtotal {
    color: #333;

    font-weight: 500;
}

.price-row.total {
    margin-top: 14px;
    margin-bottom: 0;

    color: #222;

    font-size: 17px;

    font-weight: 600;
}

.price-divider {
    width: 100%;

    height: 1px;

    margin: 14px 0;

    background: #ddd;
}


/* =====================================================
   MATERIAL PRICE CARD
   ===================================================== */

.material-price-card {
    margin-bottom: 15px;

    padding: 14px;

    background: #fff;

    border: 1px solid #eee;

    border-radius: 8px;
}

.material-price-header {
    margin-bottom: 12px;

    color: #222;

    font-size: 14px;
}

.material-total {
    font-weight: 500;

    color: #333;
}


/* =====================================================
   ENQUIRY ACTIONS
   ===================================================== */

.enquiry-actions {
    display: flex;

    width: 100%;

    gap: 12px;

    margin-bottom: 12px;
}

.direct-enquiry-btn,
.add-enquiry-cart-btn {
    flex: 1;

    width: 100%;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 7px;

    font-family: "Poppins", sans-serif;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.2s ease;
}

.direct-enquiry-btn {
    border: none;

    background: #222;

    color: #fff;
}

.direct-enquiry-btn:hover {
    background: #444;

    color: #fff;

    transform: translateY(-1px);
}

.add-enquiry-cart-btn {
    border: 1px solid #222;

    background: #fff;

    color: #222;
}

.add-enquiry-cart-btn:hover {
    background: #222;

    color: #fff;

    transform: translateY(-1px);
}


/* =====================================================
   VIEW ENQUIRY CART
   ===================================================== */

.view-enquiry-cart-link {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 46px;

    margin: 8px 0 35px;

    padding: 0;

    border: 1px solid #d8d8d8;

    border-radius: 7px;

    background: #fafafa;

    color: #333;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.2s ease;
}

.view-enquiry-cart-link:hover {
    background: #fff;

    border-color: #222;

    color: #222;

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}


/* =====================================================
   REVIEWS SECTION
   ===================================================== */

.reviews-section {
    width: 100%;

    margin-top: 55px;

    padding: 35px 0 10px;

    border-top: 1px solid #e8e8e8;
}


/* =====================================================
   REVIEW TITLE
   ===================================================== */

.reviews-title-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.reviews-title-row h2 {
    margin: 0;

    color: #222;

    font-size: 26px;

    font-weight: 600;
}

.reviews-subtitle {
    margin: 5px 0 0;

    color: #777;

    font-size: 13px;
}


/* =====================================================
   WRITE REVIEW BUTTON
   ===================================================== */

.write-review-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-width: 150px;

    padding: 11px 18px;

    border: 1px solid #222;

    border-radius: 6px;

    background: #fff;

    color: #222;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    font-weight: 500;

    cursor: pointer;

    transition: all 0.2s ease;
}

.write-review-btn:hover {
    background: #222;

    color: #fff;
}


/* =====================================================
   RATING SUMMARY
   ===================================================== */

.rating-summary {
    display: flex;

    align-items: center;

    width: 100%;

    margin-bottom: 30px;

    padding: 28px;

    background: linear-gradient(
        135deg,
        #fffdf8,
        #fafafa
    );

    border: 1px solid #e8e1d3;

    border-radius: 10px;
}

.rating-average {
    width: 210px;

    padding-right: 35px;

    text-align: center;

    border-right: 1px solid #ddd;
}

.average-number {
    margin-bottom: 5px;

    color: #222;

    font-size: 44px;

    font-weight: 600;

    line-height: 1;
}

.average-stars {
    color: #f2a900;

    font-size: 22px;

    letter-spacing: 2px;

    line-height: 1.4;
}

.rating-count {
    margin-top: 5px;

    color: #777;

    font-size: 12px;
}

.rating-description {
    padding-left: 35px;
}

.rating-description strong {
    display: block;

    margin-bottom: 5px;

    color: #333;

    font-size: 16px;

    font-weight: 600;
}

.rating-description p {
    margin: 0;

    color: #777;

    font-size: 13px;

    line-height: 1.6;
}


/* =====================================================
   REVIEW LIST
   ===================================================== */

.existing-reviews {
    width: 100%;
}

.review-card {
    width: 100%;

    margin-bottom: 15px;

    padding: 21px;

    background: #fff;

    border: 1px solid #e7e7e7;

    border-radius: 9px;

    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.review-card:hover {
    border-color: #ddd;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 10px;
}

.review-user {
    display: flex;

    align-items: center;

    gap: 11px;

    min-width: 0;
}

.review-avatar {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #f3ead5;

    color: #80651d;

    font-size: 15px;

    font-weight: 600;
}

.review-user strong {
    color: #222;

    font-size: 14px;

    font-weight: 600;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.review-rating {
    flex-shrink: 0;

    color: #f2a900;

    font-size: 17px;

    letter-spacing: 1px;

    white-space: nowrap;
}

.review-text {
    margin: 10px 0;

    color: #555;

    font-size: 14px;

    line-height: 1.75;

    overflow-wrap: anywhere;
}

.review-date {
    color: #999;

    font-size: 11px;
}


/* =====================================================
   NO REVIEWS
   ===================================================== */

.no-reviews {
    width: 100%;

    padding: 35px 20px;

    text-align: center;

    background: #fafafa;

    border: 1px dashed #d8d8d8;

    border-radius: 9px;
}

.no-reviews-icon {
    margin-bottom: 8px;

    color: #bbb;

    font-size: 35px;
}

.no-reviews h4 {
    margin: 0 0 5px;

    color: #333;

    font-size: 16px;
}

.no-reviews p {
    margin: 0 0 15px;

    color: #888;

    font-size: 13px;
}

.empty-review-btn {
    padding: 9px 17px;

    border: none;

    border-radius: 5px;

    background: #222;

    color: #fff;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    cursor: pointer;
}


/* =====================================================
   VIEW ALL REVIEWS
   ===================================================== */

.view-all-reviews {
    margin-top: 22px;

    padding-top: 20px;

    border-top: 1px solid #eee;

    text-align: center;
}

.view-all-reviews button {
    border: none;

    background: transparent;

    color: #b8860b;

    font-family: inherit;

    font-size: 14px;

    font-weight: 500;

    cursor: pointer;
}

.view-all-reviews button:hover {
    text-decoration: underline;
}


/* =====================================================
   REVIEW MODAL
   IMPORTANT:
   HIDDEN BY DEFAULT
   ONLY .active CAN SHOW IT
   ===================================================== */

#reviewModal {
    position: fixed !important;

    inset: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    display: none !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;

    background: rgba(0, 0, 0, 0.68) !important;

    z-index: 999999 !important;

    visibility: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* =====================================================
   REVIEW MODAL ACTIVE
   ===================================================== */

#reviewModal.active {
    display: flex !important;

    visibility: visible !important;

    opacity: 1 !important;

    pointer-events: auto !important;
}


/* =====================================================
   REVIEW MODAL CONTENT
   ===================================================== */

#reviewModal .review-modal-content {
    position: relative;

    width: 100%;

    max-width: 510px;

    max-height: 92vh;

    overflow-y: auto;

    padding: 30px;

    background: #fff;

    border-radius: 12px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.30);

    transform: translateY(-25px) scale(0.97);

    transition: transform 0.25s ease;
}

#reviewModal.active .review-modal-content {
    transform: translateY(0) scale(1);
}


/* =====================================================
   REVIEW MODAL HEADER
   ===================================================== */

.review-modal-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 17px;

    margin-bottom: 25px;

    border-bottom: 1px solid #eee;
}

.review-modal-header h3 {
    margin: 0;

    color: #222;

    font-size: 22px;

    font-weight: 600;
}

.modal-product-name {
    margin-top: 3px;

    color: #888;

    font-size: 12px;
}


/* =====================================================
   CLOSE REVIEW BUTTON
   ===================================================== */

.close-review-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    border: none;

    border-radius: 50%;

    background: #f3f3f3;

    color: #333;

    font-size: 24px;

    line-height: 1;

    cursor: pointer;

    transition: all 0.2s ease;
}

.close-review-btn:hover {
    background: #222;

    color: #fff;
}


/* =====================================================
   REVIEW FORM
   ===================================================== */

.review-form-group {
    width: 100%;

    margin-bottom: 21px;
}

.review-form-group > label {
    display: block;

    margin-bottom: 8px;

    color: #333;

    font-size: 13px;

    font-weight: 500;
}


/* =====================================================
   NAME INPUT
   ===================================================== */

.review-form-group input[type="text"] {
    display: block;

    width: 100%;
    height: 47px;

    padding: 0 13px;

    border: 1px solid #d7d7d7;

    border-radius: 6px;

    outline: none;

    background: #fff;

    color: #222;

    font-family: "Poppins", sans-serif;

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.review-form-group input[type="text"]:focus {
    border-color: #b18a2d;

    box-shadow: 0 0 0 3px rgba(177, 138, 45, 0.10);
}


/* =====================================================
   STAR RATING
   ===================================================== */

.star-rating {
    display: flex;
    gap: 4px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 32px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.15s ease;
}

.star-rating label.active {
    color: #ffc107;
}

.star-rating label:hover {
    transform: scale(1.1);
}



/* =====================================================
   TEXTAREA
   ===================================================== */

.review-form-group textarea {
    display: block;

    width: 100%;

    min-height: 125px;

    padding: 12px 13px;

    border: 1px solid #d7d7d7;

    border-radius: 6px;

    outline: none;

    resize: vertical;

    background: #fff;

    color: #222;

    font-family: "Poppins", sans-serif;

    font-size: 14px;

    line-height: 1.6;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.review-form-group textarea:focus {
    border-color: #b18a2d;

    box-shadow: 0 0 0 3px rgba(177, 138, 45, 0.10);
}


/* =====================================================
   SUBMIT REVIEW
   ===================================================== */

.submit-review-btn {
    width: 100%;

    height: 49px;

    margin-top: 3px;

    border: none;

    border-radius: 6px;

    background: #222;

    color: #fff;

    font-family: "Poppins", sans-serif;

    font-size: 14px;

    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.submit-review-btn:hover {
    background: #444;

    transform: translateY(-1px);
}

.review-note {
    margin-top: 12px;

    text-align: center;

    color: #999;

    font-size: 11px;
}


/* =====================================================
   ALL REVIEWS MODAL
   ===================================================== */

.all-reviews-modal {
    position: fixed;

    inset: 0;

    z-index: 999998;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.65);
}

.all-reviews-modal.active {
    display: flex;
}

.all-reviews-modal-content {
    width: 100%;

    max-width: 750px;

    max-height: 90vh;

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

    display: flex;

    flex-direction: column;
}


/* =====================================================
   ALL REVIEWS HEADER
   ===================================================== */

.all-reviews-modal-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 22px 25px;

    border-bottom: 1px solid #eee;
}

.all-reviews-modal-header h3 {
    margin: 0;

    font-size: 22px;

    color: #222;
}

.all-reviews-product-name {
    margin-top: 5px;

    font-size: 14px;

    color: #777;
}

.close-all-reviews-btn {
    width: 40px;
    height: 40px;

    border: none;

    background: transparent;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    color: #555;
}

.close-all-reviews-btn:hover {
    color: #000;
}


/* =====================================================
   ALL REVIEWS SUMMARY
   ===================================================== */

.all-reviews-summary {
    padding: 20px 25px;

    background: #faf8f4;

    border-bottom: 1px solid #eee;
}

.all-reviews-average {
    text-align: center;
}

.all-reviews-average-number {
    font-size: 36px;

    font-weight: 700;

    color: #222;
}

.all-reviews-stars {
    margin-top: 3px;

    color: #f5a623;

    font-size: 22px;

    letter-spacing: 2px;
}

.all-reviews-count {
    margin-top: 5px;

    color: #777;

    font-size: 14px;
}


/* =====================================================
   ALL REVIEWS LIST
   ===================================================== */

.all-reviews-list {
    flex: 1;

    padding: 10px 25px 25px;

    overflow-y: auto;
}

.all-review-card {
    padding: 18px 0;

    border-bottom: 1px solid #eee;
}

.all-review-card:last-child {
    border-bottom: none;
}

.all-review-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.all-review-user {
    display: flex;

    align-items: center;

    gap: 10px;
}

.all-review-avatar {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #222;

    color: #fff;

    font-weight: 600;
}

.all-review-rating {
    color: #f5a623;

    font-size: 17px;

    white-space: nowrap;
}

.all-review-text {
    margin: 12px 0 8px;

    color: #444;

    line-height: 1.6;
}

.all-review-date {
    color: #999;

    font-size: 12px;
}

.all-reviews-empty {
    padding: 40px 20px;

    text-align: center;

    color: #777;
}


/* =====================================================
   RELATED PRODUCTS
   ===================================================== */

.related-section {
    width: 100%;

    max-width: 1100px;

    margin: 70px auto;

    padding: 0 20px;
}

.related-section h2 {
    margin-bottom: 30px;

    color: #222;

    font-size: 24px;

    font-weight: 600;
}

.related-grid {
    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 25px;

    width: 100%;
}

.related-card {
    width: 100%;
    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 15px;

    background: #fff;

    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);

    text-align: center;

    overflow: hidden;

    transition: 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.10);
}

.related-card img {
    width: 100%;
    height: 180px;

    object-fit: cover;

    border-radius: 10px;

    margin-bottom: 10px;
}

.related-card h4 {
    margin-bottom: 12px;

    font-size: 14px;

    line-height: 1.4;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    min-height: 40px;
}

.related-card button {
    width: 100%;

    padding: 8px 15px;

    border: none;

    background: #b88e2f;

    color: #fff;

    border-radius: 25px;

    cursor: pointer;

    transition: 0.3s ease;
}

.related-card button:hover {
    background: #000;
}


/* =====================================================
   VIEW ALL PRODUCTS
   ===================================================== */

.view-all-products {
    display: flex;

    justify-content: center;

    margin: 45px 0 10px;
}

.view-all-products a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 24px;

    background: #222;

    color: #fff;

    text-decoration: none;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 500;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.view-all-products a:hover {
    background: #000;

    transform: translateY(-2px);
}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    position: relative;

    background: #252525;

    color: #fff;

    overflow: hidden;

    margin-top: 80px;
}

.footer::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border: 1px solid rgba(184, 145, 72, 0.15);

    border-radius: 50%;

    top: -180px;
    right: -100px;
}

.footer::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border: 1px solid rgba(184, 145, 72, 0.12);

    border-radius: 50%;

    bottom: -120px;
    left: -80px;
}


/* =====================================================
   FOOTER CONTAINER
   ===================================================== */

.footer-container {
    position: relative;

    z-index: 2;

    width: 90%;

    max-width: 1200px;

    margin: auto;

    padding: 70px 0 55px;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1.1fr 1.4fr;

    gap: 55px;
}


/* =====================================================
   FOOTER STORE TITLE
   ===================================================== */

.footer-column h3 {
    margin: 0 0 20px;

    color: #fff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;

    font-weight: 500;

    letter-spacing: 2px;
}

.footer-column h3::after {
    content: "◆";

    display: block;

    color: #c6a15b;

    font-size: 8px;

    margin-top: 12px;
}


/* =====================================================
   FOOTER HEADINGS
   ===================================================== */

.footer-column h4 {
    position: relative;

    margin: 5px 0 25px;

    color: #fff;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.footer-column h4::after {
    content: "";

    display: block;

    width: 45px;
    height: 1px;

    background: #c6a15b;

    margin-top: 13px;
}


/* =====================================================
   FOOTER TEXT
   ===================================================== */

.footer-column p {
    color: #999;

    font-size: 13px;

    line-height: 1.9;

    margin: 0;

    max-width: 330px;
}


/* =====================================================
   FOOTER LINKS
   ===================================================== */

.footer-column ul {
    list-style: none;

    padding: 0;

    margin: 0;
}

.footer-column ul li {
    margin-bottom: 13px;
}

.footer-column ul li a {
    position: relative;

    color: #999;

    text-decoration: none;

    font-size: 13px;

    transition: all 0.3s ease;
}

.footer-column ul li a::before {
    content: "→";

    position: absolute;

    left: -20px;

    color: #c6a15b;

    opacity: 0;

    transform: translateX(-5px);

    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #c6a15b;

    padding-left: 5px;
}

.footer-column ul li a:hover::before {
    opacity: 1;

    transform: translateX(0);
}


/* =====================================================
   NEWSLETTER
   ===================================================== */

.newsletter {
    display: flex;

    width: 100%;

    margin-top: 20px;

    border: 1px solid rgba(198, 161, 91, 0.5);

    background: transparent;
}

.newsletter input {
    flex: 1;

    min-width: 0;

    padding: 13px 14px;

    background: transparent;

    border: none;

    outline: none;

    color: #fff;

    font-size: 12px;
}

.newsletter input::placeholder {
    color: #777;
}

.newsletter button {
    padding: 0 17px;

    border: none;

    background: #b88a3b;

    color: #fff;

    font-size: 12px;

    letter-spacing: 1px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.newsletter button:hover {
    background: #96702f;
}

.footer-column:last-child p::after {
    content: "✦  No spam. Only beautiful things.";

    display: block;

    margin-top: 12px;

    color: #777;

    font-size: 10px;

    letter-spacing: 0.5px;
}


/* =====================================================
   FOOTER BOTTOM
   ===================================================== */

.footer-bottom {
    position: relative;

    z-index: 2;

    width: 90%;

    max-width: 1200px;

    margin: auto;

    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color: #777;

    font-size: 11px;

    letter-spacing: 0.5px;
}


/* =====================================================
   TABLET - RELATED PRODUCTS
   ===================================================== */

@media (max-width: 1200px) {

    .related-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 992px) {

    .related-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


/* =====================================================
   PRODUCT TABLET
   ===================================================== */

@media (max-width: 900px) {

    .product-wrapper {
        flex-direction: column;

        gap: 30px;
    }

    .product-image,
    .product-details {
        width: 100%;
    }

    .carousel-item img,
    .carousel-item video {
        height: 350px;
    }

    .no-media-item {
        height: 350px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;

        font-size: 19px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;

        gap: 50px 40px;

        padding: 65px 0 50px;
    }

    .footer-column p {
        max-width: 400px;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

    html,
    body {
        width: 100%;
        max-width: 100%;

        overflow-x: hidden;
    }

    body {
        font-size: 13px;
    }


    /* MAIN CONTAINER */

    .container {
        width: 100%;
        max-width: 100%;

        margin: 20px 0;

        padding: 15px 12px 30px;

        border-radius: 0;

        box-shadow: none;
    }


    /* BACK */

    .back-btn {
        margin-bottom: 15px;

        padding: 8px 12px;

        font-size: 12px;
    }


    /* PRODUCT */

    .product-wrapper {
        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 25px;

        margin: 0;
    }


    /* CAROUSEL */

    .product-image {
        width: 100%;

        max-width: 100%;

        margin: 0;

        min-width: 0;
    }

    .carousel {
        width: 100%;

        max-width: 100%;

        overflow: hidden;

        border-radius: 10px;
    }

    .carousel-track {
        width: 100%;

        display: flex;

        flex-wrap: nowrap;
    }

    .carousel-item {
        width: 100%;

        min-width: 100%;

        flex: 0 0 100%;

        overflow: hidden;
    }

    .carousel-item img,
    .carousel-item video {
        display: block;

        width: 100%;

        max-width: 100%;

        height: 300px;

        object-fit: contain;

        border-radius: 10px;
    }

    .no-media-item {
        width: 100%;

        min-width: 100%;

        height: 300px;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;

        font-size: 16px;
    }

    .carousel-btn.prev {
        left: 8px;
    }

    .carousel-btn.next {
        right: 8px;
    }


    /* PRODUCT DETAILS */

    .product-details {
        width: 100%;

        max-width: 100%;

        min-width: 0;

        padding: 0;

        margin: 0;
    }

    .product-details h1 {
        margin: 0;

        font-size: 22px;

        line-height: 1.35;

        word-break: break-word;
    }

    .accent-line {
        margin: 10px 0 18px;
    }


    /* INFO */

    .info {
        width: 100%;

        margin-bottom: 20px;
    }

    .info p {
        display: flex;

        flex-wrap: wrap;

        gap: 5px;

        margin: 7px 0;

        font-size: 12px;

        line-height: 1.5;

        word-break: break-word;
    }

    .info b {
        flex-shrink: 0;
    }


    /* DESCRIPTION */

    .description {
        width: 100%;

        max-width: 100%;

        margin-top: 22px;

        padding: 18px 14px;
    }

    .description h3 {
        font-size: 17px;

        margin-bottom: 8px;
    }

    .description p {
        margin: 0;

        font-size: 12px;

        line-height: 1.7;

        overflow-wrap: anywhere;
    }


    /* HIGHLIGHTS */

    .product-highlights {
        padding: 16px 13px;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }


    /* PRICE */

    .price-box {
        width: 100%;

        max-width: 100%;

        padding: 17px 14px;

        border-radius: 9px;

        overflow: hidden;
    }

    .price-box h3 {
        margin-bottom: 13px;

        font-size: 15px;
    }

    .price-row {
        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 15px;

        font-size: 11px;

        line-height: 1.5;
    }

    .price-row span:first-child {
        min-width: 0;
    }

    .price-row span:last-child {
        flex-shrink: 0;

        text-align: right;
    }

    .price-row.total {
        font-size: 13px;
    }


    /* ENQUIRY BUTTONS */

    .enquiry-actions {
        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 9px;

        margin-bottom: 10px;
    }

    .direct-enquiry-btn,
    .add-enquiry-cart-btn {
        width: 100%;

        min-width: 0;

        height: 48px;

        flex: none;

        font-size: 12px;

        border-radius: 7px;
    }


    /* VIEW CART */

    .view-enquiry-cart-link {
        width: 100%;

        height: 44px;

        margin: 6px 0 28px;

        padding: 0;

        font-size: 11px;
    }


    /* REVIEWS */

    .reviews-section {
        width: 100%;

        max-width: 100%;

        margin-top: 30px;

        padding: 25px 0 0;
    }

    .reviews-title-row {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 12px;

        margin-bottom: 18px;
    }

    .reviews-title-row h2 {
        font-size: 20px;

        line-height: 1.3;
    }

    .reviews-subtitle {
        margin-top: 4px;

        font-size: 11px;

        line-height: 1.5;
    }

    .write-review-btn {
        width: 100%;

        min-width: 0;

        height: 44px;

        padding: 9px 12px;

        font-size: 12px;
    }


    /* RATING */

    .rating-summary {
        width: 100%;

        max-width: 100%;

        display: flex;

        flex-direction: column;

        gap: 18px;

        padding: 18px 14px;

        margin-bottom: 20px;

        border-radius: 9px;
    }

    .rating-average {
        width: 100%;

        padding: 0 0 17px;

        border-right: none;

        border-bottom: 1px solid #ddd;
    }

    .average-number {
        font-size: 38px;
    }

    .average-stars {
        font-size: 19px;

        letter-spacing: 1px;
    }

    .rating-count {
        font-size: 10px;
    }

    .rating-description {
        width: 100%;

        padding: 0;

        text-align: center;
    }

    .rating-description strong {
        font-size: 14px;
    }

    .rating-description p {
        font-size: 11px;

        line-height: 1.5;
    }


    /* REVIEW CARDS */

    .review-card {
        width: 100%;

        max-width: 100%;

        padding: 14px;

        margin-bottom: 10px;

        border-radius: 8px;
    }

    .review-header {
        width: 100%;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

        gap: 10px;
    }

    .review-user {
        min-width: 0;

        display: flex;

        align-items: center;

        gap: 8px;
    }

    .review-avatar {
        width: 34px;
        height: 34px;

        font-size: 12px;
    }

    .review-user strong {
        min-width: 0;

        font-size: 12px;

        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;
    }

    .review-rating {
        flex-shrink: 0;

        font-size: 14px;

        letter-spacing: 0;
    }

    .review-text {
        margin: 9px 0;

        font-size: 12px;

        line-height: 1.65;

        overflow-wrap: anywhere;
    }

    .review-date {
        font-size: 9px;
    }


    /* NO REVIEWS */

    .no-reviews {
        width: 100%;

        padding: 28px 15px;

        border-radius: 8px;
    }

    .no-reviews-icon {
        font-size: 30px;
    }

    .no-reviews h4 {
        font-size: 14px;
    }

    .no-reviews p {
        font-size: 11px;

        line-height: 1.5;
    }

    .empty-review-btn {
        font-size: 11px;

        padding: 8px 14px;
    }


    /* =================================================
       REVIEW MODAL MOBILE
       ================================================= */

    #reviewModal {
        align-items: flex-end !important;

        padding: 10px !important;
    }

    #reviewModal .review-modal-content {
        width: 100%;

        max-width: 100%;

        max-height: 92vh;

        padding: 18px 15px;

        border-radius: 12px 12px 0 0;

        overflow-x: hidden;

        overflow-y: auto;
    }

    .review-modal-header {
        padding-bottom: 13px;

        margin-bottom: 18px;
    }

    .review-modal-header h3 {
        font-size: 18px;
    }

    .modal-product-name {
        max-width: 220px;

        font-size: 10px;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .close-review-btn {
        width: 32px;
        height: 32px;

        font-size: 20px;
    }

    .review-form-group {
        margin-bottom: 17px;
    }

    .review-form-group > label {
        margin-bottom: 6px;

        font-size: 11px;
    }

    .review-form-group input[type="text"] {
        width: 100%;

        height: 44px;

        padding: 0 11px;

        font-size: 12px;
    }

    .review-form-group textarea {
        width: 100%;

        min-height: 105px;

        padding: 10px 11px;

        font-size: 12px;
    }

    .star-rating {
        width: 100%;
        justify-content: flex-start;
        gap: 4px;
    }

    .star-rating label {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .submit-review-btn {
        width: 100%;

        height: 46px;

        font-size: 12px;
    }

    .review-note {
        font-size: 9px;
    }


    /* =================================================
       RELATED PRODUCTS
       ================================================= */

    .related-section {
        width: 100%;

        max-width: 100%;

        margin-top: 35px;

        padding: 0 12px 30px;
    }

    .related-section h2 {
        font-size: 20px;

        margin-bottom: 15px;
    }

    .related-grid {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .related-card {
        width: 100%;

        min-width: 0;

        overflow: hidden;

        border-radius: 8px;
    }

    .related-card img {
        width: 100%;

        height: 145px;

        object-fit: cover;
    }

    .related-card h4 {
        padding: 0 8px;

        font-size: 11px;

        line-height: 1.4;

        display: -webkit-box;

        -webkit-line-clamp: 2;

        -webkit-box-orient: vertical;

        overflow: hidden;
    }

    .related-card button {
        width: calc(100% - 16px);

        margin: 0 8px 8px;

        padding: 8px 5px;

        font-size: 10px;
    }


    /* =================================================
       ALL REVIEWS MODAL MOBILE
       ================================================= */

    .all-reviews-modal {
        padding: 10px;
    }

    .all-reviews-modal-content {
        max-height: 94vh;

        border-radius: 14px;
    }

    .all-reviews-modal-header {
        padding: 18px;
    }

    .all-reviews-list {
        padding: 10px 18px 20px;
    }


    /* =================================================
       FOOTER MOBILE
       ================================================= */

    .footer {
        margin-top: 60px;
    }

    .footer-container {
        width: 88%;

        grid-template-columns: 1fr;

        gap: 40px;

        padding: 55px 0 40px;

        text-align: center;

        justify-items: center;
    }

    .footer-column {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .footer-column p {
        max-width: 100%;
    }

    .newsletter {
        max-width: 100%;

        margin: 0 auto;
    }

    .newsletter input {
        width: 100%;
    }

    .newsletter button {
        padding: 0 14px;
    }

    .footer-bottom {
        width: 88%;

        padding: 20px 0;

        text-align: center;
    }

    .footer-bottom p {
        font-size: 10px;
    }
}


/* =====================================================
   VERY SMALL PHONES
   ===================================================== */

@media (max-width: 380px) {

    .container {
        padding-left: 9px;

        padding-right: 9px;
    }

    .product-details h1 {
        font-size: 19px;
    }

    .carousel-item img,
    .carousel-item video {
        height: 250px;
    }

    .no-media-item {
        height: 250px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;

        font-size: 14px;
    }

    .carousel-btn.prev {
        left: 6px;
    }

    .carousel-btn.next {
        right: 6px;
    }

    .price-box {
        padding: 14px 11px;
    }

    .price-row {
        font-size: 10px;
    }

    .average-number {
        font-size: 34px;
    }

    .average-stars {
        font-size: 17px;
    }

    .review-card {
        padding: 12px;
    }

    .review-rating {
        font-size: 12px;
    }

    .star-rating label {
        width: 34px;
        height: 34px;

        font-size: 27px;
    }

    .related-grid {
        gap: 8px;
    }

    .related-card img {
        height: 125px;
    }
}

/* =========================================
   PREMIUM MOBILE PRODUCT GALLERY
   Amazon-inspired clean layout
========================================= */

@media screen and (max-width: 700px) {

    /* Product layout */
    .product-wrapper {
        display: flex;
        flex-direction: column;
        gap: 22px;
        width: 100%;
        min-width: 0;
    }

    /* White image gallery */
    .product-wrapper .product-image {
        width: 100%;
        height: auto;
        min-width: 0;
        padding: 0;
        margin: 0;
        background: #fff;
        overflow: hidden;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        box-shadow: none;
    }

    .product-wrapper .carousel {
        position: relative;
        width: 100%;
        height: 390px;
        overflow: hidden;
        background: #fff;
        border-radius: 12px;
    }

    /* Horizontal sliding gallery */
    .product-wrapper .carousel-track {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        height: 100%;
        transition: transform 0.35s ease;
        will-change: transform;
    }

    .product-wrapper .carousel-item {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        height: 100%;
        padding: 12px;
        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: center;

        overflow: hidden;
        background: #fff;
    }

    /* Large, centred product image */
    .product-wrapper .carousel-item img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 0;
    }

    /* Videos */
    .product-wrapper .carousel-item video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #fff;
    }

    /* Subtle circular navigation buttons */
    .product-wrapper .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;

        width: 36px;
        height: 36px;
        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 1px solid #e5e5e5;
        border-radius: 50%;

        background: rgba(255, 255, 255, 0.95);
        color: #333;

        font-size: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        cursor: pointer;
    }

    .product-wrapper .carousel-btn.prev {
        left: 10px;
    }

    .product-wrapper .carousel-btn.next {
        right: 10px;
    }

    /* Product details spacing */
    .product-wrapper .product-details {
        width: 100%;
        min-width: 0;
        padding: 0;
    }

    .product-wrapper .product-details h1 {
        font-size: 23px;
        line-height: 1.4;
        margin-bottom: 12px;
        overflow-wrap: anywhere;
    }

    /* Remove unwanted horizontal overflow */
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Smaller phones */
@media screen and (max-width: 380px) {
    .product-wrapper .carousel {
        height: 340px;
    }

    .product-wrapper .carousel-item {
        padding: 8px;
    }

    .product-wrapper .product-details h1 {
        font-size: 21px;
    }
}

/* =========================================
   PORTRAIT PRODUCT IMAGE — MOBILE
========================================= */


/* =========================================
   MOBILE LANDSCAPE CAROUSEL
   Fill frame + zoom portrait images
========================================= */

@media screen and (max-width: 700px) {

    .product-wrapper .product-image {
        width: 100%;
        height: auto;
        padding: 0;
        overflow: hidden;
        background: #fff;
        border: none;
        box-shadow: none;
    }

    .product-wrapper .carousel {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
        overflow: hidden;
        background: #fff;
        border-radius: 10px;
    }

    .product-wrapper .carousel-track {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        height: 100%;
        transition: transform 0.35s ease;
    }

    .product-wrapper .carousel-item {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #fff;
        box-sizing: border-box;
    }

    /* Fill the landscape frame */
    .product-wrapper .carousel-item img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center;
        transform: scale(1.05);
        border-radius: 0;
    }

    .product-wrapper .carousel-item video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-wrapper .carousel-btn {
        z-index: 5;
    }
}

/* Smaller mobile screens */
@media screen and (max-width: 380px) {
    .product-wrapper .carousel {
        aspect-ratio: 4 / 3;
    }
}
