.hero {
    width: min(100% - 64px, 820px);
    margin: 0 auto;
    padding: 96px 0 72px;
    text-align: center;

}

.hero-stats strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.05em;
}

.hot-pct {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.05em;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);

    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black, transparent 100%);
    pointer-events: none;
}

.hero-kicker {
    display: inline-block;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.9px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(48px, 5.8vw, 66px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -3px;
    margin-bottom: 4px;
    color: var(--text-strong);
}

.hero h1 em {
    font-style: normal;
    color: var(--muted-2);
}

.hero p {
    font-size: 19px;
    color: var(--text-main);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 36px;
    margin-top: 22px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-pill {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    background: var(--bg-soft);
    border-radius: 999px;
    padding: 5px 12px;
}


.stats-bar {
   width: min(100% - 64px, var(--page));
   margin: 0 auto 54px;

   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 16px;
}

.stat-item {
   background: var(--bg-card);
   border: 1px solid var(--border-soft);
   border-radius: 22px;
   padding: 22px 18px;
   text-align: center;

   box-shadow:
      0 1px 2px rgba(15,23,42,.03),
      0 12px 32px rgba(15,23,42,.04);
}

.stat-value {
   font-size: 30px;
   font-weight: 800;
   letter-spacing: -1px;
   color: var(--text-strong);
}

.stat-label {
   margin-top: 6px;
   font-size: 14px;
   font-weight: 700;
   color: var(--muted);
}

.search-section {
    width: min(100% - 64px, var(--narrow));
    margin: 0 auto;
    padding: 40px 0 58px;
}

.search-wrap {
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
}

.search-wrap {
   background: var(--bg) !important;

   border: 1px solid var(--border);

   box-shadow:
      0 8px 30px rgba(15,23,42,.05);

   backdrop-filter: none;
   -webkit-backdrop-filter: none;

   opacity: 1;
}

.search-wrap:focus-within {
   box-shadow: 0 0 0 4px rgba(16, 16, 16, 0.06);
}

.search-icon {
    color: var(--muted);
    font-size: 30px;
}

.search-wrap input {
    flex: 1;
    border: none;
    outline: none;
    padding: 17px 0;
    font-size: 15px;
    color: var(--text-main);
    font-family: inherit;
    min-width: 0;
}

.search-wrap input::placeholder {
    color: var(--muted);
}

.search-btn {
    background: var(--text-strong);
    color: var(--bg);
    border: none;
    border-radius: 9px;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

/* Search results page (/search): spacing between hero, inline search bar, chips, results */
.search-page > .hero {
    padding-bottom: 76px;
}

.search-page > .search-section {
    padding-top: 34px;
    padding-bottom: 50px;
}

.search-page > .cats-section {
    padding-top: 14px;
    padding-bottom: 60px;
}

.search-page > .deals-section {
    padding-top: 44px;
    padding-bottom: 56px;
}

.cats-section {
    margin: 0 auto;
    padding: 0 0 56px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.cats-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cat-chip {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 15px;
    font-size: 14px;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--muted);
    background: rgba(255,255,255,0.7);

    transition: all .18s ease;
    cursor: pointer;
}

.cat-chip:hover {
    border-color: var(--border-soft);
    background: var(--bg);
    color: var(--text-strong);

    transform: translateY(-1px);
    box-shadow:       0 8px 20px rgba(15,23,42,.04);
}

.cat-chip svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

a.cat-chip {
    text-decoration: none;
}

.deals-empty-hint {
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    margin: 18px 0 6px;
    padding: 0;
}

.deals-section {
    width: min(100% - 64px, var(--narrow));
    margin: 0 auto;
    padding: 48px 0 54px;
}

/* Homepage “Προσφορές τώρα”: wider than legacy --narrow so it aligns with .hot-section rhythm; scoped via body.home-page. */
@media (min-width: 769px) {
    .home-page section#deals.deals-section {
        width: min(100% - 64px, 1000px);
    }
}

/* Java */

#hero-word {
   transition: opacity 1.55s ease;
    color: var(--green-text);
    font-size: clamp(54px, 7vw, 80px);
   font-weight: 800;
   line-height: .95;
   margin-bottom: 20px;
}

#hero-word.fade-out {
   opacity: 0;
}
.hero-changing {
   font-size: clamp(54px, 7vw, 110px);
   font-weight: 800;
   line-height: .95;
   color: var(--text-faint);
   margin-top: 10px;
}


