.storefront-v2 {
  --orange: #b94320;
  --orange-dark: #903219;
  --ink: #183a31;
  --green: #234a3d;
  --muted: #576357;
  --paper: #fffcf6;
  --cream: #f8f6ef;
  --light-green: #edf1e8;
  --line: #dedfd4;
  --radius: 16px;
  background: var(--cream);
}
.storefront-v2.admin-mode {
  --orange: #e96531;
  --orange-dark: #b94218;
  --ink: #293e34;
  --green: #314c3c;
  --muted: #7c8175;
  --paper: #fffdf8;
  --cream: #faf7ef;
  --line: #e6e5da;
  --light-green: #edf1e6;
  background: var(--paper);
}
.storefront-v2:not(.admin-mode) :focus-visible { outline: 3px solid #995330; outline-offset: 3px; }
.storefront-v2:not(.admin-mode) input[type='checkbox'],
.storefront-v2:not(.admin-mode) input[type='radio'] { accent-color: var(--green); }
.storefront-v2 .announcement {
  align-items: center;
  padding: 6px max(32px, calc((100vw - 1200px)/2));
  background: #19382e;
  color: #fff9ed;
  line-height: 1.65;
}
.storefront-v2 .announcement a { padding-block: 2px; }
.storefront-v2 #header { background: #fffcf6; }
.storefront-v2 .shop-header {
  max-width: 1280px;
  min-height: 75px;
  padding: 12px 32px;
  gap: clamp(18px, 2.7vw, 36px);
}
.shop-brand { gap: 9px; }
.storefront-v2 .shop-brand img { width: 44px; height: 44px; }
.shop-brand-name { white-space: nowrap; font-size: 24px; font-weight: 700; letter-spacing: -.035em; line-height: 1.3; }
.shop-brand-name span { color: var(--orange); }
.shop-header .main-nav { gap: clamp(15px, 2vw, 29px); }
.shop-header .main-nav a { display: flex; align-items: center; padding-block: 10px; }
.shop-header .main-nav a[aria-current] { color: var(--orange-dark); font-weight: 600; }
.shop-header .main-nav a.active::after {
  width: auto;
  height: 2px;
  left: 0;
  right: 0;
  bottom: 4px;
  border-radius: 2px;
  background: var(--orange);
}
.storefront-v2 .shop-site-search {
  display: flex;
  flex-direction: row;
  gap: 0;
  min-width: 0;
  flex: 1 1 250px;
  max-width: 315px;
  margin-left: auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f4f3eb;
}
.shop-site-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 2px #b740201f; }
.shop-site-search input {
  flex: 1;
  min-width: 0;
  width: auto;
  padding: 8px 0 8px 13px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}
.shop-site-search input:focus-visible { outline: none !important; }
.shop-site-search input::placeholder { color: var(--muted); opacity: 1; }
.shop-site-search button {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  background: transparent;
  border: 0;
  border-radius: 8px;
}
.shop-site-search button:hover { background: #e8ebdf; }
.shop-header .shop-header-actions { margin: 0; gap: 5px; }
.shop-header-actions .icon-btn { width: 43px; height: 43px; border-radius: 8px; }
.shop-header-actions .icon-btn:hover { background: var(--light-green); color: var(--ink); }
.shop-header-actions .cart-count { top: 2px; right: 1px; min-width: 19px; width: auto; padding: 0 3px; }
.storefront-v2 #shop-mobile-nav { display: none; }
.storefront-v2 .shop-page-title { background: #efeee4; padding: 25px 0 28px; }
.shop-page-title .breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.shop-page-title .breadcrumb a:hover { text-decoration: underline; }
.storefront-v2 .shop-page-title h1 { font-family: var(--serif); font-size: clamp(27px, 4.1vw, 46px); margin-top: 5px; }
.storefront-v2 .shop-page-title p { color: var(--muted); }

.market-hero { background: #eeeee3; padding-block: 32px; }
.market-hero-inner { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: stretch; }
.market-hero-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 5vw, 72px) clamp(25px, 4.3vw, 64px);
  border: 1px solid #dbdfd0;
  border-right: 0;
  border-radius: 22px 0 0 22px;
  background: #f9f7ed;
}
.market-location { display: flex; align-items: center; gap: 7px; color: #395244; font-size: 14px; font-weight: 600; }
.market-location .icon { width: 17px; height: 17px; color: var(--orange); }
.market-hero h1 {
  margin-block: 18px 13px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -.055em;
}
.market-hero h1 span { color: var(--orange); }
.market-lead { max-width: 34ch; color: var(--muted); font-size: clamp(15px, 1.45vw, 18px); line-height: 1.75; }
.market-hero-actions { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 24px; }
.storefront-v2:not(.admin-mode) .btn { border-radius: 9px; }
.market-hero-actions .btn { min-height: 49px; }
.market-secondary-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--green); font-size: 14px; font-weight: 600; }
.market-secondary-link:hover { color: var(--orange); text-decoration: underline; text-underline-offset: 4px; }
.market-secondary-link svg { width: 17px; height: 17px; }
.market-hero-photo { margin: 0; min-width: 0; min-height: 430px; position: relative; border-radius: 0 22px 22px 0; overflow: hidden; background: #d4c4a8; }
.market-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 51% 51%; }

.market-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 21px; }
.market-shortcuts a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  min-height: 55px;
  padding: 7px 9px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-align: center;
}
.market-shortcuts a:hover { background: var(--light-green); border-color: #a7b6a5; }
.market-shortcuts .icon { width: 19px; height: 19px; flex-shrink: 0; color: var(--orange); }
.market-section { margin-block: 43px 48px; }
.market-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 17px; }
.market-section-head h2, .market-story h2 { font-family: var(--serif); font-size: clamp(26px, 3.1vw, 39px); font-weight: 600; }
.market-promo-wrap { margin-block: 0 48px; }
.market-promo { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(21px, 4.8vw, 46px); border-radius: 18px; background: var(--green); color: #fff9ec; }
.market-promo h2 { font-size: clamp(23px, 3.8vw, 38px); overflow-wrap: anywhere; }
.market-promo p { color: #e1eddf; }
.market-promo-details { margin-top: 8px; max-width: 56ch; overflow-wrap: anywhere; }
.market-promo .btn { flex-shrink: 0; color: #19382e; }
.market-story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(16px, 4vw, 62px); padding-bottom: 65px; }
.market-story img { width: 100%; height: clamp(245px, 29vw, 390px); border-radius: 17px; object-position: center 62%; }
.market-story h2 { margin-block: 9px; }
.market-story p:not(.market-location) { max-width: 46ch; color: var(--muted); margin-bottom: 9px; }

.shop-footer { border-top: 1px solid #ced7ca; background: #e8eee5; }
.shop-footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3,minmax(0,1fr)); gap: 24px; padding-block: 35px; }
.shop-footer-grid h2 { font: 600 15px var(--font); margin-bottom: 10px; }
.shop-footer-grid > div > a:not(.brand) { display: block; width: fit-content; padding-block: 4px; color: var(--muted); overflow-wrap: anywhere; }
.shop-footer-grid > div > a:hover { color: var(--orange-dark); text-decoration: underline; }
.shop-footer-brand p { color: var(--muted); margin-top: 10px; }
.shop-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; border-top: 1px solid #ced7ca; padding-block: 12px; color: #435647; font-size: 13px; }

.storefront-v2:not(.admin-mode) .auth-layout-v2 { background: var(--paper); border-radius: 18px; }
.storefront-v2:not(.admin-mode) .auth-layout-v2 .auth-form h2 { font-size: clamp(22px, 3.4vw, 29px); margin-bottom: 8px; }
.storefront-v2:not(.admin-mode) .line-login-button { background: #00843e; }
.storefront-v2:not(.admin-mode) .line-login-button:hover { background: #006b32; }
.storefront-v2:not(.admin-mode) .line-login-button:disabled { background: var(--light-green); color: var(--muted); }
.storefront-v2:is([data-store-page='cart'], [data-store-page='checkout']) .cart-layout > * { min-width: 0; }
.storefront-v2:is([data-store-page='cart'], [data-store-page='checkout']) .summary {
  top: 90px;
  border-color: #cbd7c9;
  background: #f6f9f2;
}
.storefront-v2:is([data-store-page='cart'], [data-store-page='checkout']) .summary > p { font-size: 12px; }
.storefront-v2:is([data-store-page='cart'], [data-store-page='checkout']) .summary .btn { min-height: 45px; }
.shop-cart-title { padding-bottom: 8px; font-size: 21px; }
.storefront-v2 .cart-row h3 { overflow-wrap: anywhere; }
.storefront-v2 .cart-row .remove { min-height: 36px; }
.storefront-v2 .checkout-steps .selected { font-weight: 600; }
.storefront-v2:not(.admin-mode) .summary-line { font-size: 14px; }
.storefront-v2:not(.admin-mode) .cart-row .qty button { min-height: 40px; }

@media (max-width: 920px) {
  .storefront-v2 .shop-header { min-height: 64px; gap: 12px; }
  .shop-header .main-nav { display: none; }
  .shop-header .mobile-menu { display: inline-flex; }
  .storefront-v2 #shop-mobile-nav:not(.hidden) {
    display: flex;
    flex-wrap: wrap;
    padding: 5px 32px;
    gap: 4px 20px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    font-size: 14px;
  }
  #shop-mobile-nav a { display: inline-flex; align-items: center; min-height: 42px; }
  #shop-mobile-nav a[aria-current] { color: var(--orange-dark); font-weight: 600; }
  .market-hero-photo { min-height: 355px; }
  .market-hero h1 { font-size: clamp(32px, 5.3vw, 49px); }
}
@media (max-width: 640px) {
  .storefront-v2 .announcement { justify-content: space-between; padding-inline: 16px; gap: 6px; font-size: 11px; }
  .storefront-v2 #header { position: relative; }
  .storefront-v2 .shop-header { display: grid; grid-template-columns: minmax(0,1fr) max-content; padding: 8px 16px 11px; gap: 6px; }
  .shop-header .shop-brand-name { font-size: clamp(16px, 5vw, 22px); }
  .storefront-v2 .shop-header .shop-brand img { width: 37px; height: 37px; }
  .shop-header .shop-header-actions { grid-column: 2; grid-row: 1; gap: 1px; }
  .shop-header-actions .icon-btn { width: 42px; height: 42px; }
  .storefront-v2 .shop-site-search { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; }
  .shop-site-search input { font-size: 16px; }
  .storefront-v2 #shop-mobile-nav:not(.hidden) { padding-inline: 16px; column-gap: 15px; }
  .storefront-v2 .shop-page-title { padding-block: 17px 22px; }
  .market-hero { padding-block: 14px 16px; }
  .market-hero-inner { grid-template-columns: 1fr; }
  .market-hero-copy { border: 1px solid #dbdfd0; border-bottom: 0; border-radius: 16px 16px 0 0; padding: 21px 19px 19px; }
  .market-location { font-size: 13px; }
  .market-hero h1 { margin-block: 9px 9px; font-size: clamp(36px, 8.7vw, 52px); }
  .market-hero-actions { margin-top: 15px; gap: 5px 14px; }
  .market-hero-actions .btn { padding-inline: 12px; }
  .market-hero-actions .market-secondary-link { font-size: 13px; }
  .market-hero-photo { min-height: 0; aspect-ratio: 16/9; border-radius: 0 0 16px 16px; }
  .market-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 13px; }
  .market-shortcuts a { min-height: 47px; font-size: 13px; }
  .market-section { margin-block: 29px 33px; }
  .market-section-head { gap: 4px 10px; margin-bottom: 11px; }
  .market-section-head .market-secondary-link { font-size: 12px; }
  .market-promo-wrap { margin-bottom: 34px; }
  .market-promo { flex-wrap: wrap; border-radius: 13px; }
  .market-story { grid-template-columns: 1fr; padding-bottom: 34px; }
  .market-story img { height: 215px; }
  .shop-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding-block: 21px; }
  .shop-footer-brand { grid-column: 1/-1; }
  .shop-footer-bottom { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .storefront-v2 .btn { transition: none; }
  .storefront-v2 .btn:hover { transform: none; }
}
