/* =========================================================
   PRODUCT PAGE - PROFESSIONAL ECOMMERCE UI
   ========================================================= */

:root {
    --product-black: #111827;
    --product-dark: #0d0e10;
    --product-gray: #6b7280;
    --product-light-gray: #f7f7f8;
    --product-border: #e7e7e9;
    --product-green: #15803d;
    --product-red: #dc2626;
    --product-warning: #f59e0b;
    --product-radius: 16px;
    --product-shadow: 0 8px 30px rgba(0, 0, 0, .055);
}

/* ---------------------------------------------------------
   GLOBAL PRODUCT PAGE
--------------------------------------------------------- */

.product-page {
    color: var(--product-black);
}

.product-page a {
    text-decoration: none;
}

.product-page .container {
    position: relative;
}

/* ---------------------------------------------------------
   BREADCRUMB
--------------------------------------------------------- */

.product-breadcrumb-section {
    padding-top: 18px;
    padding-bottom: 22px;
}

.product-breadcrumb {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.product-breadcrumb .breadcrumb-item {
    font-size: 13px;
    color: #7b7f87;
}

.product-breadcrumb .breadcrumb-item a {
    color: #6b7280;
    transition: .2s ease;
}

.product-breadcrumb .breadcrumb-item a:hover {
    color: #111827;
}

.product-breadcrumb .breadcrumb-item.active {
    color: #111827;
    font-weight: 500;
}

.product-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #a1a1aa;
}

/* ---------------------------------------------------------
   PRODUCT MAIN AREA
--------------------------------------------------------- */

.product-main-section {
    padding-bottom: 45px;
}

.product-gallery-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--product-border);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--product-shadow);
}

.product-gallery-inner {
    display: flex;
    gap: 14px;
}

.product-thumbs {
    width: 74px;
    flex: 0 0 74px;
}

.product-thumbs .swiper-slide {
    height: 74px !important;
    cursor: pointer;
}

.product-thumb-item {
    width: 74px;
    height: 74px;
    border: 1px solid #e4e4e7;
    border-radius: 11px;
    overflow: hidden;
    background: #fafafa;
    transition: all .25s ease;
}

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

.product-thumbs .swiper-slide-thumb-active .product-thumb-item {
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, .08);
}

.product-main-image {
    min-width: 0;
    flex: 1;
    background: #fafafa;
    border-radius: 16px;
    overflow: hidden;
}

.product-main-image .swiper-slide {
    background: #fafafa;
}

.product-main-image .product-image-item {
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.product-main-image .product-image-item:hover img {
    transform: scale(1.035);
}

/* ---------------------------------------------------------
   PRODUCT DETAILS
--------------------------------------------------------- */

.product-info-card {
    height: 100%;
    padding: 5px 0 0 20px;
}

.product-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

.product-brand strong {
    color: #111827;
    font-weight: 600;
}

.product-title {
    font-size: 18px;
    line-height: 1.28;
    font-weight: 650;
    color: #111827;
    margin: 0 0 13px;
    letter-spacing: -.4px;
}

.product-subtitle {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 16px;
}

/* ---------------------------------------------------------
   META / RATING
--------------------------------------------------------- */

.product-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #fff8e7;
    border-radius: 7px;
}

.product-rating-star {
    color: #f59e0b;
    font-size: 15px;
}

