/* =========================================
   FM Collections Product Detail Page
========================================= */

.product-detail-page {
    width: 100%;
    min-height: 75vh;
    padding: 26px 0 64px;
    background: #f5f7f6;
}

.product-detail-container,
.product-alert-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =========================================
   Success Alert
========================================= */

.product-alert-wrapper {
    padding-top: 20px;
}

.product-alert {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 18px;
    border: 1px solid rgba(46, 125, 50, 0.18);
    border-left: 4px solid #2e7d32;
    border-radius: 15px;
    background: #ffffff;
    color: #263142;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.06);
}

.product-alert-message,
.product-alert a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-alert-message i {
    color: #2e7d32;
}

.product-alert a {
    min-height: 37px;
    padding: 0 15px;
    border-radius: 999px;
    background: #2e7d32;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

/* =========================================
   Top Navigation
========================================= */

.product-top-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

/* =========================================
   Breadcrumb
========================================= */

.product-breadcrumb {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #82908a;
    font-size: 11px;
    line-height: 1.5;
}

.product-breadcrumb a {
    color: #2e7d32;
    font-weight: 750;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: #205e25;
}

.product-breadcrumb i {
    color: #aab3ae;
    font-size: 7px;
}

/* =========================================
   Previous / Grid / Next Product
========================================= */

.product-sequence-navigation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.product-sequence-button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce5de;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    font-size: 11px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(31, 41, 55, 0.04);
    transition:
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.product-sequence-button:hover {
    border-color: #2e7d32;
    background: #eaf5eb;
    color: #2e7d32;
    transform: translateY(-1px);
}

.product-sequence-grid {
    background: #2e7d32;
    color: #ffffff;
    border-color: #2e7d32;
}

.product-sequence-grid:hover {
    background: #256b29;
    color: #ffffff;
}

.product-sequence-button.is-disabled {
    color: #c0c8c3;
    background: #f3f5f4;
    cursor: not-allowed;
}

/* =========================================
   Product Hero
========================================= */

.product-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 28px;
}

/* =========================================
   Product Gallery
========================================= */

.product-gallery {
    min-width: 0;
}

.product-main-image-card {
    position: relative;
    min-height: 545px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 38px;
    border: 1px solid rgba(31, 41, 55, 0.07);
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 76% 18%,
            rgba(255, 255, 255, 0.96),
            transparent 30%
        ),
        linear-gradient(145deg, #edf4ee, #f9fbf9);
    box-shadow: 0 18px 44px rgba(31, 41, 55, 0.07);
}

.product-main-image-stage {
    width: 100%;
    height: 100%;
    min-height: 465px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image {
    width: 100%;
    height: 465px;
    display: block;
    object-fit: contain;
    transition:
        opacity 0.22s ease,
        transform 0.35s ease;
}

.product-main-image-card:hover .product-main-image {
    transform: scale(1.018);
}

.product-main-image.is-changing {
    transform: scale(0.985);
}

.product-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #2e7d32;
}

.product-image-placeholder i {
    font-size: 72px;
}

.product-image-placeholder span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================
   Gallery Badges
========================================= */

.product-discount-badge,
.product-featured-badge {
    position: absolute;
    z-index: 4;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-discount-badge {
    top: 16px;
    right: 16px;
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.18);
}

.product-featured-badge {
    top: 16px;
    left: 16px;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: #2e7d32;
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.08);
}

.product-featured-badge i {
    color: #f59e0b;
}

/* =========================================
   Main Image Navigation Arrows
========================================= */

