/* ==========================================================================
   IY SHOP — cart · checkout · thank-you (v1.13.0)
   Loaded only on WooCommerce cart / checkout / order-received screens, on top
   of widgets.css. Everything is scoped to body.iy-shop so nothing leaks.
   Markup is WooCommerce's classic templates; these rules map them onto the
   Invest in Yourself look: warm ivory page, white cards, ink + gold.
   ========================================================================== */

body.iy-shop {
    --sh-ink: #17140F;
    --sh-ink-2: #2B2214;
    --sh-gold: var(--iy-gold, #B98F32);
    --sh-gold-l: #E6C574;
    --sh-gold-soft: rgba(185,143,50,.12);
    --sh-bg: #FBF7EF;
    --sh-card: #FFFFFF;
    --sh-soft: #FFFCF6;
    --sh-line: #E7E0D2;
    --sh-text: #17140F;
    --sh-mute: rgba(23,20,15,.64);
    --sh-r: 28px;
    --sh-r-sm: 14px;
    --sh-shadow: 0 1px 2px rgba(43,34,20,.04), 0 28px 56px -36px rgba(43,34,20,.38);
    --sh-ink-grad: radial-gradient(80% 120% at 0% 0%, rgba(185,143,50,.42) 0%, rgba(185,143,50,0) 58%), radial-gradient(70% 90% at 100% 100%, rgba(185,143,50,.22) 0%, rgba(185,143,50,0) 60%), #17140F;
    --sh-btn-grad: linear-gradient(135deg, #17140F 0%, #2B2214 55%, #6A4F1C 100%);
    --iy-co-pay-h: 560px;
    background: var(--sh-bg) !important;
    color: var(--sh-text);
}

/* The theme's own "Checkout" / "Cart" page title — our head replaces it. */
body.iy-shop .entry-header,
body.iy-shop h1.entry-title,
body.iy-shop .page-header .page-title { display: none !important; }

body.iy-shop .woocommerce {
    max-width: 1180px;
    margin-inline: auto;
    padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 32px) clamp(64px, 9vw, 120px);
    font-family: var(--rp-font, 'Manrope', system-ui, sans-serif);
    color: var(--sh-text);
    box-sizing: border-box;
}
body.iy-shop .iy-co .woocommerce { padding-top: 0; }
body.iy-shop .iy-co { padding-block: clamp(28px, 5vw, 56px) 0; }
body.iy-shop .iy-co .rp-container { max-width: 1180px; }
body.iy-shop .woocommerce *,
body.iy-shop .woocommerce *::before,
body.iy-shop .woocommerce *::after { box-sizing: border-box; }
body.iy-shop .woocommerce a { color: inherit; }

/* ------------------------------------------------------------------- head */
body.iy-shop .iy-shop__head {
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
    margin: 0 0 clamp(24px, 4vw, 40px);
}
body.iy-shop .iy-shop__head .rp-tag { margin: 4px 0 0; }
body.iy-shop .iy-shop__title {
    margin: 0;
    font: 700 clamp(30px, 4vw, 46px)/1.1 var(--rp-font, 'Manrope', sans-serif);
    letter-spacing: -1.2px; color: var(--sh-ink); text-wrap: balance;
}
body.iy-shop .iy-shop__lead { margin: 0; max-width: 58ch; font-size: 17px; line-height: 1.6; color: var(--sh-mute); }

body.iy-shop .iy-shop__steps {
    display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0 0 8px; padding: 0;
    font: 600 13px/1.3 var(--rp-font, sans-serif); color: var(--sh-mute);
}
body.iy-shop .iy-shop__steps li { display: inline-flex; align-items: center; gap: 9px; position: relative; }
body.iy-shop .iy-shop__steps li + li::before {
    content: ""; position: absolute; inset-inline-start: -17px; top: 50%; width: 12px; height: 1px; background: var(--sh-line);
}
body.iy-shop .iy-shop__stepn {
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    border: 1px solid var(--sh-line); background: var(--sh-card); font-size: 12px; color: var(--sh-mute);
}
body.iy-shop .iy-shop__steps li[data-state="now"] { color: var(--sh-ink); }
body.iy-shop .iy-shop__steps li[data-state="now"] .iy-shop__stepn { background: var(--sh-btn-grad); border-color: transparent; color: var(--sh-gold-l); }
body.iy-shop .iy-shop__steps li[data-state="done"] .iy-shop__stepn { background: var(--sh-gold-soft); border-color: rgba(185,143,50,.4); color: #8C6A1F; }

body.iy-shop .iy-shop__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 6px 0 0; padding: 0; }
body.iy-shop .iy-shop__chips li {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 11px;
    border: 1px solid var(--sh-line); border-radius: 999px; background: var(--sh-soft);
    font: 600 13px/1 var(--rp-font, sans-serif); color: var(--sh-ink);
}
body.iy-shop .iy-shop__chips svg { color: var(--sh-gold); flex: none; }

/* ------------------------------------------------------- guest sign-in panel */
body.iy-shop .iy-shop__guest {
    display: block; overflow: clip;
    margin: 0 0 20px; padding: 18px 22px;
    transition: box-shadow .3s ease, border-color .3s ease;
    border: 1px solid rgba(185,143,50,.32); border-radius: 20px;
    background: linear-gradient(180deg, #FFFCF6 0%, #FBF3E2 100%);
}
body.iy-shop .iy-shop__guestrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
body.iy-shop .iy-shop__guesttext { max-width: 60ch; font-size: 14.5px; line-height: 1.55; color: var(--sh-mute); }
body.iy-shop .iy-shop__guesttext strong { color: var(--sh-ink); font-weight: 700; margin-inline-end: 4px; }
body.iy-shop .iy-shop__guestbtns { display: flex; flex-wrap: wrap; gap: 8px; }
body.iy-shop .iy-shop__pill {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px;
    border-radius: 999px; border: 1px solid var(--sh-line); background: var(--sh-card);
    font: 600 14px/1 var(--rp-font, sans-serif); color: var(--sh-ink) !important; text-decoration: none !important;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body.iy-shop .iy-shop__pill:hover { transform: translateY(-1px); border-color: rgba(185,143,50,.55); box-shadow: 0 8px 18px -12px rgba(43,34,20,.5); }
body.iy-shop .iy-shop__pill--dark { background: var(--sh-btn-grad); border-color: transparent; color: #fff !important; }
body.iy-shop .iy-shop__g { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sh-gold-soft); color: #8C6A1F; font-size: 12px; font-weight: 800; }

/* ---------------------------------------------------------------- notices */
body.iy-shop .woocommerce-error,
body.iy-shop .woocommerce-info,
body.iy-shop .woocommerce-message,
body.iy-shop .woocommerce-notice {
    position: relative; list-style: none;
    margin: 0 0 18px; padding: 15px 20px 15px 46px;
    border: 1px solid var(--sh-line); border-radius: var(--sh-r-sm);
    background: var(--sh-card); color: var(--sh-ink);
    font: 500 14.5px/1.5 var(--rp-font, sans-serif);
    box-shadow: none;
}
body.iy-shop .woocommerce-error::before,
body.iy-shop .woocommerce-info::before,
body.iy-shop .woocommerce-message::before {
    content: "i"; position: absolute; inset-inline-start: 16px; top: 15px; display: grid; place-items: center;
    width: 20px; height: 20px; border-radius: 50%; margin: 0;
    background: var(--sh-gold-soft); color: #8C6A1F; font: 800 12px/1 var(--rp-font, sans-serif);
}
body.iy-shop .woocommerce-message::before { content: "\2713"; }
body.iy-shop .woocommerce-error { border-color: rgba(196,87,78,.45); background: #FFF8F6; }
body.iy-shop .woocommerce-error::before { content: "!"; background: rgba(196,87,78,.14); color: #A2433B; }
body.iy-shop .woocommerce-error li { list-style: none; margin: 0; }
body.iy-shop .woocommerce-error li + li { margin-top: 6px; }
body.iy-shop .woocommerce-info a,
body.iy-shop .woocommerce-error a,
body.iy-shop .woocommerce-message a { color: #8C6A1F; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
body.iy-shop .woocommerce-message .button,
body.iy-shop .woocommerce-info .button { float: none; margin-inline-start: 10px; }

/* Coupon toggle → a quiet line, not a banner */
body.iy-shop .woocommerce-form-coupon-toggle .woocommerce-info,
body.iy-shop .woocommerce-form-login-toggle .woocommerce-info {
    background: transparent; border: 1px dashed var(--sh-line); padding-block: 12px;
}
body.iy-shop .checkout_coupon {
    display: flex !important; flex-wrap: wrap; align-items: flex-end; gap: 12px;
    margin: 0 0 20px !important; padding: 18px !important;
    border: 1px solid var(--sh-line) !important; border-radius: 20px !important; background: var(--sh-card);
}
body.iy-shop .checkout_coupon[style*="display: none"],
body.iy-shop .checkout_coupon[style*="display:none"] { display: none !important; }
/* WooCommerce's own checkout login (only when IY Auth is not active): keep its
   hidden state — it opens from "Click here to login". */
body.iy-shop form.woocommerce-form-login {
    margin: 0 0 20px !important; padding: 20px !important;
    border: 1px solid var(--sh-line) !important; border-radius: 20px !important; background: var(--sh-card);
}
body.iy-shop form.woocommerce-form-login[style*="display: none"],
body.iy-shop form.woocommerce-form-login[style*="display:none"] { display: none !important; }
body.iy-shop .checkout_coupon > p:not(.form-row) { flex-basis: 100%; margin: 0; color: var(--sh-mute); font-size: 14px; }
body.iy-shop .checkout_coupon .form-row { margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important; }
body.iy-shop .checkout_coupon .form-row-first { flex: 1 1 220px; }
body.iy-shop .checkout_coupon .clear { display: none; }

/* ------------------------------------------------------------ form fields */
body.iy-shop .woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
body.iy-shop .woocommerce form .form-row label,
body.iy-shop .woocommerce form .form-row > label {
    display: block; margin: 0 0 7px; line-height: 1.3;
    font: 600 13.5px/1.3 var(--rp-font, sans-serif); color: var(--sh-ink);
}
body.iy-shop .woocommerce form .form-row .required { color: var(--sh-gold); text-decoration: none; border: 0; }
body.iy-shop .woocommerce form .form-row .optional { color: var(--sh-mute); font-weight: 500; }
body.iy-shop .woocommerce input[type="text"],
body.iy-shop .woocommerce input[type="email"],
body.iy-shop .woocommerce input[type="tel"],
body.iy-shop .woocommerce input[type="number"],
body.iy-shop .woocommerce input[type="password"],
body.iy-shop .woocommerce textarea,
body.iy-shop .woocommerce select,
body.iy-shop .select2-container .select2-selection--single {
    width: 100%; min-height: 52px; margin: 0;
    padding: 13px 16px;
    border: 1px solid var(--sh-line) !important; border-radius: var(--sh-r-sm) !important;
    background: var(--sh-soft) !important; color: var(--sh-ink) !important;
    font: 500 15.5px/1.4 var(--rp-font, sans-serif) !important;
    box-shadow: none !important; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    -webkit-appearance: none; appearance: none;
}
body.iy-shop .woocommerce select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%238C6A1F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; padding-inline-end: 40px; }
body.iy-shop .woocommerce input::placeholder,
body.iy-shop .woocommerce textarea::placeholder { color: rgba(23,20,15,.38); }
body.iy-shop .woocommerce input:focus,
body.iy-shop .woocommerce textarea:focus,
body.iy-shop .woocommerce select:focus,
body.iy-shop .select2-container--focus .select2-selection--single,
body.iy-shop .select2-container--open .select2-selection--single {
    border-color: var(--sh-gold) !important; background: #fff !important;
    box-shadow: 0 0 0 4px var(--sh-gold-soft) !important;
}
body.iy-shop .woocommerce form .form-row.woocommerce-invalid input.input-text,
body.iy-shop .woocommerce form .form-row.woocommerce-invalid select { border-color: #C4574E !important; }
body.iy-shop .woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--sh-line) !important; }
body.iy-shop .select2-container .select2-selection--single { display: flex; align-items: center; height: auto; }
body.iy-shop .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--sh-ink); }
body.iy-shop .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; right: 14px; }
body.iy-shop .select2-dropdown { border-color: var(--sh-line); border-radius: var(--sh-r-sm); overflow: hidden; }
body.iy-shop .select2-results__option--highlighted[aria-selected] { background: var(--sh-ink) !important; }
body.iy-shop .woocommerce input[type="checkbox"],
body.iy-shop .woocommerce input[type="radio"] { accent-color: var(--sh-gold); width: 18px; height: 18px; vertical-align: -3px; }
body.iy-shop .woocommerce .password-input { display: block; position: relative; }
body.iy-shop .woocommerce .show-password-input { top: 50%; transform: translateY(-50%); right: 14px; }

/* Buttons WooCommerce draws itself (Apply coupon, Update cart, Return …) */
body.iy-shop .woocommerce .button,
body.iy-shop .woocommerce button.button,
body.iy-shop .woocommerce a.button,
body.iy-shop .woocommerce input.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; padding: 0 24px; margin: 0;
    border: 1px solid var(--sh-ink) !important; border-radius: 999px !important;
    background: transparent !important; color: var(--sh-ink) !important;
    font: 600 15px/1 var(--rp-font, sans-serif) !important; text-decoration: none !important;
    box-shadow: none !important; cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
body.iy-shop .woocommerce .button:hover { background: var(--sh-ink) !important; color: #fff !important; }
body.iy-shop .woocommerce .button:disabled,
body.iy-shop .woocommerce .button.disabled { opacity: .45; cursor: default; background: transparent !important; color: var(--sh-ink) !important; }

/* =========================================================================
   CHECKOUT
   ========================================================================= */
body.iy-shop form.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    column-gap: clamp(24px, 3.4vw, 44px);
    align-items: start;
}
body.iy-shop form.woocommerce-checkout > * { grid-column: 1 / -1; }
body.iy-shop form.woocommerce-checkout > #customer_details { grid-column: 1; grid-row: span 2; }
body.iy-shop form.woocommerce-checkout > #order_review_heading,
body.iy-shop form.woocommerce-checkout > #order_review { grid-column: 2; }
body.iy-shop form.woocommerce-checkout.iy-js > #order_review { grid-row: span 2; position: sticky; top: 96px; }

body.iy-shop #customer_details,
body.iy-shop #order_review,
body.iy-shop #order_review_heading { float: none !important; width: auto !important; max-width: none; margin: 0; }

/* Details card */
body.iy-shop #customer_details {
    padding: clamp(22px, 3vw, 36px);
    background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: var(--sh-r);
    box-shadow: var(--sh-shadow);
}
body.iy-shop #customer_details.col2-set::before,
body.iy-shop #customer_details.col2-set::after { display: none; }
body.iy-shop #customer_details .col-1,
body.iy-shop #customer_details .col-2 { float: none !important; width: 100% !important; max-width: none; margin: 0; padding: 0; }
body.iy-shop #customer_details .col-2:not(:has(textarea)):not(:has(.woocommerce-shipping-fields input)) { display: none; }
body.iy-shop #customer_details .col-2 { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--sh-line); }
body.iy-shop .woocommerce-additional-fields:not(:has(textarea)) { display: none; }

body.iy-shop #customer_details h3,
body.iy-shop .woocommerce-billing-fields > h3,
body.iy-shop .woocommerce-additional-fields > h3 {
    display: flex; align-items: center; gap: 12px;
    margin: 0 0 22px; padding: 0;
    font: 700 21px/1.25 var(--rp-font, sans-serif); letter-spacing: -.3px; color: var(--sh-ink);
}
body.iy-shop .woocommerce-billing-fields > h3::before {
    content: "1"; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
    background: var(--sh-btn-grad); color: var(--sh-gold-l); font-size: 13px; font-weight: 700;
}
body.iy-shop .woocommerce-billing-fields__field-wrapper,
body.iy-shop .woocommerce-additional-fields__field-wrapper,
body.iy-shop .woocommerce-shipping-fields__field-wrapper {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px;
}
body.iy-shop #customer_details .form-row { grid-column: 1 / -1; float: none !important; width: auto !important; }
body.iy-shop #customer_details .form-row-first,
body.iy-shop #customer_details .form-row-last,
body.iy-shop #customer_details .form-row.iy-co-half { grid-column: span 1; }
body.iy-shop #customer_details .form-row.iy-co-full,
body.iy-shop #customer_details .form-row-wide { grid-column: 1 / -1; }
body.iy-shop #customer_details .form-row[style*="display: none"] { display: none !important; }

/* Create-account block reads as step two */
body.iy-shop .woocommerce-account-fields {
    margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--sh-line);
}
body.iy-shop .woocommerce-account-fields .create-account { margin: 0; }
body.iy-shop .woocommerce-account-fields p.create-account label { display: flex; align-items: center; gap: 10px; font-weight: 600; }
body.iy-shop .iy-shop__acctnote {
    display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px;
    font-size: 14px; line-height: 1.55; color: var(--sh-mute);
}
body.iy-shop .iy-shop__acctnote b {
    display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
    background: var(--sh-btn-grad); color: var(--sh-gold-l); font-size: 13px;
}
body.iy-shop .iy-shop__acctnote strong { display: block; color: var(--sh-ink); font-size: 17px; margin-bottom: 2px; }

