/* ONE CLICK CORE — Single Product Page */

/* Hide only the duplicate custom green Shopping List control. */
body.single-product .ocp-shopping-list-control {
    display: none !important;
}

/* Purchase card */
body.single-product .ocm-purchase-card {
    margin: 18px 0 20px;
    padding: 26px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
}

body.single-product .ocm-purchase-card > .price {
    display: block;
    margin: 0 0 12px !important;
    color: #247523 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

body.single-product .ocm-purchase-card > .stock {
    margin: 0 0 20px !important;
    color: #247523;
    font-size: 14px;
    font-weight: 600;
}

body.single-product .ocm-quantity-label {
    margin: 0 0 8px;
    color: #222;
    font-size: 13px;
    font-weight: 700;
}

body.single-product .ocm-purchase-card form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 !important;
}

/* Quantity selector */
body.single-product form.cart .quantity {
    display: inline-flex;
    align-items: center;
    height: 48px;
    margin: 0 !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 7px;
}

body.single-product form.cart .quantity input.qty {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0 !important;
    border-right: 1px solid #e3e3e3 !important;
    border-left: 1px solid #e3e3e3 !important;
    background: #fff;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

body.single-product form.cart .quantity button,
body.single-product form.cart .quantity .minus,
body.single-product form.cart .quantity .plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 48px;
    padding: 0;
    color: #222;
    background: #fff;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

body.single-product form.cart .quantity button:hover,
body.single-product form.cart .quantity .minus:hover,
body.single-product form.cart .quantity .plus:hover {
    color: #247523;
    background: #f3f8f2;
}

/* Add to Basket button */
body.single-product form.cart .single_add_to_cart_button {
    flex: 1 1 190px;
    min-width: 190px;
    min-height: 48px;
    height: 48px !important;
    padding: 0 26px !important;
    border-radius: 7px !important;
    background: #247523 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .2px;
    transition: background-color .2s ease, transform .2s ease;
}

body.single-product form.cart .single_add_to_cart_button:hover {
    background: #185c1a !important;
    transform: translateY(-1px);
}

/* Live total */
body.single-product .ocm-live-product-total {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 0 100%;
    width: 100%;
    margin-top: 2px;
    padding: 13px 16px;
    color: #222;
    background: #f2f7ee;
    border-radius: 7px;
    font-size: 15px;
    line-height: 1.3;
}

body.single-product .ocm-live-product-total span {
    font-weight: 700;
}

body.single-product .ocm-live-product-total strong {
    color: #247523;
    font-size: 18px;
    font-weight: 700;
}

/* Shopping List secondary action */
body.single-product .ocm-purchase-card > .wd-wishlist-btn {
    width: 100%;
    margin: 12px 0 0 !important;
}

body.single-product .ocm-purchase-card > .wd-wishlist-btn a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px !important;
    color: #247523 !important;
    background: #fff;
    border: 1px solid #247523;
    border-radius: 7px;
    font-weight: 600;
}

body.single-product .ocm-purchase-card > .wd-wishlist-btn a:hover {
    background: #f3f8f2;
}

/* Bank transfer */
body.single-product .ocm-transfer-using {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e8e8e8;
}

body.single-product .ocm-transfer-title {
    margin-bottom: 10px;
    color: #222;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}

body.single-product .ocm-bank-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

body.single-product .ocm-bank-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 7px 10px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 7px;
}

