/* eThobe cart, account and auth pages.
 *
 * These pages carry working behaviour — quantity updates, coupon codes,
 * address forms, the shipping estimator — all bound to the markup and class
 * names already there. So nothing here changes that markup: the existing
 * classes are restyled in place. The only template change is the heading
 * band above them.
 */

.eth-account,
.t4s-main-cart,
.t4s-section-customers{
  --bg:#faf7f1;
  --panel:#f1ead9;
  --ink:#231d12;
  --muted:#6f6552;
  --accent:#9a7733;
  --accent-deep:#7a5d24;
  --line:#e6ddc8;
  --card:#ffffff;
  --display:'Marcellus','Times New Roman',serif;
  --body:'Jost','Segoe UI',Arial,sans-serif;
  font-family:var(--body);color:var(--ink);
}

/* ---- the heading band --------------------------------------------------- */

.eth-account{background:var(--bg);border-bottom:1px solid var(--line)}
.eth-account .container{max-width:1220px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.eth-account .eth-page-head{padding-block:40px 32px}
.eth-account .eyebrow{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--accent);font-weight:600;margin:0 0 8px}
.eth-account h1{font-family:var(--display);font-size:clamp(28px,4vw,42px);font-weight:400;margin:0;color:var(--ink);letter-spacing:-.01em}

/* ---- shared surfaces ---------------------------------------------------- */

/* main-cart.css pushes this section down 60px, which showed as a white band
   between the heading and the cart. */
.t4s-main-cart{background:var(--bg);padding-block:40px 70px;margin-top:0}

/* The customers section carries t4s-container, so a background on it only
   painted as wide as the content and left white down both sides. This paints
   edge to edge while the content stays where it is. */
.t4s-section-customers{
  background:var(--bg);
  padding-block:40px 70px;
  margin-top:0;
  box-shadow:0 0 0 100vmax var(--bg);
  clip-path:inset(0 -100vmax);
}

.t4s-main-cart .t4s-container,
.t4s-section-customers.t4s-container{max-width:1220px;margin:0 auto;padding-left:16px;padding-right:16px}

/* ---- cart --------------------------------------------------------------- */

.t4s-main-cart .t4s-cartPage__header{border-bottom:1px solid var(--line);padding-bottom:12px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600}
.t4s-main-cart .t4s-cartPage__items > *{border-bottom:1px solid var(--line);padding-block:18px}
.t4s-main-cart .t4s-cart_page_heading a{font-size:15.5px;font-weight:500;color:var(--ink)}
.t4s-main-cart .t4s-cart_page_heading a:hover{color:var(--accent-deep)}
.t4s-main-cart .t4s-cart_meta_variant{font-size:13px;color:var(--muted)}
.t4s-main-cart .t4s-cart_price,
.t4s-main-cart .t4s-cart-item-price,
.t4s-main-cart .t4s-cart_meta_prices{font-size:14.5px;color:var(--ink)}

.t4s-main-cart .t4s-cartPage__footer{margin-top:28px;display:flex;flex-wrap:wrap;gap:28px;justify-content:space-between;align-items:flex-start}
.t4s-main-cart .t4s-cart-coupon{background:var(--card);border:1px solid var(--line);padding:20px;min-width:280px}
.t4s-main-cart .t4s-cart-couponcode__label{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-deep);font-weight:600}
.t4s-main-cart .t4s-cart-total{background:var(--panel);padding:24px;min-width:320px}
.t4s-main-cart .t4s-cart__totalPrice,
.t4s-main-cart .t4s-cart__ttprice{font-family:var(--display);font-size:26px;color:var(--ink)}
.t4s-main-cart .t4s-cart__tax{font-size:12.5px;color:var(--muted)}

/* ---- account: the sidebar ----------------------------------------------- */