/* Summary card: dark ink header welded onto a white body */
body.iy-shop #order_review_heading {
    position: relative; z-index: 1;
    margin: 0 !important; padding: 22px 26px;
    border-radius: var(--sh-r) var(--sh-r) 0 0;
    background: var(--sh-ink-grad); color: #fff;
    font: 700 19px/1.25 var(--rp-font, sans-serif); letter-spacing: -.2px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
body.iy-shop #order_review_heading::after {
    content: ""; width: 34px; height: 34px; border-radius: 50%; flex: none;
    background: rgba(230,197,116,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E6C574' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/16px no-repeat;
}
body.iy-shop #order_review {
    padding: 8px 26px 26px;
    background: var(--sh-card); border: 1px solid var(--sh-line); border-top: 0;
    border-radius: 0 0 var(--sh-r) var(--sh-r);
    box-shadow: var(--sh-shadow);
}
/* When the script moves the heading inside the card */
body.iy-shop #order_review > #order_review_heading { margin: -8px -26px 8px !important; border-radius: calc(var(--sh-r) - 1px) calc(var(--sh-r) - 1px) 0 0; }
body.iy-shop form.woocommerce-checkout.iy-js > #order_review { border-top: 1px solid var(--sh-line); border-radius: var(--sh-r); overflow: clip; }