.product-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(46, 125, 50, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #2e7d32;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(31, 41, 55, 0.11);
    transform: translateY(-50%);
    transition:
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.product-gallery-arrow:hover {
    border-color: #2e7d32;
    background: #2e7d32;
    color: #ffffff;
}

.product-gallery-arrow--previous {
    left: 16px;
}

.product-gallery-arrow--next {
    right: 16px;
}

/* =========================================
   Thumbnail Gallery
========================================= */

.product-thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.product-thumbnail-button {
    min-width: 0;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
    border: 1px solid #dfe7e1;
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 7px 20px rgba(31, 41, 55, 0.04);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.product-thumbnail-button:hover {
    transform: translateY(-2px);
}

.product-thumbnail-button.is-active {
    border-color: #2e7d32;
    box-shadow:
        0 0 0 3px rgba(46, 125, 50, 0.09),
        0 9px 22px rgba(31, 41, 55, 0.06);
}

.product-thumbnail-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* =========================================
   Product Detail Information
========================================= */

.product-detail-info {
    min-width: 0;
    padding: 26px;
    border: 1px solid rgba(31, 41, 55, 0.07);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(31, 41, 55, 0.07);
}

.product-category-badge {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eaf5eb;
    color: #2e7d32;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

.product-detail-info h1 {
    max-width: 650px;
    margin: 0 0 8px;
    color: #1f2937;
    font-size: clamp(1.8rem, 2.45vw, 2.65rem);
    font-weight: 850;
    line-height: 1.16;
    letter-spacing: -0.7px;
}

.product-sku {
    margin: 0 0 11px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.product-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: 12px;
}

.product-rating-text {
    color: #718096;
    font-size: 10px;
    font-weight: 700;
}

.product-short-description {
    margin: 0 0 17px;
    color: #5c6d65;
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================
   Price and Stock
========================================= */

.product-price-stock-row {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(200px, 0.92fr);
    gap: 10px;
    margin-bottom: 12px;
}

.product-price-card {
    min-height: 94px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 16px;
    border: 1px solid #e1e8e3;
    border-radius: 16px;
    background: #ffffff;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.product-price strong {
    color: #2e7d32;
    font-size: 29px;
    font-weight: 900;
    line-height: 1.18;
}

.product-price del {
    color: #94a3b8;
    font-size: 13px;
}

.product-saving {
    display: inline-flex;
    margin-top: 5px;
    color: #15803d;
    font-size: 9px;
    font-weight: 800;
}

/* =========================================
   Stock Card
========================================= */

.product-stock {
    min-height: 94px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
}

.product-stock-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.74);
    font-size: 15px;
}

.product-stock-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.product-stock-content strong {
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 850;
}

.product-stock-content small {
    font-size: 9px;
    font-weight: 650;
}

.product-stock--available {
    border: 1px solid #caecd6;
    background: #ecfdf3;
    color: #166534;
}

.product-stock--low {
    border: 1px solid #f5dda3;
    background: #fff7e6;
    color: #92400e;
}

.product-stock--out {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

/* =========================================
   Flash Offer
========================================= */

.product-flash-offer {
    margin-bottom: 12px;
    padding: 14px 15px;
    border: 1px solid #9bd62d;
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            rgba(244, 255, 227, 0.72),
            #ffffff
        );
}

.product-flash-offer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.product-flash-offer-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 11px;
    background: #eafaac;
    color: #346600;
    font-size: 15px;
}

.product-flash-offer-header h2 {
    margin: 0;
    color: #203022;
    font-size: 14px;
    font-weight: 850;
}

.product-flash-offer-header p {
    margin: 2px 0 0;
    color: #718096;
    font-size: 8px;
    line-height: 1.45;
}

.product-flash-offer-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-flash-offer-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #263142;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
}

.product-flash-offer-list li > i {
    color: #d89a00;
    font-size: 13px;
}

.product-flash-offer-list strong {
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: 0 7px;
    border-radius: 5px;
    background: #174c2c;
    color: #ffffff;
    font-size: 6px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-flash-offer-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #9ca8a0;
    color: #64748b;
    font-size: 8px;
    font-weight: 650;
    line-height: 1.45;
}

.product-flash-offer-note i {
    color: #2e7d32;
}

/* =========================================
   Purchase Controls
========================================= */

.product-purchase-row {
    margin-bottom: 10px;
}