.t4s-section-customers .t4s-account-nav ul{list-style:none;margin:0;padding:0;border:1px solid var(--line);background:var(--card)}
.t4s-section-customers .t4s-account-nav-link + .t4s-account-nav-link{border-top:1px solid var(--line)}
.t4s-section-customers .t4s-account-nav-link a{display:flex;align-items:center;gap:11px;padding:13px 16px;font-size:14.5px;color:var(--muted)}
.t4s-section-customers .t4s-account-nav-link a:hover{background:var(--bg);color:var(--accent-deep)}
.t4s-section-customers .t4s-account-nav-link a svg{width:18px;height:18px;flex:none;stroke:currentColor}
.t4s-section-customers .t4s-account-nav-link.is--active a{background:var(--ink);color:var(--bg);font-weight:500}

.t4s-section-customers .t4s-account-content{background:var(--card);border:1px solid var(--line);padding:26px}

/* ---- forms, tables and buttons across all of them ----------------------- */

.t4s-main-cart input[type=text],.t4s-main-cart input[type=email],.t4s-main-cart input[type=number],.t4s-main-cart select,
.t4s-section-customers input[type=text],.t4s-section-customers input[type=email],.t4s-section-customers input[type=password],
.t4s-section-customers input[type=tel],.t4s-section-customers select,.t4s-section-customers textarea{
  border:1px solid var(--line);background:var(--card);padding:11px 13px;font:inherit;font-size:14.5px;color:var(--ink);border-radius:0;width:100%;max-width:100%}
.t4s-main-cart input:focus,.t4s-section-customers input:focus,
.t4s-section-customers select:focus,.t4s-section-customers textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}

.t4s-section-customers label,
.t4s-main-cart label{font-size:12.5px;font-weight:600;letter-spacing:.06em;color:var(--ink);margin-bottom:5px;display:inline-block}

.t4s-main-cart .button,.t4s-main-cart button[type=submit],.t4s-main-cart .t4s-btn,
.t4s-section-customers .button,.t4s-section-customers button[type=submit],.t4s-section-customers .t4s-btn{
  font-family:var(--body);font-weight:600;font-size:14px;letter-spacing:.1em;text-transform:uppercase;
  padding:13px 28px;border:1px solid var(--ink);background:var(--ink);color:var(--bg);cursor:pointer;border-radius:0;transition:.2s}
.t4s-main-cart .button:hover,.t4s-main-cart button[type=submit]:hover,
.t4s-section-customers .button:hover,.t4s-section-customers button[type=submit]:hover{background:var(--accent-deep);border-color:var(--accent-deep)}

/* checkout is the one action that should pull the eye */
.t4s-main-cart [data-checkout-btn],
.t4s-main-cart .t4s-cart-checkout-btn{background:var(--accent);border-color:var(--accent);width:100%}

.t4s-section-customers table{width:100%;border-collapse:collapse;font-size:14.5px}
.t4s-section-customers th{text-align:left;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600;padding:10px 12px;border-bottom:1px solid var(--line)}
.t4s-section-customers td{padding:12px;border-bottom:1px solid var(--line);color:var(--ink)}
.t4s-section-customers a{color:var(--accent-deep)}
.t4s-section-customers a:hover{color:var(--ink)}

@media (max-width:860px){
  .t4s-main-cart .t4s-cartPage__footer{flex-direction:column}
  .t4s-main-cart .t4s-cart-coupon,
  .t4s-main-cart .t4s-cart-total{min-width:0;width:100%}
}

/* ---- login, register, reset --------------------------------------------- */
/* These have no sidebar, so Kalles' account layout left a wide empty column
   beside a narrow form. Centre them instead. */

.t4s-section-customers .t4s-customer.is--login,
.t4s-section-customers .t4s-customer.is--register,
.t4s-section-customers .t4s-customer.is--reset{max-width:440px;margin:0 auto;padding:0}
.t4s-section-customers .t4s-customer.is--login form,
.t4s-section-customers .t4s-customer.is--register form,
.t4s-section-customers .t4s-customer.is--reset form{background:var(--card);border:1px solid var(--line);padding:28px}
.t4s-section-customers .t4s-customer .t4s_btn_submmit{background:var(--ink);color:var(--bg);border:1px solid var(--ink);font-family:var(--body);letter-spacing:.1em}
.t4s-section-customers .t4s-customer .t4s_btn_submmit:hover{background:var(--accent-deep);border-color:var(--accent-deep)}
