/* Le style de Shop reste la référence ; seuls les formulaires Woo natifs sont adaptés. */
.pt-woo-wrap{max-width:1120px;margin:0 auto;padding:42px 24px 72px;font-family:var(--font-body--family,Arial,sans-serif);color:#26212c}
.pt-woo-wrap h1{font-size:32px;margin:0 0 32px}.pt-woo-wrap h2,.pt-woo-wrap h3{font-size:22px;margin:24px 0 16px}
.pt-woo-wrap form{width:100%}.pt-woo-wrap .form-row{margin:0 0 18px}.pt-woo-wrap label{display:block;font-size:14px;margin:0 0 6px}
.pt-woo-wrap input:not([type=checkbox]):not([type=radio]),.pt-woo-wrap select,.pt-woo-wrap textarea{width:100%;border:1px solid #c8c4cc;border-radius:6px;padding:12px 14px;background:#fff;color:#241d29;min-height:48px}
.pt-woo-wrap button,.pt-woo-wrap .button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:5px;background:#5b2174;color:white;padding:15px 24px;font-size:16px;cursor:pointer}
.pt-woo-wrap .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:28px}.pt-woo-wrap table{width:100%;border-collapse:collapse}.pt-woo-wrap th,.pt-woo-wrap td{padding:14px 8px;border-bottom:1px solid #ddd;text-align:left}
.pt-woo-wrap .woocommerce-checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:0 48px}.pt-woo-wrap #customer_details{grid-column:1;grid-row:1/5;display:block}.pt-woo-wrap #order_review_heading,.pt-woo-wrap #order_review{grid-column:2}.pt-woo-wrap #order_review{padding:24px;background:#f7f6f8;border-radius:10px}
.pt-woo-wrap .woocommerce-error,.pt-woo-wrap .woocommerce-info,.pt-woo-wrap .woocommerce-message{padding:16px;margin:16px 0;border:1px solid #ddd;border-radius:6px;list-style:none}.pt-woo-wrap .woocommerce-error{border-color:#ad3434;color:#8d2323}
.pt-woo-wrap .form-row input[type=checkbox]{width:auto;margin-right:8px}.pt-woo-wrap .form-row .checkbox{display:inline}.pt-woo-wrap .woocommerce-checkout-payment{margin-top:24px}.pt-woo-wrap .payment_methods{padding:0;list-style:none}
.pt-cart-compact .cart-page{display:block!important}.pt-cart-compact .cart-page__title,.pt-cart-compact .cart-page__more-blocks{display:none}.pt-cart-compact .section{padding:0}.pt-cart-compact .cart-page__summary{margin-top:20px}.pt-cart-compact .cart-items__price{font-size:14px}
.pt-contact-confirmation{margin:16px auto;padding:16px;max-width:900px;background:#eaf6eb;color:#204e29}
.pt-unavailable{opacity:.65}.pt-stock-status{display:block;color:#8b2828;font-size:11px}.pt-pack .pt-stock-status{grid-column:2/-1}
.pt-home:not(.ptc-home) .pt-home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;margin-inline:auto}
@media(max-width:640px){.pt-home:not(.ptc-home) .pt-home-product-grid{grid-template-columns:1fr}}
@media(max-width:749px){.pt-woo-wrap{padding:28px 18px 48px}.pt-woo-wrap .col2-set,.pt-woo-wrap .woocommerce-checkout{display:block}.pt-woo-wrap #order_review{margin-top:16px}.pt-woo-wrap h1{font-size:28px}}

/* Keep secondary prices readable on both selected and unselected packs. */
.pt-page .hero .pt-pack-price s,
.pt-tea-offer .pt-tea-pack-price s {
    color: #575757;
}
.pt-tea-facts-band .pt-tea-note {
    color: inherit;
}

/* WooCommerce supplies one catalogue image for each recommended product. */
.pt-cart-product-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1;
}
.pt-cart-product-photo > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pt-cart-product-photo:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: -3px;
}

/* The cart has two recommendations, with the same type and colours as its order summary. */
#shopify-section-template--30661384929352__product_list_NNFgcy .section-resource-list {
    display: block;
    width: 100%;
    padding: clamp(32px, 5vw, 64px) 16px;
    box-sizing: border-box;
}
#shopify-section-template--30661384929352__product_list_NNFgcy .section-resource-list__header .group-block-content {
    justify-content: center;
}
#shopify-section-template--30661384929352__product_list_NNFgcy .section-resource-list__header h3 {
    width: 100%;
    margin: 0 0 clamp(20px, 3vw, 32px);
    color: var(--pt-brand-plum);
    font: 400 clamp(26px, 4vw, 38px)/1.2 var(--pt-brand-heading);
    letter-spacing: -.025em;
    text-align: center;
}
#shopify-section-template--30661384929352__product_list_NNFgcy .resource-list--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 3vw, 28px);
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
}
#shopify-section-template--30661384929352__product_list_NNFgcy .product-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "title" "price" "action";
    grid-template-rows: auto 1fr auto auto;
    gap: 8px;
    height: 100%;
    padding: clamp(10px, 2vw, 20px);
    color: var(--pt-brand-plum);
    background: #fff;
    border: 1px solid #e7e1e8;
    border-radius: 12px;
    text-align: center;
}
#shopify-section-template--30661384929352__product_list_NNFgcy .card-gallery {
    display: contents;
}
#shopify-section-template--30661384929352__product_list_NNFgcy :is(.product-badges, .product-card__link) {
    display: none;
}
#shopify-section-template--30661384929352__product_list_NNFgcy .pt-cart-product-photo {
    grid-area: photo;
    border-radius: 7px;
}
#shopify-section-template--30661384929352__product_list_NNFgcy a[ref="productTitleLink"] {
    grid-area: title;
    display: block;
    align-self: center;
    color: inherit;
}
#shopify-section-template--30661384929352__product_list_NNFgcy a[ref="productTitleLink"] p {
    margin: 0;
    color: var(--pt-brand-plum);
    font: 500 clamp(16px, 2.4vw, 23px)/1.25 var(--pt-brand-heading);
    text-align: center;
    text-wrap: balance;
}
#shopify-section-template--30661384929352__product_list_NNFgcy product-price {
    grid-area: price;
    display: grid;
    justify-items: center;
    width: 100%;
}
#shopify-section-template--30661384929352__product_list_NNFgcy [ref="priceContainer"] {
    text-align: center;
}
#shopify-section-template--30661384929352__product_list_NNFgcy product-price .price {
    color: var(--pt-brand-plum);
    font: 700 clamp(16px, 2vw, 19px)/1.3 var(--pt-brand-body);
    font-variant-numeric: tabular-nums;
    text-align: center;
}
#shopify-section-template--30661384929352__product_list_NNFgcy quick-add-component {
    grid-area: action;
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    margin-top: 4px;
}
#shopify-section-template--30661384929352__product_list_NNFgcy .quick-add__button--choose {
    display: inline-flex;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    min-height: 44px;
    max-width: 100%;
    padding: 8px clamp(12px, 2.5vw, 22px);
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: var(--pt-brand-plum);
    background: #f3edf5;
    border: 1px solid #e2d7e6;
    border-radius: 6px;
    box-shadow: none;
    font: 700 14px/1.3 var(--pt-brand-body);
    transition: background-color .15s ease;
}
#shopify-section-template--30661384929352__product_list_NNFgcy .quick-add__button--choose:hover {
    background: #e9dfee;
}
#shopify-section-template--30661384929352__product_list_NNFgcy a:focus-visible {
    outline: 2px solid var(--pt-brand-plum);
    outline-offset: 3px;
}

