/*
Theme Name:  Turnover Packs
Theme URI:   https://turnoverpacks.com
Description: Hello Elementor child theme for Turnover Packs — palette, type, buttons and WooCommerce fallbacks. All page layout lives in Elementor.
Author:      Turnover Packs
Template:    hello-elementor
Version:     0.7.2
Text Domain: turnoverpacks
*/

/* ---------- Palette & type (the single place these live) ----------
   Elementor's Global Colors are set to the same six values by the
   plugin's installer, so both halves of the site read one palette. */
:root {
  --tp-c-navy:  #1B3A57;   /* primary: buttons, links, dark bands   */
  --tp-c-deep:  #12293E;   /* hover, headings                         */
  --tp-c-clay:  #C96F3B;   /* accent: fills and display type ONLY —  */
                           /* fails AA as body text, never use small */
  --tp-c-kraft: #E9DFC8;   /* warm band background                    */
  --tp-c-paper: #FCFBF8;   /* page background                         */
  --tp-c-ink:   #26241F;   /* body text                               */
  --tp-font-head: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --tp-font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --tp-max: 1180px;
}

html { background: var(--tp-c-paper); }
body {
  background: var(--tp-c-paper);
  color: var(--tp-c-ink);
  font-family: var(--tp-font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .elementor-heading-title {
  font-family: var(--tp-font-head);
  color: var(--tp-c-deep);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .4em;
}
h1, .elementor-widget-heading h1.elementor-heading-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2, .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3, .elementor-widget-heading h3.elementor-heading-title { font-size: 1.3rem; font-weight: 600; }
h4, .elementor-widget-heading h4.elementor-heading-title { font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
a { color: var(--tp-c-navy); }
a:hover { color: var(--tp-c-deep); }
p { margin: 0 0 1em; }

/* ---------- Section vocabulary used by the Elementor pages ---------- */
.tp-eyebrow .elementor-heading-title, .tp-eyebrow {
  font-family: var(--tp-font-body); font-size: .8rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tp-c-clay);
}
.tp-hero .elementor-heading-title, .tp-hero .tp-display .elementor-heading-title { color: #fff; }
.tp-hero .tp-eyebrow .elementor-heading-title { color: #f2c9ad; }
.tp-hero, .tp-hero .elementor-widget-text-editor { color: #fff; }
.tp-hero .elementor-widget-text-editor { color: rgba(255,255,255,.88); }
.tp-hero .tp-display .elementor-heading-title { max-width: 18ch; }
.tp-hero .tp-fineprint { color: rgba(255,255,255,.65); }
.tp-lead { font-size: 1.2rem; max-width: 60ch; line-height: 1.55; }
.tp-intro { font-size: 1.1rem; max-width: 64ch; }
.tp-section--dark, .tp-section--dark .elementor-heading-title, .tp-section--dark .elementor-widget-text-editor { color: #fff; }
.tp-section--dark .tp-eyebrow .elementor-heading-title { color: #f2c9ad; }
.tp-section--builder { border-top: 1px solid rgba(38,36,31,.08); border-bottom: 1px solid rgba(38,36,31,.08); }
.tp-founder { border-left: 6px solid var(--tp-c-kraft); }

.tp-cards > .tp-col {
  background: #fff; border: 1.5px solid rgba(38,36,31,.12); border-radius: 18px; padding: 26px;
}
.tp-cards > .tp-col .elementor-heading-title { font-size: 1.15rem; }
.tp-cards > .tp-col p:last-child { margin-bottom: 0; }
.tp-cta { text-align: center; }
.tp-cta .tp-intro { margin-left: auto; margin-right: auto; }
.tp-fineprint { font-size: .82rem; opacity: .7; }
.tp-list .elementor-icon-list-icon i { color: var(--tp-c-clay); }
.tp-list .elementor-icon-list-item { padding: 6px 0; }
.tp-policies .elementor-widget-heading { margin-top: 24px; }
.tp-faq .elementor-tab-title { font-family: var(--tp-font-head); font-weight: 600; color: var(--tp-c-deep); }

/* ---------- Home hero (light) + trust chips ---------- */
.tp-hero--light .elementor-heading-title, .tp-hero--light .tp-display .elementor-heading-title { color: var(--tp-c-deep); }
.tp-hero--light, .tp-hero--light .elementor-widget-text-editor { color: var(--tp-c-ink); }
.tp-hero--light .tp-lead { color: var(--tp-c-ink); opacity: .85; }
.tp-hero--light .tp-display .elementor-heading-title { max-width: 16ch; font-size: clamp(2.4rem, 4.6vw, 3.9rem); letter-spacing: -.025em; }
.tp-accent { color: var(--tp-c-clay); }
.tp-pill .elementor-heading-title { display: inline-block; background: var(--tp-c-kraft); color: var(--tp-c-deep); font-family: var(--tp-font-body); font-size: .74rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.tp-cred { font-size: .92rem; color: var(--tp-c-navy); opacity: .85; max-width: 52ch; }
.tp-btn--outline .elementor-button { background: transparent !important; color: var(--tp-c-deep) !important; border: 1.5px solid rgba(38,36,31,.32) !important; }
.tp-btn--outline .elementor-button:hover { background: #fff; color: var(--tp-c-deep); border-color: var(--tp-c-deep); }
.tp-hero__figure { margin: 0; }
.tp-illo { width: 100%; height: auto; display: block; max-width: 520px; margin: 0 auto; }
.tp-hero__figure figcaption { font-size: .78rem; opacity: .6; text-align: center; margin-top: 6px; }
.tp-chipsrow { border-top: 1px solid rgba(38,36,31,.08); border-bottom: 1px solid rgba(38,36,31,.08); background: #fff; }
.tp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: center; }
.tp-chips li { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(38,36,31,.12); border-radius: 999px; padding: 9px 16px; background: var(--tp-c-paper); font-family: var(--tp-font-head); font-weight: 500; font-size: .95rem; color: var(--tp-c-deep); }
.tp-chips svg { flex: 0 0 auto; }
@media (max-width: 767px) { .tp-hero--light .tp-display .elementor-heading-title { max-width: none; } .tp-chips li { font-size: .88rem; padding: 8px 13px; } }

/* ---------- Tables (What's in a set) ---------- */
.tp-tablewrap { overflow-x: auto; }
.tp-table { width: 100%; border-collapse: collapse; background: #fff; border: 1.5px solid rgba(38,36,31,.12); border-radius: 14px; overflow: hidden; font-size: .97rem; }
.tp-table th, .tp-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(38,36,31,.08); vertical-align: top; }
.tp-table th { font-family: var(--tp-font-head); font-weight: 600; color: var(--tp-c-deep); background: var(--tp-c-kraft); }
.tp-table tr:last-child td { border-bottom: 0; }
.tp-table small { opacity: .6; }

/* ---------- Media placeholders (replace with real photos/video/illustrations) ---------- */
.tp-media-wrap .elementor-widget-container { line-height: 1.4; }
.tp-media { margin: 0; width: 100%; border: 2px dashed rgba(27,58,87,.35); border-radius: 18px; background: repeating-linear-gradient(135deg, #F3ECDC 0 14px, #EFE6D2 14px 28px); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px; color: var(--tp-c-deep); position: relative; overflow: hidden; }
.tp-media--4x3 { aspect-ratio: 4 / 3; } .tp-media--16x9 { aspect-ratio: 16 / 9; } .tp-media--1x1 { aspect-ratio: 1 / 1; } .tp-media--3x4 { aspect-ratio: 3 / 4; max-width: 420px; }
.tp-media__tag { align-self: flex-start; font-family: var(--tp-font-body); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--tp-c-deep); color: #fff; padding: 5px 10px; border-radius: 999px; }
.tp-media--video .tp-media__tag { background: var(--tp-c-clay); }
.tp-media--map .tp-media__tag, .tp-media--illustration .tp-media__tag { background: var(--tp-c-navy); }
.tp-media__brief { font-size: .86rem; line-height: 1.45; opacity: .85; max-width: 46ch; }
.tp-media--video::after { content: "▶"; position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--tp-c-clay); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; padding-left: 4px; }
.tp-section--dark .tp-media { border-color: rgba(255,255,255,.4); color: var(--tp-c-deep); }

/* ---------- Split sections, steps, facts, reviews ---------- */
.tp-split .tp-split__copy p:last-child { margin-bottom: 0; }
.tp-split .elementor-widget-button.tp-btn { margin-top: 8px; }
.tp-steps > .tp-col { padding: 26px 26px 24px; background: #fff; border: 1.5px solid rgba(38,36,31,.12); border-radius: 18px; position: relative; }
.tp-step__num { display: inline-block; font-family: var(--tp-font-head); font-weight: 700; font-size: .9rem; letter-spacing: .06em; color: #fff; background: var(--tp-c-navy); width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%; }
.tp-steps > .tp-col .elementor-heading-title { font-size: 1.15rem; }
.tp-steps > .tp-col p:last-child { margin-bottom: 0; }
.tp-facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tp-facts li { display: grid; gap: 2px; padding: 16px 18px; background: var(--tp-c-kraft); border-radius: 14px; }
.tp-facts strong { font-family: var(--tp-font-head); font-size: 1.6rem; line-height: 1.1; color: var(--tp-c-deep); }
.tp-facts span { font-size: .85rem; opacity: .8; }
.tp-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tp-reviews__card { border: 2px dashed rgba(27,58,87,.35); border-radius: 18px; padding: 22px; background: #fff; min-height: 150px; display: grid; gap: 10px; align-content: start; }
.tp-reviews__card p { margin: 0; font-size: .95rem; }
.tp-reviews__card--ghost { background: repeating-linear-gradient(135deg, #F3ECDC 0 14px, #EFE6D2 14px 28px); }
.tp-section--dark .tp-eyebrow .elementor-heading-title { color: #f2c9ad; }
.tp-section--dark .tp-fineprint { color: rgba(255,255,255,.65); }
.tp-section--dark a { color: #f2c9ad; }

/* ---------- Responsive pass ---------- */
@media (max-width: 1024px) {
  .tp-split .tp-col, .tp-hero .tp-col { flex-basis: 100%; }
  .tp-split--reverse .tp-split__media { order: 2; }
  .tp-hero__art { order: 2; }
  .tp-media--3x4 { max-width: 320px; }
  .elementor-element.tp-col { flex-basis: 45%; }
  .tp-steps > .tp-col, .tp-cards > .tp-col { flex-basis: 100%; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .elementor-element.tp-col { flex-basis: 100% !important; }
  .tp-hero, .tp-section, .tp-cta { padding-left: 18px !important; padding-right: 18px !important; padding-top: 44px !important; padding-bottom: 44px !important; }
  .tp-hero--light { padding-top: 32px !important; }
  h1, .elementor-widget-heading h1.elementor-heading-title { font-size: 2.1rem; }
  .tp-hero--light .tp-display .elementor-heading-title { font-size: 2.3rem; max-width: none; }
  .tp-lead { font-size: 1.05rem; }
  .tp-hero .tp-btn, .tp-cta .tp-btn { width: 100%; }
  .tp-hero .tp-btn .elementor-button, .tp-cta .tp-btn .elementor-button { width: 100%; }
  .tp-facts { grid-template-columns: 1fr 1fr; }
  .tp-facts strong { font-size: 1.35rem; }
  .tp-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .tp-chips li { flex: 0 0 auto; }
  .tp-table { font-size: .88rem; } .tp-table th, .tp-table td { padding: 10px 12px; }
  .tp-media { padding: 12px; } .tp-media__brief { font-size: .78rem; }
  .tp-price { position: static; }
  .tp-footer .tp-footer__cols > .tp-col { flex-basis: 100%; }
}
@media (max-width: 420px) {
  .tp-facts { grid-template-columns: 1fr; }
  .tp-hero--light .tp-display .elementor-heading-title { font-size: 2rem; }
}

/* ---------- Layout fixes for Elementor containers ----------
   Rows built by the installer use .tp-col inner containers: let them
   flex to fill the row (with the gap accounted for) and wrap on small
   screens. Buttons should be content-width, not stretched. */
.elementor-element.tp-col { --width: auto !important; flex: 1 1 240px; min-width: 0; }
.elementor-widget-button.tp-btn { width: auto; align-self: flex-start; }
.tp-cta .elementor-widget-button.tp-btn { align-self: center; }
.tp-btn .elementor-button { display: inline-flex; align-items: center; justify-content: center; width: auto; }
.elementor-widget-text-editor, .elementor-widget-heading { max-width: 100%; }

/* ---------- Buttons ---------- */
.tp-btn .elementor-button, .tp-btn.elementor-widget-button .elementor-button, a.tp-btn, button.tp-btn {
  font-family: var(--tp-font-head); font-weight: 600; font-size: 1rem; padding: 14px 24px; border-radius: 999px; line-height: 1.2; border: 1.5px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.tp-btn--clay .elementor-button { background: var(--tp-c-clay); color: #fff; }
.tp-btn--clay .elementor-button:hover { background: #b25f2f; color: #fff; }
.tp-btn--navy .elementor-button { background: var(--tp-c-navy); color: #fff; }
.tp-btn--navy .elementor-button:hover { background: var(--tp-c-deep); color: #fff; }
.tp-btn--ghost .elementor-button { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.tp-btn--ghost .elementor-button:hover { background: rgba(255,255,255,.12); color: #fff; }
.tp-btn--sm .elementor-button { padding: 10px 18px; font-size: .95rem; }

/* ---------- Header / footer ----------
   Layout, colours and hover states are set inside the Elementor header
   template (wp-admin → Templates → Theme Builder). CSS here only covers
   what Elementor's controls can't reach. */
.tp-strip, .tp-strip .elementor-widget-text-editor { color: #fff; font-size: .8rem; letter-spacing: .02em; }
.tp-strip p { margin: 0; }
.tp-strip strong { color: #f2c9ad; }
.tp-strip a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); transition: color .15s, border-color .15s; }
.tp-strip a:hover { color: #f2c9ad; border-color: #f2c9ad; }
.tp-strip .elementor-element { width: auto; flex: 1 1 auto; }
@media (max-width: 767px) { .tp-strip .tp-strip__right { display: none; } .tp-strip .elementor-element { flex-basis: 100%; } .tp-strip .tp-strip__text { text-align: center; } }
.tp-header__nav { padding-left: 20px !important; }
.tp-header .elementor-element.tp-header__nav { --justify-content: center; }
.tp-header { z-index: 90; transition: box-shadow .2s; }
.tp-header .elementor-widget, .tp-strip .elementor-widget { margin-bottom: 0 !important; }   /* Elementor's default widget spacing pushed the logo up */
.tp-header .elementor-element.tp-header__brand, .tp-header .elementor-element.tp-header__nav { --justify-content: center; --align-items: flex-start; }
.tp-header .elementor-element.tp-header__right { --justify-content: flex-end; --align-items: center; }
@media (min-width: 1025px) and (max-width: 1240px) {
  .tp-nav .elementor-nav-menu a { font-size: .88rem !important; padding: 8px 8px !important; }
  .tp-header__nav { padding-left: 16px !important; }
  .tp-header .tp-btn .elementor-button { padding: 10px 16px !important; font-size: .9rem !important; }
}
.tp-header.elementor-sticky--effects { box-shadow: 0 6px 24px rgba(18, 41, 62, .10); }
.tp-brand-wrap .elementor-widget-container { line-height: 0; }
.tp-brand { display: inline-block; line-height: 0; transition: opacity .15s; }
.tp-brand:hover { opacity: .78; }
.tp-brand svg { display: block; height: 36px; width: auto; }
.tp-brand__text { font-family: var(--tp-font-head); font-weight: 700; font-size: 1.35rem; color: var(--tp-c-deep); }
.tp-header__right > .elementor-element { width: auto; flex: 0 0 auto; align-self: center; }
.tp-header .tp-btn .elementor-button { white-space: nowrap; }
.tp-signin .elementor-heading-title a, .tp-signin__link { text-decoration: none; transition: color .15s; font-family: var(--tp-font-head); font-weight: 500; font-size: 15px; color: var(--tp-c-deep); white-space: nowrap; }
.tp-signin .elementor-heading-title a:hover, .tp-signin__link:hover { color: var(--tp-c-clay) !important; }
.tp-nav .elementor-nav-menu--main .elementor-item { transition: color .15s; }
.tp-nav .elementor-menu-toggle { border: 0; background: transparent; }
.tp-nav .elementor-nav-menu--main .sub-menu { background: #fff; border: 1px solid rgba(38,36,31,.10); border-radius: 14px; box-shadow: 0 14px 40px rgba(18,41,62,.14); padding: 8px; min-width: 230px; margin-top: 6px; }
.tp-nav .elementor-nav-menu--main .sub-menu a { padding: 10px 14px !important; border-radius: 9px; font-size: .95rem; }
.tp-nav .elementor-nav-menu--main .sub-menu a:hover { background: var(--tp-c-kraft); color: var(--tp-c-deep) !important; }
.tp-nav .elementor-nav-menu--main .sub-menu a.elementor-item-active { color: var(--tp-c-clay) !important; }
.tp-nav .elementor-nav-menu--dropdown { border-top: 1px solid rgba(38,36,31,.08); box-shadow: 0 12px 32px rgba(18,41,62,.10); }
.tp-cart .elementor-menu-cart__toggle .elementor-button { transition: color .15s, border-color .15s; color: var(--tp-c-deep); display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 8px; border: 1.5px solid rgba(38,36,31,.18); border-radius: 999px; padding: 8px 14px 8px 12px; background: #fff; }
.tp-cart .elementor-menu-cart__toggle .elementor-button::before { content: "Cart"; font-family: var(--tp-font-head); font-weight: 600; font-size: .95rem; }
.tp-cart .elementor-menu-cart__toggle .elementor-button:hover { border-color: var(--tp-c-deep); }
.tp-cart .elementor-menu-cart__toggle .elementor-button-text { display: none; }            /* icon + count only */
.tp-cart .elementor-button-icon-qty[data-counter="0"] { display: none !important; }
.tp-cart .elementor-menu-cart__toggle .elementor-button-icon { font-size: 1.35rem; }
@media (max-width: 1024px) {
  .tp-header { flex-wrap: nowrap; }
  .tp-header .elementor-element.tp-header__brand { --width: auto; flex: 0 0 auto; }
  .tp-header .elementor-element.tp-header__right { order: 2; --width: auto; flex: 1 1 auto; --justify-content: flex-end; }
  .tp-header .elementor-element.tp-header__nav { order: 3; --width: auto; flex: 0 0 auto; padding-left: 12px !important; }
  .tp-header .tp-nav .elementor-menu-toggle { margin-left: auto; }
}
.tp-cart .elementor-menu-cart__toggle .elementor-button:hover { color: var(--tp-c-clay); }
.tp-cart .elementor-menu-cart__toggle .elementor-button-icon { font-size: 1.1rem; }
.tp-cart .elementor-menu-cart__toggle .elementor-button:focus-visible { outline: 2px solid var(--tp-c-clay); outline-offset: 2px; border-radius: 6px; }
.tp-footer, .tp-footer .elementor-widget-text-editor, .tp-footer .elementor-heading-title { color: rgba(255,255,255,.85); }
.tp-footer .elementor-heading-title { color: #fff; }
.tp-footer a { color: #fff; }
.tp-footer a:hover { color: #f2c9ad; }
.tp-footer .tp-brand svg { height: 34px; }
.tp-footnav .elementor-nav-menu a { color: rgba(255,255,255,.85); padding: 4px 0; font-size: .95rem; transition: color .15s; }
.tp-footnav .elementor-nav-menu a:hover { color: #f2c9ad; }
.tp-footer .tp-fineprint { color: rgba(255,255,255,.55); }

/* ---------- Elementor Pro form ---------- */
.tp-form .elementor-field-group .elementor-field { border: 1.5px solid rgba(38,36,31,.18); border-radius: 10px; padding: 12px 14px; font-family: var(--tp-font-body); background: #fff; }
.tp-form .elementor-field-group .elementor-field:focus { border-color: var(--tp-c-navy); outline: none; }
.tp-form .elementor-field-label { font-family: var(--tp-font-head); font-weight: 600; color: var(--tp-c-deep); }
.tp-form .elementor-button[type="submit"], .tp-form button.elementor-button { background: var(--tp-c-navy); color: #fff; border-radius: 999px; font-family: var(--tp-font-head); font-weight: 600; padding: 14px 24px; }
.tp-form .elementor-button[type="submit"]:hover { background: var(--tp-c-deep); }

/* ---------- WooCommerce fallbacks (until each screen is designed in Elementor) ---------- */
.woocommerce .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-components-button, .wp-element-button {
  background: var(--tp-c-navy) !important; color: #fff !important; border-radius: 999px !important; font-family: var(--tp-font-head) !important; font-weight: 600 !important; padding: 12px 22px !important; border: 0 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .wc-block-components-button:hover, .wp-element-button:hover { background: var(--tp-c-deep) !important; }
.woocommerce .single_add_to_cart_button, .woocommerce #place_order, .wc-block-components-checkout-place-order-button { background: var(--tp-c-clay) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--tp-font-head); color: var(--tp-c-deep); font-size: 1.1rem; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--tp-c-deep); font-family: var(--tp-font-head); font-weight: 700; }
.woocommerce ul.products li.product a img, .woocommerce div.product div.images img { border-radius: 16px; background: var(--tp-c-kraft); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--tp-c-navy); background: #fff; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--tp-c-navy); }
.woocommerce-error { border-top-color: #b32d2e; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 10px; font-family: var(--tp-font-head); font-weight: 500; text-decoration: none; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--tp-c-kraft); color: var(--tp-c-deep); }
.woocommerce table.shop_table { border-radius: 14px; border-color: rgba(38,36,31,.12); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-input-wrapper .input-text {
  border: 1.5px solid rgba(38,36,31,.18); border-radius: 10px; padding: 10px 12px; font-family: var(--tp-font-body); background: #fff;
}
.tp-unit { font-size: .85em; opacity: .75; font-weight: 400; }

/* Generic page (non-Elementor) padding so raw Woo pages don't touch the edges */
.site-main > .page-content, .woocommerce-page .site-main, body.woocommerce-page .site-main { max-width: var(--tp-max); margin: 0 auto; padding: 48px 24px; }


/* =====================================================================
   SIGN IN / CREATE ACCOUNT (woocommerce/myaccount/form-login.php)
   ===================================================================== */
.tp-auth { max-width: 460px; margin: 24px auto 40px; padding: 0 16px; }
.tp-auth__head { text-align: center; margin-bottom: 28px; }
.tp-auth__mark { display: inline-block; margin-bottom: 14px; }
.tp-auth__mark svg { width: 52px; height: 52px; }
.tp-auth__title { font-family: var(--tp-font-head); font-size: 2rem; color: var(--tp-c-deep); margin: 0 0 6px; line-height: 1.1; }
.tp-auth__sub { margin: 0; color: rgba(38,36,31,.7); }
.tp-auth__card { background: #fff; border: 1px solid rgba(38,36,31,.1); border-radius: 18px; padding: 32px 28px; box-shadow: 0 10px 30px rgba(18,41,62,.07); }
.tp-auth__panel { display: none; margin: 0; }
.tp-auth:not(.is-register) .tp-auth__panel--login, .tp-auth.is-register .tp-auth__panel--register { display: block; }
.tp-auth__field { margin: 0 0 16px; }
.tp-auth__field label { display: block; font-family: var(--tp-font-head); font-weight: 500; font-size: .95rem; color: var(--tp-c-body); margin-bottom: 6px; }
.tp-auth__labelrow { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.tp-auth__labelrow label { margin: 0; }
.tp-auth__forgot { font-size: .85rem; color: var(--tp-c-navy); text-decoration: none; }
.tp-auth__forgot:hover { color: var(--tp-c-clay); }
.woocommerce .tp-auth__field .input-text, .tp-auth__field .input-text { width: 100%; box-sizing: border-box; padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(38,36,31,.14); background: #F6F4EE; font-size: 1rem; }
.tp-auth__field .input-text:focus { outline: none; border-color: var(--tp-c-navy); background: #fff; box-shadow: 0 0 0 3px rgba(27,58,87,.15); }
.tp-auth__remember { display: flex; align-items: center; gap: 8px; margin: -4px 0 16px; font-size: .9rem; color: rgba(38,36,31,.75); }
.woocommerce .tp-auth__submit, .tp-auth__submit { display: block; width: 100%; padding: 14px 18px; border-radius: 999px; border: 0; background: var(--tp-c-navy) !important; color: #fff !important; font-family: var(--tp-font-head); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .15s, transform .1s; }
.woocommerce .tp-auth__submit:hover, .tp-auth__submit:hover { background: var(--tp-c-deep) !important; transform: translateY(-1px); }
.tp-auth__terms, .tp-auth__hint { font-size: .8rem; color: rgba(38,36,31,.65); margin: 12px 0 0; text-align: center; }
.tp-auth__or { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: rgba(38,36,31,.55); font-size: .85rem; }
.tp-auth__or::before, .tp-auth__or::after { content: ""; flex: 1; height: 1px; background: rgba(38,36,31,.12); }
.tp-auth__google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-sizing: border-box; padding: 13px 18px; border-radius: 999px; border: 1px solid rgba(38,36,31,.18); background: #fff; color: var(--tp-c-body); font-family: var(--tp-font-head); font-weight: 500; text-decoration: none; transition: border-color .15s, background .15s; }
.tp-auth__google:hover { border-color: var(--tp-c-navy); background: var(--tp-c-paper); color: var(--tp-c-deep); }
.tp-auth__google.is-off { opacity: .8; }
.tp-auth__switch { text-align: center; margin: 20px 0 0; font-size: .95rem; color: rgba(38,36,31,.75); }
.tp-auth__switch a { color: var(--tp-c-navy); font-weight: 600; text-decoration: none; }
.tp-auth__switch a:hover { color: var(--tp-c-clay); }
.tp-auth:not(.is-register) .tp-auth__switch--to-login, .tp-auth.is-register .tp-auth__switch--to-register { display: none; }
/* Woo notices above the card sit inside the same column */
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper, .woocommerce-account:not(.logged-in) .woocommerce-error, .woocommerce-account:not(.logged-in) .woocommerce-message { max-width: 460px; margin-left: auto; margin-right: auto; }
/* Lost / reset password forms borrow the card */
.woocommerce-ResetPassword, .woocommerce-EditAccountForm.edit-account { max-width: 460px; margin: 24px auto; background: #fff; border: 1px solid rgba(38,36,31,.1); border-radius: 18px; padding: 32px 28px; }
.woocommerce-ResetPassword .form-row-first, .woocommerce-ResetPassword .form-row-last { width: 100%; float: none; }
/* "On the box" line on the customer's order page */
.tp-label-line { background: var(--tp-c-kraft); border-radius: 10px; padding: 12px 16px; }
@media (max-width: 480px) { .tp-auth__card { padding: 24px 18px; } .tp-auth__title { font-size: 1.6rem; } }
/* sign-in card: strip WooCommerce's own form box and hide its duplicate privacy line */
.woocommerce form.login.tp-auth__panel, .woocommerce form.register.tp-auth__panel { border: 0; padding: 0; margin: 0; border-radius: 0; }
.tp-auth__panel--register .woocommerce-privacy-policy-text { display: none; }
.tp-auth__google, .tp-auth__google span { text-decoration: none !important; }
.tp-auth__remember input { margin: 0; }
.woocommerce form.login .tp-auth__submit, .woocommerce form.register .tp-auth__submit, .tp-auth__submit { float: none !important; }
.woocommerce form.login .tp-auth__remember, .tp-auth__remember { display: flex !important; }
.tp-auth__panel::after { content: ""; display: block; clear: both; }
@media (max-width: 767px) { .tp-signin__link { font-size: 13px; } .tp-header__right { gap: 10px !important; } }
/* give the account tables room: narrower nav, wider content */
@media (min-width: 769px) {
  .woocommerce-account .woocommerce-MyAccount-navigation { width: 22%; }
  .woocommerce-account .woocommerce-MyAccount-content { width: 75%; }
}
body.woocommerce-account .site-main, body.woocommerce-account .page-content { max-width: 1320px; }
