/* Puttie storefront — shared styles for the shop, product page and bag drawer */
.pill{display:inline-flex;align-items:center;background:#DDF3E4;color:#136538;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:7px 10px;border-radius:6px;line-height:1}
.pill-offer{background:#1C8A4B;color:#FFFFFF}
.price{font-family:'Archivo',Impact,'Arial Narrow',sans-serif;font-weight:800;font-stretch:78%;letter-spacing:0;line-height:1;color:#0E1512;font-variant-numeric:tabular-nums}
.was{color:#6F7A74;font-weight:500;font-size:.5em;margin-left:10px;font-family:'Manrope',system-ui,sans-serif}
.muted{color:#6F7A74}
.ph{width:100%;height:100%;background:linear-gradient(135deg,#0B0E0C,#1A211D)}
.stock{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:700;color:#1C8A4B}
.stock::before{content:"";width:8px;height:8px;border-radius:999px;background:currentColor;display:inline-block}
.stock-out{color:#B82323}
.stock-pre{color:#8A6400}
.error{background:#FBEAEA;color:#8A1A1A;border-radius:10px;padding:12px 16px;font-size:15px;line-height:1.45}
.note{font-size:14px;color:#6F7A74;margin:0}

/* product tiles */
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.tile{background:#FFFFFF;border:2px solid #DFE4E0;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;position:relative}
.tile-media{position:relative;aspect-ratio:1/1;background:#050605;display:block}
.tile-media img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .25s}
.tile-media .hover{position:absolute;inset:0;opacity:0}
.tile:hover .tile-media .hover{opacity:1}
.tile-ribbons{position:absolute;top:14px;left:14px;display:flex;flex-wrap:wrap;gap:8px;max-width:calc(100% - 28px)}
.tile-ribbons .pill{background:#FFFFFF;color:#0E1512}
.tile-body{padding:22px 24px 24px;display:flex;flex-direction:column;gap:12px;flex-grow:1}
.tile-name{margin:0;font-family:'Manrope',system-ui,sans-serif;font-weight:800;font-size:19px;line-height:1.25;color:#0E1512}
.tile-name a{text-decoration:none;color:inherit}
.tile-name a:hover{color:#1C8A4B}
.tile-price{margin:0;font-size:36px}
.tile-meta{margin:0;font-size:14px;color:#6F7A74}
.tile-actions{display:flex;flex-direction:column;gap:10px;margin-top:auto;padding-top:6px}
.tile-link{font-size:15px;font-weight:700;color:#0E1512;text-align:center;text-decoration:underline;text-underline-offset:3px}
.skeleton .tile-media{background:#EDEFEC}
.skeleton .sk{height:18px;border-radius:6px;background:#EDEFEC}
.skeleton .sk.big{height:34px;width:40%}
.skeleton .sk.w60{width:60%}

/* shop toolbar */
.toolbar{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;padding:0 0 24px}
.toolbar .count{margin:0;font-size:15px;color:#6F7A74}
.select{display:inline-flex;align-items:center;gap:10px;font-size:15px;color:#0E1512}
.select select{font:inherit;font-weight:700;color:#0E1512;border:2px solid #0E1512;border-radius:8px;padding:9px 36px 9px 16px;background:#FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230E1512' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;appearance:none;-webkit-appearance:none;cursor:pointer}
.filters{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center}
.chip{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #DFE4E0;border-radius:8px;font-size:14px;font-weight:600;color:#0E1512;background:#FFFFFF;cursor:pointer;font-family:inherit}
.chip[aria-pressed="true"]{background:#0E1512;color:#FFFFFF;border-color:#0E1512}
.more{display:flex;justify-content:center;padding:32px 0 0}

/* product page */
.pdp{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr);gap:56px;align-items:start}
.gallery{display:flex;flex-direction:column;gap:12px}
.gallery-main{border-radius:12px;overflow:hidden;background:#050605;aspect-ratio:1/1}
.gallery-main img{width:100%;height:100%;object-fit:cover;display:block}
.thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.thumbs button{padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:#050605;aspect-ratio:1/1;cursor:pointer}
.thumbs button[aria-current="true"]{border-color:#1C8A4B}
.thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.pdp-info{display:flex;flex-direction:column;gap:22px}
.pdp-title{margin:0;font-family:'Archivo',Impact,'Arial Narrow',sans-serif;font-weight:800;font-stretch:76%;font-size:clamp(34px,3.8vw,54px);line-height:.98;letter-spacing:0;text-transform:uppercase;color:#0E1512}
.pdp-price{margin:0;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.pdp-price .price{font-size:46px}
.desc{font-size:17px;line-height:1.55;color:#3F4A44}
.desc p{margin:0 0 10px}
.desc p:last-child{margin-bottom:0}
.group{display:flex;flex-direction:column;gap:10px}
.group-label{margin:0;font-size:14px;font-weight:800;color:#0E1512}
.choices{display:flex;flex-wrap:wrap;gap:8px}
.swatch{width:36px;height:36px;border-radius:999px;border:2px solid #DFE4E0;cursor:pointer;padding:0}
.swatch[aria-pressed="true"]{border-color:#0E1512;box-shadow:0 0 0 2px #FFFFFF inset}
.chip[disabled],.swatch[disabled]{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.text-input{font:inherit;font-size:16px;padding:12px 14px;border:2px solid #DFE4E0;border-radius:8px;width:100%;box-sizing:border-box}
.text-input:focus{outline:none;border-color:#0E1512}
.buy-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.qty{display:inline-flex;align-items:center;border:2px solid #0E1512;border-radius:8px;height:52px;box-sizing:border-box;background:#FFFFFF}
.qty button{width:48px;height:48px;border:0;background:transparent;font-size:22px;font-weight:700;color:#0E1512;cursor:pointer;font-family:inherit;border-radius:8px}
.qty button:disabled{color:#C9CFCA;cursor:not-allowed}
.qty output{min-width:32px;text-align:center;font-weight:800;font-size:17px}
.buy-row .btn{flex-grow:1}
.btn[disabled]{opacity:.5;cursor:not-allowed;filter:none}
.plans{display:flex;flex-direction:column;gap:8px}
.plan{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:2px solid #DFE4E0;border-radius:10px;cursor:pointer}
.plan[aria-checked="true"]{border-color:#0E1512}
.facts{margin:0;display:flex;flex-direction:column;border-top:1px solid #DFE4E0}
.facts details{border-bottom:1px solid #DFE4E0}
.facts summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;font-weight:800;font-size:16px;color:#0E1512}
.facts summary::-webkit-details-marker{display:none}
.facts summary::after{content:"+";font-size:22px;font-weight:500;color:#6F7A74}
.facts details[open] summary::after{content:"–"}
.facts .body{padding:0 0 18px;font-size:15px;line-height:1.55;color:#3F4A44}
.facts .body p{margin:0 0 8px}
.notify{display:flex;gap:10px;flex-wrap:wrap}
.notify input{flex-grow:1}
.crumbs{list-style:none;margin:0;display:flex;gap:8px;font-size:14px;color:#6F7A74;flex-wrap:wrap}
.crumbs a{color:#6F7A74;text-decoration:none}
.crumbs a:hover{color:#0E1512}

/* bag button in the header */
.bag-btn{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;border-radius:8px;border:2px solid #0E1512;background:#FFFFFF;color:#0E1512;font:inherit;font-weight:800;font-size:14px;cursor:pointer}
.bag-btn:hover{background:#0E1512;color:#FFFFFF}
.bag-btn .n{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:999px;background:#1C8A4B;color:#FFFFFF;font-size:12px;padding:0 6px}
.bag-btn .n:empty{display:none}

/* bag drawer */
.cart-root{position:fixed;inset:0;z-index:1000;display:none}
.cart-root.open{display:block}
.cart-scrim{position:absolute;inset:0;background:rgba(5,6,5,.55)}
.cart-panel{position:absolute;top:0;right:0;bottom:0;width:min(440px,100%);background:#FFFFFF;display:flex;flex-direction:column;box-shadow:-12px 0 40px rgba(0,0,0,.25);outline:none}
.cart-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #DFE4E0}
.cart-head h2{margin:0;font-family:'Archivo',Impact,'Arial Narrow',sans-serif;font-weight:800;font-stretch:78%;font-size:26px;text-transform:uppercase;letter-spacing:0}
.icon-btn{width:40px;height:40px;border-radius:999px;border:1px solid #DFE4E0;background:#FFFFFF;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#0E1512;padding:0}
.icon-btn:hover{background:#F2F4F1}
.cart-lines{flex-grow:1;overflow:auto;padding:8px 24px}
.line{display:grid;grid-template-columns:84px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid #EEF1EE}
.line-img{width:84px;height:84px;border-radius:8px;overflow:hidden;background:#050605}
.line-img img{width:100%;height:100%;object-fit:cover;display:block}
.line-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.line-name{margin:0;font-weight:800;font-size:15px;line-height:1.3;color:#0E1512}
.line-desc{margin:0;font-size:13px;color:#6F7A74}
.line-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.qty-sm{display:inline-flex;align-items:center;border:1px solid #DFE4E0;border-radius:8px;height:36px}
.qty-sm button{width:34px;height:34px;border:0;background:transparent;font-size:18px;font-weight:700;cursor:pointer;font-family:inherit;color:#0E1512;border-radius:8px}
.qty-sm button:disabled{color:#C9CFCA;cursor:not-allowed}
.qty-sm output{min-width:26px;text-align:center;font-weight:800;font-size:14px}
.line-price{font-weight:800;font-size:15px}
.line-price s{color:#6F7A74;font-weight:500;margin-right:8px}
.link-btn{border:0;background:none;padding:0;font:inherit;font-size:13px;color:#6F7A74;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.link-btn:hover{color:#0E1512}
.line-status{margin:0;font-size:13px;color:#8A1A1A;font-weight:600}
.cart-empty{padding:48px 0;text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center}
.cart-empty p{margin:0;font-size:17px;color:#3F4A44}
.cart-foot{border-top:1px solid #DFE4E0;padding:16px 24px 24px;display:flex;flex-direction:column;gap:14px;background:#FFFFFF}
.cart-extras{display:flex;flex-direction:column;gap:10px}
.coupon{display:flex;gap:8px}
.coupon input,.cart-extras textarea{font:inherit;font-size:15px;padding:10px 12px;border:1px solid #DFE4E0;border-radius:8px;width:100%;box-sizing:border-box}
.coupon input:focus,.cart-extras textarea:focus{outline:none;border-color:#0E1512}
.coupon .btn{min-height:42px;padding:0 16px;font-size:14px;width:auto}
.applied{display:flex;justify-content:space-between;align-items:center;font-size:14px;background:#F2F4F1;border-radius:8px;padding:10px 12px}
.totals{margin:0;display:flex;flex-direction:column;gap:6px;font-size:15px}
.totals div{display:flex;justify-content:space-between;gap:16px}
.totals .total{font-weight:800;font-size:18px;padding-top:8px;border-top:1px solid #DFE4E0;margin-top:4px}
.totals dd{margin:0}
.totals dt{color:#3F4A44}
.cart-foot .btn{width:100%}

@media (max-width:860px){
  .tiles{grid-template-columns:1fr}
  .pdp{grid-template-columns:1fr}
  .thumbs{grid-template-columns:repeat(5,minmax(0,1fr))}
  .pdp-price .price{font-size:40px}
  .cart-panel{top:auto;left:0;width:100%;max-height:92vh;border-radius:14px 14px 0 0;box-shadow:0 -12px 40px rgba(0,0,0,.25)}
  .toolbar{justify-content:flex-start}
}
@media (min-width:861px) and (max-width:1100px){
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
