@import url('/theme.css');

.view-button {
  width: auto;
  min-width: 132px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ebay-section {
  background: #f7f8fb;
  border-top: 1px solid #dfe3eb;
}

.ebay-eyebrow {
  color: #3665f3;
}

.ebay-pill {
  background: #e5ecff;
  color: #1d4ed8;
}

.ebay-section .view-button {
  background: #3665f3;
}

.marketplace-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #3665f3;
}

.impact-section {
  background: #fff8f3;
  border-top: 1px solid #f0d9cc;
}

.impact-eyebrow,
.impact-section .marketplace-name {
  color: #9b4b2f;
}

.impact-pill {
  background: #f7ddcf;
  color: #7a3823;
}

.impact-section .view-button {
  background: #9b4b2f;
}

.amazon-name {
  color: #c45500;
}

.product-bottom {
  gap: 10px;
}

.product-bottom .view-button {
  max-width: 68%;
  text-align: center;
  line-height: 1.2;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 6px;
  background: #fff;
  color: #24352f;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #dcd8cc;
  border-top: 1px solid #dcd8cc;
  border-bottom: 1px solid #dcd8cc;
}

.trust-strip div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 24px 7vw;
  background: #fffdf8;
}

.trust-strip strong {
  font-family: Fraunces, serif;
  font-size: 17px;
}

.trust-strip span {
  color: #6f786f;
  font-size: 13px;
}

.popular-searches {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 55px 7vw;
  background: #fffdf8;
}

.popular-searches h2 {
  margin: 0;
  font: 700 clamp(28px, 3vw, 42px) Fraunces, serif;
}