.product-rating-number {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.product-meta-divider {
    width: 1px;
    height: 18px;
    background: #dedee2;
}

.product-meta-item {
    color: #6b7280;
    font-size: 13px;
}

.product-meta-item strong {
    color: #111827;
}

/* ---------------------------------------------------------
   STOCK
--------------------------------------------------------- */

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.product-stock.in-stock {
    color: var(--product-green);
}

.product-stock.out-stock {
    color: var(--product-red);
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* ---------------------------------------------------------
   PRICE CARD
--------------------------------------------------------- */

.product-price-card {
    background: #f8f9fb;
    border: 1px solid #eceef1;
    border-radius: 14px;
    padding: 17px 18px;
    margin-bottom: 20px;
}

.product-price-label {
    display: block;
    font-size: 12px;
    color: #7b8088;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.product-price {
    color: #111827;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.6px;
}

.product-msrp {
    font-size: 14px;
    color: #8a8f98;
}

.product-msrp span {
    text-decoration: line-through;
}

.product-tax-note {
    display: block;
    color: #7b8088;
    font-size: 12px;
    margin-top: 3px;
}

/* ---------------------------------------------------------
   ATTRIBUTES
--------------------------------------------------------- */

.product-options {
    margin-bottom: 20px;
}

.product-option-group {
    margin-bottom: 20px;
}

.product-option-title {
    font-size: 14px;
    font-weight: 650;
    color: #111827;
    margin-bottom: 10px;
}

.product-option-title span {
    color: #6b7280;
    font-weight: 500;
}

.product-option-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-option-radio {
    position: relative;
}

.product-option-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-option-label {
    min-width: 54px;
    padding: 9px 14px;
    border: 1px solid #dfe1e5;
    border-radius: 8px;
    background: #fff;
    color: #34373d;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease;
}

.product-option-radio input:checked + .product-option-label {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.product-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.product-color-option {
    position: relative;
}

.product-color-option input {
    position: absolute;
    opacity: 0;
}

.product-color-label {
    display: block;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: var(--color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #d8dadd;
    cursor: pointer;
    transition: all .2s ease;
}

.product-color-option input:checked + .product-color-label {
    box-shadow: 0 0 0 2px #111827;
    transform: scale(1.08);
}

/* ---------------------------------------------------------
   CTA
--------------------------------------------------------- */

.product-action-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}

.product-add-cart {
    flex: 1;
    min-height: 50px;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .25px;
}

.product-icon-button {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dedfe3;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    transition: all .2s ease;
}

.product-icon-button:hover {
    border-color: #111827;
    background: #111827;
    color: #fff;
}

.product-icon-button.active {
    background: #111827;
    color: #fff;
}

.product-buy-now {
    width: 100%;
    min-height: 50px;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .25px;
    margin-bottom: 18px;
}

/* ---------------------------------------------------------
   TRUST FEATURES
--------------------------------------------------------- */

.product-trust-list {
    border-top: 1px solid #ededee;
    padding-top: 16px;
}

.product-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.product-trust-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-size: 15px;
}

.product-trust-text strong {
    display: block;
    font-size: 13px;
    color: #22252a;
    margin-bottom: 2px;
}

.product-trust-text span {
    display: block;
    font-size: 12px;
    color: #7b8088;
}

/* ---------------------------------------------------------
   BENEFITS SECTION
--------------------------------------------------------- */

.product-benefits-section {
    padding: 15px 0 55px;
}

.product-benefit-card {
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 20px;
    border: 1px solid var(--product-border);
    border-radius: 14px;
    background: #fff;
    transition: all .25s ease;
}

.product-benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--product-shadow);
}

.product-benefit-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 12px;
    background: #f5f5f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
}

.product-benefit-title {
    font-size: 15px;
    font-weight: 650;
    margin: 0 0 5px;
    color: #111827;
}

.product-benefit-description {
    font-size: 13px;
    line-height: 1.55;
    color: #777c85;
    margin: 0;
}

/* ---------------------------------------------------------
   PRODUCT TABS
--------------------------------------------------------- */

.product-tabs-section {
    padding-bottom: 65px;
}

.product-tabs-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid #e5e5e7;
    margin-bottom: 30px;
}

.product-tabs-nav .nav-link {
    position: relative;
    border: none !important;
    background: transparent !important;
    color: #737780;
    padding: 14px 19px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 !important;
}

.product-tabs-nav .nav-link::after {
    content: "";
    position: absolute;
    height: 2px;
    left: 18px;
    right: 18px;
    bottom: -1px;
    background: transparent;
    transition: .2s ease;
}

.product-tabs-nav .nav-link.active {
    color: #111827;
}

.product-tabs-nav .nav-link.active::after {
    background: #111827;
}

/* ---------------------------------------------------------
   DESCRIPTION
--------------------------------------------------------- */

.product-description {
    color: #555b64;
    font-size: 15px;
    line-height: 1.85;
}

.product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-description p {
    margin-bottom: 16px;
}

.product-description table {
    width: 100%;
    margin-bottom: 20px;
}

/* ---------------------------------------------------------
   ADDITIONAL INFORMATION
--------------------------------------------------------- */

.product-info-table-card {
    overflow: hidden;
    border: 1px solid var(--product-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,.035);
}

.product-info-table {
    margin: 0;
}

.product-info-table th,
.product-info-table td {
    padding: 15px 19px;
    vertical-align: middle;
    border-bottom: 1px solid #eeeeef;
}

.product-info-table tr:last-child th,
.product-info-table tr:last-child td {
    border-bottom: 0;
}

.product-info-table th {
    width: 30%;
    color: #3f444c;
    background: #fafafa;
    font-size: 13px;
    font-weight: 650;
}

.product-info-table td {
    color: #666b74;
    font-size: 14px;
}

.product-info-table tr:nth-child(even) th {
    background: #f7f7f8;
}

/* ---------------------------------------------------------
   TECH SPECS
--------------------------------------------------------- */

.techspecs-wrap {
    background: #f7f7f8;
    border: 1px solid #e7e7e8;
    border-radius: 17px;
    padding: 28px;
}

.techspecs-header {
    margin-bottom: 17px;
}

.techspecs-main-title {
    font-size: 23px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.techspecs-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #d9dade;
    border-radius: 8px;
    background: #fff;
    padding: 8px 12px;
    color: #111827;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: .2s ease;
}

.techspecs-expand-btn:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.techspecs-item {
    background: #fff;
    border: 1px solid #e2e3e5;
    border-radius: 11px;
    margin-bottom: 10px;
    overflow: hidden;
}

