*{box-sizing:border-box} body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f5f6f8;color:#20242a} a{color:inherit}.wrap{max-width:1100px;margin:0 auto;padding:0 18px}.site-header{background:#151b22;color:white}.header-row{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:64px}.brand{font-weight:700;text-decoration:none}.site-header nav{display:flex;gap:18px;flex-wrap:wrap}.site-header nav a{text-decoration:none;color:#fff}.hero{padding:34px 0 20px}.hero h1{margin:.2em 0}.muted{color:#68717d}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin:20px 0}.card{background:white;border:1px solid #dde1e6;border-radius:10px;overflow:hidden}.card-body{padding:18px}.product-image{height:220px;background:#e9edf1;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain;background:white}.placeholder{color:#808894}.btn{display:inline-block;border:0;border-radius:7px;padding:10px 15px;background:var(--accent,#1f4f78);color:white;text-decoration:none;cursor:pointer;font-weight:700}.btn.secondary{background:#56616d}.btn.danger{background:#a73535}.btn.light{background:#e7eaee;color:#20242a}.actions{display:flex;gap:8px;flex-wrap:wrap}.panel{background:white;border:1px solid #dde1e6;border-radius:10px;padding:20px;margin:18px 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .full{grid-column:1/-1}label{display:block;font-weight:700;margin-bottom:6px}input[type=text],input[type=password],input[type=email],input[type=number],textarea,select{width:100%;padding:10px;border:1px solid #c8ced6;border-radius:7px;background:white;font:inherit}input[type=color]{width:70px;height:38px;border:1px solid #c8ced6;border-radius:6px}.product-admin{display:grid;grid-template-columns:110px 1.4fr .6fr 1fr auto;gap:12px;align-items:end;border-top:1px solid #e4e7eb;padding:14px 0}.product-admin:first-child{border-top:0}.thumb{width:100px;height:90px;object-fit:contain;background:#f3f4f6;border:1px solid #ddd}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;background:white}.table th,.table td{padding:11px 10px;border-bottom:1px solid #e3e6e9;text-align:left;vertical-align:top}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#e7edf3;font-size:.85rem}.badge.paid{background:#dff3e4}.badge.archived{background:#eee}.club-banner{padding:26px;border-radius:10px;background:white;border-top:8px solid var(--accent,#1f4f78);margin:22px 0}.price{font-size:1.3rem;font-weight:700}.checkout-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:20px}.notice{padding:12px 14px;border-radius:7px;background:#fff4cf;border:1px solid #ead58e;margin:14px 0}.success{background:#e3f5e8;border-color:#a9d9b7}.login{max-width:440px;margin:60px auto}.small{font-size:.9rem}footer{margin-top:50px;background:#e9ecf0;padding:24px 0;color:#67707a}@media(max-width:760px){.form-grid,.checkout-grid{grid-template-columns:1fr}.product-admin{grid-template-columns:1fr}.header-row{align-items:flex-start;flex-direction:column;padding-top:15px;padding-bottom:15px}}

.style-checks{margin-top:10px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}.inline-check{display:inline-flex;align-items:center;gap:4px;font-weight:400;margin:0}.product-detail{display:grid;grid-template-columns:minmax(260px,1fr) minmax(260px,.8fr);gap:28px;align-items:start}.product-image.large{width:100%;height:auto;max-height:560px;object-fit:contain;background:white}@media(max-width:760px){.product-detail{grid-template-columns:1fr}}

