/* --- SECTION 1: HERO CONTAINER --- */
.p-detail-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-top: 80px;
    padding-bottom: 40px;
}

.product-gallery {
    position: relative;
    /* Removed fixed/sticky positioning */
    height: auto;
}

.main-image-box {
    /* background: linear-gradient(180deg, #f1f7f2 0%, #f7faf8 100%); */
    background: #fff;
    border-radius: 24px;
    border: 2px solid rgb(33 162 48 / 53%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.main-image-box img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px 0px;
}

.thumb-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumb-item {
    background: #f7faf8;
    border: 1px solid #1fa12e;
    border-radius: 12px;
    height: 90px;
    width: 90px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.thumb-item.active,
.thumb-item:hover {
    border: 2px solid #DA4A03;
    transform: translateY(-2px);
}

.thumb-item img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.product-essential {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

.p-badge {
    font-size: 0.8rem;
    color: #1fa12e;
    background: #e3f9e5;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    width: fit-content;
    letter-spacing: 0.5px;
}

.p-title {
    font-size: 36px;
    font-weight: 600;
    color: #1e251f;
    margin: 0;
    margin-bottom: 15px;
}

.p-price-box {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.p-current-price {
    font-size: 28px;
    font-weight: 600;
    color: #DA4A03;
    margin-bottom: 10px;
}

.p-original-price {
    font-size: 18px;
    color: #b0b9b2;
    text-decoration: line-through;
}

.p-short-desc {
    color: #757575;
    line-height: 24px;
    font-size: 18px;
}

/* --- SECTION 2: HORIZONTAL TABS SYSTEM --- */
.product-tabs-section {
    padding: 40px 0;
    background: #fcfdfe;
}

.product-tabs-section .row {
    justify-content: center;
    align-items: center;
}

.tabs-wrapper {
    border-bottom: 2px solid #eef2f0;
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    justify-content: center;
}

.tab-trigger {
    font-size: 1.1rem;
    font-weight: 700;
    color: #5c665e;
    background: none;
    border: none;
    padding: 15px 5px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-trigger:hover {
    color: #1fa12e;
}

.tab-trigger.active {
    color: #1fa12e;
}

.tab-trigger.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1fa12e;
}

.tab-trigger:focus {
    outline: none;
}

.tab-trigger:focus-visible {
    outline: none;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
    /* border: 1px solid #222222; */
    padding: 13px 21px;
    border-radius: 15px;
    background-color: #b8e0ef2e;
}

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

.tab-content p {
    color: #5c665e;
    line-height: 1.7;
    font-size: 1rem;
}

.specs-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
}

.specs-table td {
    padding: 14px 0;
    border-bottom: 1px solid #f2f5f3;
    font-size: 1rem;
}

.specs-table td:first-child {
    font-weight: 700;
    color: #1e251f;
    width: 30%;
}

.specs-table td:last-child {
    color: #5c665e;
}

/* --- SECTION 3: FULL WIDTH GLASSMORPHIC FORM --- */
.product-enquiry-section {
    /* padding: 40px 0 80px 0; */
}

.enquiry-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* padding: 45px 40px; */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 35px rgba(31, 161, 46, 0.04);
}

.enquiry-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1fa12e;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-group-full {
    grid-column: span 3;
}

.form-control-dd {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #dce3df;
    background: #ffffff;
    color: #1e251f;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control-dd:focus {
    outline: none;
    border-color: #1fa12e;
    box-shadow: 0 0 0 4px rgba(31, 161, 46, 0.1);
}

textarea.form-control-dd {
    height: 110px;
    resize: none;
}

.wa-confirmation {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.wa-confirmation input {
    accent-color: #25d366;
    width: 16px;
    height: 16px;
}

.wa-confirmation span {
    font-size: 0.9rem;
    color: #5c665e;
}

.submit-enquiry-btn {
    width: 100%;
    max-width: 250px;
    background: linear-gradient(135deg, #da4b03b2 0%, #DA4A03 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 30px;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(218, 74, 3, 0.2);
    transition: all 0.3s ease;
}

.submit-enquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(218, 74, 3, 0.3);
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE WORK --- */
@media (max-width: 991px) {
    .p-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .form-group-full {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .submit-enquiry-btn {
        max-width: 100%;
    }
}

.view-detail-btn {
    display: block;
    text-align: center;
    background: #DA4A03;
    color: #fff;
    text-decoration: none;
    /* font-weight: 700; */
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 50px;
    border: 2px solid #DA4A03;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: fit-content;
}

.view-detail-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #da4b03b9 0%, #DA4A03 100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.view-detail-btn:hover {
    color: #ffffff;
}

.p-Sharing-box {
    font-size: 18px;
    font-weight: 600;
    color: #757575;
}

.p-Sharing-box span {
    padding: 4px 8px 6px 8px;
    border: 1px solid #03833bdb;
    color: #03833bdb;
    background-color: transparent;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-text {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    transition: 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

/* Colors */
.facebook {
    background: #1877F2;
}

.twitter {
    background: #000;
}

.linkedin {
    background: #0A66C2;
}

.whatsapp {
    background: #25D366;
}

.pinterest {
    background: #E60023;
}

a:hover,
a:focus {
    text-decoration: none;
    cursor: pointer;
    /* color: #1fa12e; */
    color: #fff;
    outline: none;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    color: #1e6a00;
    font-weight: 500;
}

.modal-header {
    padding: 0.5rem 1rem;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    position: relative;
    top: 9px;
}

.form-group {
    margin-bottom: 0rem;
}

.appointment_btn {
    min-width: 176px;
    background-color: #DA4A03;
    color: #ffffff;
    border-radius: 50px;
    text-transform: capitalize;
    font-size: 16px;
    padding: 6px 18px;
    border: none !important;
}

/* form css style */
/* =========================
                MODAL DESIGN UPGRADE
                ========================= */

#exampleModal .modal-dialog {
    max-width: 600px;
}

#exampleModal .modal-content {
    border: none;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    background: #fff;
}

/* Header */
#exampleModal .modal-header {
    border: none;
    padding: 10px 20px 5px;
    background: linear-gradient(135deg, #1b7d1b, #2ea043);
    position: relative;
}

#exampleModal .modal-title {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

#exampleModal .modal-title i {
    width: 40px;
    height: 40px;
    /* background: rgba(255, 255, 255, 0.15); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

/* Close Button */
#exampleModal .close {
    position: absolute;
    right: 20px;
    top: 20px;
    /* background: rgba(255, 255, 255, 0.15); */
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    opacity: 1;
    border: none;
    font-size: 30px;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* #exampleModal .close:hover {
                transform: rotate(90deg);
                background: rgba(255, 255, 255, 0.25);
            } */

/* Body */
#exampleModal .modal-body {
    padding: 35px 10px;
    background: #fff;
}

/* Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.form-group-full {
    grid-column: span 3;
}

/* Inputs */
.form-control-dd {
    width: 100%;
    height: 50px;
    border-radius: 16px;
    border: 1px solid #dfe7df;
    background: #f8faf8;
    padding: 0 20px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.form-control-dd:focus {
    border-color: #2ea043;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 160, 67, 0.12);
}

/* Textarea */
textarea.form-control-dd {
    height: 100px;
    resize: none;
    padding-top: 18px;
}

/* Checkbox */
.wa-confirmation {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #555;
    margin: 0;
}

.wa-confirmation input {
    width: 18px;
    height: 18px;
    accent-color: #1b7d1b;
}

.appointment_btn:hover {
    transform: translateY(-3px);
    /* box-shadow: 0 16px 35px rgba(255, 102, 0, 0.35); */
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {

    #exampleModal .modal-body {
        padding: 25px;
    }

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

    .form-group-full {
        grid-column: span 1;
    }

    #exampleModal .modal-title {
        font-size: 24px;
    }

    #exampleModal .modal-title i {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .appointment_btn {
        width: 100%;
    }
}

/* Premium Floating Discount Tag */
.discount-badge {
    position: absolute;
    top: 15px;
    left: auto;
    right: 25px;
    background: #1fa12e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 7px;
    border-radius: 30px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(218, 74, 3, 0.25);
    letter-spacing: 0.5px;
}


.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-group {
    width: calc(50% - 8px);
}

.form-group-full {
    width: 100%;
}

@media(max-width:576px) {
    .form-group {
        width: 100%;
    }
}


.size-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.size-item {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

.size-item:hover {
    background: #03833bdb;
    color: #fff;
}

.size-item.active {
    background: #03833bdb;
    color: #fff;
    border-color: #03833bdb;
}

.magnifier-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.magnifier-glass {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    display: none;
    background-repeat: no-repeat;
    z-index: 999;
}