/* Order table */
body.iy-shop .woocommerce-checkout-review-order-table {
    width: 100%; margin: 0 !important; border: 0 !important; border-collapse: collapse; border-radius: 0 !important;
    background: transparent;
}
body.iy-shop .woocommerce-checkout-review-order-table thead { display: none; }
body.iy-shop .woocommerce-checkout-review-order-table th,
body.iy-shop .woocommerce-checkout-review-order-table td {
    padding: 15px 0 !important; border: 0 !important; border-bottom: 1px solid var(--sh-line) !important;
    background: transparent !important; vertical-align: top; text-align: start;
    font: 500 15px/1.45 var(--rp-font, sans-serif); color: var(--sh-ink);
}
body.iy-shop .woocommerce-checkout-review-order-table td:last-child,
body.iy-shop .woocommerce-checkout-review-order-table th:last-child { text-align: end; white-space: nowrap; padding-inline-start: 12px !important; }
body.iy-shop .woocommerce-checkout-review-order-table .cart_item .product-name { font-weight: 700; }
body.iy-shop .woocommerce-checkout-review-order-table .product-quantity { font-weight: 500; color: var(--sh-mute); }
body.iy-shop .woocommerce-checkout-review-order-table tfoot th { font-weight: 500; color: var(--sh-mute); }
body.iy-shop .woocommerce-checkout-review-order-table .order-total th,
body.iy-shop .woocommerce-checkout-review-order-table .order-total td {
    border-bottom: 0 !important; padding-top: 18px !important;
    font: 800 24px/1.1 var(--rp-font, sans-serif); letter-spacing: -.6px; color: var(--sh-ink);
}
body.iy-shop .woocommerce-checkout-review-order-table .order-total th { font-size: 16px; letter-spacing: 0; padding-top: 22px !important; }
body.iy-shop .woocommerce-checkout-review-order-table .order-total .amount { color: var(--sh-ink); }
body.iy-shop .woocommerce-checkout-review-order-table .order-total .includes_tax { display: block; font: 500 12px/1.4 var(--rp-font, sans-serif); color: var(--sh-mute); letter-spacing: 0; }
body.iy-shop .woocommerce-checkout-review-order-table .cart-discount td { color: #3E7A52; }

/* Remove-item control */
body.iy-shop .iy-co__remove {
    display: inline-grid; place-items: center; width: 26px; height: 26px; margin-inline-start: 6px;
    border-radius: 50%; color: var(--sh-ink); opacity: .4; vertical-align: middle;
    transition: opacity .15s ease, background-color .15s ease, color .15s ease;
}
body.iy-shop .iy-co__remove:hover { opacity: 1; color: #C4574E; background: rgba(196,87,78,.1); }

/* Payment */
body.iy-shop #payment { background: transparent !important; border-radius: 0; margin: 18px 0 0; }
body.iy-shop #payment ul.payment_methods {
    display: grid; gap: 10px; margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; list-style: none;
}
body.iy-shop #payment ul.payment_methods::before,
body.iy-shop #payment ul.payment_methods::after { display: none; }
body.iy-shop #payment ul.payment_methods li {
    margin: 0 !important; padding: 15px 16px !important; list-style: none;
    border: 1px solid var(--sh-line); border-radius: 18px; background: var(--sh-soft);
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
body.iy-shop #payment ul.payment_methods li:has(> input:checked) {
    border-color: var(--sh-gold); background: #fff; box-shadow: 0 0 0 4px var(--sh-gold-soft);
}
body.iy-shop #payment ul.payment_methods li > label {
    display: inline; margin: 0 0 0 6px; cursor: pointer;
    font: 700 15px/1.4 var(--rp-font, sans-serif); color: var(--sh-ink);
}
body.iy-shop #payment ul.payment_methods li img { max-height: 22px; width: auto; margin-inline-start: 8px; vertical-align: middle; float: none; }
body.iy-shop #payment div.payment_box {
    margin: 12px 0 0 !important; padding: 0 !important; background: transparent !important;
    font-size: 14px; line-height: 1.55; color: var(--sh-mute);
}
body.iy-shop #payment div.payment_box::before { display: none !important; }
body.iy-shop #payment div.payment_box p:last-child { margin-bottom: 0; }
body.iy-shop #payment .woocommerce-notice--info { margin: 0; }
body.iy-shop #payment div.form-row.place-order { margin: 0 !important; padding: 0 !important; }
body.iy-shop .woocommerce-terms-and-conditions-wrapper { font-size: 13px; line-height: 1.55; color: var(--sh-mute); }
body.iy-shop .woocommerce-privacy-policy-text p { margin: 0 0 12px; font-size: 12.5px; color: var(--sh-mute); }
body.iy-shop .woocommerce-privacy-policy-text a { text-decoration: underline; }