.pt-added-feedback {
    grid-column: 1 / -1;
    text-align: center;
    font: inherit;
}
.pt-added-feedback:not(.is-confirmed):not(.is-pending) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.pt-added-feedback:not(.is-confirmed) a { display: none; }
.pt-added-feedback [role="status"] { display: block; font-weight: 600; }
.pt-added-feedback a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-inline: .5rem;
    color: inherit;
    text-decoration: underline;
}
.pt-cart-update-status {
    text-align: center;
    margin: .5rem auto;
}
[data-pt-cart-key][data-pt-removing] {
    opacity: .55;
}

/* Drink's product titles used an explicit bold weight above the global heading reset. */
#MainContent .pt-product-intro h1.pt-product-title { font-weight: 800 !important; }
/* The original Oolong cover had a neutral studio backdrop. Keep the other slides unchanged. */
#MainContent .hero-gallery .gallery-main:has(+ .thumbs .thumb:first-child[aria-current="true"]) { background-color: #e6e4e7; }

/* Keep the Drink photograph in its original crop. Update the qualifier on the printed seal. */
#pt-home .pt-home-guarantee-image {
  position: relative;
  container-type: size;
}
#pt-home .pt-home-guarantee-art {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: max(100cqw, calc(100cqh * 1080 / 940));
  aspect-ratio: 1080 / 940;
  container-type: inline-size;
}
#pt-home .pt-home-guarantee-art img {
  width: 100%;
  height: 100%;
  max-height: none;
}
#pt-home .pt-home-guarantee-art span {
  position: absolute;
  left: 12.4%;
  top: 7.8%;
  width: 21.5%;
  height: 8.8%;
  display: grid;
  place-items: center;
  border-radius: 55%;
  background: linear-gradient(#fbb83c, #ffcf58);
  color: #271904;
  font: 900 4.15cqw/1 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .025em;
}