body.single-product .ocm-bank-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.single-product .ocm-transfer-note {
    margin-top: 9px;
    color: #555;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 767px) {
    body.single-product .ocm-purchase-card {
        padding: 20px;
        border-radius: 12px;
    }

    body.single-product .ocm-purchase-card form.cart {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.single-product form.cart .quantity {
        width: 100%;
    }

    body.single-product form.cart .quantity input.qty {
        flex: 1;
        width: auto;
    }

    body.single-product form.cart .single_add_to_cart_button {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   ONE CLICK PRODUCT PAGE V2 — TEST PRODUCT ONLY
   ========================================================= */
body.single-product .ocm-v2-product-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 20px 50px;
}

body.single-product .ocm-v2-hero {
    display: grid;
    grid-template-columns: minmax(340px, 1.05fr) minmax(330px, .9fr) minmax(340px, .9fr);
    gap: 38px;
    align-items: start;
}

body.single-product .ocm-v2-gallery,
body.single-product .ocm-v2-information,
body.single-product .ocm-v2-purchase-card {
    min-width: 0;
}

body.single-product .ocm-v2-information .product_title {
    margin: 6px 0 12px;
    color: #151515;
    font-size: clamp(30px, 2.4vw, 44px);
    line-height: 1.12;
}

body.single-product .ocm-v2-rating {
    margin-bottom: 24px;
}

body.single-product .ocm-v2-short-description {
    margin-bottom: 24px;
    padding-bottom: 24px;
    color: #333;
    border-bottom: 1px solid #e8e8e8;
    font-size: 15px;
    line-height: 1.65;
}

body.single-product .ocm-product-details {
    margin: 0;
}

body.single-product .ocm-product-detail-row {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 16px;
    padding: 9px 0;
}

body.single-product .ocm-product-detail-row dt {
    color: #202020;
    font-weight: 700;
}

body.single-product .ocm-product-detail-row dd {
    margin: 0;
    color: #333;
}

body.single-product .ocm-delivery-detail dd strong {
    color: #247523;
}

body.single-product .ocm-v2-purchase-card {
    position: sticky;
    top: 24px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .08);
}

body.single-product .ocm-v2-price .price {
    display: block;
    margin: 0 0 14px !important;
    color: #247523 !important;
    font-size: 32px !important;
    font-weight: 750 !important;
}

body.single-product .ocm-v2-stock {
    display: none;
}

body.single-product .ocm-v2-availability .stock {
    margin: 0 0 24px !important;
    color: #247523;
    font-weight: 650;
}

body.single-product .ocm-v2-purchase-card form.cart {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 12px;
    margin: 0 !important;
}

body.single-product .ocm-v2-purchase-card form.cart .quantity {
    width: 126px;
}

body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button {
    width: 100%;
    min-width: 0;
}

body.single-product .ocm-v2-purchase-card .ocm-live-product-total {
    margin: 12px 0 0;
}

body.single-product .ocm-v2-wishlist {
    margin-top: 14px;
}

body.single-product .ocm-v2-wishlist .wd-wishlist-btn,
body.single-product .ocm-v2-wishlist .wd-wishlist-btn a {
    width: 100%;
}

body.single-product .ocm-v2-wishlist .wd-wishlist-btn a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: #247523 !important;
    border: 1px solid #247523;
    border-radius: 7px;
    font-weight: 650;
}

body.single-product .ocm-v2-lower-content {
    margin-top: 44px;
}

body.single-product .ocm-v2-lower-content .woocommerce-tabs {
    margin-top: 0;
}