/* The pay button */
body.iy-shop #place_order,
body.iy-shop .woocommerce #payment #place_order {
    position: relative; display: flex !important; align-items: center; justify-content: center; gap: 10px;
    float: none !important; width: 100% !important; min-height: 60px; margin: 6px 0 0 !important; padding: 0 28px !important;
    border: 0 !important; border-radius: 999px !important;
    background: var(--sh-btn-grad) !important; color: #fff !important;
    font: 700 16.5px/1 var(--rp-font, sans-serif) !important; letter-spacing: .1px;
    box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 18px 34px -16px rgba(43,34,20,.75) !important;
    cursor: pointer; overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
body.iy-shop #place_order::before {
    content: ""; width: 18px; height: 18px; flex: none;
    background: var(--sh-gold-l);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.iy-shop #place_order:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 22px 40px -16px rgba(43,34,20,.85) !important; }
body.iy-shop #place_order:active { transform: translateY(0); }
body.iy-shop .iy-shop__secure {
    display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 14px 0 0;
    font: 500 12.5px/1.45 var(--rp-font, sans-serif); color: var(--sh-mute); text-align: start;
}
body.iy-shop .iy-shop__secure svg { color: var(--sh-gold); flex: none; margin-top: 2px; }
body.iy-shop .iy-co__note { margin: 22px 0 0; text-align: center; color: var(--sh-mute); }