.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-strong);
}

.section-more {
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
}

.section-more:hover {
    color: var(--text-strong);
}

.deals-list {
    display: flex;
    flex-direction: column;
}

.deal-verified {
   display: inline-flex;
   align-items: center;
   gap: 5px;

   color: var(--verified-text);
   font-size: 13px;
   font-weight: 700;
}

.deal-verified svg {
   width: 14px;
   height: 14px;
   stroke-width: 2.3;
}

.deal-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-soft);
    cursor: pointer;
    transition: 0.18s ease;
}

.deal-row:hover {
    transform: translateX(2px);
}

.deal-row:last-child {
    border-bottom: none;
}

.deal-img {
   width: 180px;
   height: 180px;
   overflow: hidden;
}

.deal-img img {
   width: 100%;
   height: 100%;
   object-fit: contain;
}


.deal-row {
   padding: 12px 0;
   gap: 26px;
}


.deal-info {
   flex: 1;
   min-width: 0;

   display: grid;
   grid-template-columns: 1fr auto;
   column-gap: 32px;
   align-items: center;
}

.deal-name,
.deal-meta {
   grid-column: 1;
}

.deal-prices {
   grid-column: 2;
   grid-row: 1 / span 2;

   text-align: right;
   align-self: center;
}

.deal-name {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-strong);
}

.deal-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 9px;
    align-items: center;
}

.deal-type {
    font-size: 12px;
    font-weight: 800;
    background: var(--bg-soft);
    padding: 3px 8px;
    border-radius: 6px;
}

.deal-prices {
    text-align: right;
    flex-shrink: 0;
}

.deal-new {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.deal-old {
    font-size: 13px;
    color: var(--muted);
    text-decoration: line-through;
}

.deal-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    color: var(--green-text);
    background: var(--green-bg);
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 3px;
}


.hero-stats {
   margin: 20px auto 0;
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 18px;
   flex-wrap: wrap;

   color: var(--muted);
   font-size: 15px;
   font-weight: 700;
}

.hero-stats span {
   display: inline-flex;
   align-items: center;
   gap: 6px;
}

.hero-stats span:not(:last-child)::after {
   content: "·";
   margin-left: 18px;
   color: var(--muted-2);
}

.hero-stats strong {
   color: var(--text-strong);
   font-weight: 800;
}


.cat-chip.active {
   background: var(--text-strong);
   color: var(--bg);
   border-color: var(--text-strong);
}

.cat-chip.active svg {
   color: var(--bg);
}

.section-title-wrap {
   display: flex;
   align-items: center;
   gap: 12px;
}

.live-badge {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   padding: 6px 11px;
   border-radius: 999px;
   background: var(--live-bg);
   color: var(--live-text);
   font-size: 12px;
   font-weight: 800;
}



.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--live-dot);
    position: relative;
    flex-shrink: 0;
}

.live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(168,191,119,.45);
    animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}







.hot-section {
    width: min(100% - 64px, var(--page));
    margin: 40px auto 72px;
    padding: 48px 42px 56px;

    background: linear-gradient(180deg, #fffaf6 0%, #fdf6ef 100%);
    border: 1px solid rgba(24, 121, 78, 0.07);
    border-radius: 34px;

    box-shadow:
        0 1px 2px rgba(15,23,42,.03),
        0 18px 46px rgba(15,23,42,.045);
}

.hot-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 800;
    color: var(--hot-text);
    background: var(--hot-bg);
    padding: 6px 12px;
    border-radius: 7px;
    margin-bottom: 24px;
}


