/* =====================================================================
   WooCommerce pages in the redesign style: cart, checkout (+ order received), my account.
   The pages are Elementor: one HTML widget (.woo-head) + the Elementor Pro Woo widget (.woo-body).
   ===================================================================== */

/* ---------- Head: title, subtitle, a guy with a speech bubble ---------- */
.woo-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 30px;
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: clamp(34px, 5vw, 64px) var(--gutter) 0; }
.woo-head__copy { padding-bottom: 34px; }
.woo-head .sticker { margin-bottom: 14px; }
.woo-head h1 { margin: 0; font-size: clamp(56px, 8vw, 108px); line-height: .88; }
.woo-head .hand { margin: 8px 0 0; font-size: clamp(22px, 2.2vw, 28px); }
.woo-head .lead { margin: 16px 0 0; max-width: 30em; font-size: 18px; }
.woo-head .link-arrow { display: inline-block; margin-top: 18px; }
.woo-head__guy { position: relative; width: clamp(150px, 17vw, 230px); align-self: end; }
.woo-head__guy img { display: block; width: 100%; height: auto; }
.woo-head__guy .sbubble { top: 6%; right: 78%; transform: rotate(-4deg); }
.woo-steps { display: flex; gap: 8px; margin-top: 18px; list-style: none; padding: 0; }
.woo-steps li { padding: 5px 14px; border: var(--line); border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.woo-steps li.is-on { background: var(--red); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.woo-steps li.is-done { background: var(--ink); color: var(--cream); }
.woo-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 4px auto 0; padding: 0 var(--gutter) clamp(60px, 7vw, 100px); list-style: none; }
.woo-trust li { padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
/* order-received view lives on the checkout page: swap the head */
.woo-head--thanks { display: none; }
body.woocommerce-order-received .woo-head--checkout { display: none; }
body.woocommerce-order-received .woo-head--thanks { display: grid; }
body.woocommerce-order-received .woo-trust { display: none; }

/* ---------- Shared: the widget area, cards, fields, buttons ---------- */
.gog .woo-body { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) 30px; }
.gog .woo-body {
  --sections-background-color: var(--paper); --sections-border-type: solid; --sections-border-color: var(--ink); --sections-border-radius: 22px;
  --sections-padding: 24px 26px; --sections-margin: 0 0 26px; --sections-title-color: var(--ink); --sections-descriptions-color: var(--ink);
  --sections-radio-buttons-color: var(--red);
  --forms-fields-normal-color: var(--ink); --forms-fields-focus-color: var(--ink); --forms-fields-focus-border-color: var(--red);
  --forms-fields-border-radius: 12px; --forms-fields-padding: 12px 14px; --forms-rows-gap: 14px;
  --forms-buttons-normal-text-color: var(--cream); --forms-buttons-hover-text-color: var(--cream); --forms-buttons-border-type: solid;
  --forms-buttons-border-color: var(--ink); --forms-buttons-hover-border-color: var(--ink); --forms-buttons-hover-background-color: #000;
  --forms-buttons-border-radius: 999px; --forms-buttons-padding: 12px 24px;
  --checkout-button-normal-text-color: #fff; --checkout-button-hover-text-color: #fff; --checkout-button-border-radius: 999px; --checkout-button-padding: 0 26px;
  --links-normal-color: var(--ink); --links-hover-color: var(--red); --product-link-normal-color: var(--ink); --product-link-hover-color: var(--red);
  --totals-color: var(--ink); --totals-divider-color: rgba(20,20,20,.14); --totals-divider-weight: 2px;
  --order-summary-color: var(--ink); --order-summary-title-color: var(--ink); --order-summary-items-divider-color: rgba(20,20,20,.14);
  --order-summary-quantity-border-color: var(--ink); --order-summary-remove-icon-normal-color: var(--ink); --order-summary-remove-icon-hover-color: var(--red);
  color: var(--ink); font-family: var(--f-body); font-size: 17px; }

.gog .woo-body .e-cart-section, .gog .woo-body .woocommerce-billing-fields, .gog .woo-body .woocommerce-shipping-fields,
.gog .woo-body .woocommerce-additional-fields, .gog .woo-body .e-checkout__order_review, .gog .woo-body .e-coupon-box,
.gog .woo-body .e-checkout__order_review-2, .gog .woo-body .woocommerce-form-login, .gog .woo-body .woocommerce-form-register,
.gog .woo-body .woocommerce-ResetPassword, .gog .woo-body .woocommerce-MyAccount-content, .gog .woo-body .woocommerce-order,
.gog .woo-body .e-purchase-summary, .gog .woo-body .cart-empty {
  background: var(--paper); border: var(--line) !important; border-radius: 22px; box-shadow: var(--shadow); padding: 24px 26px; }
.gog .woo-body .woocommerce-shipping-fields, .gog .woo-body .woocommerce-additional-fields { margin-top: 26px; }

.gog .woo-body h2, .gog .woo-body h3, .gog .woo-body .e-checkout-secondary-title, .gog .woo-body legend {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: 0; color: var(--ink); }
.gog .woo-body h2 { font-size: 40px; margin: 0 0 14px; }
.gog .woo-body h3 { font-size: 32px; margin: 0 0 14px; }
.gog .woo-body a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gog .woo-body a:hover { color: var(--red); }

.gog .woo-body label { font-weight: 700; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }
.gog .woo-body .required { color: var(--red); text-decoration: none; }
.gog .woo-body input.input-text, .gog .woo-body input[type="text"], .gog .woo-body input[type="email"], .gog .woo-body input[type="tel"],
.gog .woo-body input[type="password"], .gog .woo-body input[type="number"], .gog .woo-body select, .gog .woo-body textarea,
.gog .woo-body .select2-container .select2-selection--single {
  min-height: 50px; background: #fff; border: var(--line) !important; border-radius: 12px !important; color: var(--ink);
  font-family: var(--f-body); font-size: 17px; font-weight: 600; box-shadow: none; }
.gog .woo-body .select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 14px; color: var(--ink); }
.gog .woo-body .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; }
.gog .woo-body input:focus, .gog .woo-body select:focus, .gog .woo-body textarea:focus { outline: 3px solid var(--red); outline-offset: 2px; }
.gog .woo-body input[type="checkbox"], .gog .woo-body input[type="radio"] { accent-color: var(--red); width: 18px; height: 18px; }

