/* A calm, spacious product view with WooCommerce's native gallery and purchase form. */
.ag-product-page { --ag-product-sage: #f2f5ee; --ag-product-border: #e1e7dc; padding-bottom: 72px; }
.ag-product-page .woocommerce-breadcrumb { padding: 25px 0 28px; font-size: 13px; }
.ag-product-page div.product:not(.ag-card) {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 0 54px;
    align-items: start;
}
.ag-product-page div.product > .woocommerce-product-gallery,
.ag-product-page div.product > .summary {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}
.ag-product-page div.product > .summary { padding: 2px 0 0; }

/* The slider is a bounded photographic frame; the whole image collection stays in one rail. */
.ag-product-page .woocommerce-product-gallery { position: relative; }
.ag-product-page .woocommerce-product-gallery .flex-viewport {
    height: auto !important;
    aspect-ratio: 1.08;
    overflow: hidden;
    border-radius: 18px;
    background: var(--ag-product-sage);
}
.ag-product-page .woocommerce-product-gallery__wrapper { margin: 0; }
.ag-product-page .woocommerce-product-gallery__image > a {
    display: block;
    width: 100%;
    aspect-ratio: 1.08;
    overflow: hidden;
    background: var(--ag-product-sage);
}
.ag-product-page .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    border-radius: 0;
}
.ag-product-page .woocommerce-product-gallery__image > a > .zoomImg { object-fit: initial; }
.ag-product-page .woocommerce-product-gallery:not(:has(.flex-viewport)) > .woocommerce-product-gallery__wrapper {
    overflow: hidden;
    border-radius: 18px;
}
.ag-product-page .woocommerce-product-gallery:not(:has(.flex-viewport)) > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) { display: none; }
.ag-product-page .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    width: 100%;
    max-height: none;
    margin: 14px 0 0;
    padding: 2px 2px 8px;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #c6d3bc transparent;
    scroll-snap-type: x proximity;
}
.ag-product-page .flex-control-thumbs li {
    flex: 0 0 76px;
    float: none;
    width: 76px;
    margin: 0;
    scroll-snap-align: start;
}
.ag-product-page .flex-control-thumbs img {
    width: 76px;
    height: 76px;
    padding: 3px;
    border: 1px solid var(--ag-product-border);
    border-radius: 10px;
    background: #f7f8f4;
    object-fit: cover;
    opacity: .7;
    transition: opacity .18s, border-color .18s;
}
.ag-product-page .flex-control-thumbs img.flex-active,
.ag-product-page .flex-control-thumbs img:hover { border-color: #4f8060; opacity: 1; }
.ag-product-page .woocommerce-product-gallery__trigger {
    display: grid;
    place-items: center;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e2e6dd;
    background: #ffffffed;
    color: #315842;
    box-shadow: 0 3px 14px #2f492812;
    font-size: 23px;
}
.ag-product-page .woocommerce-product-gallery__trigger img { width: 19px; height: 19px; }
.ag-product-page .woocommerce-product-gallery__trigger svg { width: 22px; height: 22px; }
.ag-product-page .ag-gallery-prev,
.ag-product-page .ag-gallery-next {
    position: absolute;
    top: calc((100% - 100px) / 2);
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e1e6dc;
    border-radius: 50%;
    background: #ffffffed;
    color: #345640;
    box-shadow: 0 3px 14px #2f492810;
    transform: translateY(-50%);
    transition: background .18s;
}
.ag-product-page .ag-gallery-prev { left: 18px; }
.ag-product-page .ag-gallery-next { right: 18px; }
.ag-product-page .ag-gallery-prev:hover,
.ag-product-page .ag-gallery-next:hover { background: #eff5e9; }
.ag-product-page .ag-gallery-prev svg,
.ag-product-page .ag-gallery-next svg { width: 19px; height: 19px; }
.ag-product-page .ag-gallery-count {
    position: absolute;
    right: 18px;
    bottom: 116px;
    z-index: 3;
    padding: 5px 12px;
    border: 1px solid #ffffff70;
    border-radius: 24px;
    background: #ffffffeb;
    color: #3b5140;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}
.ag-product-page .ag-gallery-prev[hidden],
.ag-product-page .ag-gallery-next[hidden],
.ag-product-page .ag-gallery-count[hidden] { display: none !important; }

/* Product identity, real attributes and price. */
.ag-product-page .ag-product-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; min-height: 44px; margin: 0 0 13px; }
.ag-product-page .ag-product-brand { color: #64705f; font-size: 14px; font-weight: 650; letter-spacing: .2px; }
.ag-product-page .ag-product-brand:hover { color: var(--dark-green); text-decoration: underline; text-underline-offset: 4px; }
.ag-product-page .ag-product-stock { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; background: #eff5e9; color: #426d4d; font-size: 12px; font-weight: 650; }
.ag-product-page .ag-product-stock svg { width: 14px; height: 14px; }
.ag-product-page .ag-product-wish {
    position: static;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--ag-product-border);
    border-radius: 50%;
    background: #fff;
    color: #54654f;
}
.ag-product-page .ag-product-wish svg { width: 21px; height: 21px; }
.ag-product-page .ag-product-wish:hover,
.ag-product-page .ag-product-wish.is-saved { background: #eff5e9; color: var(--dark-green); }
.ag-product-page .ag-product-wish.is-saved svg { fill: #45836a25; }
.ag-product-page .product_title { margin: 0 0 22px; color: #29392e; font-size: clamp(27px, 2.35vw, 36px); line-height: 1.3; font-weight: 700; letter-spacing: -.9px; overflow-wrap: anywhere; }
.ag-product-page .ag-product-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 25px; }
.ag-product-page .ag-product-fact { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 12px 13px; border: 1px solid #e9ece5; border-radius: 10px; background: #fafbf8; }
.ag-product-page .ag-product-fact > svg { width: 21px; height: 21px; margin-top: 3px; color: #6b8360; }
.ag-product-page .ag-product-fact span { display: flex; flex-direction: column; min-width: 0; }
.ag-product-page .ag-product-fact small { color: #73806e; font-size: 12px; line-height: 1.5; }
.ag-product-page .ag-product-fact strong { color: #40513e; font-size: 14px; line-height: 1.6; font-weight: 650; overflow-wrap: anywhere; }
.ag-product-page .summary > .price { margin: 0 0 3px; color: #2c4934; font-size: 32px; line-height: 1.5; font-weight: 750; letter-spacing: -.6px; }
.ag-product-page .summary .price .woocommerce-Price-amount { display: inline-block; white-space: nowrap; }
.ag-product-page .summary .price .woocommerce-Price-currencySymbol { font-size: .75em; }
.ag-product-page .ag-price-note { margin: 0 0 22px; color: #798374; font-size: 13px; line-height: 1.65; }
.ag-product-page .ag-price-note a { color: #50704f; text-decoration: underline; text-underline-offset: 3px; }
.ag-product-page .summary .woocommerce-product-details__short-description { margin-bottom: 20px; color: #687563; font-size: 16px; line-height: 1.8; }
.ag-product-page .summary .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.ag-product-page .summary .stock { margin: 10px 0; font-size: 14px; }

/* Native select fields remain functional; JS can offer equivalent tappable options. */
.ag-product-page .summary form.cart { margin: 0; }
.ag-product-page .ag-variant-help { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 9px; padding-top: 19px; border-top: 1px solid var(--ag-product-border); color: #43563e; font-size: 14px; }
.ag-product-page .ag-variant-help > strong { font-weight: 700; }
.ag-product-page .ag-variant-guide { display: inline-flex; align-items: center; gap: 6px; color: #718365; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ag-product-page .ag-variant-guide svg { width: 17px; height: 17px; }
.ag-product-page .summary table.variations { width: 100%; margin: 0 0 19px; border: 0; border-collapse: collapse; }
.ag-product-page .variations th { margin: 15px 0 8px; padding: 0; font-size: 14px; line-height: 1.6; font-weight: 650; }
.ag-product-page .variations th label { font-size: 14px; }
.ag-product-page .variations td { min-width: 0; padding: 0; }
.ag-product-page .variations select { width: 100%; min-height: 48px; padding: 11px 13px; border-color: #d9e1d2; border-radius: 9px; color: #3f543b; font-size: 16px; }
.ag-product-page .variations select.ag-enhanced-select { display: none; }
.ag-product-page .ag-variation-options { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-product-page .ag-variation-options.is-required { outline: 2px solid #8daa79; outline-offset: 5px; border-radius: 9px; }
.ag-product-page .ag-variation-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    max-width: 100%;
    padding: 9px 13px;
    border: 1px solid #dbe2d4;
    border-radius: 9px;
    background: #fff;
    color: #56644d;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;
    overflow-wrap: anywhere;
    transition: border-color .18s, background .18s;
}
.ag-product-page .ag-variation-option:hover:not(:disabled) { border-color: #8faa7d; background: #f5f8ef; }
.ag-product-page .ag-variation-option[aria-pressed="true"] { border-color: #578248; background: #eff5e6; color: #35572d; box-shadow: inset 0 0 0 1px #578248; }
.ag-product-page .ag-variation-option:disabled { opacity: .42; background: #f4f5f1; text-decoration: line-through; }
.ag-product-page .ag-variation-swatch { width: 17px; height: 17px; flex-shrink: 0; border: 1px solid #27392226; border-radius: 50%; }
.ag-product-page .reset_variations { width: fit-content; margin-top: 10px; color: #7b8574; font-size: 12px; text-underline-offset: 3px; }
.ag-product-page .woocommerce-variation-description { margin: 0 0 15px; color: #6b7564; font-size: 15px; line-height: 1.75; }
.ag-product-page .woocommerce-variation-description p:last-child { margin-bottom: 0; }
.ag-product-page .ag-variation-detail { margin: 13px 0 6px; border: 1px solid #e1e7dc; border-radius: 10px; background: #fafbf8; }
.ag-product-page .ag-variation-detail > summary { min-height: 46px; padding: 12px 14px; color: #526847; font-size: 14px; font-weight: 600; cursor: pointer; }
.ag-product-page .ag-variation-detail .woocommerce-variation-description { padding: 0 14px 14px; margin: 0; max-height: none; overflow: visible; }
.ag-product-page .ag-variation-detail ul { margin: 0; padding-left: 18px; }
.ag-product-page .ag-variation-detail li { margin-bottom: 4px; }
.ag-product-page .woocommerce-variation-price .price { display: block; margin: 0 0 12px; color: #2c4934; font-size: 26px; line-height: 1.5; font-weight: 750; }
.ag-product-page.ag-price-synced .woocommerce-variation-price { display: none; }
.ag-product-page .summary form.cart:not(.variations_form),
.ag-product-page .woocommerce-variation-add-to-cart { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; width: 100%; margin: 21px 0 0; }
.ag-product-page .summary .quantity { width: auto; flex: 0 0 auto; margin: 0; }
.ag-product-page .ag-quantity-stepper { display: inline-flex; align-items: center; min-height: 58px; border: 1px solid #dbe3d5; border-radius: 10px; background: #fff; overflow: hidden; }
.ag-product-page .ag-quantity-stepper button { display: grid; place-items: center; width: 33px; height: 56px; padding: 0; border: 0; background: transparent; color: #617657; font-size: 20px; line-height: 1; }
.ag-product-page .ag-quantity-stepper button:hover { background: #f1f5eb; color: #35572d; }
.ag-product-page .ag-quantity-stepper button svg { width: 15px; height: 15px; }
.ag-product-page .quantity input.input-text.qty { width: 44px; height: 56px; padding: 7px 1px; border: 0; border-radius: 0; background: transparent; color: #3d5337; font-size: 16px; font-weight: 650; text-align: center; appearance: textfield; }
.ag-product-page .quantity input.qty::-webkit-inner-spin-button,
.ag-product-page .quantity input.qty::-webkit-outer-spin-button { appearance: none; margin: 0; }
.ag-product-page .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 11px;
    min-width: 160px;
    min-height: 58px;
    padding: 14px 20px;
    border-radius: 10px;
    background: #2b5a42;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
    transition: background .18s, box-shadow .18s;
}
.ag-product-page .single_add_to_cart_button svg { width: 22px; height: 22px; }
.ag-product-page .single_add_to_cart_button:hover { background: #204a35; box-shadow: 0 5px 15px #234b3420; }
.ag-product-page .single_add_to_cart_button.disabled,
.ag-product-page .single_add_to_cart_button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* Reassurance is tied to the store's existing service pages. */
.ag-product-page .ag-product-services { display: grid; gap: 0; margin: 24px 0 17px; padding: 7px 18px; border: 1px solid var(--ag-product-border); border-radius: 13px; background: #f5f7f0; }
.ag-product-page .ag-product-services > a { display: flex; align-items: center; gap: 13px; min-height: 72px; padding: 13px 0; }
.ag-product-page .ag-product-services > a + a { border-top: 1px solid #e2e8da; }
.ag-product-page .ag-product-services > a > svg { width: 23px; height: 23px; color: #708560; }
.ag-product-page .ag-product-services > a > svg:last-child { width: 15px; height: 15px; margin-left: auto; color: #8a9a7d; transform: rotate(-90deg); }
.ag-product-page .ag-product-services div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ag-product-page .ag-product-services strong { color: #455a3c; font-size: 14px; line-height: 1.55; font-weight: 700; }
.ag-product-page .ag-product-services small { color: #7a8671; font-size: 12px; line-height: 1.65; }
.ag-product-page .ag-product-services > a:hover strong { color: #2e6439; text-decoration: underline; text-underline-offset: 3px; }
.ag-product-page .ag-product-details-link { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; color: #668159; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ag-product-page .ag-product-details-link svg { width: 17px; height: 17px; }
.ag-product-page .product_meta { margin-top: 20px; padding-top: 18px; gap: 5px; border-color: var(--ag-product-border); color: #87907f; font-size: 12px; line-height: 1.7; }
.ag-product-page .product_meta a { color: #718265; }

/* Native tabs hold the full description, specifications and actual review content. */
.ag-product-page .woocommerce-tabs {
    grid-column: 1 / -1;
    clear: both;
    min-width: 0;
    margin-top: 54px;
    padding: 0 34px;
    border: 1px solid #e1e7da;
    border-radius: 16px;
    background: #f8f9f4;
}
.ag-product-page .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 26px; padding: 0; border-bottom: 1px solid #dfe6d6; }
.ag-product-page .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: transparent; }
.ag-product-page .woocommerce-tabs ul.tabs li::before,
.ag-product-page .woocommerce-tabs ul.tabs li::after { display: none; }
.ag-product-page .woocommerce-tabs ul.tabs li a { display: block; padding: 22px 0 17px; color: #819078; font-size: 15px; font-weight: 600; }
.ag-product-page .woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid #648554; }
.ag-product-page .woocommerce-tabs ul.tabs li.active a,
.ag-product-page .woocommerce-tabs ul.tabs li a:hover { color: #3c5b31; }
.ag-product-page .woocommerce-tabs .panel { min-width: 0; margin: 0; padding: 0 0 30px; color: #687560; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.ag-product-page .woocommerce-tabs .panel > h2 { margin: 0 0 18px; color: #3d5334; font-size: 23px; font-weight: 650; letter-spacing: -.45px; }
.ag-product-page .woocommerce-tabs .panel h3 { margin-top: 26px; color: #3d5334; font-size: 18px; }
.ag-product-page .woocommerce-tabs .panel p { max-width: 1000px; }
.ag-product-page .woocommerce-tabs .panel ul { padding-left: 20px; line-height: 1.85; }
.ag-product-page .woocommerce-product-attributes { width: 100%; border-collapse: collapse; font-size: 15px; }
.ag-product-page .woocommerce-product-attributes td,
.ag-product-page .woocommerce-product-attributes th { padding: 13px 15px; border-bottom: 1px solid #e1e7da; text-align: left; overflow-wrap: anywhere; }
.ag-product-page .woocommerce-product-attributes th { width: 31%; color: #55694b; background: #eef2e6; font-weight: 600; }
.ag-product-page .woocommerce-product-attributes tr:last-child th,
.ag-product-page .woocommerce-product-attributes tr:last-child td { border-bottom: 0; }
.ag-product-page .woocommerce-tabs .panel a { color: #4d7340; text-decoration: underline; text-underline-offset: 3px; }
.ag-product-page .woocommerce-tabs .panel .button { color: white; text-decoration: none; }
.ag-product-page .woocommerce-tabs #review_form label { font-size: 14px; }
.ag-product-page .woocommerce-tabs #review_form input,
.ag-product-page .woocommerce-tabs #review_form textarea { max-width: 100%; padding: 12px; border: 1px solid #d8e2cf; border-radius: 8px; background: #fff; font-size: 16px; }
.ag-product-page .related.products,
.ag-product-page .up-sells.products { grid-column: 1 / -1; min-width: 0; clear: both; margin-top: 54px; }
.ag-product-page .related.products > h2,
.ag-product-page .up-sells.products > h2 { margin: 0 0 27px; color: #374e30; font-size: 29px; letter-spacing: -.65px; font-weight: 650; }
.ag-product-page .related ul.products,
.ag-product-page .up-sells ul.products { gap: 30px 20px; }
.ag-product-page .related .ag-card,
.ag-product-page .up-sells .ag-card { display: block; }
.ag-product-page .woocommerce-tabs table { max-width: 100%; }
.ag-product-page .woocommerce-product-rating { margin: 0 0 16px; font-size: 14px; }

body.single-product .ag-purchase-bar { display: none; }
body.single-product .ag-purchase-bar[hidden] { display: none !important; }

@media (min-width: 781px) and (max-width: 1100px) {
    .ag-product-page div.product:not(.ag-card) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 32px; }
    .ag-product-page .product_title { font-size: 27px; }
    .ag-product-page .summary > .price { font-size: 28px; }
    .ag-product-page .ag-product-facts { gap: 8px; }
    .ag-product-page .ag-product-fact { padding: 10px; gap: 8px; }
    .ag-product-page .ag-product-fact > svg { width: 18px; height: 18px; }
    .ag-product-page .ag-variant-help { flex-wrap: wrap; }
    .ag-product-page .ag-variation-option { padding-inline: 11px; }
    .ag-product-page .single_add_to_cart_button { min-width: 145px; padding-inline: 13px; font-size: 15px; gap: 8px; }
    .ag-product-page .ag-quantity-stepper button { width: 28px; }
    .ag-product-page .quantity input.input-text.qty { width: 37px; }
    .ag-product-page .ag-product-services { padding-inline: 14px; }
    .ag-product-page .woocommerce-tabs { padding-inline: 26px; }
}

@media (max-width: 780px) {
    .ag-product-page { padding-bottom: 46px; }
    .ag-product-page .woocommerce-breadcrumb { padding: 19px 0; font-size: 12px; line-height: 1.7; }
    .ag-product-page div.product:not(.ag-card) { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ag-product-page div.product > .woocommerce-product-gallery { width: 100%; margin: 0 0 25px; }
    .ag-product-page div.product > .summary { width: 100%; padding: 0; }
    .ag-product-page .woocommerce-product-gallery .flex-viewport { border-radius: 13px; aspect-ratio: 1; }
    .ag-product-page .woocommerce-product-gallery__image > a { aspect-ratio: 1; }
    .ag-product-page .woocommerce-product-gallery:not(:has(.flex-viewport)) > .woocommerce-product-gallery__wrapper { border-radius: 13px; }
    .ag-product-page .woocommerce-product-gallery .flex-control-thumbs { gap: 8px; margin-top: 10px; padding-bottom: 6px; }
    .ag-product-page .flex-control-thumbs li { flex-basis: 62px; width: 62px; }
    .ag-product-page .flex-control-thumbs img { width: 62px; height: 62px; border-radius: 8px; }
    .ag-product-page .woocommerce-product-gallery__trigger { top: 12px; right: 12px; }
    .ag-product-page .ag-gallery-prev,
    .ag-product-page .ag-gallery-next { top: calc((100% - 80px) / 2); width: 40px; height: 40px; }
    .ag-product-page .ag-gallery-prev { left: 10px; }
    .ag-product-page .ag-gallery-next { right: 10px; }
    .ag-product-page .ag-gallery-count { right: 12px; bottom: 93px; padding: 4px 10px; }
    .ag-product-page .ag-product-heading { gap: 8px 10px; margin-bottom: 12px; }
    .ag-product-page .ag-product-brand { font-size: 13px; }
    .ag-product-page .ag-product-stock { font-size: 12px; padding: 4px 9px; }
    .ag-product-page .product_title { margin-bottom: 18px; font-size: 28px; line-height: 1.35; letter-spacing: -.7px; }
    .ag-product-page .ag-product-facts { gap: 9px; margin-bottom: 19px; }
    .ag-product-page .ag-product-fact { gap: 8px; padding: 11px; }
    .ag-product-page .ag-product-fact > svg { width: 19px; height: 19px; }
    .ag-product-page .ag-product-fact small { font-size: 12px; }
    .ag-product-page .ag-product-fact strong { font-size: 14px; }
    .ag-product-page .summary > .price { font-size: 29px; }
    .ag-product-page .ag-price-note { font-size: 13px; margin-bottom: 20px; }
    .ag-product-page .summary .woocommerce-product-details__short-description { font-size: 15px; }
    .ag-product-page .ag-variant-help { padding-top: 17px; flex-wrap: wrap; gap: 7px 12px; }
    .ag-product-page .ag-variant-guide { font-size: 12px; }
    .ag-product-page .variations th,
    .ag-product-page .variations th label { font-size: 15px; }
    .ag-product-page .ag-variation-option { min-height: 44px; padding: 9px 12px; font-size: 14px; }
    .ag-product-page .ag-variation-options { gap: 8px; }
    .ag-product-page .summary form.cart:not(.variations_form),
    .ag-product-page .woocommerce-variation-add-to-cart { gap: 10px; margin-top: 19px; }
    .ag-product-page .ag-quantity-stepper { min-height: 56px; }
    .ag-product-page .ag-quantity-stepper button { width: 30px; height: 54px; }
    .ag-product-page .quantity input.input-text.qty { width: 40px; height: 54px; }
    .ag-product-page .single_add_to_cart_button { min-width: 155px; min-height: 56px; padding: 13px 15px; font-size: 16px; }
    .ag-product-page .ag-product-services { margin-top: 21px; padding: 4px 16px; border-radius: 12px; }
    .ag-product-page .ag-product-services > a { min-height: 72px; gap: 12px; }
    .ag-product-page .ag-product-services strong { font-size: 14px; }
    .ag-product-page .ag-product-services small { font-size: 13px; }
    .ag-product-page .product_meta { font-size: 12px; }
    .ag-product-page .woocommerce-tabs { margin-top: 34px; padding: 0 17px; border-radius: 13px; }
    .ag-product-page .woocommerce-tabs ul.tabs { flex-wrap: nowrap; gap: 22px; overflow-x: auto; margin-bottom: 21px; scrollbar-width: thin; }
    .ag-product-page .woocommerce-tabs ul.tabs li { flex-shrink: 0; }
    .ag-product-page .woocommerce-tabs ul.tabs li a { padding: 18px 0 14px; font-size: 14px; }
    .ag-product-page .woocommerce-tabs .panel { padding-bottom: 23px; font-size: 15px; line-height: 1.85; }
    .ag-product-page .woocommerce-tabs .panel > h2 { font-size: 21px; margin-bottom: 16px; }
    .ag-product-page .woocommerce-product-attributes { font-size: 14px; }
    .ag-product-page .woocommerce-product-attributes td,
    .ag-product-page .woocommerce-product-attributes th { padding: 11px 9px; font-size: 14px; line-height: 1.7; }
    .ag-product-page .woocommerce-product-attributes th { width: 39%; }
    .ag-product-page .related.products,
    .ag-product-page .up-sells.products { margin-top: 36px; }
    .ag-product-page .related.products > h2,
    .ag-product-page .up-sells.products > h2 { margin-bottom: 22px; font-size: 24px; line-height: 1.35; }
    .ag-product-page .related ul.products,
    .ag-product-page .up-sells ul.products { gap: 25px 13px; }
    body.single-product .ag-purchase-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 25;
        display: block;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid #dfe6d6;
        background: #fffffffa;
        box-shadow: 0 -5px 25px #344c2710;
        backdrop-filter: blur(12px);
    }
    body.single-product .ag-purchase-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; max-width: 748px; margin-inline: auto; }
    body.single-product .ag-purchase-bar [data-purchase-price] { flex: 1; min-width: 0; color: #2f4f37; font-size: 19px; line-height: 1.45; font-weight: 750; }
    body.single-product .ag-purchase-bar [data-purchase-price] .woocommerce-Price-amount { display: inline-block; white-space: nowrap; }
    body.single-product .ag-purchase-bar [data-purchase-price] .woocommerce-Price-currencySymbol { font-size: .8em; }
    body.single-product .ag-purchase-bar [data-purchase-price] small { display: block; margin-bottom: 2px; color: #7a8771; font-size: 11px; font-weight: 500; }
    body.single-product .ag-purchase-bar [data-purchase-action] { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; min-height: 48px; max-width: 58%; padding: 11px 16px; border: 0; border-radius: 9px; background: #2b5a42; color: #fff; font-size: 14px; line-height: 1.5; font-weight: 700; }
    body.single-product .ag-purchase-bar [data-purchase-action] svg { width: 19px; height: 19px; }
    body.single-product:has(.ag-purchase-bar:not([hidden])) .site-footer { padding-bottom: calc(87px + env(safe-area-inset-bottom)); }
    body.single-product:has(.ag-purchase-bar:not([hidden])) .wish-toast { bottom: calc(104px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
    .ag-product-page .ag-variation-option,
    .ag-product-page .single_add_to_cart_button,
    .ag-product-page .flex-control-thumbs img,
    .ag-product-page .ag-gallery-prev,
    .ag-product-page .ag-gallery-next { transition: none; }
}