.product-cart-form {
    display: grid;
    grid-template-columns:
        minmax(126px, 0.55fr)
        minmax(160px, 1fr)
        minmax(150px, 0.92fr);
    align-items: end;
    gap: 9px;
}

.product-quantity-group {
    min-width: 0;
}

.product-field-label {
    display: block;
    margin-bottom: 5px;
    color: #475569;
    font-size: 9px;
    font-weight: 800;
}

.product-quantity {
    width: 100%;
    height: 46px;
    display: grid;
    grid-template-columns: 38px minmax(42px, 1fr) 38px;
    overflow: hidden;
    border: 1px solid #d5ded7;
    border-radius: 12px;
    background: #ffffff;
}

.product-quantity-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: #f4f8f4;
    color: #2e7d32;
    font-size: 11px;
    cursor: pointer;
}

.product-quantity-button:hover {
    background: #e8f5e9;
}

.product-quantity input {
    width: 100%;
    height: 46px;
    padding: 0;
    border: 0;
    border-right: 1px solid #e4eae5;
    border-left: 1px solid #e4eae5;
    outline: 0;
    background: #ffffff;
    color: #1f2937;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
    appearance: textfield;
}

.product-quantity input::-webkit-inner-spin-button,
.product-quantity input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.product-availability-note {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #94a3b8;
    font-size: 7px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================================
   Main Purchase Buttons
========================================= */

.product-add-to-cart,
.product-buy-now,
.product-unavailable-button {
    width: 100%;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    transition:
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.product-add-to-cart {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    box-shadow: 0 10px 22px rgba(46, 125, 50, 0.19);
}

.product-add-to-cart:hover {
    background: linear-gradient(135deg, #256b29, #2e7d32);
    transform: translateY(-1px);
    box-shadow: 0 14px 27px rgba(46, 125, 50, 0.25);
}

.product-buy-now {
    background: linear-gradient(135deg, #174c2c, #22663d);
    box-shadow: 0 10px 22px rgba(23, 76, 44, 0.18);
}

.product-buy-now:hover {
    background: linear-gradient(135deg, #123e24, #174c2c);
    transform: translateY(-1px);
    box-shadow: 0 14px 27px rgba(23, 76, 44, 0.24);
}

.product-buy-now.is-loading {
    opacity: 0.7;
    cursor: wait;
}

.product-unavailable-button {
    margin-bottom: 10px;
    background: #aab4ae;
    cursor: not-allowed;
}

/* =========================================
   Secondary Actions
========================================= */

.product-secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 11px;
}

.product-wishlist-form {
    margin: 0;
}

.product-wishlist-button,
.product-whatsapp-button {
    width: 100%;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
}

.product-wishlist-button {
    border: 1px solid #e8caca;
    background: #ffffff;
    color: #b42318;
}

.product-wishlist-button:hover {
    border-color: #dc2626;
    background: #fff5f5;
    color: #991b1b;
    transform: translateY(-1px);
}

.product-whatsapp-button {
    border: 1px solid #bde6ca;
    background: #effcf4;
    color: #15803d;
}

.product-whatsapp-button i {
    font-size: 16px;
}

.product-whatsapp-button:hover {
    border-color: #25d366;
    background: #25d366;
    color: #ffffff;
    transform: translateY(-1px);
}

/* =========================================
   Trust Highlights
========================================= */

.product-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.product-trust-item {
    min-width: 0;
    min-height: 72px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e3ebe5;
    border-radius: 14px;
    background: #f8faf8;
}

.product-trust-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eaf5eb;
    color: #2e7d32;
    font-size: 14px;
}

.product-trust-item > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    color: #82908a;
    font-size: 7px;
    line-height: 1.4;
}

.product-trust-item strong {
    margin-bottom: 2px;
    color: #334155;
    font-size: 9px;
    font-weight: 850;
}

.product-trust-item small {
    color: #82908a;
    font-size: 7px;
    line-height: 1.4;
}

/* =========================================
   Description and Information Section
========================================= */

.product-content-section {
    display: grid;
    grid-template-columns: minmax(0, 1.58fr) minmax(290px, 0.42fr);
    gap: 18px;
    align-items: stretch;
}

.product-content-card,
.product-information-card {
    min-width: 0;
    border: 1px solid rgba(31, 41, 55, 0.07);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(31, 41, 55, 0.055);
}

.product-content-card {
    padding: 26px;
}

.product-information-card {
    height: 100%;
    padding: 23px;
}

.product-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 19px;
}

.product-section-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 13px;
    background: #eaf5eb;
    color: #2e7d32;
    font-size: 16px;
}

