/*
Theme Name: Oddkicks
Description: Sneaker storefront for WooCommerce.
Version: 0.9.8
*/
:root{--ink:#121514;--paper:#f7f7f2;--line:#dadcd4;--accent:#d7fa48}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 system-ui,sans-serif}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:3px solid #527515;outline-offset:4px}
img{max-width:100%;height:auto}
.site-header,.site-footer{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.25rem clamp(1rem,5vw,5rem);border-bottom:1px solid var(--line)}
.site-footer{border-top:1px solid var(--line);border-bottom:0}
.site-header a,.site-footer a{text-decoration:none}
.wordmark{font-size:1.5rem;font-weight:950;letter-spacing:-.08em}
.site-header ul,.shop-links{display:flex;flex-wrap:wrap;gap:1.25rem;margin:0;padding:0;list-style:none}
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:34rem;background:#202622;color:#fcfcf7}
.hero-copy{padding:clamp(2rem,7vw,8rem)}
.hero h1{margin:0 0 1.5rem;font-size:clamp(3.25rem,7.8vw,8rem);line-height:.93;letter-spacing:-.085em}
.shop-button{display:inline-flex;gap:2rem;background:var(--accent);color:var(--ink);padding:.9rem 1.2rem;text-decoration:none;font-weight:750}
.hero-image{display:grid;place-items:center;background:#e5e8da;min-height:100%;padding:clamp(1rem,4vw,4rem)}
.hero-image img{display:block;width:100%;max-height:31rem;object-fit:contain;mix-blend-mode:multiply}
.shop-section,.content-shell{width:min(92%,87rem);margin:clamp(2rem,6vw,5rem) auto}
.shop-section h2{font-size:clamp(2rem,4vw,4rem);line-height:1;letter-spacing:-.065em}
.collections{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(12rem,100%),1fr));gap:.75rem}
.collections a{display:flex;justify-content:space-between;gap:.75rem;padding:1rem;border:1px solid var(--line);text-decoration:none;font-weight:700}
.collections a:hover{background:var(--accent)}
.skip-link{position:absolute;top:1rem;left:1rem;transform:translateY(-200%);background:var(--accent);padding:.65rem}
.skip-link:focus{transform:none;z-index:100}
@media(max-width:650px){
  .site-header{flex-wrap:wrap;gap:.65rem 1.1rem}
  .hero{grid-template-columns:1fr;min-height:auto}
  .hero-image img{max-height:19rem}
}