@media (max-width: 1100px) {
    body.single-product .ocm-v2-hero {
        grid-template-columns: minmax(320px, 1fr) minmax(330px, 1fr);
    }

    body.single-product .ocm-v2-purchase-card {
        position: static;
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    body.single-product .ocm-v2-product-page {
        padding: 14px 14px 36px;
    }

    body.single-product .ocm-v2-hero {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    body.single-product .ocm-v2-gallery,
    body.single-product .ocm-v2-information,
    body.single-product .ocm-v2-purchase-card {
        width: 100%;
    }

    body.single-product .ocm-v2-information .product_title {
        font-size: 28px;
    }

    body.single-product .ocm-product-detail-row {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 10px;
    }

    body.single-product .ocm-v2-purchase-card {
        padding: 20px;
        border-radius: 12px;
    }

    body.single-product .ocm-v2-purchase-card form.cart {
        grid-template-columns: 1fr;
    }

    body.single-product .ocm-v2-purchase-card form.cart .quantity {
        width: 100%;
    }
}

/* Full-template shell used by ONE CLICK PRODUCT PAGE V2. */
body.single-product .ocm-v2-main {
    width: 100%;
    background: #fff;
}

body.single-product .ocm-v2-shell {
    width: min(1480px, calc(100% - 40px));
    margin: 0 auto;
}

body.single-product .ocm-v2-breadcrumb {
    padding: 24px 20px 0;
}

body.single-product .ocm-v2-breadcrumb .woocommerce-breadcrumb {
    margin: 0;
    color: #666;
    font-size: 14px;
}

body.single-product .ocm-v2-product-page .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.single-product .ocm-v2-product-page .summary {
    width: auto !important;
    float: none !important;
}

@media (max-width: 767px) {
    body.single-product .ocm-v2-shell {
        width: 100%;
    }

    body.single-product .ocm-v2-breadcrumb {
        padding: 14px 14px 0;
    }
}


/* ONE CLICK CORE v1.1.2 — Product information refinement */
body.single-product .ocm-v2-purchase-card form.cart .stock,
body.single-product .ocm-v2-purchase-card form.cart .availability {
    display: none !important;
}

body.single-product .post-views,
body.single-product .post-views-count,
body.single-product [class*="post-views"] {
    display: none !important;
}

body.single-product .ocm-product-details {
    padding-top: 2px;
}

body.single-product .ocm-product-detail-row {
    border-bottom: 1px solid #f0f0f0;
}

body.single-product .ocm-product-detail-row:last-child {
    border-bottom: 0;
}

body.single-product .ocm-product-detail-row dt {
    color: #171717;
}

body.single-product .ocm-product-detail-row dd {
    color: #404040;
}


/* v1.1.3 — keep availability only once in the purchase card. */
body.single-product .ocm-v2-purchase-card form.cart .stock,
body.single-product .ocm-v2-purchase-card form.cart .availability {
    display: none !important;
}

/* v1.1.4 — Availability belongs under the Quantity label. */
body.single-product .ocm-v2-purchase-card .ocm-v2-availability-under-quantity {
    margin: 4px 0 12px;
}

body.single-product .ocm-v2-purchase-card .ocm-v2-availability-under-quantity .stock {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

/* WooCommerce outputs its own stock line inside the add-to-cart form.
   Hide only that duplicate; keep the unit-aware line above the controls. */
body.single-product .ocm-v2-purchase-card form.cart > .stock,
body.single-product .ocm-v2-purchase-card form.cart .woocommerce-variation-availability {
    display: none !important;
}

/* =========================================================
   PRODUCT HIGHLIGHTS — KEY BENEFITS + SUITABLE FOR
   ========================================================= */
body.single-product .ocm-product-highlights {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 24px;
    margin: 34px 0 28px;
}

body.single-product .ocm-highlight-card {
    padding: 28px;
    background: #fff;
    border: 1px solid #e5e9e3;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(25, 65, 25, .055);
}

body.single-product .ocm-highlight-card h2 {
    margin: 0 0 20px;
    color: #1e6424;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.25;
}

body.single-product .ocm-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
}

body.single-product .ocm-suitable-card .ocm-highlight-grid {
    grid-template-columns: 1fr;
}

body.single-product .ocm-highlight-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: #2f332f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

body.single-product .ocm-highlight-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #247523;
    background: #f0f7ec;
    border: 1px solid #dbead4;
    border-radius: 50%;
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 900px) {
    body.single-product .ocm-product-highlights {
        grid-template-columns: 1fr;
    }

    body.single-product .ocm-suitable-card .ocm-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body.single-product .ocm-highlight-card {
        padding: 22px 18px;
    }

    body.single-product .ocm-highlight-grid,
    body.single-product .ocm-suitable-card .ocm-highlight-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ONE CLICK CORE v1.1.6 — Final purchase-card refinement
   ========================================================= */

/* Keep only the unit-aware availability line directly below Quantity. */
body.single-product .ocm-v2-purchase-card .stock:not(.ocm-v2-availability-under-quantity .stock),
body.single-product .ocm-v2-purchase-card .availability,
body.single-product .ocm-v2-purchase-card .woocommerce-variation-availability {
    display: none !important;
}

body.single-product .ocm-v2-purchase-card .ocm-v2-availability-under-quantity .stock {
    display: block !important;
    position: relative;
    padding-left: 18px;
    color: #247523;
    font-size: 14px;
    font-weight: 700;
}

body.single-product .ocm-v2-purchase-card .ocm-v2-availability-under-quantity .stock::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #4cae28;
    font-weight: 800;
}

body.single-product .ocm-v2-purchase-card form.cart .quantity,
body.single-product .ocm-v2-purchase-card form.cart .quantity input.qty,
body.single-product .ocm-v2-purchase-card form.cart .quantity button,
body.single-product .ocm-v2-purchase-card form.cart .quantity .minus,
body.single-product .ocm-v2-purchase-card form.cart .quantity .plus {
    height: 52px !important;
}

body.single-product .ocm-v2-purchase-card form.cart .quantity input.qty {
    width: 52px;
    font-size: 15px;
}

body.single-product .ocm-v2-purchase-card form.cart .quantity button,
body.single-product .ocm-v2-purchase-card form.cart .quantity .minus,
body.single-product .ocm-v2-purchase-card form.cart .quantity .plus {
    width: 44px;
    font-size: 19px;
}

body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button {
    min-height: 52px;
    height: 52px !important;
    font-size: 14px !important;
}

body.single-product .ocm-v2-purchase-card .ocm-bank-logo {
    height: 54px;
    padding: 5px 8px;
}

body.single-product .ocm-v2-purchase-card .ocm-bank-logo img {
    width: 92%;
    height: 92%;
}

/* =========================================================
   STRUCTURED PRODUCT INFORMATION TAB
   ========================================================= */
body.single-product .ocm-v2-lower-content .woocommerce-tabs {
    margin-top: 36px;
}

body.single-product .ocm-v2-lower-content .woocommerce-tabs .panel {
    padding-top: 26px;
}

body.single-product .ocm-product-information-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
    gap: 30px;
    align-items: start;
}