.hot-img {
   width: 100%;
   height: 220px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.hot-img img {
   max-width: 78%;
   max-height: 100%;
   object-fit: contain;
   display: block;
}

.hot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hot-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 22px;
    cursor: default;
    background: var(--bg);
    transition: 0.18s ease;
    display: flex;
    flex-direction: column;
}



.hot-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.hot-card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hot-pct {
    font-size: 13px;
    font-weight: 800;
    color: var(--hot-text);
    background: var(--hot-bg);
    padding: 4px 9px;
    border-radius: 6px;
}

.hot-name {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.2px;
    color: var(--text-strong);
}

.hot-price-row {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.hot-new {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hot-old {
    font-size: 13px;
    color: var(--muted);
    text-decoration: line-through;
}

.hot-save {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3em;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.hot-save-label {
    font-weight: 600;
    color: var(--text-soft);
}

/* Muted forest (not loud brand green): enough “value” cue without a badge. */
.hot-save-amount {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: color-mix(in srgb, var(--green-text) 48%, var(--text-main) 52%);
}

.hot-save-full {
    font-weight: 800;
    color: var(--text-main);
}

.why-section {
    width: 100%;
    padding: 72px 0;
   background: #eaf3de8f;

}

.why-section > .section-label,
.why-grid {
    width: min(100% - 64px, var(--page));
    margin-left: auto;
    margin-right: auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 24px;
}



.why-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 28px;
    padding: 32px 28px 36px 28px;
    min-height: 260px;
}


.why-item {
   background: var(--bg-card);
   backdrop-filter: blur(8px);

   border: 1px solid var(--border-soft);

   box-shadow:
      0 1px 2px rgba(15,23,42,.03),
      0 12px 32px rgba(15,23,42,.04);
}


.why-bg-number {
    position: absolute;
    right: -20px;
    bottom: -38px;

    font-size: 260px;
    font-weight: 900;
    line-height: 0.8;

   color: rgba(54, 54, 54, 0.07);
    pointer-events: none;
    user-select: none;
}

.why-icon {
    font-size: 24px;
    color: var(--muted);
    margin-bottom: 14px;
}

.why-item-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-strong);
}

.why-item-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
}


.why-item {
    transition: all .25s ease;
}

.why-item:hover {
    border-color: var(--border);
}




.email-section {
    width: min(100% - 64px, 680px);
    margin: 0 auto;
    padding: 82px 0;
}

.email-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.email-title {
    font-size: clamp(34px, 3.2vw, 46px);
    font-weight: 800;
    letter-spacing: -1.7px;
    margin-bottom: 22px;
    line-height: 1.18;
    color: var(--text-strong);
}

.email-sub {
    font-size: 17px;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.email-form {
    display: flex;
    gap: 10px;
}

.email-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: var(--bg);
    color: var(--text-main);
    min-width: 0;
}

.email-input:focus {
    border-color: var(--text-strong);
}

.email-input::placeholder {
    color: var(--muted);
}

