/*
 * Desktop parity with the reference store (superchillstore.com).
 * Every number here was measured from the reference page at 1920px and again at 1440px: its type and spacing are
 * FIXED pixel values (nothing scales with the viewport), so the same is done here. Mobile (<=1100px) is untouched.
 */
@media (min-width: 1101px) {
  :root { --purple: #5f3b97; }

  /* ---- announcement bar: 38px tall, 14px / 500 / .05em uppercase ---- */
  .sc-announce { height: 38px; padding: 0 40px; line-height: 38px; font-size: 14px; font-weight: 500; letter-spacing: .7px; background: #da2026; box-sizing: border-box; }
  .sc-announce button { right: 20px; font-size: 24px; line-height: 38px; height: 38px; top: 0; transform: none; padding: 0 6px; }

  /* ---- header: 202px block, logo 200x128, right-hand rows aligned to a 40px gutter ---- */
  header.sc-header.sc-wrap { max-width: none; width: 100%; height: 202px; padding: 0 40px; margin: 0; position: relative; box-sizing: border-box; }
  header.sc-header .sc-header-top { display: block !important; position: static; height: 100%; padding: 0 !important; }
  header.sc-header .sc-logo { position: absolute; left: 40px; top: 59px; display: block; }
  header.sc-header .sc-logo img { width: 200px !important; height: 128px !important; }
  header.sc-header .sc-head-right { position: absolute; right: 40px; top: 16px; display: flex !important; flex-direction: column; align-items: flex-end; gap: 0 !important; padding: 0 !important; flex: none; }

  header.sc-header .sc-row1 { display: flex; align-items: center; gap: 24px; height: 43px; font-size: 14px !important; font-weight: 400; color: #323232; white-space: nowrap; }
  header.sc-header .sc-row1 .sc-call { font-size: 14px !important; }
  header.sc-header .sc-row1 .sc-call strong { font-weight: 700; }
  header.sc-header .sc-cur-btn { font-size: 14px !important; }
  header.sc-header .sc-flag { width: 24px; height: 16px; }
  header.sc-header .sc-search { width: 160px !important; height: 43px !important; padding: 0 12px; background: #f7f7f7; border: 1px solid #eee; box-sizing: border-box; }
  header.sc-header .sc-search input { font-size: 14px !important; }
  header.sc-header .sc-search svg { width: 16px; height: 16px; }

  header.sc-header .sc-free { margin-top: 66px; height: 16px; font-size: 14px !important; line-height: 16px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; white-space: nowrap; color: #323232; }

  header.sc-header .sc-row3 { margin-top: 20px; height: 24px; display: flex; align-items: center; gap: 36px !important; font-size: 14px !important; font-weight: 400; white-space: nowrap; color: #323232; }
  header.sc-header .sc-row3 a, header.sc-header .sc-row3 .sc-cartwrap > a { font-size: 14px !important; gap: 8px; }
  header.sc-header .sc-row3 svg { width: 22px; height: 22px; }
  header.sc-header .sc-row3 .sc-count { width: 23px !important; height: 24px !important; font-size: 14px !important; color: #323232; background: #fada77; }
  header.sc-header .sc-row3 .sc-track { font-weight: 700 !important; padding: 0; }

  /* ---- nav bar: #5f3b97, 13px / 700 / .05em, rows are 45px high, items 40px apart, centered ---- */
  .sc-nav { background: #5f3b97; margin: 0 !important; min-height: 91px; padding-bottom: 1px; box-sizing: border-box; }
  .sc-nav > .sc-wrap { max-width: none; padding: 0 48px; }   /* 4px of slack: the reference's first row fits 15 items in 1819 of 1820px */
  .sc-nav .sc-wrap > ul { display: block; text-align: center; padding: 0; margin: 0; font-size: 13px; letter-spacing: 0; }   /* the whitespace between items is as wide as a 13px space, like the reference */
  .sc-nav .sc-wrap > ul > li.sc-l1 { display: inline-block; vertical-align: top; margin: 0 40px 0 0 !important; padding: 0 !important; height: 45px; line-height: 45px; }
  .sc-nav .sc-wrap > ul > li.sc-l1 > a,
  .sc-nav .sc-wrap > ul > li.sc-l1 > .sc-nolink { font-size: 13px !important; font-weight: 700; letter-spacing: .65px !important; line-height: 45px; }
  .sc-nav .sc-wrap > ul > li.sc-l1 > .sc-badge { top: -5px; margin: 0; font-size: 11px; line-height: 16px; padding: 0 7px; }

  /* ---- listing page: title, breadcrumb, toolbar, edge-to-edge grid ---- */
  body.woocommerce-shop .sc-main, body.tax-product_cat .sc-main { padding: 0; }
  body.woocommerce-shop .sc-main > .sc-wrap, body.tax-product_cat .sc-main > .sc-wrap { max-width: none; padding: 0; }
  body.woocommerce-shop .woocommerce-products-header, body.tax-product_cat .woocommerce-products-header { margin: 33px 0 0; padding: 0; }
  body.woocommerce-shop h1.page-title, body.tax-product_cat h1.page-title,
  body.woocommerce-shop .woocommerce-products-header__title, body.tax-product_cat .woocommerce-products-header__title { font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: 2px; margin: 0; padding: 0; text-align: center; color: #000; text-transform: uppercase; }

  .sc-crumbrow { margin-top: 33px; height: 28px; padding: 0 40px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; text-transform: capitalize; color: #505050; box-sizing: border-box; }
  .sc-crumbrow a { color: #323232; }
  .sc-crumbrow .sep { color: #aaa; }
  .sc-crumbrow + .woocommerce-notices-wrapper, .sc-crumbrow { border-bottom: 0; }
  .sc-toolbar { margin-top: 0; height: 80px; border-top: 1px solid #e5e5e5; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; position: relative; }
  .sc-refine { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; cursor: pointer; font: 500 11px 'Spartan', Arial, sans-serif; text-transform: uppercase; color: #202020; letter-spacing: 0; }
  .sc-refine svg { width: 26px; height: 26px; fill: none; stroke: #202020; stroke-width: 1.6; }
  .sc-refine.on span::after { content: " \2022"; color: #ed4649; }
  .sc-refine-wrap { position: relative; }
  .sc-refine-panel { display: none; position: absolute; left: 0; top: calc(100% + 12px); z-index: 30; width: 280px; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); padding: 18px 20px; font-size: 13px; }
  .sc-refine-panel.open { display: block; }
  .sc-refine-panel strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
  .sc-refine-fields { display: flex; gap: 10px; }
  .sc-refine-fields label { flex: 1; font-size: 11px; text-transform: uppercase; color: #707070; }
  .sc-refine-fields input { width: 100%; box-sizing: border-box; margin-top: 4px; height: 36px; border: 1px solid #ccc; padding: 0 8px; font: 14px 'Spartan', Arial, sans-serif; }
  .sc-refine-btns { margin-top: 14px; display: flex; align-items: center; gap: 14px; }
  .sc-refine-btns button { background: #222; color: #fff; border: 0; padding: 10px 22px; cursor: pointer; text-transform: uppercase; font: 600 12px 'Spartan', Arial, sans-serif; }
  .sc-refine-btns a { color: #707070; text-decoration: underline; font-size: 12px; }

  .sc-sortwrap { display: flex; align-items: center; gap: 4px; font: 500 11px 'Spartan', Arial, sans-serif; text-transform: uppercase; color: #202020; }
  .sc-sortwrap > svg { width: 26px; height: 26px; fill: none; stroke: #202020; stroke-width: 1.6; margin-right: 4px; }
  .sc-sortwrap > span { margin-right: 14px; }
  .sc-sortwrap .woocommerce-ordering { margin: 0 !important; float: none; }
  .sc-sortwrap select.orderby { width: 159px; height: 26px; padding: 0 4px; border: 0 !important; border-bottom: 1px solid #acacac !important; border-radius: 0 !important; background: transparent; font: 400 11px 'Spartan', Arial, sans-serif; letter-spacing: .5px; text-transform: uppercase; color: #323232; }
  .woocommerce-result-count { display: none !important; }

  /* grid: 5 columns, 10px gutters, no outer padding (376px cards at 1920px) */
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 10px; row-gap: 20px; margin: 0 0 40px; padding: 0; }
  .woocommerce ul.products li.product { overflow: visible; }
  .woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: cover; margin: 0; width: 100%; height: auto; }
  .woocommerce ul.products li.product .sc-sale { top: 0; left: 0; font-size: 11px; font-weight: 600; line-height: 23px; padding: 4px 7px 3px; background: #ed4649; text-transform: uppercase; }
  .woocommerce ul.products li.product .sc-vendor { margin: 21px 10px 0; font-size: 11px; font-weight: 600; line-height: 12px; color: #202020; text-transform: uppercase; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 9px 10px 0; padding: 0; font-size: 13px; font-weight: 400; line-height: 24px; min-height: 48px; color: #323232; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .woocommerce ul.products li.product .price { margin: 13px 10px 27px; display: flex; align-items: baseline; gap: 11px; font-size: 16px; font-weight: 600; color: #d81e41; line-height: 18px; }
  .woocommerce ul.products li.product .price del { font-size: 12px; font-weight: 400; color: #808080; margin: 0; opacity: 1; }
  .woocommerce ul.products li.product .price ins { font-size: 16px; font-weight: 600; color: #d81e41; background: none; text-decoration: none; }
}

/* ---- fine-tuning after measuring both sites side by side (same font now: "Spartan") ---- */
@media (min-width: 1101px) {
  .sc-nav .sc-wrap > ul > li.sc-l1 { margin-right: 40px !important; }                 /* ref: 40px margin; the other ~4px is the whitespace between inline items */
  header.sc-header .sc-row3 { margin-top: 22px; gap: 15px !important; }               /* ref spacing is uneven: 52px after the cart, ~15px between the rest */
  header.sc-header .sc-row3 .sc-cartwrap { margin-right: 37px; }
  .sc-toolbar { padding-top: 20px; }                                                  /* ref text sits ~10px lower in its 80px row */
  .woocommerce ul.products li.product .sc-sale { min-width: 50px; text-align: center; box-sizing: border-box; }
}

/* ---- icons: sizes/positions measured on the reference (1920px) ---- */
@media (min-width: 1101px) {
  /* header row: bag 22x21 (6.6px from its label), heart 19x18 (8.6px from its label) */
  header.sc-header .sc-row3 .sc-cartwrap > a { gap: 6.6px !important; }
  header.sc-header .sc-row3 svg.sc-ic-bag { width: 22px; height: 21px; flex: none; position: relative; top: -2px; }
  header.sc-header .sc-row3 .sc-wishlink { display: inline-flex; align-items: center; gap: 8.6px !important; }
  header.sc-header .sc-row3 svg.sc-ic-heart { width: 19px; height: 18px; flex: none; position: relative; top: -1px; }

  /* sticky nav tools: a 112x50 block in the TOP row (not full height); two 51x50 cells with a faint divider */
  .sc-nav.sc-stuck .sc-tools { top: 0; bottom: auto; height: 50px; width: 112px; padding-left: 10px; box-sizing: border-box; background: var(--purple); }
  .sc-nav.sc-stuck .sc-wrap > ul { padding-right: 112px; }
  .sc-tools > button { width: 51px; height: 50px; flex: none; padding: 0; border-left: 1px solid rgba(255, 255, 255, .15); display: flex; align-items: center; justify-content: center; }
  .sc-cartwrap-tool { width: 51px; height: 50px; flex: none; }
  .sc-cartwrap-tool > a { width: 51px; height: 50px; padding-bottom: 5px; box-sizing: border-box; border-left: 1px solid rgba(255, 255, 255, .15); }
  .sc-tools svg.sc-ic-search { width: 20px; height: 20px; }
  .sc-tools svg.sc-ic-bag { width: 22px; height: 21px; }
  .sc-tools .sc-count { top: 5px; right: 1px; width: 23px; height: 24px; font-size: 14px; color: #323232; background: #fada77; }
}

/* ---- header link row spacing, solved from the reference's measured x positions ---- */
@media (min-width: 1101px) {
  header.sc-header .sc-row3 { gap: 21px !important; }                     /* wish -> sign in -> track */
  header.sc-header .sc-row3 .sc-cartwrap { margin-right: 4px; }           /* cart bubble -> heart icon = 25px in total */
  header.sc-header .sc-row3 .sc-cartwrap .sc-count { margin-left: 1.8px; } /* label -> bubble = 8.4px */
  header.sc-header .sc-row3 svg.sc-ic-heart { top: -2px; }
}

/* ======================= product page (measured on the reference at 1920px) ======================= */
@media (min-width: 1101px) {
  body.single-product .sc-main { padding: 0; }
  body.single-product .sc-main > .sc-wrap { max-width: none; padding: 0; }

  /* 922px gallery column flush under the nav, then a 918px text column; 40px gutter on the right */
  body.single-product .sc-top-grid { position: relative; display: grid; grid-template-columns: 922px minmax(0, 1fr); column-gap: 39.6px; row-gap: 0; align-items: start; padding-right: 40px; }
  .woocommerce div.product .sc-top-grid div.images { width: 922px; margin: 0; padding: 0 45px; box-sizing: border-box; }
  .woocommerce div.product div.images img { display: block; width: 100%; height: auto; }
  .woocommerce-product-gallery__trigger { display: none !important; }
  .sc-top-grid > .sc-sale { position: absolute; left: 0; top: 0; z-index: 3; min-width: 50px; box-sizing: border-box; text-align: center; padding: 4px 7px 3px; font-size: 11px; font-weight: 600; line-height: 23px; background: #ed4649; color: #fff; text-transform: uppercase; }
  .woocommerce div.product .sc-top-grid div.summary { padding-top: 37px; }

  .sc-pcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; font-weight: 500; line-height: 20px; color: #505050; margin: 0; }
  .sc-pcrumb a { color: #323232; }
  .sc-pcrumb .sep { color: #aaa; }

  .sc-titlerow { display: block; }
  .sc-pn { display: none; }                                    /* the reference shows prev/next arrows only inside a collection */
  .woocommerce div.product .product_title { font-size: 30px; font-weight: 600; line-height: 32px; color: #202020; margin: 20px 0 0; letter-spacing: 0; }

  .sc-info { margin: 30px 0 0; font-size: 13px; line-height: 24px; font-weight: 500; color: #202020; }
  .sc-info > div { line-height: 24px; }
  .sc-info span { color: #808080; font-weight: 400; }

  .woocommerce div.product p.price, .woocommerce div.product span.price { display: flex; align-items: baseline; gap: 12px; margin: 24px 0 0; line-height: 22px; font-size: 30px; font-weight: 600; color: #d81e41; }
  .woocommerce div.product p.price del { font-size: 24px; font-weight: 500; color: #808080; margin: 0; opacity: 1; }
  .woocommerce div.product p.price ins { font-size: 30px; font-weight: 600; color: #d81e41; background: none; text-decoration: none; }

  .sc-blurb { margin: 26px 0 20px; font-size: 13px; line-height: 26px; font-weight: 400; color: #505050; }

  .woocommerce div.product form.cart { gap: 12px; }
  .woocommerce div.product form.cart .quantity .qty { width: 90px; min-height: 60px; font-size: 14px; }
  .woocommerce div.product form.cart button.single_add_to_cart_button { min-height: 60px; font-size: 14px; font-weight: 500; letter-spacing: 0; }
  .sc-wish-sq { width: 64px; min-height: 60px; }
  .sc-share { width: 40px; min-height: 60px; }
  .sc-buynow { min-height: 60px; font: 500 14px 'Spartan', Arial, sans-serif; letter-spacing: 0; background: #dd2a7b; }
  .sc-buynow:hover { background: #c61f69; }

  body.single-product .woocommerce-tabs, body.single-product .related.products, body.single-product .upsells { padding: 0 40px; box-sizing: border-box; }
}