@media (max-width: 640px) {
    #pt-home .pt-home-finest,
    #pt-home .pt-home-video,
    #pt-home .pt-home-guarantee {
        min-height: 0;
        padding: 32px 22px;
    }

    #pt-home :is(.pt-home-finest, .pt-home-video, .pt-home-guarantee) h2 {
        margin: 0 0 12px;
        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.12;
        text-wrap: balance;
    }

    #pt-home :is(.pt-home-finest, .pt-home-video, .pt-home-guarantee) h2::after {
        display: none;
    }

    #pt-home :is(.pt-home-finest, .pt-home-video, .pt-home-guarantee) p {
        margin: 0 0 18px;
        line-height: 1.55;
    }

    #pt-home :is(.pt-home-finest, .pt-home-video, .pt-home-guarantee) .pt-home-button {
        min-width: 0;
        min-height: 46px;
        padding: 10px 14px;
        font-size: 15px;
    }

    #pt-home .pt-home-finest > div {
        max-width: 360px;
    }

    #pt-home .pt-home-video {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(154px, 42%, 176px);
        align-items: center;
        gap: 16px;
        background: var(--cream);
        color: var(--ink);
    }

    #pt-home :is(.pt-home-video-copy, .pt-home-guarantee-copy) {
        padding: 0;
    }

    #pt-home .pt-home-video-media {
        height: auto;
        aspect-ratio: 9 / 16;
        border-radius: 8px;
        background: var(--plum);
    }

    #pt-home .pt-home-video-media video {
        height: 100%;
        object-fit: contain;
    }

    #pt-home .pt-home-guarantee {
        gap: 20px;
        background: #ede6f0;
        color: var(--ink);
    }

    #pt-home .pt-home-guarantee-image {
        order: 1;
        align-self: center;
        width: min(100%, 248px);
        height: auto;
        aspect-ratio: 1080 / 940;
        border-radius: 8px;
    }

    #pt-home .pt-home-guarantee-copy a:not(.pt-home-button) {
        color: inherit;
    }
}

@media (max-width: 369px) {
    #pt-home .pt-home-video {
        grid-template-columns: 1fr;
    }

    #pt-home .pt-home-video-media {
        width: 176px;
        justify-self: center;
    }
}

#MainContent .pt-order-promises { grid-template-columns: repeat(auto-fit,minmax(min(190px,100%),1fr)); }
#MainContent .pt-order-promises a, #MainContent .pt-tea-promise a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
#MainContent .pt-tea-chooser .compare-product { display: block; margin-inline: auto; }
#cart-drawer .pt-cart-compact .cart-drawer__content { display: flex; flex-direction: column; min-height: 0; height: 100%; }
#cart-drawer .pt-cart-compact .cart-drawer__items { flex: 1; min-height: 0; overflow-y: auto; }
#cart-drawer .pt-drawer-summary { flex: none; }
#cart-drawer .pt-drawer-total { width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 12px; }
#cart-drawer .pt-drawer-view-cart { display: block; text-align: center; padding: 8px; color: inherit; text-decoration: underline; }

#cart-drawer .pt-drawer-feedback { padding: 20px; }
#cart-drawer .pt-drawer-feedback p { margin: 0 0 16px; }
#cart-drawer .pt-drawer-feedback a { display: inline-flex; align-items: center; min-height: 44px; margin-inline: 8px; color: inherit; text-decoration: underline; }
