/* Amartia - category, product, cart, checkout and text pages */
/* ---------- Category page (desktop numbers from the Wix site at 1440px) ---------- */
.banner { position: relative; margin-top: -1px; height: 401px; overflow: hidden; background: #000; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner h1 { position: absolute; left: 0; right: 50px; top: 315px; text-align: center; color: #fff; font: 400 48px/64px var(--pfb); }
.shop { position: relative; display: grid; grid-template-columns: 200px 1fr; column-gap: 44px; padding: 25px 23px 26px 20px; }
.filters { padding-top: 5px; }
.filters .ftitle { font: 400 26px/31.2px var(--rt); padding-bottom: 20px; border-bottom: .8px solid rgba(0,0,0,.2); margin: 0; }
.filters .fclose, .filters .fapply { display: none; }
.fgroup { border-bottom: .8px solid rgba(0,0,0,.2); padding: 20px 0 20.2px; }
.fgroup > button { display: flex; width: 100%; height: 28px; align-items: center; justify-content: space-between; padding: 0; border: 0; background: none; font: 400 16px/28px var(--rt); text-align: left; cursor: pointer; }
.fgroup > button svg { width: 20px; height: 20px; }
.fgroup .minus { display: none; }
.fgroup.open .minus { display: block; } .fgroup.open .plus { display: none; }
.fbody { display: none; padding-top: 15px; }
.fgroup.open .fbody { display: block; }
.fbody ul { list-style: none; margin: 0; padding: 0; }
.fbody li a, .fbody label { display: block; font: 400 14px/23.8px var(--rt); }
.fbody li a.active { font-weight: 700; }
.fbody label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.fbody input[type=checkbox] { width: 13px; height: 13px; margin: 0 0 0 4px; accent-color: #000; }
.range { position: relative; height: 48px; }
.range input[type=range] { position: absolute; left: 0; right: 0; top: 0; width: 100%; margin: 0; pointer-events: none; background: none; -webkit-appearance: none; appearance: none; height: 23px; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 13px; height: 13px; border-radius: 50%; background: #000; border: 5px solid #fff; box-shadow: 0 0 0 1px #000; cursor: pointer; }
.range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 13px; height: 13px; border-radius: 50%; background: #000; border: 5px solid #fff; box-shadow: 0 0 0 1px #000; cursor: pointer; }
.range::before { content: ''; position: absolute; left: 6px; right: 6px; top: 11px; height: 1px; background: #000; }
.range .vals { position: absolute; left: 0; right: 0; top: 25px; display: flex; justify-content: space-between; font: 400 14px/25.2px var(--rt); }
.swatch-list { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-list button { width: 20px; height: 20px; padding: 0; border: .8px solid #c9c9c9; cursor: pointer; }
.swatch-list button.on { outline: 1px solid #000; outline-offset: 2px; }
.shop-bar { display: flex; justify-content: flex-end; height: 89px; }
.sortbox { position: relative; width: 200px; height: 40px; border: .8px solid rgba(0,0,0,.6); background: #fff; }
.sortbox span { position: absolute; left: 13px; top: 9px; font: 400 16px/22.4px var(--rt); pointer-events: none; }
.sortbox svg { position: absolute; right: 7px; top: 8px; width: 24px; height: 24px; pointer-events: none; }
.sortbox select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fbtn { display: none; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 46.5px; row-gap: 58.4px; align-items: start; }
.gcard { display: block; position: relative; }
.gcard .media { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #fff; }
.gcard .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease; }
.gcard .media img.alt { opacity: 0; }
.gcard:hover .media img.alt { opacity: 1; }
.gcard .qv { position: absolute; left: 0; right: 0; bottom: 0; height: 50px; background: rgba(255,255,255,.75); font: 400 14px/50px var(--rt); text-align: center; transform: translateY(100%); transition: transform .3s ease; z-index: 2; }
.gcard:hover .qv { transform: none; }
.gcard .ribbon { position: absolute; top: 16px; left: 8px; z-index: 2; height: 25px; padding: 0 10px; border: .8px solid var(--red); color: var(--red); font: 400 14px/23.4px var(--rt); }
.gcard .soldout { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; background: rgba(255,255,255,.85); text-align: center; font: 400 14px/30px var(--rt); }
.gcard h2 { font: 400 16px/20px var(--rt); margin: 16px 0 4px; }
.gcard .gprice { font: 400 16px/24px var(--rt); color: #404040; display: flex; flex-wrap: wrap; column-gap: 4px; }
.gcard .deal { margin: 0; }
.more-wrap { text-align: center; padding-top: 52px; }
.more-btn { width: 171px; height: 72px; border: .8px solid #000; background: transparent; font: 400 18px var(--rt); cursor: pointer; }
.more-btn:hover { background: #000; color: #fff; }
.empty { padding: 40px 0; font: 400 16px var(--rt); }

/* ---------- Product page (desktop: 890px wide block centred) ---------- */
.pdp { position: relative; width: 890px; margin: 25px auto 0; min-height: 591px; display: flex; }
.pdp-strip, .pdp-bar { display: none; }
.gallery { position: relative; width: 500px; flex: none; }
.thumbs { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 6px; }
.thumbs button { width: 45px; height: 45px; padding: 0; border: .8px solid #bfbfbf; background: #fff; overflow: hidden; cursor: pointer; }
.thumbs button.active { border-color: #000; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { position: absolute; left: 57px; top: 0; width: 443px; height: 591px; border: .8px solid #bfbfbf; overflow: hidden; background: #fff; }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.main-img .nav { display: none; }
.pdots { display: none; }
.pinfo { margin-left: 35px; width: 355px; }
.pinfo h1 { font: 700 22px/26.4px var(--rt); margin: 0; }
.pinfo .pprice { margin-top: 23px; font: 400 18px/25.2px var(--rt); display: flex; gap: 14px; height: 25.2px; }
.pinfo .deal { margin: 1px 0 0; height: 39px; }
.field { margin: 0 0 16px; }
.field > label, .field legend { display: block; font: 400 14px/19.6px var(--rt); margin: 0 0 8px; padding: 0; }
.selbox { position: relative; height: 37px; border: .8px solid rgba(0,0,0,.6); background: #fff; }
.selbox select { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; padding: 0 40px 0 13px; font: 400 14px var(--rt); color: #444; -webkit-appearance: none; appearance: none; cursor: pointer; }
.selbox svg { position: absolute; right: 5px; top: 7px; width: 21px; height: 21px; pointer-events: none; }
.field input[type=text] { width: 100%; height: 37px; border: .8px solid rgba(0,0,0,.6); padding: 0 13px; font: 400 14px var(--rt); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; padding: 2px; }
.swatches button { width: 24px; height: 24px; border-radius: 50%; border: .8px solid #c9c9c9; padding: 0; cursor: pointer; }
.swatches button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #000; }
fieldset.field { border: 0; padding: 0; margin: 0 0 31px; min-width: 0; }
.qty { display: inline-flex; align-items: center; width: 92px; height: 37px; border: .8px solid rgba(0,0,0,.6); background: #fff; padding: 0 2px; }
.qty button { width: 25px; height: 35px; border: 0; background: none; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.qty button svg { width: 21px; height: 21px; }
.qty input { width: 36px; height: 35px; text-align: center; border: 0; font: 400 14px var(--rt); -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pinfo .actions { display: grid; gap: 12px; margin: 0 0 25px; }
.pinfo .btn-add { height: 40px; border: 0; background: var(--red); color: #fff; font: 700 16px/24px var(--rt); cursor: pointer; }
.pinfo .btn-buy { height: 42px; border: 0; background: #000; color: #fff; font: 700 16px/22.4px var(--rt); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pinfo .btn-add:hover { opacity: .85; } .pinfo .btn-buy:hover { opacity: .8; }
.pinfo .btn-off { height: 42px; border: .8px solid #000; background: #fff; font: 700 16px var(--rt); }
.field .err { color: var(--red); font: 400 13px var(--rt); margin-top: 4px; display: none; }
.field.invalid .err { display: block; }
.field.invalid .selbox, .field.invalid input { border-color: var(--red); }
.acc { list-style: none; margin: 0; padding: 0; }
.acc li { border-bottom: .8px solid #808080; padding: 16px 0 16.2px; }
.acc button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.acc h2 { font: 400 18px/25.2px var(--rt); margin: 0; }
.acc button svg { width: 15px; height: 15px; flex: none; }
.acc .minus { display: none; }
.acc li.open .minus { display: block; } .acc li.open .plus { display: none; }
.acc .body { display: none; font: 400 14px/21px var(--rt); padding: 17px 0 0; }
.acc li.open .body { display: block; }
.acc .body p { margin: 0; }
.acc .body ul { margin: 0; padding-left: 28px; }
.reviews { position: relative; margin-top: 68px; height: 261px; background: #000; color: #fff; text-align: center; }
.reviews .stars { position: absolute; left: 50%; top: 27px; width: 95px; height: 39px; margin-left: -48px; object-fit: contain; }
.reviews .rtext { position: absolute; left: 50%; top: 68px; width: 590px; margin-left: -296.5px; font: 700 20px/26px var(--rt); }
.reviews .rline { position: absolute; left: 50%; top: 162px; width: 36px; margin-left: -18.5px; border-top: .8px solid #fff; }
.reviews .who { position: absolute; left: 0; right: 0; top: 174px; font: 700 16px/19px var(--av); }
.reviews .rdots { position: absolute; left: 50%; top: 206px; margin-left: -26.5px; display: flex; gap: 13px; }
.reviews .rdots i { width: 9px; height: 9px; border-radius: 50%; border: 1.6px solid #fff; }
.reviews .rdots i:first-child { background: #fff; }
.similar { position: relative; margin-top: -3px; padding: 16px 0 53px; }
.similar h3 { font: 700 25px/35px var(--rt); margin: 0 0 37px; }
.similar .slider-track { grid-auto-columns: 404px; gap: 20.4px; padding-left: 1px; }
.similar .card .media { height: 607px; background: #fff; }
.similar .card .media img { object-fit: contain; }
.similar .card .name { font: 300 16px/20px var(--av); margin: 15px 0 4px; }
.similar .price s { color: #000; }
.similar .slider-arrow { top: 405px; }
.similar .slider-arrow.prev { left: 16px; } .similar .slider-arrow.next { right: 16px; }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .shade { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .25s; }
.drawer.open .shade { opacity: 1; }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; }
.drawer.open .panel { transform: none; }
.drawer header { background: #000; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; }
.drawer header h2 { font-family: var(--serif); font-size: 22px; margin: 0; }
.drawer header button { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; }
.drawer .items { flex: 1; overflow-y: auto; padding: 10px 24px; }
.drawer footer { border-top: 1px solid var(--line); padding: 20px 24px; display: grid; gap: 10px; }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item img { width: 76px; height: 100px; object-fit: cover; }
.line-item .nm { font-size: 15px; font-weight: 400; margin: 0 0 4px; }
.line-item .opt { font-size: 13px; color: #555; margin: 0 0 6px; }
.line-item .rm { background: none; border: 0; font-size: 13px; text-decoration: underline; color: #555; padding: 0; margin-top: 8px; }
.line-item .lp { font-size: 15px; text-align: right; white-space: nowrap; }
.line-item .qty button { width: 28px; height: 30px; }
.line-item .qty input { width: 34px; }
.totals { display: grid; gap: 8px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .disc { color: var(--red); }
.totals .grand { font-size: 18px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.hint { font-size: 13px; color: #555; margin: 0; }

/* ---------- Cart / checkout pages ---------- */
.page { max-width: 1140px; margin: 0 auto; padding: 50px 40px 80px; }
.page h1 { font-family: var(--serif); font-weight: 700; font-size: 36px; margin: 0 0 30px; }
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.summary { border: 1px solid var(--line); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h2 { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.summary .btn { margin-top: 18px; }
.checkout-form fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.checkout-form legend { font-family: var(--serif); font-weight: 700; font-size: 22px; margin-bottom: 16px; padding: 0; }
.checkout-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-form input, .checkout-form textarea, .checkout-form select { width: 100%; border: 1px solid #999; padding: 11px 12px; font-size: 15px; background: #fff; border-radius: 0; }
.checkout-form textarea { min-height: 90px; resize: vertical; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: 2px solid #000; outline-offset: -1px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; border: 2px solid #000; padding: 16px; }
.pay-option strong { display: block; font-weight: 700; }
.pay-option span { font-size: 14px; color: #444; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 0 0 12px; }
.check input { width: auto; margin-top: 4px; }
.check a { text-decoration: underline; }
.form-error { color: var(--red); font-size: 14px; margin: 10px 0 0; min-height: 1em; }
.mini-items .line-item { grid-template-columns: 56px 1fr auto; padding: 10px 0; }
.mini-items .line-item img { width: 56px; height: 72px; }
.done { text-align: center; max-width: 640px; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 32px; }
.done .no { font-size: 20px; font-weight: 700; }

/* Text pages */
.text-page { max-width: 860px; margin: 0 auto; padding: 50px 40px 80px; }
.text-page h1 { font-family: var(--serif); font-weight: 700; font-size: 36px; margin: 0 0 30px; }
.text-page h2 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }
.text-page p, .text-page li { font-size: 15px; line-height: 1.65; }
.text-page p { margin: 0 0 12px; }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px); background: #000; color: #fff; padding: 12px 22px; font-size: 14px; opacity: 0; transition: .3s; z-index: 120; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- Mobile (320px layout, same as the Wix mobile site) ---------- */
@media (max-width: 767px) {
  .banner { margin-top: 0; height: 101px; }
  .banner h1 { top: 50px; right: 0; font-size: 25px; line-height: 34px; }
  .shop { display: block; padding: 22px 10px 97px; }
  .shop-bar { height: 40px; justify-content: space-between; margin-bottom: 12px; }
  .fbtn { display: block; width: 248px; height: 40px; border: .8px solid #000; background: transparent; font: 400 14px/19.6px var(--rt); }
  .sortbox { width: 40px; border-color: #000; }
  .sortbox span { display: none; }
  .sortbox svg { left: 3px; top: 3px; right: auto; width: 32px; height: 32px; }
  .filters { display: none; position: fixed; inset: 0; z-index: 95; background: #fff; overflow-y: auto; padding: 16px 20px 90px; }
  .filters.open { display: block; }
  .filters .fclose { display: block; position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border: 0; background: none; font-size: 26px; line-height: 1; }
  .filters .fapply { display: block; position: fixed; left: 20px; right: 20px; bottom: 20px; height: 44px; border: 0; background: #000; color: #fff; font: 700 14px var(--rt); }
  .grid { grid-template-columns: repeat(2, 145px); column-gap: 11px; row-gap: 25px; }
  .gcard .media { aspect-ratio: auto; height: 217px; }
  .gcard .media img { object-fit: contain; }
  .gcard .qv { display: none; }
  .gcard h2 { font-size: 14px; line-height: 21.7px; margin: 15px 0 3px; }
  .gcard .deal { font-size: 14px; line-height: 19.6px; }
  .more-wrap { padding-top: 26px; }
  .more-btn { width: 215px; height: 46.8px; }

  .pdp { display: block; width: auto; margin: 0; min-height: 0; padding: 0 9px; }
  .pdp-strip { display: flex; position: relative; z-index: 0; height: 24px; margin: 0 -9px; background: #000; color: #fff; overflow: hidden; }
  .pdp-strip .marquee-track { gap: 40px; padding-right: 40px; animation-duration: 18s; }
  .pdp-strip .marquee-track span { width: 192px; padding-top: 1px; font: 400 13px/18.2px var(--rt); }
  .pdp-bar { display: block; position: absolute; left: 0; right: 0; top: 49px; height: 9.6px; background: #282626; }
  .gallery { width: 292px; height: 432px; margin-top: 0; }
  .thumbs { display: none; }
  .main-img { left: 0; top: 0; width: 292px; height: 389px; border: 0; }
  .main-img .nav.next { display: flex; position: absolute; right: 4px; bottom: 10px; width: 24px; height: 24px; border: 0; background: none; color: #fff; padding: 0; cursor: pointer; }
  .main-img .nav.next svg { width: 24px; height: 24px; }
  .pdots { display: flex; justify-content: center; position: absolute; left: 0; right: 0; top: 406px; }
  .pdots button { width: 20px; height: 20px; border: 0; background: none; padding: 0; display: flex; align-items: center; justify-content: center; }
  .pdots button::after { content: ''; width: 8px; height: 8px; border-radius: 50%; border: .8px solid #000; box-sizing: border-box; }
  .pdots button.active::after { background: #000; }
  .pdp-inner { display: block; }
  .pinfo { margin: 20px 0 0; width: 292px; }
  .pinfo .pprice { margin-top: 10px; }
  .pinfo .deal { margin-top: 22px; height: 20px; }
  .acc h2 { font: 400 16px/22.4px var(--pfb); }
  .acc li { padding: 16px 0 18.8px; }
  fieldset.field { margin-bottom: 24px; }
  .field > label { margin-bottom: 7px; }
  .pinfo .actions { margin-bottom: 48px; }
  .reviews { margin-top: 74px; height: 190px; }
  .reviews .stars { top: 11px; width: 70px; height: 29px; margin-left: -35px; }
  .reviews .rtext { top: 40px; width: 278px; margin-left: -139px; font-size: 12px; line-height: 15.6px; }
  .reviews .rline { top: 110px; }
  .reviews .who { top: 122px; font-size: 12px; }
  .reviews .rdots { display: none; }
  .similar { margin-top: 0; padding: 16px 0 74px; }
  .similar .slider { width: auto; margin: 0; }
  .similar h3 { height: auto; margin: 0 0 37px; }
  .similar .slider-track { grid-auto-columns: 221px; gap: 20px; }
  .similar .card { min-height: 0; }
  .similar .card .media { height: 333px; }
  .similar .card .name { font-size: 16px; line-height: 24.8px; margin: 15px 0 4px; }
  .similar .price { font: 300 16px/24px var(--av); margin: 0; }
  .similar .deal { font-size: 14px; line-height: 19.6px; margin: 0; }

  .page, .text-page { padding: 24px 12px 50px; }
  .page h1, .text-page h1 { font-size: 28px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .checkout-form .row { grid-template-columns: 1fr; }
  .summary { position: static; }
}