body.single-product .ocm-product-overview,
body.single-product .ocm-information-block {
    padding: 28px;
    background: #fff;
    border: 1px solid #e5e9e3;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(25, 65, 25, .045);
}

body.single-product .ocm-product-overview h2,
body.single-product .ocm-information-block h2 {
    margin: 0 0 16px;
    color: #1e6424;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.25;
}

body.single-product .ocm-product-overview-content {
    color: #454945;
    font-size: 15px;
    line-height: 1.8;
}

body.single-product .ocm-product-overview-content > :first-child {
    margin-top: 0;
}

body.single-product .ocm-product-overview-content > :last-child {
    margin-bottom: 0;
}

body.single-product .ocm-product-information-highlights {
    display: grid;
    gap: 20px;
}

body.single-product .ocm-information-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 16px;
}

body.single-product .ocm-information-suitable .ocm-information-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.single-product .ocm-information-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: #2f332f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 980px) {
    body.single-product .ocm-product-information-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    body.single-product .ocm-product-overview,
    body.single-product .ocm-information-block {
        padding: 22px 18px;
    }

    body.single-product .ocm-information-items,
    body.single-product .ocm-information-suitable .ocm-information-items {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ONE CLICK CORE v1.2.0 — Compact three-card information area
   ========================================================= */

/* The short description remains available in WooCommerce admin but is no
   longer displayed in the purchase-decision area. */
body.single-product .ocm-v2-short-description {
    display: none !important;
}

body.single-product .ocm-v2-lower-content {
    margin-top: 34px;
}

body.single-product .ocm-v2-lower-content .woocommerce-tabs {
    margin-bottom: 26px;
}

body.single-product .ocm-v2-lower-content .woocommerce-tabs .panel {
    padding-top: 22px;
    padding-bottom: 0;
}

body.single-product .ocm-product-information-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .9fr) minmax(280px, .95fr);
    gap: 18px;
    align-items: stretch;
}

body.single-product .ocm-product-info-card,
body.single-product .ocm-product-overview,
body.single-product .ocm-information-block {
    height: 100%;
    padding: 24px;
    border: 1px solid #e5e9e3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(25, 65, 25, .04);
}

body.single-product .ocm-product-info-card h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 17px;
    color: #1e6424;
    font-size: 19px;
    font-weight: 750;
}

body.single-product .ocm-section-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #247523;
    background: #f0f7ec;
    border: 1px solid #dbead4;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1;
}

body.single-product .ocm-product-overview-content {
    font-size: 14px;
    line-height: 1.72;
}

body.single-product .ocm-information-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
}

body.single-product .ocm-information-item {
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

body.single-product .ocm-information-item .ocm-highlight-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 15px;
}

body.single-product .ocm-suitable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.single-product .ocm-suitable-item {
    flex-direction: column;
    justify-content: center;
    min-height: 84px;
    padding: 10px 6px;
    text-align: center;
    border: 1px solid #edf0eb;
    border-radius: 10px;
    background: #fff;
}

