/* The wordmark face. Self-hosted: it is the logo, so it must not depend
   on a third party being reachable. */
@font-face{font-family:'Italiana';font-style:normal;font-weight:400;
  font-display:swap;src:url(fonts/italiana-400.woff2) format('woff2')}

/* ──────────────────────────────────────────────────────────────
   TROPEZ — policy page styling
   Add to Appearance → Customize → Additional CSS, or append to
   the theme's style.css. Uses the TROPEZ design tokens.

   Long-form legal text is set dark-on-light rather than the
   site's dark surface: these pages are read, not scanned, and
   light ground is materially easier on long passages.
   ────────────────────────────────────────────────────────────── */

:root{
  --tpz-frame:#14110F;
  --tpz-mid:#1C1918;
  --tpz-bone:#E1D9CE;
  --tpz-gold:#D8B290;
  --tpz-navy:#1E2933;
  --tpz-paper:#F4EFE8;
  --tpz-rule:#CFC4B5;
  --tpz-soft:#6A625A;
  --tpz-f-w:'Italiana',serif;
  --tpz-foil:linear-gradient(100deg,#F4DEC2 0%,#D8B290 26%,#A97C56 52%,#EBD3B4 72%,#BE9170 100%);
  --tpz-f-d:'Jost',sans-serif;
  --tpz-f-b:'Inter',system-ui,-apple-system,sans-serif;
  --tpz-f-m:'JetBrains Mono',ui-monospace,monospace;
}

/* ── page shell ───────────────────────────────────────────── */

.tpz-policy{
  background:var(--tpz-paper);
  color:var(--tpz-frame);
  font-family:var(--tpz-f-b);
  font-size:16.5px;
  line-height:1.72;
  max-width:46rem;
  margin:0 auto;
  padding:clamp(2rem,5vw,4.5rem) clamp(1rem,4vw,2.5rem) 5rem;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* the theme's dark page wrapper, neutralised behind these pages */
body.tpz-policy-page{background:var(--tpz-paper);}

/* ── headings ─────────────────────────────────────────────── */

.tpz-policy h2{
  font-family:var(--tpz-f-d);
  font-weight:500;
  font-size:clamp(1.3rem,3vw,1.65rem);
  line-height:1.25;
  letter-spacing:-0.008em;
  margin:3.2rem 0 1rem;
  padding-bottom:.55rem;
  border-bottom:1px solid var(--tpz-rule);
}
.tpz-policy h2:first-child{margin-top:0;}

.tpz-policy h3{
  font-family:var(--tpz-f-d);
  font-weight:500;
  font-size:1.08rem;
  letter-spacing:.005em;
  margin:2.1rem 0 .6rem;
  color:var(--tpz-mid);
}

.tpz-policy h4{
  font-family:var(--tpz-f-b);
  font-weight:600;
  font-size:.97rem;
  margin:1.6rem 0 .45rem;
}

/* ── body copy ────────────────────────────────────────────── */

.tpz-policy p{margin:0 0 1.05rem;}
.tpz-policy strong{font-weight:600;color:var(--tpz-frame);}

.tpz-policy a{
  color:var(--tpz-frame);
  text-decoration:underline;
  text-decoration-color:var(--tpz-gold);
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}
.tpz-policy a:hover{
  text-decoration-color:var(--tpz-frame);
  background:rgba(216,178,144,.22);
}
.tpz-policy a:focus-visible{
  outline:2px solid var(--tpz-navy);
  outline-offset:2px;
  border-radius:2px;
}

/* ── lists ────────────────────────────────────────────────── */

.tpz-policy ul,.tpz-policy ol{margin:0 0 1.15rem;padding-left:1.45rem;}
.tpz-policy li{margin-bottom:.5rem;}
.tpz-policy li::marker{color:var(--tpz-soft);}
.tpz-policy ol{counter-reset:tpz;}

/* A link that is the whole content of a list item or table cell is a
   navigation target, not a word in a sentence, so it gets a real
   touch area. WCAG 2.2 SC 2.5.8 wants 24px minimum; these are set
   larger because they are the links people actually tap. */
.tpz-policy li > a:only-child,
.tpz-policy td > a:only-child,
.tpz-policy th > a:only-child{
  display:inline-block;
  min-height:32px;
  line-height:32px;
  padding:0 .15rem;
}
.tpz-policy li > a:only-child{min-height:38px;line-height:38px;}

/* Email addresses are tapped far more often than any other link in a
   policy page — the address blocks at the foot of each one are how
   people actually reach us. Give them a comfortable target. */
.tpz-policy a[href^="mailto:"],
.tpz-policy a[href^="tel:"]{
  display:inline-block;
  min-height:26px;
  line-height:26px;
}

/* ── tables ───────────────────────────────────────────────── */

.tpz-policy .tpz-policy-table{
  width:100%;
  border-collapse:collapse;
  margin:1.4rem 0 1.9rem;
  font-size:.92rem;
  line-height:1.52;
}
.tpz-policy .tpz-policy-table th,
.tpz-policy .tpz-policy-table td{
  text-align:left;
  vertical-align:top;
  padding:.68rem .85rem;
  border-bottom:1px solid var(--tpz-rule);
}
.tpz-policy .tpz-policy-table thead th{
  font-family:var(--tpz-f-d);
  font-weight:500;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.09em;
  color:var(--tpz-soft);
  border-bottom:1.5px solid var(--tpz-frame);
  padding-bottom:.5rem;
}
/* two-column key/value tables: the entity and summary blocks */
.tpz-policy .tpz-policy-table tbody tr td:first-child{
  font-weight:500;
  color:var(--tpz-mid);
  width:38%;
}
.tpz-policy .tpz-policy-table tbody tr:last-child td{border-bottom:none;}
.tpz-policy .tpz-policy-table tbody tr:hover{background:rgba(216,178,144,.09);}

/* tables scroll rather than overflow on a phone */
@media (max-width:640px){
  .tpz-policy .tpz-policy-table{
    display:block;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    font-size:.88rem;
  }
  .tpz-policy .tpz-policy-table tbody tr td:first-child{width:auto;}
}

/* ── the effective-date block at the top of each policy ───── */

.tpz-policy > p:first-of-type,
.tpz-policy > p:nth-of-type(2){color:var(--tpz-soft);}
.tpz-policy > p:first-of-type strong{color:var(--tpz-frame);}

/* ── blockquote / callout ─────────────────────────────────── */

.tpz-policy blockquote{
  margin:1.5rem 0;
  padding:1rem 1.2rem;
  background:rgba(30,41,51,.05);
  border-left:3px solid var(--tpz-gold);
  font-size:.95rem;
}
.tpz-policy blockquote p:last-child{margin-bottom:0;}

/* ── opt-out control on /do-not-sell/ ─────────────────────── */

.tpz-optout{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-family:var(--tpz-f-d);
  font-weight:500;
  font-size:.92rem;
  letter-spacing:.07em;
  text-transform:uppercase;
  background:var(--tpz-frame);
  color:var(--tpz-bone);
  border:1px solid var(--tpz-frame);
  border-radius:2px;
  padding:1rem 1.6rem;
  margin:.5rem 0 1rem;
  min-height:48px;
  cursor:pointer;
  text-decoration:none;
  transition:background .18s ease,color .18s ease;
}
.tpz-optout:hover{background:var(--tpz-mid);color:#fff;}
.tpz-optout:focus-visible{outline:2px solid var(--tpz-navy);outline-offset:3px;}
.tpz-optout[data-state="on"]{
  background:transparent;
  color:var(--tpz-frame);
  border-color:var(--tpz-frame);
}
.tpz-optout-status{
  display:block;
  font-family:var(--tpz-f-m);
  font-size:.82rem;
  color:var(--tpz-soft);
  margin:0 0 1.6rem;
}

/* ── print: counsel and the underwriter both print these ─── */

@media print{
  .tpz-policy{max-width:none;padding:0;font-size:10.5pt;line-height:1.45;background:#fff;}
  .tpz-policy h2{page-break-after:avoid;}
  .tpz-policy .tpz-policy-table{page-break-inside:avoid;font-size:9pt;}
  .tpz-policy a{text-decoration:none;}
  .tpz-policy a[href^="http"]::after{content:" (" attr(href) ")";font-size:8pt;color:#555;}
  .tpz-optout,.tpz-optout-status{display:none;}
}

/* ══════════════════════════════════════════════════════════════
   Site chrome for interior pages — header, footer, page shell,
   WooCommerce. The front page does not load this file.
   ══════════════════════════════════════════════════════════════ */

body.tpz-interior{
  margin:0;
  background:var(--tpz-paper);
  color:var(--tpz-frame);
  font-family:var(--tpz-f-b);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

.tpz-skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--tpz-frame);color:#E1D9CE;padding:.8rem 1.2rem;
  font-family:var(--tpz-f-d);text-decoration:none;
}
.tpz-skip:focus{left:0}

mark.tpz-todo{
  background:#FFE9A8;color:#6B4E00;padding:.1em .45em;
  border-radius:2px;font-weight:600;
}

/* ── header ───────────────────────────────────────────── */
.tpz-head{
  background:#14110F;color:#E1D9CE;
  border-bottom:1px solid rgba(225,217,206,.14);
  position:sticky;top:env(safe-area-inset-top,0px);z-index:40;
}
.tpz-head-in{
  max-width:76rem;margin:0 auto;
  padding:0 clamp(1rem,4vw,2.5rem);
  min-height:62px;
  display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;
}
.tpz-mark{
  font-family:var(--tpz-f-w);font-weight:400;font-size:1.3rem;
  letter-spacing:.3em;color:#E1D9CE;text-decoration:none;
  padding:.6rem 0;flex:0 0 auto;
}
/* brass finish; the flat colour above remains the fallback */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .tpz-mark{
    background:var(--tpz-foil);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    -webkit-text-fill-color:transparent;
  }
}
.tpz-mark:hover{opacity:.82}
.tpz-nav{flex:1 1 auto;min-width:0}
.tpz-nav-list{
  list-style:none;margin:0;padding:0;
  display:flex;gap:1.4rem;flex-wrap:wrap;
}
.tpz-nav-list a,.tpz-head-act a{
  color:#E1D9CE;text-decoration:none;font-size:.9rem;
  display:inline-flex;align-items:center;min-height:44px;
  border-bottom:1px solid transparent;
}
.tpz-nav-list a:hover,.tpz-head-act a:hover{border-bottom-color:#D8B290}
.tpz-head-act{display:flex;gap:1.2rem;flex:0 0 auto;align-items:center}
.tpz-cart-n{
  display:inline-block;margin-left:.35rem;
  background:#D8B290;color:#14110F;border-radius:9px;
  font-family:var(--tpz-f-m);font-size:.7rem;
  padding:.05rem .4rem;min-width:18px;text-align:center;
}
.tpz-head a:focus-visible{outline:2px solid #D8B290;outline-offset:3px}

/* ── page shell ───────────────────────────────────────── */
.tpz-main{min-height:46vh}
.tpz-page{max-width:54rem;margin:0 auto;padding-inline:16px;padding-block:clamp(2rem,5vw,3.5rem) 4rem}
.tpz-page-head{margin-bottom:2rem}
.tpz-page-head h1{
  font-family:var(--tpz-f-d);font-weight:500;
  font-size:clamp(1.8rem,5vw,2.6rem);line-height:1.12;
  letter-spacing:-.018em;margin:0;text-wrap:balance;
}
.tpz-eyebrow{
  font-family:var(--tpz-f-m);font-size:.7rem;letter-spacing:.18em;
  text-transform:uppercase;color:var(--tpz-gold);margin:0 0 .6rem;
}
.tpz-sub{color:var(--tpz-soft);margin:.6rem 0 0}
/* the policy body inside a page already has its own padding; don't double it */
.tpz-page .tpz-policy{padding:0;max-width:none;margin:0}

.tpz-list{display:grid;gap:1.6rem}
.tpz-list-item h2{font-family:var(--tpz-f-d);font-weight:500;font-size:1.2rem;margin:0 0 .3rem}
.tpz-list-item a{color:var(--tpz-frame);text-decoration:underline;text-decoration-color:var(--tpz-gold)}
.tpz-list-item p{margin:0;color:var(--tpz-soft)}
.tpz-pager{margin-top:2.5rem}
.tpz-pager a,.tpz-pager span{padding:.5rem .7rem;display:inline-block;min-height:44px}

/* ── WooCommerce ──────────────────────────────────────── */
.tpz-woo{max-width:76rem}
.tpz-woo-body{font-size:.96rem}

.tpz-woo .woocommerce-message,
.tpz-woo .woocommerce-info,
.tpz-woo .woocommerce-error{
  background:var(--tpz-card);border-top:3px solid var(--tpz-gold);
  color:var(--tpz-frame);border-radius:2px;
  padding:1rem 1.2rem;margin:0 0 1.6rem;list-style:none;
}
.tpz-woo .woocommerce-error{border-top-color:#B3261E}
.tpz-ruo{font-size:.88rem;line-height:1.6}

.tpz-woo ul.products{
  list-style:none;margin:0;padding:0;
  display:grid;gap:1.6rem;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
}
.tpz-woo ul.products li.product{
  background:var(--tpz-card);border:1px solid var(--tpz-rule);
  border-radius:3px;padding:1rem;margin:0;
}
.tpz-woo ul.products li.product a{text-decoration:none;color:inherit}
.tpz-woo ul.products li.product h2,
.tpz-woo ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--tpz-f-d);font-weight:500;font-size:1.02rem;
  margin:.6rem 0 .3rem;line-height:1.3;
}
.tpz-woo .price{
  font-family:var(--tpz-f-m);font-size:.95rem;color:var(--tpz-frame);
  font-variant-numeric:tabular-nums;
}
.tpz-woo .price del{color:var(--tpz-soft);margin-right:.4rem}

.tpz-woo .button,
.tpz-woo button.button,
.tpz-woo input.button,
.tpz-woo a.button,
.tpz-woo #place_order{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:.85rem 1.5rem;
  background:var(--tpz-frame);color:#E1D9CE;
  border:1px solid var(--tpz-frame);border-radius:2px;
  font-family:var(--tpz-f-d);font-weight:500;font-size:.88rem;
  letter-spacing:.07em;text-transform:uppercase;text-decoration:none;
  cursor:pointer;transition:background .18s ease;
}
.tpz-woo .button:hover,.tpz-woo #place_order:hover{background:var(--tpz-mid,#1C1918)}
.tpz-woo .button:focus-visible,.tpz-woo #place_order:focus-visible{
  outline:2px solid var(--tpz-navy);outline-offset:3px;
}
.tpz-woo .button.alt,.tpz-woo #place_order{background:var(--tpz-gold);color:#14110F;border-color:var(--tpz-gold)}
.tpz-woo .button.alt:hover,.tpz-woo #place_order:hover{background:#A8713C;color:#fff}

.tpz-woo table.shop_table{
  width:100%;border-collapse:collapse;margin:0 0 1.8rem;font-size:.92rem;
}
.tpz-woo table.shop_table th,.tpz-woo table.shop_table td{
  text-align:left;padding:.75rem .6rem;border-bottom:1px solid var(--tpz-rule);
  vertical-align:top;
}
.tpz-woo table.shop_table th{
  font-family:var(--tpz-f-d);font-weight:500;font-size:.74rem;
  text-transform:uppercase;letter-spacing:.09em;color:var(--tpz-soft);
}

.tpz-woo .form-row{margin:0 0 1.1rem;display:block}
.tpz-woo label{display:block;font-size:.86rem;font-weight:500;margin:0 0 .35rem}
.tpz-woo input[type=text],.tpz-woo input[type=email],.tpz-woo input[type=tel],
.tpz-woo input[type=password],.tpz-woo input[type=number],
.tpz-woo textarea,.tpz-woo select,.tpz-woo .select2-container .select2-selection{
  width:100%;min-height:46px;padding:.6rem .75rem;
  background:var(--tpz-card);color:var(--tpz-frame);
  border:1px solid var(--tpz-rule);border-radius:2px;
  font-family:var(--tpz-f-b);font-size:16px; /* 16px stops iOS zooming the form */
}
.tpz-woo input:focus,.tpz-woo textarea:focus,.tpz-woo select:focus{
  outline:2px solid var(--tpz-navy);outline-offset:1px;border-color:var(--tpz-navy);
}
.tpz-woo .required{color:#B3261E;text-decoration:none}

/* the attestation and terms boxes: the two gates before payment */
.tpz-woo .tpz-attest,
.tpz-woo .woocommerce-terms-and-conditions-wrapper{
  background:var(--tpz-card);border:1px solid var(--tpz-rule);
  border-left:3px solid var(--tpz-gold);border-radius:2px;
  padding:1rem 1.15rem;margin:1.4rem 0;
}
.tpz-woo .tpz-attest label,
.tpz-woo .woocommerce-terms-and-conditions-wrapper label{
  display:flex;gap:.7rem;align-items:flex-start;
  font-weight:400;font-size:.9rem;line-height:1.55;cursor:pointer;
}
.tpz-woo .tpz-attest input[type=checkbox],
.tpz-woo .woocommerce-terms-and-conditions-wrapper input[type=checkbox]{
  flex:0 0 auto;width:22px;height:22px;margin:1px 0 0;
  accent-color:var(--tpz-frame);cursor:pointer;
}

.tpz-woo .woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 2rem;padding:0;
  display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;border-bottom:1px solid var(--tpz-rule);}
.tpz-woo .woocommerce-MyAccount-navigation a{
  display:inline-flex;align-items:center;min-height:44px;
  text-decoration:none;color:var(--tpz-soft);font-size:.9rem;
  border-bottom:2px solid transparent;margin-bottom:-1px;
}
.tpz-woo .woocommerce-MyAccount-navigation li.is-active a{color:var(--tpz-frame);border-bottom-color:var(--tpz-gold)}

/* ── footer ───────────────────────────────────────────── */
.tpz-foot{
  background:#14110F;color:#E1D9CE;
  font-family:var(--tpz-f-b);font-size:.9rem;line-height:1.6;
  padding:clamp(2.5rem,6vw,4.5rem) clamp(1rem,4vw,3rem) 2.5rem;
}
.tpz-foot-in{max-width:76rem;margin:0 auto}
.tpz-foot-nav{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:2rem 2.5rem;padding-bottom:2.25rem;
  border-bottom:1px solid rgba(225,217,206,.16);
}
.tpz-foot-col h2{
  font-family:var(--tpz-f-d);font-weight:500;font-size:.72rem;
  text-transform:uppercase;letter-spacing:.14em;color:#D8B290;margin:0 0 .9rem;
}
.tpz-foot-col ul{list-style:none;margin:0;padding:0}
.tpz-foot-col li{margin-bottom:.2rem}
.tpz-foot a{
  color:#E1D9CE;text-decoration:none;
  display:inline-flex;align-items:center;min-height:34px;
  border-bottom:1px solid transparent;
}
.tpz-foot a:hover{border-bottom-color:#D8B290}
.tpz-foot a:focus-visible{outline:2px solid #D8B290;outline-offset:3px}
.tpz-foot-hours{color:rgba(225,217,206,.6);margin:.75rem 0 0;font-size:.84rem}

.tpz-foot-entity{
  padding:2rem 0 0;display:flex;flex-wrap:wrap;gap:1rem 3rem;
  justify-content:space-between;align-items:flex-start;
}
.tpz-foot-entity p{margin:0;color:rgba(225,217,206,.78)}
.tpz-foot-entity strong{color:#E1D9CE;font-weight:600}
.tpz-foot-desc{font-size:.84rem}

.tpz-foot-ruo{
  margin:2rem 0 0;padding:1.15rem 1.35rem;
  background:rgba(225,217,206,.05);border-left:2px solid #D8B290;
}
.tpz-foot-ruo p{margin:0;font-size:.82rem;line-height:1.62;color:rgba(225,217,206,.74)}
.tpz-foot-ruo strong{color:#E1D9CE}
.tpz-foot-ruo a{text-decoration:underline;text-decoration-color:#D8B290;display:inline}

.tpz-foot-base{
  margin:2rem 0 0;padding-top:1.4rem;border-top:1px solid rgba(225,217,206,.16);
  display:flex;flex-wrap:wrap;gap:.5rem 2rem;justify-content:space-between;
}
.tpz-foot-base p{margin:0;font-size:.8rem;color:rgba(225,217,206,.55)}

@media (max-width:640px){
  .tpz-head-in{gap:.8rem;padding-block:.5rem}
  .tpz-nav{order:3;flex-basis:100%}
  .tpz-nav-list{gap:1rem}
  .tpz-foot-entity,.tpz-foot-base{flex-direction:column}
  .tpz-woo ul.products{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