/* v1.9 presentation polish */
.site-header{border-bottom:3px solid var(--club-secondary,#ffffff)}
.club-banner{position:relative;overflow:hidden;padding:30px 28px;border-top:0;border-left:7px solid var(--accent,#1f4f78)}
.club-banner:after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--club-secondary,#ffffff)}
.club-banner h1{margin:.15em 0 .25em;font-size:2rem}.club-banner p{margin:.2em 0}
.eyebrow{margin:0 0 7px;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:700;color:var(--accent,#1f4f78)}
.product-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:20px 0}
.product-card{display:flex;flex-direction:column;transition:transform .12s ease,border-color .12s ease}.product-card:hover{transform:translateY(-2px);border-color:#c9d0d8}
.product-card .card-body{display:flex;flex-direction:column;align-items:flex-start;flex:1}.product-card h2{margin:0 0 8px;font-size:1.2rem}.product-card .price{margin:0 0 16px}.product-card .btn{margin-top:auto}
.product-topline{margin:24px 0 6px}.back-link{text-decoration:none;color:#58616c}.back-link:hover{text-decoration:underline}
.product-detail{grid-template-columns:minmax(320px,1.15fr) minmax(300px,.85fr);gap:38px;padding:28px}
.product-media{min-width:0}.product-image.large{display:flex;align-items:center;justify-content:center;min-height:420px;max-height:620px;border-radius:8px;border:1px solid #e3e6e9}
.product-info{padding:8px 4px}.product-info h1{font-size:2rem;margin:.1em 0 .2em}.product-price{font-size:1.6rem;margin:.25em 0 18px;color:var(--accent,#1f4f78)}
.product-rule{height:3px;width:56px;background:var(--club-secondary,#e7eaee);border-left:28px solid var(--accent,#1f4f78);margin:0 0 22px}
.product-form p{margin:0 0 16px}.product-form select,.product-form input[type=number]{max-width:360px}.product-add{margin-top:4px;min-width:180px}
.panel{box-shadow:0 1px 0 rgba(0,0,0,.02)}
.table th{font-size:.9rem;color:#59636f;background:#f8f9fa}
.checkout-grid .panel h2{margin-top:0}.checkout-grid .panel:last-child{border-top:4px solid var(--accent,#1f4f78)}
@media(max-width:760px){.club-banner{padding:24px 20px}.product-detail{grid-template-columns:1fr;gap:20px;padding:18px}.product-image.large{min-height:0;max-height:none}.product-info{padding:0}.product-info h1{font-size:1.7rem}.product-form select,.product-form input[type=number]{max-width:none}}


/* v1.10 Ron Hill Specials branding */
.site-header{background:#fff;color:#24282d;border-bottom:1px solid #dfe3e7;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.site-header nav a{color:#24282d;font-weight:600}.site-header nav a:hover{color:var(--accent,#1f4f78)}
.brand-lockup{display:flex;align-items:center;gap:13px;color:#24282d;text-transform:uppercase;letter-spacing:.16em;font-size:.82rem}
.brand-lockup img{display:block;width:172px;height:45px;object-fit:contain;object-position:left center}
.brand-lockup span{padding-left:13px;border-left:1px solid #d5d9dd;white-space:nowrap}.brand-lockup small{display:block;margin-top:3px;font-size:.62rem;letter-spacing:.1em;color:#7a828a}
.home-hero{padding-top:46px}.home-hero h1{font-size:2.25rem;margin:.1em 0 .25em}
.club-banner{background:linear-gradient(100deg,#fff 0%,#fff 74%,var(--club-secondary,#fff) 160%);box-shadow:0 2px 10px rgba(0,0,0,.035)}
.club-banner h1{color:#22272c}.eyebrow{color:var(--accent,#1f4f78)}
.btn{transition:filter .12s ease,transform .12s ease}.btn:hover{filter:brightness(.92);transform:translateY(-1px)}
footer{background:#fff;border-top:1px solid #dde2e6}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:24px}.footer-brand{display:flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:700;color:#353a40}.footer-brand img{width:105px;height:30px;object-fit:contain;object-position:left center}
@media(max-width:760px){.brand-lockup img{width:145px}.brand-lockup span{display:none}.footer-row{align-items:flex-start;flex-direction:column}.footer-brand img{width:95px}}


/* v1.11 layout correction + cache-safe branding */
/* Public club shop: image left, garment information right */
.product-cards{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  margin:20px 0;
}
.product-card{
  display:grid;
  grid-template-columns:minmax(220px, 38%) 1fr;
  min-height:250px;
  align-items:stretch;
}
.product-card .product-image{
  height:100%;
  min-height:250px;
  border-right:1px solid #e3e6e9;
}
.product-card .card-body{
  padding:28px 30px;
  justify-content:center;
  align-items:flex-start;
}
.product-card h2{
  font-size:1.55rem;
  margin:0 0 10px;
}
.product-card .price{
  font-size:1.35rem;
  margin:0 0 22px;
}
.product-card .btn{
  margin-top:0;
}

/* Ron Hill Specials branding should be a quiet manufacturer mark, not the page content */
.brand-lockup img{
  width:112px;
  height:32px;
  max-width:112px;
  max-height:32px;
}
.brand-lockup{
  gap:10px;
  font-size:.72rem;
}
.brand-lockup span{
  padding-left:10px;
}
.footer-brand img{
  width:78px;
  height:22px;
  max-width:78px;
  max-height:22px;
}
.footer-brand{
  font-size:.66rem;
  gap:8px;
}

@media(max-width:760px){
  .product-card{
    grid-template-columns:1fr;
    min-height:0;
  }
  .product-card .product-image{
    height:220px;
    min-height:220px;
    border-right:0;
    border-bottom:1px solid #e3e6e9;
  }
  .product-card .card-body{
    padding:20px;
  }
  .brand-lockup img{
    width:96px;
    height:28px;
    max-width:96px;
    max-height:28px;
  }
  .footer-brand img{
    width:70px;
    height:20px;
    max-width:70px;
    max-height:20px;
  }
}

/* v1.12 visual refinement -------------------------------------------------- */
:root{
  --shell:#0d1721;
  --ink:#151a20;
  --soft:#f4f6f8;
  --line:#dfe4e8;
}
body{background:#f6f7f8;color:var(--ink)}
.wrap{max-width:1420px;padding-left:34px;padding-right:34px}

/* Permanent Ron Hill Specials masthead */
.site-header{
  background:var(--shell);
  color:#fff;
  border:0;
  box-shadow:none;
}
.header-row{min-height:86px}
.site-header nav{gap:28px;align-items:center}
.site-header nav a{color:#fff;font-weight:500}
.site-header nav a:hover{color:#fff;opacity:.78}
.brand-lockup{color:#fff;gap:13px}
.brand-lockup img{
  width:205px;
  max-width:205px;
  height:52px;
  max-height:52px;
  filter:brightness(0) invert(1);
  object-fit:contain;
}
.brand-lockup span{color:#fff;border-left:1px solid rgba(255,255,255,.28);font-size:.7rem}
.brand-lockup small{color:rgba(255,255,255,.7)}

/* Club identity band: the club's colours own this area. */
.club-banner{
  margin:0 -34px 30px;
  padding:34px 34px 36px;
  border:0;
  border-radius:0;
  background:var(--accent,#1f4f78);
  color:#fff;
  box-shadow:none;
  position:relative;
  isolation:isolate;
}
.club-banner:before{
  content:"";
  position:absolute;
  z-index:-1;
  right:0;
  top:0;
  width:34%;
  height:100%;
  background:var(--club-secondary,#fff);
  opacity:.14;
  clip-path:polygon(24% 0,100% 0,100% 100%,0 100%);
}
.club-banner:after{
  left:0;
  right:0;
  bottom:0;
  height:4px;
  background:var(--club-secondary,#fff);
  opacity:.9;
}
.club-banner h1{font-size:2.15rem;color:#fff;margin:.1em 0 .25em}
.club-banner .muted{color:rgba(255,255,255,.88)}
.club-banner .eyebrow{color:#fff;opacity:.8;letter-spacing:.06em}

/* Club catalogue: compact artwork, generous information area. */
.product-cards{gap:16px;margin:24px 0}
.product-card{
  grid-template-columns:300px 1fr;
  min-height:220px;
  border-radius:12px;
  box-shadow:none;
  background:#fff;
  border:1px solid var(--line);
}
.product-card:hover{transform:none;border-color:#cbd2d8}
.product-card .product-image{
  height:220px;
  min-height:220px;
  background:#fff;
  border-right:1px solid #edf0f2;
  padding:16px 28px;
}
.product-card .product-image img{
  width:auto;
  height:auto;
  max-width:180px;
  max-height:185px;
  object-fit:contain;
}
.product-card .card-body{padding:30px 44px;justify-content:center}
.product-card h2{font-size:1.55rem;margin-bottom:8px}
.product-card .price{font-size:1.35rem;color:var(--accent,#1f4f78);margin-bottom:20px}
.btn{background:var(--accent,#1f4f78);border-radius:7px;padding:11px 18px;font-weight:600}

/* Individual garment page: keep uploaded artwork visually restrained. */
.product-detail{grid-template-columns:360px minmax(340px,1fr);gap:52px;align-items:center;padding:32px 42px}
.product-media{display:flex;align-items:center;justify-content:center}
.product-image.large{
  min-height:0;
  width:100%;
  height:360px;
  max-height:360px;
  padding:24px;
  border:0;
  background:#fff;
  object-fit:contain;
}
.product-media img.product-image.large{
  max-width:290px;
  margin:0 auto;
}
.product-info{max-width:650px}
.product-rule{background:var(--club-secondary,#e7eaee);border-left-color:var(--accent,#1f4f78)}

/* Footer remains manufacturer-led, but quiet. */
footer{background:#fff;border-top:1px solid var(--line);padding:28px 0}
.footer-brand img{filter:none;width:150px;max-width:150px;height:40px;max-height:40px}
.footer-brand span{font-size:.68rem}

@media(max-width:820px){
  .wrap{padding-left:18px;padding-right:18px}
  .header-row{min-height:72px}
  .brand-lockup img{width:158px;max-width:158px;height:42px;max-height:42px}
  .club-banner{margin:0 -18px 24px;padding:27px 20px 29px}
  .product-card{grid-template-columns:210px 1fr;min-height:190px}
  .product-card .product-image{height:190px;min-height:190px;padding:12px 20px}
  .product-card .product-image img{max-width:145px;max-height:155px}
  .product-card .card-body{padding:22px 26px}
  .product-detail{grid-template-columns:280px 1fr;gap:28px;padding:24px}
  .product-image.large{height:300px;max-height:300px}
  .product-media img.product-image.large{max-width:235px}
}

@media(max-width:620px){
  .site-header nav{gap:15px;font-size:.92rem}
  .brand-lockup span{display:none}
  .product-card{grid-template-columns:1fr;min-height:0}
  .product-card .product-image{height:200px;min-height:200px;border-right:0;border-bottom:1px solid #edf0f2}
  .product-card .product-image img{max-height:165px;max-width:165px}
  .product-card .card-body{padding:22px}
  .product-detail{grid-template-columns:1fr;gap:16px;padding:20px}
  .product-image.large{height:270px;max-height:270px}
  .product-media img.product-image.large{max-width:220px}
  .footer-brand img{width:120px;max-width:120px}
}

/* v1.13 private club access */
.club-access-panel{max-width:520px;margin:28px auto 40px}
.club-access-panel .btn{min-width:180px}

/* v1.15 public login gate */
.login-banner { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.admin-entry { text-align: center; margin: 18px 0 36px; }
.admin-entry a { color: var(--muted); font-size: .92rem; }

/* v1.16: keep club-name/shop-code fields the same width as password fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
    box-sizing: border-box;
}
.club-name-input,
.shop-code-input {
    width: 100%;
}


/* v1.17: club-name fields.
   Some club-name inputs intentionally omit type="text"; browsers treat them as text,
   but CSS input[type="text"] does not match an omitted type attribute. */
.club-access-panel input[name="club_identifier"],
input[name="club_name"],
input[name="club_identifier"] {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid #c8ced6;
    border-radius: 7px;
    background: #fff;
    font: inherit;
    box-sizing: border-box;
}

/* v1.19 basket UX */
.basket-link{display:inline-flex;align-items:center;gap:6px;position:relative}
.basket-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:800;line-height:1}
.basket-added{margin-top:18px}


/* v1.21.1 company disclosure + privacy/cookies */
.site-footer{margin-top:50px;background:#fff;border-top:1px solid #dde2e6;padding:26px 0;color:#67707a}
.footer-grid{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(360px,1.6fr) auto;gap:28px;align-items:start}
.footer-brand-block{display:flex;flex-direction:column;gap:9px}
.footer-payment{font-size:.82rem;color:#737c86}
.business-details{font-style:normal;font-size:.82rem;line-height:1.55;color:#616a74}
.business-details strong{color:#333940}
.business-details a,.footer-links a{color:#4f5964}
.footer-links{display:flex;flex-direction:column;gap:8px;font-size:.86rem;white-space:nowrap}
.footer-links a{text-decoration:none;font-weight:600}.footer-links a:hover{text-decoration:underline}
.legal-hero{max-width:850px}.legal-copy{max-width:850px}.legal-copy h2{margin-top:1.55em;margin-bottom:.45em}.legal-copy h2:first-child{margin-top:0}.legal-copy p{line-height:1.65}
@media(max-width:800px){.footer-grid{grid-template-columns:1fr;gap:18px}.footer-links{white-space:normal}}

/* v1.22.2 Kids VAT display marker */
.product-price-row{display:flex;align-items:center;gap:10px;margin:.25em 0 18px;flex-wrap:wrap}.product-price-row .product-price{margin:0}.no-vat-badge{align-items:center;padding:4px 8px;border-radius:999px;background:#e7edf3;font-size:.78rem;font-weight:700;letter-spacing:.04em;color:#20242a}