.sneaker-hero{grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr);background:#151d19}
.sneaker-hero .hero-copy{padding:clamp(2rem,6vw,6.5rem)}
.sneaker-hero .hero-copy p{margin:0 0 1.5rem;color:#e1e8d9}
.sneaker-hero .hero-image{display:block;padding:0;background:#435344}
.sneaker-hero .hero-image img{width:100%;height:100%;min-height:34rem;max-height:none;object-fit:cover;mix-blend-mode:normal}
.sneaker-hero:not(:has(.hero-image)){grid-template-columns:1fr}
@media(max-width:720px){
  .sneaker-hero{grid-template-columns:1fr;min-height:auto}
  .sneaker-hero .hero-image img{min-height:0;max-height:24rem}
}

.oddkicks-footer{background:#151d19;color:#f7f7f2;padding:0 clamp(1.25rem,5vw,5rem)}
.footer-directory{display:grid;grid-template-columns:1.35fr repeat(3,minmax(0,1fr));gap:2.5rem;padding:3.5rem 0}
.footer-identity .wordmark{font-size:clamp(2rem,4vw,4rem);line-height:1;color:var(--accent)}
.oddkicks-footer a{text-decoration:none}
.oddkicks-footer a:hover{text-decoration:underline;text-underline-offset:.25em}
.oddkicks-footer a:focus-visible{outline-color:var(--accent)}
.oddkicks-footer h2{font-size:.95rem;margin:0 0 1rem}
.oddkicks-footer ul{display:grid;gap:.5rem;list-style:none;margin:0;padding:0;color:#d6ded4}
.footer-bottom{border-top:1px solid #47524b;color:#c5cec3;font-size:.875rem;padding:1.25rem 0}
@media(max-width:820px){.footer-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}}
@media(max-width:420px){.footer-directory{grid-template-columns:1fr;gap:1.5rem}}

.single-product .content-shell{max-width:78rem}
.single-product .woocommerce-breadcrumb{margin-bottom:1.5rem}
.single-product div.product div.images .woocommerce-product-gallery__wrapper{margin:0;background:#eef0e8;border-radius:1rem;overflow:hidden}
.single-product div.product div.images img{object-fit:contain}
.single-product div.product div.summary{padding:clamp(0rem,2vw,2rem) 0}
.single-product div.product .product_title{font-size:clamp(1.8rem,3.6vw,3.5rem);line-height:1.03;letter-spacing:-.055em}
.single-product div.product p.price{color:#254331;font-size:1.45rem;font-weight:750}
.single-product .woocommerce-product-details__short-description{margin:1.5rem 0}
.single-product div.product form.cart{padding-top:1rem;border-top:1px solid var(--line)}
.single-product div.product form.cart table.variations th{display:block;text-align:left;padding-bottom:0}
.single-product div.product form.cart table.variations td{display:block}
.single-product div.product form.cart select{padding:.65rem;border:1px solid var(--line);border-radius:.35rem}
.single-product div.product form.cart .single_add_to_cart_button{padding:.85rem 1.25rem;background:#172419;color:#fff;border-radius:.35rem}
.single-product div.product .woocommerce-tabs .panel{padding:1.25rem 0}
.single-product .product_meta{padding-top:1rem;border-top:1px solid var(--line);font-size:.9rem}

/* Product detail */
.single-product .content-shell {
  width: min(calc(100% - 2.5rem), 80rem);
  margin: clamp(1.5rem, 4vw, 3.75rem) auto 5rem;
}
.single-product .woocommerce-breadcrumb {
  color: #576359;
  font-size: .875rem;
  margin-bottom: 1.5rem;
}
.single-product #content.content-shell > div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
  gap: 1.75rem clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.single-product #content.content-shell > div.product > * { grid-column: 1 / -1; }
.single-product #content.content-shell > div.product > div.images,
.single-product #content.content-shell > div.product > div.summary {
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
}
.single-product #content.content-shell > div.product > div.images { grid-column: 1; }
.single-product #content.content-shell > div.product > div.summary {
  grid-column: 2;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image:first-child img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .75rem;
}
.single-product div.product div.images .flex-control-thumbs li {
  float: none;
  width: min(19%, 5.25rem);
  border-radius: .45rem;
  overflow: hidden;
}
.single-product div.product .product_title {
  margin: 0 0 .9rem;
  font-size: clamp(1.7rem, 3.1vw, 3rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.single-product div.product p.price { margin: .75rem 0; color: #263e2b; }
.single-product div.product .price del { color: #59645d; font-weight: 500; }
.single-product div.product .price ins { text-decoration: none; }
.single-product div.product .woocommerce-product-rating { margin: .75rem 0; }
.single-product .woocommerce-product-details__short-description p { margin: 0; }
.single-product div.product form.cart { margin: 1.4rem 0; }
.single-product div.product form.cart .variations label { font-weight: 720; }
.single-product div.product form.cart .variations td { padding-bottom: .75rem; }
.single-product div.product form.cart .quantity input.qty {
  min-height: 44px;
  width: 4rem;
  border: 1px solid #aeb9ae;
  border-radius: .45rem;
}
.single-product div.product form.cart .single_add_to_cart_button {
  min-height: 44px;
  background: var(--accent);
  color: var(--ink);
}
.single-product div.product form.cart .single_add_to_cart_button:not(.disabled):hover {
  background: #bde32d;
}
.single-product .ok-variant-options button { border-radius: .5rem; }
.single-product .ok-variant-options button[aria-pressed=true] {
  background: var(--accent);
  border-color: #4a6423;
  color: var(--ink);
}
.single-product .woocommerce-tabs {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
}
.single-product .woocommerce-tabs ul.tabs li { margin: 0; border-radius: .5rem; }
.single-product .woocommerce-tabs ul.tabs li.active { background: #edf5d6; border-color: #768665; }
.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after { display: none; }
.single-product .related > h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.045em; }
@media (max-width: 760px) {
  .single-product .content-shell { width: calc(100% - 1.5rem); }
  .single-product #content.content-shell > div.product { display: block; }
  .single-product #content.content-shell > div.product > div.images { margin-bottom: 1rem; }
  .single-product .woocommerce-tabs { margin-top: 1.25rem; }
}
.single-product #content.content-shell > div.product::before,
.single-product #content.content-shell > div.product::after { display: none; }
.single-product #content.content-shell > div.product > .onsale { z-index: 2; }

.oddkicks-size-preview{border:0;border-top:1px solid var(--line);padding:1rem 0 0;margin:1.25rem 0;min-width:0}
.oddkicks-size-preview legend{padding:0 .5rem 0 0;font-weight:750}
.oddkicks-size-preview-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(3.1rem,1fr));gap:.45rem}
.oddkicks-size-preview-options label{display:grid;position:relative;cursor:pointer}
.oddkicks-size-preview-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.oddkicks-size-preview-options span{min-height:44px;display:grid;place-items:center;border:1px solid #aeb9ae;border-radius:.5rem}
.oddkicks-size-preview-options input:checked + span{background:var(--accent);border-color:#4a6423;font-weight:750}
.oddkicks-size-preview-options input:focus-visible + span{outline:3px solid #527515;outline-offset:2px}
#oddkicks-size-preview-note{font-size:.85rem;color:#576359;margin:.65rem 0 0}

:is(.home .shop-section, .single-product .ok-bento .related.products) ul.products {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) ul.products::before,:is(.home .shop-section, .single-product .ok-bento .related.products) ul.products::after {display:none}
:is(.home .shop-section, .single-product .ok-bento .related.products) ul.products li.product {
  float:none;width:auto;margin:0;min-width:0;display:flex;flex-direction:column;
  position:relative;border:1px solid var(--line);background:#fff;border-radius:.85rem;overflow:hidden;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__link {
  position:relative;display:block;flex:1;color:var(--ink);text-decoration:none;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__link > img {
  display:block;width:100%;aspect-ratio:1;object-fit:contain;margin:0;background:#f1f3ed;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__link > .oddkicks-card-alt {
  position:absolute;inset:0 auto auto 0;opacity:0;transition:opacity .22s ease;
}
@media (hover:hover) {
  :is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__link:hover > .oddkicks-card-alt {opacity:1}
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__link:focus-visible > .oddkicks-card-alt {opacity:1}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .onsale {
  z-index:1;top:.65rem;right:.65rem;margin:0;padding:.2rem .6rem;min-height:0;
  line-height:1.65;border-radius:2rem;background:#20352a;color:#fff;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__title {
  padding:.9rem .85rem .35rem;font-size:clamp(.9rem,1.6vw,1.15rem);line-height:1.32;font-weight:750;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .price {
  display:flex;gap:.5rem;align-items:baseline;flex-wrap:wrap;
  margin:0;padding:0 .85rem .8rem;font-size:1rem;font-weight:750;color:#254331;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .price del {opacity:1;color:#627069;font-size:.83rem;font-weight:500}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .price ins {text-decoration:none}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .star-rating {margin:.15rem .85rem .5rem}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product > .button {
  align-self:stretch;margin:0 .85rem .85rem;text-align:center;border-radius:.4rem;
  background:#edf1e7;color:#172419;font-size:.88rem;padding:.65rem .4rem;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product > .button:hover {background:var(--accent)}
@media(max-width:760px) {
  :is(.home .shop-section, .single-product .ok-bento .related.products) ul.products {grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
}
@media(prefers-reduced-motion:reduce) {
  :is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__link > .oddkicks-card-alt {transition:none}
}

:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__link {
  display:flex;flex-direction:column;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__link > img {
  padding:8%;background:#fff;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__title {
  flex:1;padding-top:.75rem;
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .price {padding-bottom:1rem}
@media(min-width:1120px) {
  .home .shop-section ul.products {grid-template-columns:repeat(5,minmax(0,1fr))}
}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .oddkicks-card-rating {display:block;margin:0 .85rem .35rem;color:#576359;font-size:.86rem;font-weight:650}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product .oddkicks-card-rating > span[aria-hidden] {color:#926100}
:is(.home .shop-section, .single-product .ok-bento .related.products) li.product:has(.oddkicks-card-rating) .star-rating {display:none}

#content :is(.home .shop-section, .single-product .ok-bento .related.products) li.product .woocommerce-loop-product__link > img {
  box-sizing:border-box;width:100%;height:auto;aspect-ratio:1;
  padding:12%;object-fit:contain;object-position:center;background:#fff;
}
#content :is(.home .shop-section, .single-product .ok-bento .related.products) li.product h2.woocommerce-loop-product__title {
  margin:0;padding:.8rem .9rem .4rem;
  font-size:clamp(.88rem,1.2vw,1.08rem);line-height:1.36;font-weight:700;
  overflow-wrap:anywhere;
}
#content :is(.home .shop-section, .single-product .ok-bento .related.products) li.product .price {padding-inline:.9rem}
#content :is(.home .shop-section, .single-product .ok-bento .related.products) li.product .onsale {
  left:.55rem;right:auto;top:.55rem;
  background:#41669a;color:#fff;border-radius:999px;
  font-size:.8rem;font-weight:750;line-height:1.4;padding:.27rem .65rem;
}

.discovery-grid,.guide-grid,.shop-help{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.discovery-card{display:flex;flex-direction:column;background:#e8eddf;border-radius:1rem;overflow:hidden;text-decoration:none}
.discovery-card img{width:100%;aspect-ratio:4/3;object-fit:contain;padding:1rem;background:#fff}
.discovery-card div{padding:1.1rem;margin-top:auto}
.discovery-card h3,.discovery-card p{margin:0}
.discovery-card p{margin-top:.3rem;color:#48564a;font-size:.9rem}
.discovery-card:hover h3,.daily-links a:hover{text-decoration:underline}
.shop-help{background:#20352a;color:#fff;border-radius:1rem;padding:1rem}
.shop-help a{display:flex;justify-content:space-between;padding:.75rem .5rem;text-decoration:none;font-weight:650}
.rail-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1rem}
.rail-heading h2,.rail-heading p{margin:0}
.rail-heading p{margin-top:.5rem;color:#48564a}
.rail-controls:not([hidden]){display:flex;gap:.5rem}
.rail-controls button{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;cursor:pointer}
.rail-controls button:disabled{opacity:.45;cursor:default}
.home #content .discovery-rail ul.products{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 4rem)/5);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem}
.discovery-rail li.product{scroll-snap-align:start}
.daily-feature{display:grid;grid-template-columns:1fr 1fr;border-radius:1rem;overflow:hidden;background:#20352a;color:#fff}
.daily-feature img{width:100%;height:100%;max-height:26rem;object-fit:contain}
.daily-feature > div{padding:clamp(1.25rem,4vw,4rem);align-self:center}
.daily-feature h2{margin:0}
.daily-links{display:flex;flex-wrap:wrap;gap:.5rem}
.daily-links a{background:#e8eddf;color:#172419;padding:.55rem .7rem;border-radius:.35rem;text-decoration:none;font-weight:700}
.guide-grid details{background:#fff;border:1px solid var(--line);border-radius:.7rem;padding:1rem}
.guide-grid summary{cursor:pointer;font-weight:750}
.guide-grid p{color:#48564a;margin:.65rem 0 0}
@media(max-width:900px){
  .discovery-grid,.guide-grid,.shop-help{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home #content .discovery-rail ul.products{grid-auto-columns:calc((100% - 2rem)/3)}
}
@media(max-width:560px){
  .daily-feature{grid-template-columns:1fr}
  .home #content .discovery-rail ul.products{grid-auto-columns:calc((100% - .7rem)/2)}
}

.woocommerce #content ul.products li.product a.woocommerce-loop-product__link > img,
.home #content .shop-section li.product a.woocommerce-loop-product__link > img {
  display:block;width:100%;height:auto;aspect-ratio:1;box-sizing:border-box;
  padding:12%;object-fit:contain;object-position:center;background:#fff;
}
.home #content .discovery-card > img {
  display:block;width:100%;height:auto;aspect-ratio:4/3;box-sizing:border-box;
  padding:12%;object-fit:contain;object-position:center;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;
}

.shop-help{background:#304d6a;gap:1.5rem;padding:clamp(1rem,3vw,2.4rem)}
.shop-help-item h3{font-size:1.05rem;margin:.6rem 0 .35rem}
.shop-help-item a{display:inline;padding:0;text-decoration:underline;text-underline-offset:.22em}
.shop-help-item p{margin:0;font-size:.91rem;color:#f0f4ff}
.shop-help-item .dashicons{font-size:1.65rem;width:auto;height:auto}
.oddkicks-home-fab{position:fixed;z-index:20;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:.55rem .8rem;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);box-shadow:0 5px 20px #17241926;text-decoration:none;font-size:.85rem;font-weight:750}
.oddkicks-home-fab:hover{background:var(--accent)}
.oddkicks-home-fab span:first-child{font-size:1.1rem;line-height:1}
@media(max-width:420px){.shop-help{grid-template-columns:1fr}}
.oddkicks-home-fab{width:48px;height:48px;min-height:0;justify-content:center;padding:0}
.oddkicks-home-fab span:first-child{display:block;width:.5rem;height:.5rem;border-top:1.5px solid currentColor;border-left:1.5px solid currentColor;transform:translateY(2px) rotate(45deg)}
.home #content .discovery-card > .discovery-placeholder{background:#e8eddf}
