/* Store page: RetailMeNot-style layout used on huntmecoupons.com store pages (Montserrat, exact sizes). */

/* As on the live store pages, the whole page (header and footer too) uses Montserrat. */
body.store-v2 { background: #fff; --font: "Montserrat", "Segoe UI", Arial, sans-serif; font-family: var(--font); }
body.store-v2 :is(input, button) { font-family: var(--font); }
body.store-v2 .footer-cols h3 { font-weight: 700; font-size: 14px; letter-spacing: .1em; }

.sp { position: relative; padding: 16px 0 40px; color: #1f1f23; font-size: 14px; line-height: 1.5; }
.sp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 144px; background: #fff; box-shadow: 0 20px 25px -5px rgba(0,0,0,.05), 0 8px 10px -6px rgba(0,0,0,.04); }
.sp > .container { position: relative; }
.sp-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: auto auto 100px auto auto 1fr; column-gap: 32px;
  grid-template-areas: "logo heading" "logo sub" "logo offers" "disc offers" "rail offers" "rail content"; }
.sp-logo { grid-area: logo; grid-row: 1 / span 3; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 208px; height: 208px; padding: 0 16px; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.sp-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sp-h1 { grid-area: heading; display: flex; align-items: center; min-height: 64px; margin: 4px 0 -12px; font-size: 36px; line-height: 1.25; font-weight: 800; color: #000; letter-spacing: -.01em; }
.sp-sub { grid-area: sub; margin: 8px 0 16px; padding: 0 0 28px; font-size: 12px; font-weight: 600; line-height: 1.33; letter-spacing: .05em; text-transform: uppercase; color: #000; }
.sp-disc { grid-area: disc; margin: 12px 64px 32px 0; font-size: 14px; font-weight: 300; line-height: 1.5; }
.sp-offers { grid-area: offers; min-width: 0; margin: 8px 0 24px; }
.sp-rail { grid-area: rail; display: grid; align-content: start; min-width: 0; }
.sp-content { grid-area: content; min-width: 0; }

.sp-box { border-top: 1px solid #e5e7eb; padding: 18px 0; }
.sp-box:first-child { border-top: 0; padding-top: 0; }
.sp-box h4, .sp-box .sp-bh { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #000c2d; }
.sp-box p { margin: 0 0 10px; font-size: 13px; line-height: 1.55; }
.sp-box ul { list-style: none; margin: 0; padding: 0; }
.sp-box li a { display: block; padding: 1px 0; font-size: 13px; color: #4b0082; text-decoration: none; }
.sp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.sp-stats b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; color: #4b0082; font-variant-numeric: tabular-nums; }
.sp-stats span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #5f5a68; }
.sp-news input { width: 100%; height: 42px; border: 1px solid #e5e7eb; padding: 0 12px; font: inherit; margin: 6px 0 12px; }
.sp-news button { width: 100%; height: 40px; border: 0; background: #4b0082; color: #fff; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.sp-news .msg { margin: 8px 0 0; font-size: 12px; min-height: 1em; color: #4b0082; }
.sp-alerts-txt { margin: 0 0 4px; font-size: 13px; line-height: 1.5; color: #212121; }
.sp-alerts-small { margin: 6px 0 0; font-size: 12px; color: #5f5a68; }
.sp-alerts-small a { color: #4b0082; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alerts-note { margin: 12px 0 0; padding: 12px 16px; border-radius: 10px; background: #f4ecff; color: #33005a; font-size: 14px; line-height: 1.5; }

/* Offer rows: RetailMeNot offer card sizes. */
.offer-flag { display: block; height: 28px; margin: 0; padding: 0 16px; background: #000; color: #fff; font-size: 15px; font-weight: 700; line-height: 28px; border-radius: 8px 8px 0 0; }
.offer { position: relative; min-height: 75px; margin: 0 0 16px; padding: 12px 24px; background: #fff; border: 1px solid #d1d5db; border-radius: 8px; transition: box-shadow .2s; }
.offer:hover { box-shadow: 0 10px 15px -3px rgba(229,231,235,.5), 0 4px 6px -4px rgba(229,231,235,.5); }
.offer.is-top { border: 2px solid #000; border-radius: 0 0 8px 8px; }
.offer-grid { position: relative; display: grid; grid-template-columns: 120px auto 192px; column-gap: 24px; }
.offer-val { grid-column: 1; grid-row: 1 / span 3; align-self: center; margin: 0; padding: 4px 0 8px; text-align: center; color: #4b0082; font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: .025em; }
.offer-val p { margin: 0; line-height: 1; }
.offer-val.is-long { font-size: 20px; }
.offer-tags { grid-column: 2; grid-row: 1; margin-top: auto; }
/* Status pills under the title (same pill as "Used X times" on the live store pages). */
.offer-status { grid-column: 2; grid-row: 3; margin-right: 8px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.offer-status span { margin-top: 4px; padding: 0 4px; border-radius: 4px; background: rgba(210,138,255,.2); color: #000; font-size: 12px; font-weight: 600; }
.offer-status span.is-ending { background: #fde7c7; }
.kind { display: inline-block; margin-right: 4px; padding: 0 4px; border-radius: 4px; background: #e5e7eb; color: #000; font-size: 12px; font-weight: 600; }
.offer-title { grid-column: 2; grid-row: 2; align-self: center; justify-self: start; margin: 4px 0 0; padding-right: 12px; font-size: 22px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
.offer-title button { all: unset; cursor: pointer; color: #000; }
.offer-title button:focus-visible { outline: 2px solid #4b0082; }
.offer-act { grid-column: 3; grid-row: 1 / span 3; align-self: center; display: flex; flex-direction: column; }
.offer-btn { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; width: 100%; height: 48px; margin: 0 0 8px; padding: 0; border: 0; border-radius: 24px; background: #4b0082; color: #fff; font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: .05em; text-decoration: none; cursor: pointer; }
.offer-btn:hover { background: #33005a; }
/* Peeled corner on Show Code. */
.offer-btn.is-code::before { content: ""; position: absolute; right: -20px; top: -12px; z-index: 1; width: 48px; height: 32px; transform: rotate(45deg); background: #d1d5db; }
.offer-btn.is-code::after { content: ""; position: absolute; right: -16px; top: -16px; width: 48px; height: 48px; transform: rotate(45deg); border-radius: 50%; background: rgba(229,231,235,.3); }
.offer-tap { display: none; }
.offer-details { margin: 12px 0 0; padding: 8px 0 0; border-top: 1px solid #e5e7eb; }
.offer-details summary { display: flex; justify-content: flex-end; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 600; color: #000; }
.offer-details summary::-webkit-details-marker { display: none; }
.offer-details summary::after { content: "+"; font-size: 16px; line-height: 12px; width: 12px; text-align: center; }
.offer-details[open] summary::after { content: "\2013"; }
.offer-details .hd, .offer-details[open] .sd { display: none; }
.offer-details[open] .hd { display: inline; }
.offer-details-body { width: 50%; margin-top: 12px; font-size: 14px; }
.offer-details-body p { margin: 0 0 6px; }

/* About the store */
.sp-about { margin-top: 24px; border: 1px solid #e6e1ec; border-radius: 12px; padding: 20px; }
.sp-about h2 { margin: 0 0 12px; font-size: 20px; font-weight: 800; color: #000c2d; }
.sp-about p { margin: 0 0 10px; font-size: 14px; }

/* Store page text (storeSeo feature). Sizes measured on RetailMeNot store pages (content area and rail). */
.sp-quick { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; background: rgba(210,138,255,.12); color: #000; font-size: 14px; line-height: 20px; }
.sp-quick p { margin: 0; }
.sp-help { margin: 24px 0 0; padding: 16px 24px; border: 1px solid #d1d5db; border-radius: 8px; color: #000; font-size: 14px; line-height: 20px; }
.sp-help h2 { margin: 0 0 12px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sp-help ul { margin: 0 0 12px; padding-left: 20px; }
.sp-help li { margin: 0 0 6px; }
.sp-help p { margin: 0; }
.sp-help a, .sp-content a, .sp-rail-prose a { color: #4b0082; }
.sp-rail-prose h5, .sp-rail-prose .sp-bh5 { margin: 16px 0 4px; font-size: 11px; line-height: 20px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #000; }
.sp-rail-prose h4 + h5, .sp-rail-prose .sp-bh + .sp-bh5 { margin-top: 0; }
.sp-content { color: #000; }
.sp-expect { margin: 32px 0; padding: 16px 40px 40px; border-radius: 12px; box-shadow: 0 5px 15px rgba(163,163,163,.33); }
.sp-expect-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.sp-eyebrow { display: block; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.sp-expect-h { margin: 0; font-size: 56px; line-height: 56px; font-weight: 800; letter-spacing: -.01em; color: #4b0082; overflow-wrap: anywhere; }
.sp-expect-top > div { min-width: 0; } /* a long store name wraps instead of widening the page on phones */
.sp-coin { flex: none; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; padding: 10px; overflow: hidden; border: 1px solid #000; border-radius: 9999px; background: #fff; }
.sp-coin img { width: 100%; height: 100%; object-fit: contain; }
.sp-expect-body { padding-top: 40px; columns: 2; column-gap: 36px; font-size: 14px; line-height: 20px; }
.sp-expect-body p { margin: 0; }
.sp-expect-body p + * { margin-top: 16px; }
.sp-expect-body h3 { margin: 16px 0 8px; font-size: 14px; line-height: 20px; font-weight: 700; break-after: avoid; }
.sp-info-h { margin: 24px 0; font-size: 24px; line-height: 32px; font-weight: 600; }
.sp-info { margin: 0 0 56px; columns: 2; column-gap: 48px; }
.sp-info-card { margin: 0 0 56px; break-inside: avoid; }
.sp-info-card h3 { margin: 0 0 16px; font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; }
.sp-prose { font-size: 14px; line-height: 20px; }
.sp-prose p { margin: 0 0 16px; }
.sp-prose h4 { margin: 20px 0 8px; font-size: 11px; line-height: 20px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sp-prose ol, .sp-prose ul { margin: 0 0 16px; padding-left: 20px; }
.sp-prose li { margin: 0 0 8px; }
.sp-prose > :last-child { margin-bottom: 0; }
.sp-hist-h { margin: 16px 0; font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; }
.sp-hist { margin: 0 0 56px; font-size: 14px; line-height: 20px; }
.sp-hist p { margin: 0 0 20px; }
.sp-faq-h { margin: 0 0 24px; font-size: 24px; line-height: 32px; font-weight: 600; }
.sp-faq { margin: 0 0 56px; }
.sp-faq details { margin: 0 0 10px; border-bottom: 1px solid #e5e7eb; }
.sp-faq summary { display: flex; align-items: center; margin: 16px 0; cursor: pointer; list-style: none; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary h3 { width: 80%; margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; }
.sp-faq summary i { position: relative; flex: none; width: 16px; height: 16px; margin: 0 8px 0 auto; }
.sp-faq summary i::before, .sp-faq summary i::after { content: ""; position: absolute; left: 2px; right: 2px; top: 7px; height: 2px; background: #000; }
.sp-faq summary i::after { transform: rotate(90deg); }
.sp-faq details[open] summary i::after { display: none; }
.sp-faq-a { width: 80%; padding: 0 0 16px; font-size: 14px; line-height: 20px; }
.sp-faq-a p { margin: 0; }
.sp-content .crumb { margin: 0 0 8px; font-size: 12px; }
@media (min-width: 1024px) { .sp-faq summary h3 { margin: 16px 0; } }
@media (max-width: 1023px) { .sp-info { columns: 1; } }
@media (max-width: 767px) {
  .sp-expect { padding: 32px; }
  .sp-expect-top { flex-direction: column-reverse; margin-top: 0; text-align: center; }
  .sp-expect-h { font-size: 40px; line-height: 48px; }
  .sp-coin { width: 80px; height: 80px; padding: 8px; }
  .sp-expect-body { padding-top: 24px; columns: 1; }
}

/* Categories page: RetailMeNot "sitemap" layout (max-w-screen-xl, 144px circles, 3 columns of groups). */
.rmn-cats { padding: 40px 0 56px; color: #000; }
.rmn-cats-in { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.rmn-h { margin: 0 0 32px; font-size: 24px; font-weight: 800; line-height: 1.25; color: #000; }
.rmn-top { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.rmn-top a { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: #000; text-align: center; }
.rmn-circle { width: 144px; height: 144px; border-radius: 50%; background: #f3f4f6; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.rmn-top a:hover .rmn-circle { background: #ede4f5; }
.rmn-circle svg { width: 64px; height: 64px; fill: none; stroke: #4b0082; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rmn-top-name { max-width: 150px; font-size: 14px; font-weight: 700; line-height: 1.3; text-transform: uppercase; letter-spacing: .02em; }
.rmn-rule { border: 0; border-top: 1px solid #e5e7eb; margin: 48px 0 40px; }
.rmn-all { columns: 3; column-gap: 32px; }
.rmn-group { break-inside: avoid; margin: 0 0 28px; }
.rmn-group h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.rmn-group h3 a { color: #000; text-decoration: none; }
.rmn-group h3 a:hover { color: #4b0082; }
.rmn-group ul { margin: 0; padding: 0 0 0 40px; list-style: disc; }
.rmn-group li { margin-top: 8px; padding: 4px 0; font-size: 14px; line-height: 1.43; }
.rmn-group li a { color: #000; text-decoration: none; }
.rmn-group li a:hover { color: #4b0082; text-decoration: underline; }
@media (max-width: 1023px) { .rmn-all { columns: 2; } .rmn-top { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 639px) {
  .rmn-cats { padding: 28px 0 40px; }
  .rmn-h { font-size: 20px; margin-bottom: 24px; }
  .rmn-all { columns: 1; }
  .rmn-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .rmn-circle { width: 112px; height: 112px; }
  .rmn-circle svg { width: 50px; height: 50px; }
  .rmn-rule { margin: 36px 0 28px; }
}

@media (max-width: 1023px) {
  .offer { margin-bottom: 8px; }
  .offer-grid { column-gap: 8px; }
  .offer-title { font-weight: 500; padding-right: 32px; line-height: 1.35; }
}
@media (max-width: 900px) {
  .sp-grid { grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: none; column-gap: 12px;
    grid-template-areas: "disc disc" "logo heading" "sub sub" "offers offers" "rail rail" "content content"; }
  .sp::before { height: 150px; }
  .sp-logo { grid-row: auto; width: 64px; height: 64px; padding: 0 8px; margin: 0 auto; }
  .sp-h1 { font-size: 20px; margin: 0 0 12px; overflow-wrap: anywhere; }
  .sp-sub { margin: 8px 0 0; padding: 24px 0 0; }
  .sp-disc { margin: 4px 0 16px; font-size: 11px; text-align: center; }
  .sp-rail { margin-top: 8px; }
}
@media (max-width: 767px) {
  .offer { padding: 12px; box-shadow: 0 10px 15px -3px rgba(229,231,235,.5), 0 4px 6px -4px rgba(229,231,235,.5); }
  .offer-grid { grid-template-columns: 120px auto; }
  .offer-val { font-size: 20px; margin: 0 auto; }
  .offer-act, .offer-details { display: none; }
  .offer-title { padding-right: 40px; overflow-wrap: anywhere; }
  /* Phones: the whole row opens the offer, with an arrow on the right. */
  .offer-tap { display: flex; position: absolute; inset: 0; z-index: 2; align-items: center; justify-content: flex-end; padding: 0 8px 0 0; border: 0; background: transparent; color: #000; cursor: pointer; }
  .offer-tap svg { width: 24px; height: 24px; }
}
@media (max-width: 639px) {
  .offer-grid { grid-template-columns: 80px auto; }
  .offer-val { margin: 0; padding: 0; }
  .offer-val.is-long { font-size: 14px; }
  .offer-title { font-size: 16px; }
  .kind { padding: 2px 4px; }
}