/* Related products start immediately after Product Information. */
body.single-product .ocm-v2-lower-content > .related,
body.single-product .ocm-v2-lower-content > .related.products {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-product .ocm-v2-lower-content > .related > h2,
body.single-product .ocm-v2-lower-content > .related.products > h2 {
    margin: 0 0 18px;
    color: #171717;
    font-size: 23px;
    font-weight: 750;
}

body.single-product .ocm-v2-lower-content > .related ul.products {
    margin-top: 0 !important;
}

@media (max-width: 1180px) {
    body.single-product .ocm-product-information-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.single-product .ocm-product-overview {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    body.single-product .ocm-v2-lower-content {
        margin-top: 26px;
    }

    body.single-product .ocm-product-information-panel {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.single-product .ocm-product-overview {
        grid-column: auto;
    }

    body.single-product .ocm-product-info-card,
    body.single-product .ocm-product-overview,
    body.single-product .ocm-information-block {
        padding: 20px 18px;
    }

    body.single-product .ocm-suitable-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.single-product .ocm-v2-lower-content > .related > h2,
    body.single-product .ocm-v2-lower-content > .related.products > h2 {
        font-size: 21px;
    }
}


/* =========================================================
   ONE CLICK CORE v1.2.2 — approved title and compact overview
   ========================================================= */
body.single-product .ocm-v2-information .product_title {
    color: #247523 !important;
    font-weight: 750;
    line-height: 1.16;
}

body.single-product .ocm-product-information-panel {
    align-items: stretch;
}

body.single-product .ocm-product-info-card {
    min-height: 100%;
}

body.single-product .ocm-product-overview-content-wrap {
    position: relative;
}

body.single-product .ocm-product-overview-content {
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: calc(1.72em * 3);
    transition: max-height .32s ease;
}

body.single-product .ocm-product-overview-content::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2.2em;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 82%);
}

body.single-product .ocm-product-overview-content-wrap.is-expanded .ocm-product-overview-content {
    display: block;
    max-height: 1400px;
    -webkit-line-clamp: unset;
}

body.single-product .ocm-product-overview-content-wrap.is-expanded .ocm-product-overview-content::after {
    display: none;
}

body.single-product .ocm-overview-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 0;
    color: #247523;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

body.single-product .ocm-overview-toggle:hover,
body.single-product .ocm-overview-toggle:focus-visible {
    color: #18591b;
}

body.single-product .ocm-overview-toggle:focus-visible {
    outline: 2px solid rgba(36,117,35,.35);
    outline-offset: 4px;
    border-radius: 3px;
}

body.single-product .ocm-overview-toggle-less {
    display: none;
}

body.single-product .ocm-product-overview-content-wrap.is-expanded .ocm-overview-toggle-more {
    display: none;
}

body.single-product .ocm-product-overview-content-wrap.is-expanded .ocm-overview-toggle-less {
    display: inline;
}

body.single-product .ocm-overview-toggle-icon {
    display: inline-block;
    font-size: 17px;
    transition: transform .25s ease;
}

body.single-product .ocm-product-overview-content-wrap.is-expanded .ocm-overview-toggle-icon {
    transform: rotate(180deg);
}

body.single-product .ocm-overview-toggle[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    body.single-product .ocm-product-overview-content,
    body.single-product .ocm-overview-toggle-icon {
        transition: none;
    }
}

/* v1.2.2: show three lines of the actual overview paragraph. */
body.single-product .ocm-product-overview-content {
    line-height: 1.68;
    max-height: calc(1.68em * 3);
}
body.single-product .ocm-product-overview-content > p:first-child { margin-top: 0; }

/* =========================================================
   ONE CLICK CORE v1.3.0 — LOCKED SUPERMARKET PRODUCT PAGE
   Less reading. More shopping.
   ========================================================= */

/* Compact same-day delivery promise replaces generic trust blocks. */
body.single-product .ocm-delivery-promise {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 13px 15px;
    color: #216b24;
    background: #f0f7ec;
    border-radius: 8px;
}
body.single-product .ocm-delivery-promise-icon { font-size: 24px; line-height: 1; }
body.single-product .ocm-delivery-promise strong,
body.single-product .ocm-delivery-promise small { display: block; }
body.single-product .ocm-delivery-promise strong { font-size: 13px; line-height: 1.35; }
body.single-product .ocm-delivery-promise small { margin-top: 2px; font-size: 12px; }

/* Product Information: description left, compact icon information right. */
body.single-product .ocm-product-information-panel {
    grid-template-columns: minmax(340px, .92fr) minmax(0, 1.12fr) minmax(0, 1.12fr);
    gap: 12px;
}
body.single-product .ocm-product-info-card,
body.single-product .ocm-product-overview,
body.single-product .ocm-information-block {
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(25, 65, 25, .035);
}
body.single-product .ocm-product-info-card h2 {
    display: block;
    margin-bottom: 12px;
    color: #171717;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2px;
    text-transform: uppercase;
}
body.single-product .ocm-product-overview-content {
    font-size: 13px;
    line-height: 1.65;
    max-height: calc(1.65em * 4);
    -webkit-line-clamp: 4;
}
body.single-product .ocm-information-items,
body.single-product .ocm-information-suitable .ocm-information-items,
body.single-product .ocm-suitable-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}
body.single-product .ocm-information-item,
body.single-product .ocm-suitable-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    min-height: 0;
    padding: 6px 5px;
    color: #262626;
    border: 0;
    border-right: 1px solid #edf0eb;
    border-radius: 0;
    background: transparent;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
}
body.single-product .ocm-information-item:last-child,
body.single-product .ocm-suitable-item:last-child { border-right: 0; }
body.single-product .ocm-information-item .ocm-highlight-icon,
body.single-product .ocm-suitable-item .ocm-highlight-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border: 0;
    background: transparent;
    font-size: 22px;
}
body.single-product .ocm-overview-toggle { margin-top: 8px; font-size: 12px; }
body.single-product .ocm-v2-lower-content .woocommerce-tabs { margin-bottom: 18px; }