.product-section-heading h2,
.product-information-card h2 {
    margin: 0;
    color: #1f2937;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.3;
}

.product-section-heading p {
    margin: 3px 0 0;
    color: #94a3b8;
    font-size: 9px;
}

.product-description-content {
    color: #52635b;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
    white-space: normal;
}

.product-description-content p {
    margin: 0 0 16px;
}

.product-description-content br {
    content: "";
    display: block;
    margin-bottom: 5px;
}

.product-description-content:lang(ur),
.product-description-content [lang="ur"],
.product-description-content [dir="rtl"] {
    direction: rtl;
    color: #42544b;
    font-size: 16px;
    line-height: 2.05;
    text-align: right;
    unicode-bidi: plaintext;
}

/* =========================================
   Product Information
========================================= */

.product-information-card h2 {
    margin-bottom: 15px;
}

.product-information-list {
    display: grid;
    margin: 0;
}

.product-information-list > div {
    display: grid;
    grid-template-columns: minmax(90px, 0.42fr) minmax(0, 0.58fr);
    gap: 12px;
    align-items: center;
    min-height: 49px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1ee;
}

.product-information-list > div:last-child {
    border-bottom: 0;
}

.product-information-list dt {
    color: #78857f;
    font-size: 11px;
    font-weight: 750;
}

.product-information-list dd {
    margin: 0;
    color: #334155;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
    text-align: right;
    overflow-wrap: anywhere;
}

/* =========================================
   Related Products
========================================= */

.related-products-section {
    margin-top: 40px;
}

.related-products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}

.related-products-eyebrow {
    display: inline-block;
    margin-bottom: 5px;
    color: #2e7d32;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.related-products-header h2 {
    margin: 0;
    color: #1f2937;
    font-size: 26px;
    font-weight: 850;
}

.related-products-header > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2e7d32;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.related-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(31, 41, 55, 0.07);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 11px 27px rgba(31, 41, 55, 0.05);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 19px 40px rgba(31, 41, 55, 0.1);
}