.email-btn {
    background: var(--text-strong);
    color: var(--bg);
    border: none;
    border-radius: var(--radius);
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.email-note {
    font-size: 14px;
    color: var(--muted);
    margin-top: 12px;
}

.newsletter-flash {
    margin: 0 auto 22px;
    max-width: 480px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.newsletter-flash--ok {
    background: var(--green-bg);
    color: var(--green-text);
}

.newsletter-flash--info {
    background: var(--flash-info-bg);
    color: var(--flash-info-text);
    border: 1px solid var(--flash-info-border);
}

.newsletter-flash--err {
    background: var(--flash-err-bg);
    color: var(--flash-err-text);
    border: 1px solid var(--flash-err-border);
}

@media (max-width: 960px) {
    .hot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Homepage hot deals: single column earlier so rows feel like Προσφορές τώρα, not wide tiles. */
    section#hot.hot-section .hot-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero h1 {
        font-size: clamp(42px, 8vw, 62px);
    }
}



@media (max-width: 768px) {

   /* Deal rows: outer column stacks main + CTA; inner grid is image | details (matches search/results). */
   .deals-section .deal-row {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      row-gap: 14px;
   }

   .deals-section a.deal-row-main {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr);
      gap: 16px;
      align-items: start;
      width: 100%;
      min-width: 0;
   }

   .deals-section .deal-img {
      width: 96px;
      height: auto;
   }

   .deals-section .deal-img img {
      width: 96px;
      height: auto;
      object-fit: contain;
   }

   .deals-section .deal-info {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      min-width: 0;
      width: 100%;
   }

   .deals-section .deal-prices {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      align-self: flex-start;
      text-align: left;
      margin-top: 12px;
      width: 100%;
      max-width: none;
      grid-column: auto;
      grid-row: auto;
   }

   .deals-section .deal-prices .deal-badge {
      white-space: normal;
      text-align: left;
   }

   .deals-section a.deal-affiliate-cta {
      width: 100%;
      text-align: center;
      justify-self: stretch;
      box-sizing: border-box;
      white-space: normal;
      padding-inline: 16px;
   }

   /* Related products strip (product page): keep compact row skeleton from 768px. */
   .hot-section.related-products-strip .hot-card {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      row-gap: 14px;
   }

   .hot-section.related-products-strip .hot-card-link {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr);
      gap: 16px;
      align-items: start;
      width: 100%;
      min-width: 0;
   }

   .hot-section.related-products-strip .hot-card-top {
      display: contents;
   }

   .hot-section.related-products-strip .hot-img {
      grid-column: 1;
      grid-row: 1 / -1;
      align-self: start;
      width: 96px;
      height: auto;
      margin-bottom: 0;
   }

   .hot-section.related-products-strip .hot-img img {
      width: 96px;
      height: auto;
      max-width: 96px;
      object-fit: contain;
   }

   .hot-section.related-products-strip .hot-pct {
      grid-column: 2;
      grid-row: 1;
      align-self: start;
   }

   .hot-section.related-products-strip .hot-name {
      grid-column: 2;
      grid-row: 2;
      margin-bottom: 10px;
      font-size: 16px;
      white-space: normal;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
   }

   .hot-section.related-products-strip .hot-card-link:not(:has(.hot-pct)) .hot-name {
      grid-row: 1;
   }

   .hot-section.related-products-strip .hot-price-row {
      grid-column: 2;
      grid-row: 3;
   }

   .hot-section.related-products-strip .hot-new {
      font-size: 28px;
      line-height: 1;
   }

   .hot-section.related-products-strip .hot-old {
      font-size: 15px;
      margin-top: 4px;
   }

   .hot-section.related-products-strip .hot-save {
      grid-column: 2;
      grid-row: 4;
      margin-top: 10px;
   }

   .hot-section.related-products-strip .hot-affiliate-cta {
      width: 100%;
      text-align: center;
      box-sizing: border-box;
      white-space: normal;
      padding-inline: 16px;
      margin-top: 0;
   }

   /* Homepage #hot only: compact horizontal rows aligned with deals-section mobile rhythm. */
   section#hot.hot-section {
      padding: 22px 16px 26px;
      margin-bottom: 48px;
      border-radius: 24px;
   }

   section#hot.hot-section .hot-label {
      margin-bottom: 14px;
      font-size: 14px;
      padding: 5px 10px;
   }

   section#hot.hot-section .hot-grid {
      gap: 10px;
   }

   section#hot.hot-section .hot-card {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      row-gap: 0;
      padding: 12px 12px 14px;
      border-radius: var(--radius-lg);
   }

   section#hot.hot-section .hot-card-link {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr);
      grid-template-rows: auto auto auto auto;
      column-gap: 14px;
      row-gap: 6px;
      align-items: start;
      width: 100%;
      min-width: 0;
   }

   section#hot.hot-section .hot-card-top {
      display: contents;
   }

   section#hot.hot-section .hot-img {
      grid-column: 1;
      grid-row: 1 / 5;
      width: 96px;
      height: 118px;
      margin: 0;
      align-self: start;
   }

   section#hot.hot-section .hot-img img {
      width: 96px;
      height: 118px;
      object-fit: contain;
      display: block;
   }

   section#hot.hot-section .hot-pct {
      grid-column: 2;
      grid-row: 1;
      justify-self: end;
      align-self: start;
      font-size: 12px;
      padding: 3px 7px;
   }

   section#hot.hot-section .hot-name {
      grid-column: 2;
      grid-row: 2;
      text-align: left;
      margin: 0;
      padding: 0;
      font-size: 15px;
      font-weight: 800;
      line-height: 1.3;
      letter-spacing: -0.15px;
      white-space: normal;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
   }

   section#hot.hot-section .hot-card-link:not(:has(.hot-pct)) .hot-name {
      grid-row: 1;
   }

   section#hot.hot-section .hot-price-row {
      grid-column: 2;
      grid-row: 3;
      text-align: left;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
   }

   section#hot.hot-section .hot-card-link:not(:has(.hot-pct)) .hot-price-row {
      grid-row: 2;
   }

   section#hot.hot-section .hot-new {
      font-size: 20px;
      line-height: 1.1;
      letter-spacing: -0.35px;
   }

   section#hot.hot-section .hot-old {
      font-size: 13px;
      margin-top: 0;
   }

   section#hot.hot-section .hot-save {
      grid-column: 2;
      grid-row: 4;
      width: fit-content;
      max-width: 100%;
      margin-top: 2px;
      font-size: 13px;
      padding: 0;
      border-radius: 0;
      background: transparent;
      text-align: left;
   }

   section#hot.hot-section .hot-card-link:not(:has(.hot-pct)) .hot-save {
      grid-row: 3;
   }

   section#hot.hot-section .hot-affiliate-cta {
      margin-top: 14px;
      width: 100%;
      text-align: center;
      box-sizing: border-box;
      white-space: normal;
      padding-inline: 14px;
      min-height: 44px;
   }

   .deal-name {
      font-size: 16px;
      white-space: normal;
      display: -webkit-box;
      -webkit-box-orient: vertical;

      overflow: hidden;

      margin-bottom: 10px;
   }

   .deal-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;

      font-size: 15px;
   }

   .deal-verified {
      flex-basis: 100%;
      font-size: 14px;
      line-height: 1.35;
   }

   .deal-new {
      font-size: 28px;
      line-height: 1;
   }

   .deal-old {
      font-size: 15px;
      margin-top: 4px;
   }

   .deal-badge {
      display: inline-block;

      margin-top: 10px;

      padding: 8px 14px;

      font-size: 16px;
      font-weight: 700;
   }

          .hero-stats {
      font-size: 15px;
   }

    .cats-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 14px;
   }

   /* Search form: icon + input on first row, full-width button below (landing + /search). */
   .search-wrap {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      grid-template-rows: auto auto;
      align-items: center;
      column-gap: 12px;
      row-gap: 12px;
      padding: 12px 16px;
      box-sizing: border-box;
   }

   .search-icon {
      grid-column: 1;
      grid-row: 1;
      padding-top: 0;
      line-height: 1;
      align-self: center;
   }

   .search-wrap input {
      grid-column: 2;
      grid-row: 1;
      flex: unset;
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
      padding: 14px 0;
   }

   .search-btn {
      grid-column: 1 / -1;
      grid-row: 2;
      width: 100%;
      justify-self: stretch;
      box-sizing: border-box;
   }