/* Compact supermarket shelves. */
body.single-product .ocm-product-shelf { margin: 22px 0 0; }
body.single-product .ocm-shelf-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}
body.single-product .ocm-shelf-heading h2 {
    margin: 0;
    color: #171717;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}
body.single-product .ocm-shelf-heading a {
    color: #247523;
    font-size: 12px;
    font-weight: 700;
}
body.single-product .ocm-shelf-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}
body.single-product .ocm-shelf-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ecefec;
    border-radius: 9px;
    box-shadow: 0 3px 10px rgba(0,0,0,.035);
    scroll-snap-align: start;
}
body.single-product .ocm-shelf-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 9px;
    background: #fff;
}
body.single-product .ocm-shelf-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
body.single-product .ocm-shelf-card-body { padding: 8px 9px 9px; }
body.single-product .ocm-shelf-name {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    color: #1d1d1d;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
body.single-product .ocm-shelf-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 7px;
}
body.single-product .ocm-shelf-price,
body.single-product .ocm-shelf-price .amount {
    color: #247523 !important;
    font-size: 11px;
    font-weight: 750;
}
body.single-product .ocm-shelf-add {
    display: inline-flex;
    flex: 0 0 25px;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    padding: 0;
    color: #fff !important;
    background: #247523;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}
body.single-product .ocm-shelf-add:hover { background: #185c1a; }

@media (max-width: 1180px) {
    body.single-product .ocm-product-information-panel {
        grid-template-columns: 1fr 1fr;
    }
    body.single-product .ocm-product-overview { grid-column: 1 / -1; }
    body.single-product .ocm-shelf-track { grid-template-columns: repeat(5, minmax(150px, 1fr)); }
}

@media (max-width: 767px) {
    body.single-product .ocm-v2-hero { gap: 18px; }
    body.single-product .ocm-v2-information { display: contents; }
    body.single-product .ocm-v2-gallery { order: 1; }
    body.single-product .ocm-v2-information .product_title,
    body.single-product .ocm-v2-rating { order: 2; }
    body.single-product .ocm-v2-purchase-card { order: 3; }
    body.single-product .ocm-product-details { order: 4; }

    body.single-product .ocm-v2-purchase-card {
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    body.single-product .ocm-v2-purchase-card form.cart {
        grid-template-columns: 108px minmax(0,1fr);
    }
    body.single-product .ocm-v2-purchase-card form.cart .quantity { width: 108px; }
    body.single-product .ocm-v2-purchase-card .ocm-bank-logo { height: 48px; }
    body.single-product .ocm-delivery-promise { margin-top: 14px; }

    body.single-product .ocm-product-information-panel {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    body.single-product .ocm-product-overview { grid-column: auto; }
    body.single-product .ocm-product-info-card,
    body.single-product .ocm-product-overview,
    body.single-product .ocm-information-block { padding: 16px 14px; }
    body.single-product .ocm-information-items,
    body.single-product .ocm-information-suitable .ocm-information-items,
    body.single-product .ocm-suitable-grid { grid-template-columns: repeat(5, minmax(58px,1fr)); }
    body.single-product .ocm-information-item,
    body.single-product .ocm-suitable-item { font-size: 10px; padding: 5px 2px; }
    body.single-product .ocm-information-item .ocm-highlight-icon,
    body.single-product .ocm-suitable-item .ocm-highlight-icon { width: 26px; height: 26px; font-size: 20px; }

    body.single-product .ocm-product-shelf { margin-top: 18px; }
    body.single-product .ocm-shelf-heading h2 { font-size: 16px; }
    body.single-product .ocm-shelf-track {
        display: flex;
        gap: 8px;
        margin-right: -14px;
        padding-right: 14px;
    }
    body.single-product .ocm-shelf-card {
        flex: 0 0 calc((100vw - 50px) / 2.35);
        max-width: 165px;
    }
}

/* =========================================================
   ONE CLICK CORE v1.3.2 — FINAL LOCKED PRODUCT INFO LAYOUT
   Description left; compact benefits + suitable-for stacked right.
   ========================================================= */
body.single-product .ocm-product-information-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(460px, .78fr);
    gap: 14px;
    align-items: stretch;
    width: 100%;
}

body.single-product .ocm-product-information-aside {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, auto));
    gap: 12px;
    min-width: 0;
}

body.single-product .ocm-product-overview,
body.single-product .ocm-product-information-aside .ocm-product-info-card {
    width: 100%;
    margin: 0;
}

body.single-product .ocm-product-information-aside .ocm-information-items,
body.single-product .ocm-product-information-aside .ocm-suitable-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.single-product .ocm-product-information-aside .ocm-information-item {
    min-width: 0;
    padding: 4px 3px 5px;
    font-size: 10.5px;
}

body.single-product .ocm-product-information-aside .ocm-highlight-icon {
    width: 28px;
    height: 28px;
    font-size: 20px;
}

body.single-product .ocm-product-information-aside .ocm-product-info-card h2 {
    margin-bottom: 9px;
    font-size: 12px;
}

body.single-product .ocm-shelf-heading a::after {
    content: " →";
}

@media (max-width: 1180px) {
    body.single-product .ocm-product-information-panel {
        grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
    }
}

@media (max-width: 900px) {
    body.single-product .ocm-product-information-panel {
        grid-template-columns: 1fr;
    }

    body.single-product .ocm-product-information-aside {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
}

@media (max-width: 767px) {
    body.single-product .ocm-product-information-panel {
        gap: 10px;
    }

    body.single-product .ocm-product-information-aside {
        gap: 10px;
    }

    body.single-product .ocm-product-information-aside .ocm-information-items,
    body.single-product .ocm-product-information-aside .ocm-suitable-grid {
        grid-template-columns: repeat(5, minmax(52px, 1fr));
        overflow-x: auto;
        scrollbar-width: none;
    }

    body.single-product .ocm-product-information-aside .ocm-information-items::-webkit-scrollbar,
    body.single-product .ocm-product-information-aside .ocm-suitable-grid::-webkit-scrollbar {
        display: none;
    }

    body.single-product .ocm-product-information-aside .ocm-information-item {
        font-size: 10px;
    }
}

/* =========================================================
   ONE CLICK CORE v1.4.0 — GOLD PRODUCT INFORMATION LAYOUT
   Locked design: description left, compact highlights right.
   These rules intentionally override all earlier prototypes.
   ========================================================= */
body.single-product .ocm-v2-information .product_title {
    color: #247523 !important;
}

body.single-product .ocm-v2-lower-content .woocommerce-tabs .panel {
    width: 100%;
}

body.single-product .ocm-product-information-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) minmax(390px, .85fr) !important;
    gap: 20px !important;
    width: 100% !important;
    align-items: stretch !important;
}