.search-chips {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.search-chips button {
  border: 1px solid #dcd8cc;
  border-radius: 999px;
  padding: 10px 15px;
  background: #fff;
  color: #24352f;
  font: 600 13px "DM Sans", sans-serif;
  cursor: pointer;
}

.search-chips button:hover,
.search-chips button:focus-visible {
  border-color: #2f5145;
  background: #dce7d5;
}

.explore-section {
  padding: 70px 7vw 78px;
  background: #f4f4f2;
  border-top: 1px solid #dcd8cc;
  border-bottom: 1px solid #dcd8cc;
}

.explore-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.explore-heading h2 {
  margin: 0;
  font: 700 clamp(30px, 3.8vw, 48px)/1.05 Fraunces, serif;
  letter-spacing: -.03em;
}

.explore-heading > p {
  max-width: 360px;
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.explore-links {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 12px;
}

.explore-link {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid #d2d2d2;
  background: #fff;
  color: #101010;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.explore-link:hover,
.explore-link:focus-visible {
  transform: translateY(-3px);
  border-color: #d0182f;
  box-shadow: 0 10px 24px rgba(16, 16, 16, .08);
}

.explore-link strong {
  font: 600 17px/1.2 Fraunces, serif;
}

.explore-link span {
  color: #666;
  font-size: 12px;
}

.explore-link b {
  align-self: end;
  color: #d0182f;
  font-size: 20px;
}

.explore-link-featured {
  background: #0b0b0b;
  border-color: #0b0b0b;
  color: #fff;
}

.explore-link-featured span {
  color: #c9c9c9;
}

.top-deals-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed #d2c39f;
  background: #fffdf5;
  color: #6f6651;
  text-align: center;
}

.home-top-deals { background: #fff; }
.home-top-deals-heading { align-items: end; gap: 24px; }
.home-top-deals-heading p:last-child { margin: 12px 0 0; color: #666; }
.home-top-deals-cta { display: inline-flex; align-items: center; gap: 15px; flex: none; padding: 13px 20px; border-radius: 999px; background: #d0182f; color: #fff; text-decoration: none; font-size: 13px; font-weight: 800; }
.home-top-deals-cta:hover { background: #a51329; }
.home-amazon-heading { gap: 20px; }
.home-amazon-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.home-top-deal-card .product-image { position: relative; }
.home-top-deal-card .product-bottom { gap: 8px; }
.home-top-deal-card .product-bottom .view-button { display: grid; place-items: center; width: 46px; min-width: 46px; max-width: none; padding: 0; }
.home-top-deal-rank { position: absolute; top: 12px; left: 12px; padding: 7px 10px; border-radius: 999px; background: #0b0b0b; color: #fff; font-size: 11px; font-weight: 800; }

/* Homepage deal-focused device illustration. */
.hero-art .deal-laptop { position: absolute; z-index: 4; left: 13%; bottom: 54px; width: 48%; transform: rotate(-4deg); filter: drop-shadow(10px 14px 0 rgba(36,53,47,.14)); }
.deal-laptop-screen { position: relative; aspect-ratio: 1.48; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 12%; overflow: hidden; border: 10px solid #24352f; border-bottom-width: 14px; border-radius: 9px 9px 4px 4px; background: #f8bd69; color: #24352f; }
.deal-laptop-screen::after { content: ''; position: absolute; width: 86px; height: 86px; right: -25px; top: -25px; border-radius: 50%; background: #c96f4c; opacity: .75; }
.deal-laptop-screen span { position: relative; z-index: 1; font: 700 clamp(19px, 2.3vw, 34px)/.92 Fraunces, serif; letter-spacing: -.03em; }
.deal-laptop-screen b { position: relative; z-index: 1; margin-top: 10px; font-size: clamp(8px, .8vw, 12px); text-transform: uppercase; letter-spacing: .12em; }
.deal-laptop-base { width: 112%; height: 17px; margin-left: -6%; border-radius: 2px 2px 13px 13px; background: #24352f; clip-path: polygon(5% 0,95% 0,100% 70%,96% 100%,4% 100%,0 70%); }
.hero-art .deal-monitor { position: absolute; z-index: 3; right: 8%; bottom: 105px; width: 34%; transform: rotate(6deg); filter: drop-shadow(8px 10px 0 rgba(36,53,47,.13)); }
.deal-monitor-screen { aspect-ratio: 1.28; display: grid; place-items: center; padding: 15px; border: 9px solid #c96f4c; border-bottom-width: 13px; border-radius: 7px; background: #f2ead9; color: #c96f4c; text-align: center; }
.deal-monitor-screen span { font: 700 clamp(13px, 1.6vw, 23px)/1 Fraunces, serif; }
.deal-monitor i { display: block; width: 15px; height: 40px; margin: 0 auto; background: #c96f4c; }
.deal-monitor i::after { content: ''; display: block; position: relative; left: -25px; top: 32px; width: 65px; height: 9px; border-radius: 50%; background: #c96f4c; }
.hero-art .deal-headphones { position: absolute; z-index: 5; right: 4%; top: 32%; width: 76px; height: 74px; border: 10px solid #2f5145; border-bottom: 0; border-radius: 44px 44px 0 0; transform: rotate(10deg); }
.deal-headphones::before,.deal-headphones::after { content: ''; position: absolute; bottom: -19px; width: 17px; height: 34px; border-radius: 9px; background: #2f5145; }
.deal-headphones::before { left: -13px; }.deal-headphones::after { right: -13px; }
.hero-art .deal-mouse { position: absolute; z-index: 5; left: 7%; bottom: 25px; width: 44px; height: 62px; border-radius: 24px 24px 20px 20px; background: #c96f4c; transform: rotate(-18deg); box-shadow: inset 0 22px 0 #f2ead9; }
.deal-mouse::before { content: ''; position: absolute; left: 20px; top: 8px; width: 4px; height: 13px; border-radius: 3px; background: #24352f; }

@media (max-width: 1000px) {
  .hero-art .deal-laptop { left: 8%; width: 53%; }
  .hero-art .deal-monitor { right: 4%; width: 38%; }
  .hero-art .deal-headphones { right: 2%; transform: scale(.8) rotate(10deg); }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.footer-links a {
  color: #2f5145;
  font-size: 13px;
}

.legal-page {
  width: min(820px, 90vw);
  margin: 70px auto;
  line-height: 1.75;
}

.legal-page h1,
.legal-page h2 {
  font-family: Fraunces, serif;
}

.legal-page h1 { font-size: clamp(40px, 6vw, 64px); }
.legal-page h2 { margin-top: 36px; }
.legal-page p, .legal-page li { color: #52605a; }

.product-image { color: inherit; text-decoration: none; }
.product-title-link { color: inherit; text-decoration: none; }
.product-title-link:hover { text-decoration: underline; }

.discovery-nav {
  position: relative;
  z-index: 15;
  border-bottom: 1px solid #dcd8cc;
  background: #fffdf8;
}

.discovery-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 6vw;
}

.discovery-inner > a,
.nav-menu summary {
  color: #24352f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.discovery-inner > a:hover,
.nav-menu summary:hover { color: #c96f4c; }
.nav-menu { position: relative; }
.nav-menu summary { cursor: pointer; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span { margin-left: 5px; color: #c96f4c; }

.nav-dropdown {
  position: absolute;
  top: 34px;
  left: -16px;
  width: min(680px, 88vw);
  padding: 20px;
  border: 1px solid #dcd8cc;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(36,53,47,.14);
}

.category-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px 18px; }
.nav-dropdown a { color: #24352f; text-decoration: none; padding: 9px 10px; border-radius: 6px; font-size: 13px; }
.nav-dropdown a:hover { background: #dce7d5; }
.store-menu { width: 330px; display: grid; gap: 5px; }
.store-menu a { display: grid; gap: 3px; }
.store-menu small { color: #6f786f; }
.nav-promise { margin-left: auto; color: #6f786f; font-size: 12px; white-space: nowrap; }

@media (max-width: 900px) {
  .discovery-inner { overflow-x: auto; gap: 22px; padding: 0 5vw; }
  .nav-promise { display: none; }
  .nav-dropdown { position: fixed; top: 145px; left: 5vw; right: 5vw; width: 90vw; max-height: 65vh; overflow-y: auto; }
  .category-menu { grid-template-columns: repeat(2, 1fr); }
  .explore-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .category-menu { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div { padding: 20px 6vw; }
  .popular-searches { align-items: start; flex-direction: column; }
  .search-chips { justify-content: flex-start; }
  .explore-section { padding: 55px 5vw 60px; }
  .explore-heading { display: block; }
  .explore-heading > p { margin-top: 15px; }
  .explore-links { display: flex; overflow-x: auto; padding-bottom: 8px; }
  .explore-link { min-width: 190px; }
}

.editor-picks-section .products-heading h1 {
  font-family: Fraunces, serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
  margin: 0;
}

@media (max-width: 520px) {
  .explore-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding-bottom: 0; }
  .explore-link { min-width: 0; padding: 16px; }
  .home-top-deals-heading { align-items: start; flex-direction: column; }
  .home-top-deals-cta { margin-top: 16px; }
  .home-amazon-heading { align-items: start; flex-direction: column; }
  .home-amazon-actions { justify-content: flex-start; }
  .home-amazon-actions .home-top-deals-cta { margin-top: 0; }
}

/* Modern laptop and accessory hero artwork. */
.hero-art.hero-tech-art { display:block; position:relative; min-height:0; aspect-ratio:3/2; align-self:center; border-radius:20px; overflow:hidden; background:#f3f3ec; box-shadow:0 18px 48px rgba(0,0,0,.08); }
.hero-tech-art img { display:block; width:100%; height:100%; object-fit:cover; }