/* buttons: ink pills; the main action red */
.gog .woo-body .button, .gog .woo-body button[type="submit"], .gog .woocommerce-page .woo-body .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px;
  background: var(--ink) !important; color: var(--cream) !important; border: var(--line) !important; border-radius: 999px !important;
  box-shadow: 4px 4px 0 var(--ink); font-family: var(--f-body); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .14s ease, box-shadow .14s ease; }
.gog .woo-body .button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--cream) !important; }
.gog .woo-body .checkout-button, .gog .woo-body #place_order, .gog .woo-body .woocommerce-form-login__submit {
  width: 100%; min-height: 62px; background: var(--red) !important; color: #fff !important; font-size: 20px; box-shadow: 5px 5px 0 var(--ink); }
.gog .woo-body .checkout-button:hover, .gog .woo-body #place_order:hover { background: var(--red-dark) !important; }

/* notices */
.gog .woocommerce-message, .gog .woocommerce-info, .gog .woocommerce-error, .gog .woocommerce-notices-wrapper > * {
  background: var(--paper); border: var(--line); border-left-width: 10px; border-radius: 14px; color: var(--ink); font-weight: 600; box-shadow: 4px 4px 0 var(--ink); }
.gog .woocommerce-message { border-left-color: #2e9d57; } .gog .woocommerce-info { border-left-color: var(--blue); } .gog .woocommerce-error { border-left-color: var(--red); }
.gog .woocommerce-message::before, .gog .woocommerce-info::before, .gog .woocommerce-error::before { color: var(--ink); }

/* ---------- Cart ---------- */
.gog .woo-body .e-cart__container { gap: 30px; }
.gog .woo-body .shop_table.cart thead th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(20,20,20,.6); border: 0; }
.gog .woo-body .shop_table.cart td { border-color: rgba(20,20,20,.14); vertical-align: middle; }
.gog .woo-body .shop_table.cart .product-thumbnail img { width: 84px !important; height: 84px; object-fit: cover; border: var(--line); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.gog .woo-body .shop_table.cart .product-name a { font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: .95; text-transform: uppercase; text-decoration: none; }
.gog .woo-body .shop_table.cart .product-price, .gog .woo-body .shop_table.cart .product-subtotal { font-weight: 700; font-size: 18px; }
.gog .woo-body .shop_table.cart .product-subtotal .amount { font-family: var(--f-display); font-size: 30px; }
.gog .woo-body .quantity .qty { width: 74px; min-height: 46px; border-radius: 999px !important; text-align: center; font-weight: 700; }
.gog .woo-body a.remove { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 50%;
  color: var(--ink) !important; background: var(--paper); font-size: 20px; line-height: 1; text-decoration: none; }
.gog .woo-body a.remove:hover { background: var(--red) !important; color: #fff !important; }
.gog .woo-body .coupon .coupon-col-start, .gog .woo-body .coupon .coupon-col-end { margin: 0; }
.gog .woo-body .coupon .form-row { display: flex; gap: 10px; align-items: stretch; }
.gog .woo-body .coupon .coupon-col-start { flex: 1; }
.gog .woo-body .cart_totals h2 { font-size: 44px; }
.gog .woo-body .cart_totals th { font-weight: 700; }
.gog .woo-body .cart_totals .order-total th, .gog .woo-body .cart_totals .order-total td,
.gog .woo-body .woocommerce-checkout-review-order-table .order-total th, .gog .woo-body .woocommerce-checkout-review-order-table .order-total td {
  font-family: var(--f-display); font-size: 36px; text-transform: uppercase; }
.gog .woo-body .woocommerce-shipping-destination, .gog .woo-body .shipping-calculator-button { font-size: 14px; }
.gog .woo-body .wc-proceed-to-checkout { padding-top: 6px; }
.gog .woo-body .cart-empty { text-align: center; font-family: var(--f-hand); font-size: 30px; padding: 40px 26px; }
.gog .woo-body .cart-empty::before { display: none; }
.gog .woo-body .return-to-shop { text-align: center; margin-top: 24px; }
.gog .woo-body .return-to-shop .button { background: var(--red) !important; color: #fff !important; }

/* ---------- Checkout ---------- */
.gog .woo-body .wcpay-express-checkout-wrapper { max-width: 640px; margin: 0 0 24px; }
.gog .woo-body #wcpay-express-checkout-button-separator { font-weight: 700; letter-spacing: .1em; font-size: 13px; }
.gog .woo-body .e-checkout__container { gap: 30px; }
.gog .woo-body .woocommerce-checkout-review-order-table th, .gog .woo-body .woocommerce-checkout-review-order-table td { border-color: rgba(20,20,20,.14); }
.gog .woo-body .woocommerce-checkout-review-order-table .product-name { font-weight: 700; }
.gog .woo-body #payment { background: transparent; }
.gog .woo-body #payment .payment_methods { border: 0; padding: 0; }
.gog .woo-body #payment .payment_box { background: var(--cream); border: 2px solid var(--ink); border-radius: 14px; color: var(--ink); }
.gog .woo-body #payment .payment_box::before { display: none; }
.gog .woo-body .place-order { padding: 14px 0 0; }
.gog .woo-body .woocommerce-terms-and-conditions-wrapper, .gog .woo-body .place-order p { font-size: 14px; }
.gog .woo-body #ship-to-different-address label { font-family: var(--f-body); font-size: 15px; }

/* order received */
.gog .woo-body .woocommerce-order { max-width: 760px; margin: 0 auto; }
.gog .woo-body .woocommerce-thankyou-order-received { font-family: var(--f-hand); font-weight: 700; font-size: 30px; margin: 0 0 18px; border: 0; padding: 0; box-shadow: none; background: none; }
.gog .woo-body .woocommerce-thankyou-order-details { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 22px; list-style: none; }
.gog .woo-body .woocommerce-thankyou-order-details li { flex: 1 1 150px; margin: 0; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 14px; background: var(--cream);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.gog .woo-body .woocommerce-thankyou-order-details li strong { display: block; margin-top: 4px; font-size: 17px; letter-spacing: 0; text-transform: none; }

/* ---------- My account ---------- */
.gog .woo-body .woocommerce-form-login, .gog .woo-body .woocommerce-ResetPassword { max-width: 520px; margin: 0 auto; }
.gog .woo-body .woocommerce-form-login .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; font-size: 14px; }
.gog .woo-body .woocommerce-LostPassword { text-align: center; margin-top: 14px; font-family: var(--f-hand); font-size: 22px; font-weight: 700; }
.gog .woo-body .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; border: 0; }
.gog .woo-body .woocommerce-MyAccount-navigation li { margin: 0; border: 0; }
.gog .woo-body .woocommerce-MyAccount-navigation a, .gog .woo-body .e-my-account-tab__nav a { display: inline-block; padding: 8px 18px; border: var(--line); border-radius: 999px;
  background: var(--paper); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.gog .woo-body .woocommerce-MyAccount-navigation .is-active a, .gog .woo-body .woocommerce-MyAccount-navigation a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.gog .woo-body .woocommerce-orders-table th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .woo-head { grid-template-columns: minmax(0, 1fr) 38vw; gap: 0 6px; padding-top: 26px; }
  .woo-head__copy { padding-bottom: 22px; }
  .woo-head h1 { font-size: clamp(48px, 15vw, 66px); }
  .woo-head .hand { font-size: 21px; }
  .woo-head .lead { font-size: 16px; }
  .woo-head__guy { width: 38vw; }
  .woo-head__guy .sbubble { right: 46%; top: -6%; transform: rotate(-4deg) scale(.82); transform-origin: right bottom; }
  .woo-steps li { padding: 4px 10px; font-size: 11px; }
  .gog .woo-body { padding-left: 14px; padding-right: 14px; }
  .gog .woo-body .e-cart-section, .gog .woo-body .woocommerce-billing-fields, .gog .woo-body .woocommerce-shipping-fields,
  .gog .woo-body .woocommerce-additional-fields, .gog .woo-body .e-checkout__order_review, .gog .woo-body .e-coupon-box,
  .gog .woo-body .e-checkout__order_review-2, .gog .woo-body .woocommerce-form-login, .gog .woo-body .woocommerce-MyAccount-content,
  .gog .woo-body .woocommerce-order { padding: 18px 16px; border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .gog .woo-body h2 { font-size: 34px; } .gog .woo-body h3 { font-size: 28px; }
  .gog .woo-body .shop_table.cart .product-name a { font-size: 24px; }
  .gog .woo-body .coupon .form-row { flex-direction: column; }
}

/* ---------- fixes, round 1 ---------- */
/* Elementor draws its own (thin) section boxes around ours: switch those off, our cards carry the border */
.gog .woo-body { --sections-border-type: none; --sections-background-color: transparent; --sections-padding: 0; --sections-margin: 0; --sections-border-radius: 0; }
.gog .woo-body .e-checkout__column-start > *, .gog .woo-body .e-checkout__column-inner > * { margin-bottom: 26px; }
/* full-size red checkout button in the cart */
.gog .woo-body .wc-proceed-to-checkout .checkout-button { display: flex !important; align-items: center; justify-content: center; min-height: 62px !important; padding: 0 26px !important;
  font-size: 20px !important; line-height: 1 !important; letter-spacing: .06em; }
.gog .woo-body .shop_table.cart thead th { font-family: var(--f-body) !important; font-size: 12px !important; font-weight: 700; }

/* My account (logged out): copy on the left, the login card on the right with the cop peeking over it */
.woo-split .woo-head__guy { display: none; }
body:not(.logged-in) .woo-split .woo-body .woocommerce > h2 { display: none; }
.gog .woo-body .woocommerce-form-login::before { content: "Log in."; display: block; margin: 0 0 16px; font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: .9; text-transform: uppercase; }
body:not(.logged-in) .woo-split .woo-body::before { content: ""; display: block; width: 210px; height: 220px; margin: 0 auto -18px; position: relative; z-index: 1;
  background: url("../img/cop.webp") center bottom / contain no-repeat; }
body:not(.logged-in) .woo-split .woo-body .woocommerce-form-login { position: relative; z-index: 2; }
@media (min-width: 901px) {
  body:not(.logged-in) .gog-el .woo-split { display: grid !important; grid-template-columns: minmax(0, 1fr) 460px; column-gap: 50px; align-items: start;
    max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) 90px; }
  body:not(.logged-in) .woo-split .woo-head { grid-template-columns: 1fr; padding: clamp(60px, 8vw, 120px) 0 0; }
  body:not(.logged-in) .woo-split .woo-body { padding: clamp(10px, 2vw, 30px) 0 0; margin: 0; }
}

/* the login box reads Elementor's section variables: give them back to it */
.gog .woo-body .woocommerce-form-login, .gog .woo-body .woocommerce-ResetPassword, .gog .woo-body .woocommerce-form-register {
  --sections-padding: 24px 26px; --sections-border-radius: 22px; --sections-border-type: solid; --sections-border-color: var(--ink); --sections-background-color: var(--paper);
  padding: 24px 26px !important; border-radius: 22px !important; }

/* bubbles that sit to the LEFT of their guy: flip the tail so it points at him */
.woo-head__guy .sbubble--cart::before, .woo-head__guy .sbubble--thanks::before { transform: scaleX(-1); }
/* phone: the bubble sits left of the guy, above the title, so it never covers his face */
@media (max-width: 760px) { .woo-head__guy .sbubble { right: 86%; top: 2%; } }

/* phone: the bubble tucks behind the guy (his arm and cone sit in front of it) */
@media (max-width: 760px) {
  .woo-head__guy img { position: relative; z-index: 2; }
  .woo-head__guy .sbubble { z-index: 1; }
}
/* breathing room between the red Checkout button and the Apple Pay / Google Pay buttons */
.gog .woo-body .wc-proceed-to-checkout .checkout-button { margin-bottom: 22px !important; }
.gog .woo-body .wc-proceed-to-checkout .wcpay-express-checkout-wrapper { margin-top: 0; padding-top: 4px; }