body.single-product .ocm-product-information-panel > .ocm-product-overview {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0;
}

body.single-product .ocm-product-information-aside {
    display: grid !important;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
    min-width: 0;
}

body.single-product .ocm-product-overview,
body.single-product .ocm-product-information-aside .ocm-product-info-card {
    margin: 0 !important;
    padding: 18px 20px !important;
    border: 1px solid #e5e9e3 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(25, 65, 25, .035) !important;
}

body.single-product .ocm-product-overview h2,
body.single-product .ocm-product-information-aside .ocm-product-info-card h2 {
    margin: 0 0 12px !important;
    color: #171717 !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    letter-spacing: .15px;
    text-transform: uppercase;
}

body.single-product .ocm-product-information-aside .ocm-information-items,
body.single-product .ocm-product-information-aside .ocm-suitable-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 6px !important;
    align-items: start;
}

body.single-product .ocm-product-information-aside .ocm-information-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    min-width: 0;
    color: #252525 !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

body.single-product .ocm-product-information-aside .ocm-highlight-icon {
    display: inline-flex !important;
    flex: 0 0 30px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    color: #247523 !important;
    background: #f3f8f0 !important;
    border: 1px solid #dcebd7 !important;
    border-radius: 9px !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

body.single-product .ocm-product-overview-content {
    font-size: 13px !important;
    line-height: 1.62 !important;
}

body.single-product .ocm-overview-toggle {
    margin-top: 10px !important;
    font-size: 11px !important;
}

@media (max-width: 1050px) {
    body.single-product .ocm-product-information-panel {
        grid-template-columns: 1fr !important;
    }

    body.single-product .ocm-product-information-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }
}