/* AJAX refresh overlay */
body.iy-shop .blockUI.blockOverlay { background: rgba(251,247,239,.7) !important; border-radius: var(--sh-r); }

/* PayPlus iframe sizing (see widgets.js → bindPayPlus) */
body.iy-shop #pp_iframe,
body.iy-shop iframe[name="payplus-iframe"],
body.iy-shop .pp_iframe > iframe {
    display: block; width: 100% !important; height: var(--iy-co-pay-h) !important; border: 0; border-radius: var(--sh-r-sm);
}
body.iy-shop .iy-co--paygrow #pp_iframe,
body.iy-shop .iy-co--paygrow iframe[name="payplus-iframe"],
body.iy-shop .iy-co--paygrow .pp_iframe > iframe { height: auto !important; min-height: var(--iy-co-pay-h) !important; }
body.iy-shop .pp_iframe,
body.iy-shop .pp_iframe_h,
body.iy-shop .payplus-option-description-area,
body.iy-shop #payment div.payment_box > div,
body.iy-shop #payment div.payment_box form { max-height: none !important; overflow: visible !important; }
body.iy-shop .pp_iframe,
body.iy-shop .pp_iframe_h { height: auto !important; }

/* =========================================================================
   CART
   ========================================================================= */
body.iy-shop--cart .woocommerce:has(> .woocommerce-cart-form) {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    column-gap: clamp(24px, 3.4vw, 44px); align-items: start;
}
body.iy-shop--cart .woocommerce:has(> .woocommerce-cart-form) > * { grid-column: 1 / -1; }
body.iy-shop--cart .woocommerce:has(> .woocommerce-cart-form) > .woocommerce-cart-form { grid-column: 1; }
body.iy-shop--cart .woocommerce:has(> .woocommerce-cart-form) > .cart-collaterals { grid-column: 2; position: sticky; top: 96px; }