.techspecs-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 17px;
    border: 0;
    background: #fff;
    color: #111827;
    text-align: left;
    cursor: pointer;
}

.techspecs-title-text {
    font-size: 14px;
    font-weight: 650;
}

.techspecs-arrow {
    display: inline-flex;
    transition: transform .25s ease;
}

.techspecs-item.active .techspecs-arrow {
    transform: rotate(180deg);
}

.techspecs-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.techspecs-content-inner {
    padding: 0 17px 15px;
}

.techspecs-row {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 20px;
    padding: 10px 0;
    border-top: 1px solid #f0f0f1;
}

.techspecs-label {
    font-size: 13px;
    font-weight: 600;
    color: #3f444c;
}

.techspecs-value {
    font-size: 13px;
    color: #666b74;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.techspecs-value a {
    color: #2563eb;
}

.techspecs-value img {
    max-width: 100%;
}

/* ---------------------------------------------------------
   RELATED PRODUCTS
--------------------------------------------------------- */

.related-products-section {
    padding-bottom: 80px;
}

.related-products-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.related-products-title {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.related-slider-buttons {
    display: flex;
    gap: 8px;
}

.related-slider-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dedfe2;
    border-radius: 9px;
    background: #fff;
    color: #111827;
    transition: .2s ease;
}

.related-slider-button:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

/* ---------------------------------------------------------
   QUOTE MODAL
--------------------------------------------------------- */

#quoteModal .modal-content {
    border: 0;
    border-radius: 17px;
    overflow: hidden;
}

#quoteModal .modal-header {
    padding: 19px 22px;
    border-bottom: 1px solid #ececee;
}

#quoteModal .modal-title {
    font-size: 18px;
    font-weight: 700;
}

#quoteModal .modal-body {
    padding: 22px;
}

/* ---------------------------------------------------------
   MOBILE STICKY CTA
--------------------------------------------------------- */

.mobile-product-actions {
    display: none;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1199px) {

    .product-main-image .product-image-item {
        height: 450px;
    }

    .product-info-card {
        padding-left: 5px;
    }

    .product-title {
        font-size: 25px;
    }

    .product-price {
        font-size: 27px;
    }
}

@media (max-width: 991px) {

    .product-gallery-card {
        margin-bottom: 8px;
    }

    .product-info-card {
        padding-left: 0;
    }

    .product-main-image .product-image-item {
        height: 500px;
    }

    .product-benefit-card {
        padding: 16px;
    }

    .product-tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .product-tabs-nav::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 767px) {

    .product-breadcrumb-section {
        padding-top: 12px;
        padding-bottom: 15px;
    }

    .product-gallery-card {
        padding: 10px;
        border-radius: 14px;
    }

    .product-gallery-inner {
        gap: 8px;
        flex-direction: column-reverse;
    }

    .product-thumbs {
        width: 100%;
        height: 68px;
    }

    .product-thumbs .swiper-slide {
        width: 68px !important;
        height: 68px !important;
    }

    .product-thumb-item {
        width: 68px;
        height: 68px;
    }

    .product-main-image {
        width: 100%;
    }

    .product-main-image .product-image-item {
        height: 330px;
        padding: 18px;
    }

    .product-title {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    .product-subtitle {
        font-size: 14px;
    }

    .product-meta-row {
        gap: 7px;
    }

    .product-meta-divider {
        display: none;
    }

    .product-price-card {
        padding: 14px;
    }

    .product-price {
        font-size: 25px;
    }

    .product-benefits-section {
        padding-bottom: 40px;
    }

    .product-benefit-card {
        min-height: auto;
    }

    .product-tabs-section {
        padding-bottom: 45px;
    }

    .product-tabs-nav .nav-link {
        padding: 12px 14px;
        font-size: 13px;
    }

    .product-tabs-nav .nav-link::after {
        left: 14px;
        right: 14px;
    }

    .product-info-table th,
    .product-info-table td {
        display: block;
        width: 100%;
        padding: 11px 14px;
    }

    .product-info-table th {
        border-bottom: 0;
        padding-bottom: 4px;
    }

    .product-info-table td {
        padding-top: 4px;
    }

    .techspecs-wrap {
        padding: 18px 14px;
        border-radius: 13px;
    }

    .techspecs-main-title {
        font-size: 20px;
    }

    .techspecs-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .related-products-title {
        font-size: 22px;
    }

    .related-slider-button {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 575px) {

    .product-main-image .product-image-item {
        height: 290px;
    }

    .product-action-row {
        gap: 7px;
    }

    .product-icon-button {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .product-add-cart {
        min-height: 46px;
    }

    .product-buy-now {
        min-height: 47px;
    }

    .product-option-label {
        padding: 8px 12px;
    }

    .product-benefit-card {
        padding: 14px;
    }

    .product-benefit-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}