@media (max-width: 767px) {
    body.single-product .ocm-product-information-panel {
        display: block !important;
    }

    body.single-product .ocm-product-information-aside {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 12px !important;
    }

    body.single-product .ocm-product-overview,
    body.single-product .ocm-product-information-aside .ocm-product-info-card {
        padding: 16px 14px !important;
    }

    body.single-product .ocm-product-information-aside .ocm-information-items,
    body.single-product .ocm-product-information-aside .ocm-suitable-grid {
        display: flex !important;
        gap: 8px !important;
        overflow-x: auto;
        padding-bottom: 3px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    body.single-product .ocm-product-information-aside .ocm-information-items::-webkit-scrollbar,
    body.single-product .ocm-product-information-aside .ocm-suitable-grid::-webkit-scrollbar {
        display: none;
    }

    body.single-product .ocm-product-information-aside .ocm-information-item {
        flex: 0 0 62px !important;
        scroll-snap-align: start;
        font-size: 10px !important;
    }
}

/* =========================================================
   ONE CLICK CORE v1.4.1 — FINAL PRODUCT PAGE POLISH
   Product Page v1.0 locked release.
   ========================================================= */
body.single-product .ocm-product-information-aside {
    grid-template-rows: auto auto !important;
    align-content: start !important;
}

body.single-product .ocm-product-information-aside .ocm-product-info-card {
    padding: 13px 16px !important;
}

body.single-product .ocm-product-information-aside .ocm-product-info-card h2 {
    margin-bottom: 9px !important;
    font-size: 12px !important;
}

body.single-product .ocm-product-information-aside .ocm-information-items,
body.single-product .ocm-product-information-aside .ocm-suitable-grid {
    gap: 8px !important;
    align-items: center !important;
}

body.single-product .ocm-product-information-aside .ocm-information-item {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 5px !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

body.single-product .ocm-product-information-aside .ocm-highlight-icon {
    flex: 0 0 25px !important;
    width: 25px !important;
    height: 25px !important;
    border-radius: 7px !important;
    font-size: 14px !important;
}

body.single-product .ocm-product-overview-content {
    max-height: calc(1.62em * 3.5) !important;
}

body.single-product .ocm-product-overview-content-wrap.is-expanded .ocm-product-overview-content {
    max-height: 2000px !important;
}

body.single-product .ocm-overview-toggle {
    color: #666 !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.single-product .ocm-overview-toggle:hover,
body.single-product .ocm-overview-toggle:focus {
    color: #247523 !important;
}

body.single-product .ocm-v2-recommendations,
body.single-product .ocm-product-shelves,
body.single-product .related.products {
    margin-top: 18px !important;
}

@media (max-width: 767px) {
    body.single-product .ocm-product-information-aside .ocm-information-item {
        flex: 0 0 auto !important;
        min-width: 92px;
        justify-content: flex-start !important;
        font-size: 10px !important;
    }

    body.single-product .ocm-product-information-aside .ocm-highlight-icon {
        flex-basis: 24px !important;
        width: 24px !important;
        height: 24px !important;
    }
}

/* Fast Add to Basket interaction */
body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button.loading,
body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button.added,
body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button.ocm-cart-error {
    opacity: 1 !important;
    pointer-events: none;
}

body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button.loading::before,
body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button.loading::after,
body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button.added::before,
body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button.added::after {
    display: none !important;
    content: none !important;
}

body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button.added {
    background: #1f7a2e !important;
}

body.single-product .ocm-v2-purchase-card form.cart .single_add_to_cart_button.ocm-cart-error {
    background: #a62b2b !important;
}