body.iy-shop .woocommerce-cart-form {
    padding: clamp(10px, 2vw, 18px) clamp(18px, 3vw, 30px);
    background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: var(--sh-r); box-shadow: var(--sh-shadow);
}
body.iy-shop table.shop_table.cart { width: 100%; margin: 0 !important; border: 0 !important; border-collapse: collapse; border-radius: 0 !important; }
body.iy-shop table.shop_table.cart thead { display: none; }
body.iy-shop table.shop_table.cart tbody { display: block; }
body.iy-shop table.shop_table.cart tr.cart_item {
    display: grid; align-items: center;
    grid-template-columns: 76px minmax(0, 1fr) auto 36px;
    grid-template-areas: "thumb name sub remove" "thumb qty sub remove";
    column-gap: 16px; row-gap: 4px;
    padding: 18px 0; border-bottom: 1px solid var(--sh-line);
}
body.iy-shop table.shop_table.cart tr.cart_item td {
    display: block; padding: 0 !important; border: 0 !important; background: transparent !important; text-align: start !important;
    font: 500 15px/1.4 var(--rp-font, sans-serif); color: var(--sh-ink);
}
body.iy-shop table.shop_table.cart tr.cart_item td::before { display: none !important; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-thumbnail { grid-area: thumb; display: block !important; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-thumbnail img {
    display: block; width: 76px !important; height: 76px; max-width: none; object-fit: cover; border-radius: 18px; background: var(--sh-soft); border: 1px solid var(--sh-line);
}
body.iy-shop table.shop_table.cart tr.cart_item td.product-name { grid-area: name; font-weight: 700; font-size: 16.5px; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-name a { text-decoration: none; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-name a:hover { color: #8C6A1F; }
/* Unit price = subtotal for one-off digital items; the subtotal says it once. */
body.iy-shop table.shop_table.cart tr.cart_item td.product-price { display: none !important; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-quantity { grid-area: qty; justify-self: start; align-self: start; color: var(--sh-mute); font-size: 14px; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-quantity::before { content: "Qty\00a0"; display: inline !important; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-quantity:has(input.qty)::before { display: none !important; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-name { align-self: end; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-quantity .quantity input.qty { width: 74px; min-height: 40px; padding: 6px 10px; text-align: center; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-subtotal { grid-area: sub; justify-self: end; font-weight: 800; font-size: 17px; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-remove { grid-area: remove; justify-self: end; }
body.iy-shop table.shop_table.cart tr.cart_item td.product-remove a.remove {
    display: grid !important; place-items: center; width: 32px !important; height: 32px !important;
    border-radius: 50% !important; color: rgba(23,20,15,.45) !important; background: transparent !important;
    font-size: 22px !important; line-height: 1 !important; font-weight: 400 !important; text-decoration: none;
}
body.iy-shop table.shop_table.cart tr.cart_item td.product-remove a.remove:hover { color: #C4574E !important; background: rgba(196,87,78,.1) !important; }
body.iy-shop table.shop_table.cart tr:not(.cart_item) { display: block; }
body.iy-shop table.shop_table.cart td.actions {
    display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    padding: 18px 0 8px !important; border: 0 !important; background: transparent !important;
}
body.iy-shop table.shop_table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 300px; float: none; }
body.iy-shop table.shop_table.cart td.actions .coupon label { display: none; }
body.iy-shop table.shop_table.cart td.actions .coupon input.input-text { flex: 1 1 160px; width: auto !important; min-height: 50px; margin: 0 !important; }
body.iy-shop table.shop_table.cart td.actions > .button { float: none; margin-inline-start: auto; }
/* "Update cart" means nothing when every item is sold one at a time */
body.iy-shop table.shop_table.cart:not(:has(input.qty)) button[name="update_cart"] { display: none !important; }

body.iy-shop .cart-collaterals { width: auto !important; float: none !important; }
body.iy-shop .cart-collaterals .cross-sells { display: none; }
body.iy-shop .cart-collaterals .cart_totals {
    float: none !important; width: 100% !important; margin: 0;
    background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: var(--sh-r); box-shadow: var(--sh-shadow); overflow: clip;
}
body.iy-shop .cart_totals > h2 {
    display: flex; align-items: center; justify-content: space-between;
    margin: 0; padding: 22px 26px; background: var(--sh-ink-grad); color: #fff;
    font: 700 19px/1.25 var(--rp-font, sans-serif);
}
body.iy-shop .cart_totals table.shop_table { width: calc(100% - 52px); margin: 6px 26px 0 !important; border: 0 !important; border-collapse: collapse; }
body.iy-shop .cart_totals table.shop_table th,
body.iy-shop .cart_totals table.shop_table td {
    padding: 15px 0 !important; border: 0 !important; border-bottom: 1px solid var(--sh-line) !important; background: transparent !important;
    font: 500 15px/1.4 var(--rp-font, sans-serif); color: var(--sh-mute); text-align: start;
}
body.iy-shop .cart_totals table.shop_table td { text-align: end !important; color: var(--sh-ink); }
body.iy-shop .cart_totals table.shop_table td::before { display: none !important; }
body.iy-shop .cart_totals .order-total th,
body.iy-shop .cart_totals .order-total td { border-bottom: 0 !important; font-weight: 800 !important; font-size: 22px !important; color: var(--sh-ink) !important; padding-top: 18px !important; }
body.iy-shop .cart_totals .order-total th { font-size: 16px !important; }
body.iy-shop .cart_totals .wc-proceed-to-checkout { padding: 14px 26px 26px; }
body.iy-shop .woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button {
    width: 100%; min-height: 60px; margin: 0 !important;
    border: 0 !important; background: var(--sh-btn-grad) !important; color: #fff !important;
    font-size: 16.5px !important; font-weight: 700 !important;
    box-shadow: 0 18px 34px -16px rgba(43,34,20,.75) !important;
}
body.iy-shop .cart_totals .wc-proceed-to-checkout a.checkout-button::after { content: "\2192"; font-size: 18px; }
body.iy-shop .woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button:hover { transform: translateY(-1px); background: var(--sh-btn-grad) !important; }

/* Empty cart */
body.iy-shop .iy-shop__empty {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
    max-width: 620px; margin: clamp(10px, 4vw, 40px) auto 22px; padding: clamp(32px, 6vw, 56px) 24px;
    background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: var(--sh-r); box-shadow: var(--sh-shadow);
}
body.iy-shop .iy-shop__emptyicon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--sh-ink-grad); color: var(--sh-gold-l); margin-bottom: 4px; }
body.iy-shop .cart-empty.woocommerce-info { display: none; }
body.iy-shop .return-to-shop { text-align: center; margin: 0; }
body.iy-shop .woocommerce .return-to-shop a.button { background: var(--sh-btn-grad) !important; color: #fff !important; border: 0 !important; min-height: 56px; padding: 0 30px; }

/* =========================================================================
   THANK YOU
   ========================================================================= */
body.iy-shop .woocommerce-order { max-width: 860px; margin-inline: auto; }
body.iy-shop .iy-shop__thanks {
    position: relative; overflow: clip; isolation: isolate;
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    margin: 0 0 24px; padding: clamp(28px, 5vw, 48px);
    border-radius: var(--sh-r); background: var(--sh-ink-grad); color: #fff;
    box-shadow: var(--sh-shadow);
}
body.iy-shop .iy-shop__thanks .iy-shop__title { color: #fff; }
body.iy-shop .iy-shop__thanks .iy-shop__lead { color: rgba(255,255,255,.78); }
body.iy-shop .iy-shop__thanks .iy-shop__steps { color: rgba(255,255,255,.6); }
body.iy-shop .iy-shop__thanks .iy-shop__steps li[data-state="now"] { color: #fff; }
body.iy-shop .iy-shop__thanks .iy-shop__steps .iy-shop__stepn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.7); }
body.iy-shop .iy-shop__thanks .iy-shop__steps li[data-state="done"] .iy-shop__stepn { background: rgba(230,197,116,.16); border-color: rgba(230,197,116,.4); color: var(--sh-gold-l); }
body.iy-shop .iy-shop__thanks .iy-shop__steps li[data-state="now"] .iy-shop__stepn { background: var(--sh-gold-l); color: var(--sh-ink); }
body.iy-shop .iy-shop__thanks .iy-shop__steps li + li::before { background: rgba(255,255,255,.18); }
body.iy-shop .iy-shop__thanksmark {
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    background: var(--sh-gold-l); color: var(--sh-ink); font-size: 26px; font-weight: 800;
    box-shadow: 0 0 0 10px rgba(230,197,116,.14);
}
body.iy-shop .iy-shop__cta {
    display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 28px; margin-top: 6px;
    border-radius: 999px; background: #fff; color: var(--sh-ink) !important; text-decoration: none !important;
    font: 700 16px/1 var(--rp-font, sans-serif);
    transition: transform .15s ease;
}
body.iy-shop .iy-shop__cta:hover { transform: translateY(-1px); }
body.iy-shop .woocommerce-thankyou-order-received { display: none; }
body.iy-shop ul.woocommerce-order-overview {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;
    margin: 0 0 24px !important; padding: 0 !important; list-style: none;
}
body.iy-shop ul.woocommerce-order-overview::before,
body.iy-shop ul.woocommerce-order-overview::after { display: none !important; }
body.iy-shop ul.woocommerce-order-overview li {
    float: none !important; margin: 0 !important; padding: 16px 18px !important; border: 1px solid var(--sh-line) !important;
    border-radius: 18px; background: var(--sh-card);
    font: 600 11.5px/1.4 var(--rp-font, sans-serif) !important; text-transform: uppercase; letter-spacing: .1em; color: var(--sh-mute);
}
body.iy-shop ul.woocommerce-order-overview li strong {
    display: block; margin-top: 6px; text-transform: none; letter-spacing: 0;
    font: 700 15.5px/1.35 var(--rp-font, sans-serif) !important; color: var(--sh-ink); word-break: break-word;
}
body.iy-shop .woocommerce-order-details,
body.iy-shop .woocommerce-customer-details {
    margin: 0 0 20px; padding: clamp(20px, 3vw, 30px);
    background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: var(--sh-r); box-shadow: var(--sh-shadow);
}
body.iy-shop .woocommerce-order-details__title,
body.iy-shop .woocommerce-column__title { margin: 0 0 14px; font: 700 19px/1.3 var(--rp-font, sans-serif); color: var(--sh-ink); }
body.iy-shop .woocommerce-table--order-details { width: 100%; margin: 0 !important; border: 0 !important; border-collapse: collapse; }
body.iy-shop .woocommerce-table--order-details th,
body.iy-shop .woocommerce-table--order-details td { padding: 13px 0 !important; border: 0 !important; border-bottom: 1px solid var(--sh-line) !important; background: transparent !important; text-align: start; font-size: 15px; }
body.iy-shop .woocommerce-table--order-details tfoot tr:last-child th,
body.iy-shop .woocommerce-table--order-details tfoot tr:last-child td { border-bottom: 0 !important; font-weight: 800; font-size: 17px; }
body.iy-shop .woocommerce-table--order-details td:last-child,
body.iy-shop .woocommerce-table--order-details tfoot td { text-align: end; }
body.iy-shop .woocommerce-table--order-details thead { display: none; }
body.iy-shop .woocommerce-customer-details address { border: 0 !important; padding: 0 !important; font-style: normal; line-height: 1.7; color: var(--sh-mute); }
body.iy-shop .woocommerce-order-downloads { margin: 0 0 20px; padding: clamp(20px, 3vw, 30px); background: var(--sh-card); border: 1px solid var(--sh-line); border-radius: var(--sh-r); }
body.iy-shop .woocommerce-order-downloads .button { min-height: 40px; padding: 0 16px; font-size: 13.5px !important; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
    body.iy-shop form.woocommerce-checkout { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
    body.iy-shop form.woocommerce-checkout > #customer_details,
    body.iy-shop form.woocommerce-checkout > #order_review_heading,
    body.iy-shop form.woocommerce-checkout > #order_review { grid-column: 1; grid-row: auto; position: static; }
    body.iy-shop form.woocommerce-checkout:not(.iy-js) > #order_review_heading { margin-bottom: -20px !important; }
    body.iy-shop--cart .woocommerce:has(> .woocommerce-cart-form) { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
    body.iy-shop--cart .woocommerce:has(> .woocommerce-cart-form) > .woocommerce-cart-form,
    body.iy-shop--cart .woocommerce:has(> .woocommerce-cart-form) > .cart-collaterals { grid-column: 1; position: static; }
}
@media (max-width: 600px) {
    body.iy-shop .woocommerce-billing-fields__field-wrapper,
    body.iy-shop .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
    body.iy-shop #customer_details .form-row-first,
    body.iy-shop #customer_details .form-row-last,
    body.iy-shop #customer_details .form-row.iy-co-half { grid-column: 1 / -1; }
    body.iy-shop #order_review { padding-inline: 18px; }
    body.iy-shop #order_review > #order_review_heading { margin-inline: -18px !important; }
    body.iy-shop #order_review_heading { padding: 18px; }
    body.iy-shop .iy-shop__steps { gap: 6px 18px; font-size: 12px; }
    body.iy-shop .iy-shop__steps li:not([data-state="now"]) span:last-child { display: none; }
    body.iy-shop .iy-shop__guest { padding: 16px; }
    body.iy-shop table.shop_table.cart tr.cart_item { grid-template-columns: 60px minmax(0, 1fr) auto 30px; column-gap: 12px; }
    body.iy-shop table.shop_table.cart tr.cart_item td.product-thumbnail img { width: 60px !important; height: 60px; border-radius: 14px; }
    body.iy-shop table.shop_table.cart td.actions > .button { width: 100%; }
}


/* =========================================================================
   Checkout sign-in panel (opens from "Sign in")  — v1.13.2
   ========================================================================= */
body.iy-shop .iy-shop__guest[data-open="1"] { border-color: rgba(185,143,50,.5); box-shadow: 0 24px 48px -32px rgba(43,34,20,.45); }
body.iy-shop .iy-shop__guest[data-open="1"] [data-iy-login-toggle] { box-shadow: 0 0 0 4px var(--sh-gold-soft); }
body.iy-shop .iy-shop__login[hidden] { display: none !important; }
body.iy-shop .iy-shop__login {
    margin: 18px -22px -18px; padding: 22px;
    border-top: 1px solid rgba(185,143,50,.28);
    background: var(--sh-card);
    animation: iyLoginIn .32s cubic-bezier(.2,.8,.2,1);
}
@keyframes iyLoginIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
body.iy-shop .iy-shop__loginform { max-width: 640px; margin: 0 auto; }
body.iy-shop .iy-shop__loginhead { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
body.iy-shop .iy-shop__loginicon {
    display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px;
    background: var(--sh-btn-grad); color: var(--sh-gold-l);
}
body.iy-shop .iy-shop__logintitle { margin: 0; font: 700 19px/1.3 var(--rp-font, sans-serif); color: var(--sh-ink); letter-spacing: -.2px; }
body.iy-shop .iy-shop__loginsub { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: var(--sh-mute); }
body.iy-shop .iy-shop__loginclose {
    margin-inline-start: auto; flex: none; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; border: 1px solid var(--sh-line); background: var(--sh-soft);
    color: var(--sh-mute); font-size: 22px; line-height: 1; cursor: pointer; padding: 0;
    transition: color .15s ease, border-color .15s ease;
}
body.iy-shop .iy-shop__loginclose:hover { color: var(--sh-ink); border-color: var(--sh-gold); }
body.iy-shop .iy-shop__loginerr {
    margin: 0 0 16px; padding: 12px 16px; border-radius: 14px;
    border: 1px solid rgba(196,87,78,.4); background: #FFF8F6; color: #8E3A33; font-size: 14px; line-height: 1.5;
}
body.iy-shop .iy-shop__loginfields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.iy-shop .iy-shop__field { display: block; margin: 0; }
body.iy-shop .iy-shop__field > span:first-child { display: block; margin: 0 0 7px; font: 600 13.5px/1.3 var(--rp-font, sans-serif); color: var(--sh-ink); }
body.iy-shop .iy-shop__field input {
    width: 100%; min-height: 52px; margin: 0; padding: 13px 16px;
    border: 1px solid var(--sh-line) !important; border-radius: var(--sh-r-sm) !important;
    background: var(--sh-soft) !important; color: var(--sh-ink) !important;
    font: 500 15.5px/1.4 var(--rp-font, sans-serif) !important; box-shadow: none !important; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
body.iy-shop .iy-shop__field input:focus { border-color: var(--sh-gold) !important; background: #fff !important; box-shadow: 0 0 0 4px var(--sh-gold-soft) !important; }
body.iy-shop .iy-shop__pw { position: relative; display: block; }
body.iy-shop .iy-shop__pw input { padding-inline-end: 50px; }
body.iy-shop .iy-shop__eye {
    position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; display: grid; place-items: center; padding: 0;
    border: 0; border-radius: 10px; background: transparent; color: var(--sh-mute); cursor: pointer;
}
body.iy-shop .iy-shop__eye:hover, body.iy-shop .iy-shop__eye[aria-pressed="true"] { color: #8C6A1F; background: var(--sh-gold-soft); }
body.iy-shop .iy-shop__loginrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 18px; }
body.iy-shop .iy-shop__check { display: inline-flex; align-items: center; gap: 9px; font: 500 14px/1.3 var(--rp-font, sans-serif); color: var(--sh-ink); cursor: pointer; }
body.iy-shop .iy-shop__check input { accent-color: var(--sh-gold); width: 18px; height: 18px; margin: 0; }
body.iy-shop .iy-shop__forgot { font: 600 14px/1.3 var(--rp-font, sans-serif); color: #8C6A1F !important; text-decoration: none; }
body.iy-shop .iy-shop__forgot:hover { text-decoration: underline; text-underline-offset: 3px; }
body.iy-shop .iy-shop__loginbtn {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 26px;
    border: 0; border-radius: 999px; cursor: pointer;
    background: var(--sh-btn-grad); color: #fff; font: 700 16px/1 var(--rp-font, sans-serif);
    box-shadow: 0 18px 34px -18px rgba(43,34,20,.8);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
body.iy-shop .iy-shop__loginbtn:hover { transform: translateY(-1px); }
body.iy-shop .iy-shop__loginbtn[aria-busy="true"] { opacity: .7; pointer-events: none; }
body.iy-shop .iy-shop__loginnote { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--sh-mute); }
@media (max-width: 600px) {
    body.iy-shop .iy-shop__loginfields { grid-template-columns: minmax(0, 1fr); }
    body.iy-shop .iy-shop__login { margin: 16px -16px -16px; padding: 18px 16px; }
    body.iy-shop .iy-shop__guestbtns { width: 100%; }
    body.iy-shop .iy-shop__guestbtns .iy-shop__pill { flex: 1 1 auto; justify-content: center; }
}

/* =========================================================================
   "Signed in successfully" — centred message
   ========================================================================= */
.iy-welcome {
    position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px;
    animation: iyWelFade .25s ease both;
}
.iy-welcome[data-closing="1"] { animation: iyWelOut .22s ease both; }
.iy-welcome__backdrop { position: absolute; inset: 0; background: rgba(23,20,15,.46); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.iy-welcome__card {
    position: relative; width: min(440px, 100%); overflow: hidden;
    padding: 38px 30px 30px; border-radius: 30px; text-align: center;
    background: radial-gradient(90% 70% at 50% 0%, rgba(185,143,50,.16) 0%, rgba(185,143,50,0) 70%), #FFFCF6;
    border: 1px solid #E7E0D2;
    box-shadow: 0 40px 80px -30px rgba(23,20,15,.55);
    font-family: var(--rp-font, 'Manrope', system-ui, sans-serif); color: #17140F;
    animation: iyWelPop .45s cubic-bezier(.2,1.2,.3,1) both;
}
.iy-welcome__mark {
    display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
    background: linear-gradient(135deg, #17140F 0%, #2B2214 55%, #6A4F1C 100%); color: #E6C574;
    box-shadow: 0 0 0 10px rgba(185,143,50,.12), 0 16px 30px -14px rgba(43,34,20,.7);
}
.iy-welcome__tick { stroke-dasharray: 24; stroke-dashoffset: 24; animation: iyWelTick .45s .25s ease forwards; }
.iy-welcome__eyebrow { margin: 0 0 6px; font: 700 12px/1.3 var(--rp-font, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: #8C6A1F; }
.iy-welcome__title { margin: 0; font: 800 26px/1.2 var(--rp-font, sans-serif); letter-spacing: -.6px; color: #17140F; }
.iy-welcome__text { margin: 10px auto 24px; max-width: 32ch; font-size: 15.5px; line-height: 1.55; color: rgba(23,20,15,.66); }
.iy-welcome__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 26px;
    border: 0; border-radius: 999px; cursor: pointer;
    background: linear-gradient(135deg, #17140F 0%, #2B2214 55%, #6A4F1C 100%); color: #fff; font: 700 16px/1 var(--rp-font, sans-serif);
    box-shadow: 0 18px 34px -18px rgba(43,34,20,.8);
}
.iy-welcome__btn:hover { transform: translateY(-1px); }
.iy-welcome__btn:focus { outline: none; }
.iy-welcome__btn:focus-visible { outline: 2px solid #B98F32; outline-offset: 3px; }
.iy-welcome__timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #B98F32; transform-origin: left; animation: iyWelTimer 6s linear forwards; }
@keyframes iyWelFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes iyWelOut { to { opacity: 0; } }
@keyframes iyWelPop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes iyWelTick { to { stroke-dashoffset: 0; } }
@keyframes iyWelTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
    .iy-welcome, .iy-welcome__card, .iy-welcome__tick, .iy-shop__login { animation: none !important; }
    .iy-welcome__tick { stroke-dashoffset: 0; }
    .iy-welcome__timer { display: none; }
}