.deals-section {
    padding:34px 0 14px;
}


}

@media (max-width: 640px) {
    .hero {
        width: min(100% - 44px, 640px);
        padding: 40px 0 42px;
    }

    .hero h1 {
        font-size: 54px;
        line-height: 1.12;
        letter-spacing: -1.4px;
    }

    .hero p {
        font-size: 16px;
    }

    .why-item-desc {
        font-size: 17px;
    }

    .why-item-title {
        font-size: 20px;

    }

    .search-section,
    .cats-section,
    .deals-section,
    .hot-section,
    .email-section {
        width: min(100% - 44px, var(--page));
    }

    .deal-name {
        white-space: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .hot-section {
        width: min(100% - 28px, var(--page));
        padding: 28px 18px 34px;
        border-radius: 26px;
        margin-bottom: 54px;
    }

    section#hot.hot-section {
        padding: 18px 14px 22px;
        margin-bottom: 44px;
        border-radius: 22px;
    }




    .hot-grid {
        grid-template-columns: 1fr;
    }

    .why-section {
        padding: 48px 0;
    }

    .why-section > .section-label,
    .why-grid {
        width: min(100% - 44px, var(--page));
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .email-section {
        padding: 58px 0;
    }

    .email-title {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .email-form {
        flex-direction: column;
    }

    .hot-img {
      height: 190px;
      margin-bottom: 22px;
   }

    /* Keep compact row layout from 768px; do not force tall tile image. */
    .hot-section .hot-img {
      height: auto;
      margin-bottom: 0;
    }

    .stats-bar {
       width: min(100% - 44px, var(--page));
       grid-template-columns: repeat(2, 1fr);
       gap: 12px;
       margin-bottom: 42px;
    }

    .stat-item {
       padding: 18px 12px;
    }

    .stat-value {
       font-size: 24px;
    }

    .stat-label {
       font-size: 12px;
    }

       .hero-stats {
      gap: 10px;
      font-size: 15px;
      line-height: 1.6;

   }

   .hero-stats span:not(:last-child)::after {
      display: none;
   }
}

/* Homepage: product cards — main area links to product detail */
a.deal-row-main {
    color: inherit;
    text-decoration: none;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 26px;
    min-width: 0;
}
a.deal-affiliate-cta {
    align-self: center;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Search results: landing-style deal rows; dedicated CTA column; spacing tuned for readability */
@media (min-width: 769px) {
    .search-page .deals-section .deal-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 170px;
        align-items: center;
        column-gap: clamp(28px, 4vw, 44px);
        row-gap: 12px;
    }

    .search-page .deals-section a.deal-row-main {
        flex: unset;
        width: 100%;
        min-width: 0;
        align-self: stretch;
        align-items: center;
        gap: 32px;
    }

    .search-page .deals-section .deal-meta {
        flex-wrap: wrap;
        row-gap: 8px;
        column-gap: 10px;
        align-items: center;
    }

    .search-page .deals-section .deal-verified {
        flex-basis: 100%;
        width: 100%;
        margin-top: 2px;
    }

    .search-page .deals-section .deal-info {
        grid-template-columns: minmax(0, 1fr) minmax(118px, auto);
        column-gap: clamp(24px, 3.6vw, 48px);
        align-items: start;
        min-width: 0;
        padding-right: 4px;
    }

    .search-page .deals-section .deal-prices {
        min-width: 118px;
        max-width: 100%;
        text-align: right;
        padding-left: 6px;
    }

    .search-page .deals-section .deal-prices .deal-badge {
        white-space: normal;
        max-width: 100%;
        display: inline-block;
        vertical-align: top;
        text-align: right;
        line-height: 1.35;
        margin-left: auto;
        box-sizing: border-box;
    }

    .search-page .deals-section a.deal-affiliate-cta {
        justify-self: stretch;
        align-self: center;
        width: 100%;
        max-width: 170px;
        box-sizing: border-box;
        text-align: center;
        white-space: normal;
        line-height: 1.25;
        padding-inline: 16px;
    }
}

a.hot-card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}
a.hot-affiliate-cta {
    display: block;
    text-align: center;
    margin-top: 12px;
}