.related-product-image-link {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: linear-gradient(145deg, #edf6ee, #fbfcfb);
}

.related-product-image-link img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.related-product-placeholder {
    color: #2e7d32;
    font-size: 40px;
}

.related-product-content {
    padding: 13px;
}

.related-product-category {
    display: block;
    margin-bottom: 5px;
    color: #2e7d32;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.related-product-content h3 {
    min-height: 39px;
    max-height: 39px;
    display: -webkit-box;
    margin: 0 0 6px;
    overflow: hidden;
    color: #1f2937;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-product-content h3 a {
    color: inherit;
    text-decoration: none;
}

.related-product-content h3 a:hover {
    color: #2e7d32;
}

.related-product-content p {
    min-height: 29px;
    max-height: 29px;
    display: -webkit-box;
    margin: 0 0 9px;
    overflow: hidden;
    color: #64748b;
    font-size: 8px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-product-price {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.related-product-price strong {
    color: #2e7d32;
    font-size: 13px;
    font-weight: 850;
}

.related-product-price del {
    color: #94a3b8;
    font-size: 7px;
}

/* =========================================
   Medium Desktop
========================================= */

@media (max-width: 1120px) {
    .product-detail-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 22px;
    }

    .product-main-image-card {
        min-height: 500px;
    }

    .product-main-image-stage,
    .product-main-image {
        height: 420px;
        min-height: 420px;
    }

    .product-cart-form {
        grid-template-columns: minmax(120px, 0.6fr) minmax(150px, 1fr);
    }

    .product-buy-now {
        grid-column: 1 / -1;
    }
}

/* =========================================
   Tablet
========================================= */

@media (max-width: 992px) {
    .product-detail-container,
    .product-alert-wrapper {
        padding-right: 24px;
        padding-left: 24px;
    }

    .product-detail-hero {
        grid-template-columns: 1fr;
    }

    .product-main-image-card {
        min-height: 460px;
    }

    .product-main-image-stage,
    .product-main-image {
        height: 385px;
        min-height: 385px;
    }

    .product-thumbnail-gallery {
        grid-template-columns: repeat(5, minmax(95px, 1fr));
        overflow-x: auto;
    }

    .product-thumbnail-button {
        min-width: 95px;
    }

    .product-content-section {
        grid-template-columns: 1fr;
    }

    .product-information-card {
        height: auto;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-product-image-link {
        height: 210px;
    }
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 576px) {
    .product-detail-page {
        padding: 17px 0 42px;
    }

    .product-detail-container,
    .product-alert-wrapper {
        padding-right: 14px;
        padding-left: 14px;
    }

    .product-alert {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .product-alert a {
        width: 100%;
        justify-content: center;
    }

    .product-top-navigation {
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .product-breadcrumb {
        max-width: calc(100% - 125px);
        font-size: 9px;
    }

    .product-sequence-navigation {
        gap: 4px;
    }

    .product-sequence-button {
        width: 33px;
        height: 33px;
        border-radius: 9px;
        font-size: 9px;
    }

    .product-detail-hero {
        gap: 14px;
        margin-bottom: 17px;
    }

    .product-main-image-card {
        min-height: 320px;
        padding: 20px;
        border-radius: 20px;
    }

    .product-main-image-stage {
        min-height: 275px;
    }

    .product-main-image {
        height: 275px;
    }

    .product-gallery-arrow {
        width: 37px;
        height: 37px;
        font-size: 10px;
    }

    .product-gallery-arrow--previous {
        left: 9px;
    }

    .product-gallery-arrow--next {
        right: 9px;
    }

    .product-discount-badge,
    .product-featured-badge {
        top: 10px;
        min-height: 24px;
        padding: 0 8px;
        font-size: 6px;
    }

    .product-discount-badge {
        right: 10px;
    }

    .product-featured-badge {
        left: 10px;
    }

    .product-thumbnail-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
        overflow-x: visible;
    }

    .product-thumbnail-button {
        min-width: 0;
        height: 72px;
        padding: 6px;
        border-radius: 11px;
    }

    .product-detail-info {
        padding: 19px 15px;
        border-radius: 20px;
    }

    .product-category-badge {
        margin-bottom: 10px;
    }

    .product-detail-info h1 {
        max-width: 100%;
        font-size: 1.65rem;
        line-height: 1.2;
        letter-spacing: -0.4px;
    }

    .product-rating {
        margin-bottom: 11px;
    }

    .product-short-description {
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.72;
    }

    .product-price-stock-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .product-price-card,
    .product-stock {
        min-height: 108px;
    }

    .product-price-card {
        padding: 12px;
    }

    .product-price {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .product-price strong {
        font-size: 23px;
    }

    .product-price del {
        font-size: 11px;
    }

    .product-saving {
        font-size: 8px;
    }

    .product-stock {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 11px;
    }

    .product-stock-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .product-stock-content strong {
        font-size: 12px;
    }

    .product-stock-content small {
        font-size: 8px;
    }

    .product-flash-offer {
        padding: 13px;
        border-radius: 14px;
    }

    .product-flash-offer-header h2 {
        font-size: 15px;
    }

    .product-flash-offer-header p {
        font-size: 9px;
    }

    .product-flash-offer-list li {
        align-items: flex-start;
        font-size: 10px;
    }

    .product-flash-offer-list strong {
        font-size: 6px;
    }

    .product-flash-offer-note {
        font-size: 9px;
    }

    .product-cart-form {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .product-field-label {
        font-size: 12px;
    }

    .product-quantity {
        height: 50px;
        grid-template-columns: 48px minmax(56px, 1fr) 48px;
    }

    .product-quantity-button {
        font-size: 13px;
    }

    .product-quantity input {
        height: 50px;
        font-size: 15px;
    }

    .product-availability-note {
        margin-top: 6px;
        font-size: 10px;
        white-space: normal;
    }

    .product-add-to-cart,
    .product-buy-now,
    .product-unavailable-button {
        height: 54px;
        border-radius: 14px;
        font-size: 14px;
    }

    .product-add-to-cart i,
    .product-buy-now i {
        font-size: 14px;
    }

    .product-secondary-actions {
        grid-template-columns: 1fr;
    }

    .product-wishlist-button,
    .product-whatsapp-button {
        height: 52px;
        border-radius: 14px;
        font-size: 13px;
    }

    .product-wishlist-button i {
        font-size: 14px;
    }

    .product-whatsapp-button {
        font-size: 14px;
    }

    .product-whatsapp-button i {
        font-size: 19px;
    }

    .product-trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .product-trust-item {
        min-height: 88px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 8px 5px;
        text-align: center;
    }

    .product-trust-icon {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

    .product-trust-item > span:last-child {
        align-items: center;
        font-size: 7px;
        line-height: 1.35;
    }

    .product-trust-item strong {
        font-size: 9px;
    }

    .product-trust-item small {
        font-size: 7px;
    }

    .product-content-card,
    .product-information-card {
        padding: 19px 15px;
        border-radius: 18px;
    }

    .product-section-heading h2,
    .product-information-card h2 {
        font-size: 17px;
    }

    .product-description-content {
        font-size: 15px;
        line-height: 1.9;
    }

    .product-description-content:lang(ur),
    .product-description-content [lang="ur"],
    .product-description-content [dir="rtl"] {
        font-size: 16px;
        line-height: 2.05;
    }

    .product-information-list > div {
        min-height: 46px;
        grid-template-columns: minmax(78px, 0.42fr) minmax(0, 0.58fr);
        gap: 10px;
        padding: 9px 0;
    }

    .product-information-list dt,
    .product-information-list dd {
        font-size: 11px;
    }

    .related-products-section {
        margin-top: 30px;
    }

    .related-products-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .related-products-header h2 {
        font-size: 21px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .related-product-card {
        border-radius: 14px;
    }

    .related-product-image-link {
        height: 125px;
        padding: 9px;
    }

    .related-product-content {
        padding: 9px;
    }

    .related-product-content h3 {
        min-height: 33px;
        max-height: 33px;
        font-size: 11px;
    }

    .related-product-price strong {
        font-size: 11px;
    }
}

/* =========================================
   Small Mobile
========================================= */

@media (max-width: 370px) {
    .product-price-stock-row {
        grid-template-columns: 1fr;
    }

    .product-price-card,
    .product-stock {
        min-height: 84px;
    }

    .product-thumbnail-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-trust-grid {
        grid-template-columns: 1fr;
    }

    .product-trust-item {
        min-height: 62px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px 12px;
        text-align: left;
    }

    .product-trust-item > span:last-child {
        align-items: flex-start;
        font-size: 9px;
    }

    .product-trust-item strong {
        font-size: 11px;
    }

    .product-trust-item small {
        font-size: 8px;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .related-product-image-link {
        height: 185px;
    }
}

/* =========================================
   Reduced Motion
========================================= */

@media (prefers-reduced-motion: reduce) {
    .product-sequence-button,
    .product-main-image,
    .product-gallery-arrow,
    .product-thumbnail-button,
    .product-add-to-cart,
    .product-buy-now,
    .product-wishlist-button,
    .product-whatsapp-button,
    .related-product-card {
        transition: none;
    }
}