/*
Theme Name: Prime Offer Hub
Theme URI: https://example.com/prime-offer-hub
Author: Prime Offer Hub
Description: A custom WordPress theme for Prime Offer Hub.
Version: 1.0.0
Text Domain: prime-offer-hub
*/

:root {
        --ink: #26313d;
        --stone: #b3b0a1;
        --stone-faint: #b3b0a11a;
        --gold: #fab300;
        --gold-menu: #b37a00;
        --gold-faint: #fab30014;
        --paper: #ffffff;
        --line: #26313d1a;
      }

      * { box-sizing: border-box; }

      html { scroll-behavior: smooth; }

      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
      }

      body {
        margin: 0;
        background: var(--paper);
        color: var(--ink);
        font-family: "Poppins", sans-serif;
        font-size: 16px;
        line-height: 1.6;
      }

      a { color: inherit; text-decoration: none; }
      a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

      .shell { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
      }

      .eyebrow::before {
        width: 28px;
        height: 2px;
        background: var(--gold);
        content: "";
      }

      header {
        height: 88px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--line);
      }

      .brand {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        font-family: "Angkor", serif;
        font-size: 19px;
        letter-spacing: .025em;
        line-height: 1;
        white-space: nowrap;
      }

      .logo-mark { width: 34px; height: 34px; flex: 0 0 34px; }

      .brand-text { color: var(--ink); }
      .brand-text .offer { color: #FAB300; }
      .brand-text .hub { color: var(--ink); }

      nav { display: flex; align-items: center; }
      nav .menu { display: flex; gap: 36px; align-items: center; margin: 0; padding: 0; list-style: none; }

      nav a {
        position: relative;
        padding: 8px 0;
        font-size: 14px;
        font-weight: 600;
      }

      nav a::after {
        position: absolute;
        right: 0;
        bottom: 4px;
        left: 0;
        height: 2px;
        background: var(--gold-menu);
        content: "";
        transform: scaleX(0);
        transform-origin: right;
        transition: transform .2s ease;
      }

      nav a:hover::after, nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

      .menu-button {
        display: none;
        width: 42px;
        height: 42px;
        border: 1px solid var(--line);
        background: var(--paper);
        color: var(--ink);
        cursor: pointer;
        font-size: 20px;
      }

      .hero {
        position: relative;
        isolation: isolate;
        display: grid;
        min-height: 555px;
        place-items: center;
        overflow: hidden;
        text-align: center;
      }

      .hero::before {
        position: absolute;
        z-index: -2;
        width: min(670px, 70vw);
        height: min(670px, 70vw);
        border: 1px solid var(--stone-faint);
        border-radius: 50%;
        content: "";
      }

      .hero::after {
        position: absolute;
        z-index: -1;
        width: 390px;
        height: 390px;
        background: radial-gradient(circle, var(--gold-faint) 0 1px, transparent 1.5px);
        background-size: 13px 13px;
        content: "";
        opacity: .9;
        transform: translate(48%, -45%);
      }

      .hero-content { width: 100%; max-width: 800px; padding: 72px 0 80px; }

      h1, h2, h3, p { margin-top: 0; }

      h1 {
        margin: 16px 0 18px;
        font-family: "Angkor", serif;
        font-size: clamp(40px, 5.3vw, 68px);
        font-weight: 400;
        letter-spacing: .02em;
        line-height: 1.04;
      }

      .hero-copy { max-width: 590px; margin: 0 auto 27px; font-size: 16px; }

      .actions { display: flex; justify-content: center; gap: 12px; }

      .button {
        display: inline-flex;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        padding: 0 23px;
        border: 1px solid var(--ink);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        transition: .2s ease;
      }

      .button.primary { border-color: var(--gold); background: var(--gold); }
      .button.primary:hover { background: #ffc538; border-color: #ffc538; transform: translateY(-2px); }
      .button.secondary:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

      .intro { padding: 93px 0 78px; border-top: 1px solid var(--line); }

      .section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }

      h2 {
        margin: 12px 0 0;
        font-size: clamp(26px, 3vw, 39px);
        font-weight: 600;
        letter-spacing: -.045em;
        line-height: 1.14;
      }

      .intro-copy { max-width: 630px; margin: 6px 0 0; font-size: 16px; }

      .category-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 57px;
      }

      .category {
        position: relative;
        min-height: 308px;
        overflow: hidden;
        padding: 31px 29px;
        border: 1px solid var(--line);
        background: var(--paper);
        transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
      }

      .category::before {
        position: absolute;
        top: -55px;
        right: -55px;
        width: 170px;
        height: 170px;
        border-radius: 50%;
        background: var(--gold-faint);
        content: "";
      }

      .category:nth-child(2)::before { background: var(--stone-faint); }
      .category:nth-child(3)::before { background: var(--gold-faint); top: auto; right: auto; bottom: -75px; left: -65px; }

      .category:hover { border-color: #fab30080; box-shadow: 0 18px 45px #26313d12; transform: translateY(-6px); }

      .number { color: var(--gold); font-size: 12px; font-weight: 700; }

      .category h3 { margin: 54px 0 12px; font-size: 20px; font-weight: 600; line-height: 1.2; }
      .category p { max-width: 285px; font-size: 14px; line-height: 1.7; }
      .arrow { position: absolute; right: 29px; bottom: 26px; color: var(--gold); font-size: 23px; font-weight: 400; }

      .feature { padding: 74px 0; background: var(--ink); color: var(--paper); }

      .feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
      .feature h2 { max-width: 510px; color: var(--paper); }
      .feature .eyebrow { color: var(--gold); }
      .feature-copy { max-width: 515px; color: #ffffffb8; }

      .value-list { display: grid; gap: 14px; margin-top: 30px; }
      .value { display: flex; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid #ffffff1f; }
      .value b { color: var(--gold); font-size: 12px; letter-spacing: .1em; }
      .value span { font-size: 14px; font-weight: 500; }

      .newsletter { padding: 86px 0; }
      .newsletter-box { display: flex; gap: 40px; align-items: center; justify-content: space-between; padding: 43px 48px; background: var(--gold-faint); }
      .newsletter h2 { max-width: 520px; margin-top: 9px; }

      .subscribe { display: flex; min-width: min(100%, 390px); border-bottom: 1px solid var(--ink); }
      .subscribe input { width: 100%; min-height: 49px; border: 0; outline: none; background: transparent; color: var(--ink); font: 13px "Poppins", sans-serif; }
      .subscribe input::placeholder { color: #26313d90; }
      .subscribe button { border: 0; background: transparent; color: var(--ink); cursor: pointer; font: 11px "Poppins", sans-serif; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

      footer { padding: 42px 0 32px; border-top: 1px solid var(--line); }
      .footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
      .footer-text { max-width: 350px; margin: 15px 0 0; color: #010A13; font-size: 12px; }
      .footer-links { display: flex; width: 100%; max-width: 690px; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: nowrap; }
      .footer-links .menu { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 22px; margin: 0; padding: 0; list-style: none; }
      .footer-links a { flex: 0 0 auto; font-size: 11px; font-weight: 600; white-space: nowrap; }
      .footer-links a:hover { color: var(--gold); }
      .copyright { margin: 34px 0 0; color: #010A13; font-size: 10px; }

      @media (min-width: 1024px) {
        #hero-title { white-space: nowrap; }
      }

      @media (min-width: 781px) and (max-width: 1023px) {
        .newsletter-box { align-items: flex-start; flex-direction: column; gap: 28px; }
        .subscribe { width: 100%; min-width: 0; }
        .footer-main { flex-direction: column; gap: 28px; }
        .footer-links { max-width: 100%; justify-content: space-between; }
      }

      @media (max-width: 780px) {
        .shell { padding: 0 22px; }
        header { height: 74px; }
        .brand { gap: 9px; font-size: 16px; }
        .logo-mark { width: 30px; height: 30px; flex-basis: 30px; }
        nav { position: absolute; top: 74px; right: 22px; left: 22px; z-index: 5; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 18px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 15px 35px #26313d16; }
        nav .menu { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
        nav.open { display: flex; }
        nav a { border-bottom: 1px solid var(--line); }
        nav li:last-child a { border-bottom: 0; }
        .menu-button { display: inline-grid; place-items: center; }
        .hero { min-height: 475px; }
        .hero-content { padding: 55px 0; }
        h1 { font-size: clamp(34px, 8.9vw, 40px); }
        .hero-copy { font-size: 14px; }
        .section-heading, .feature-grid { grid-template-columns: 1fr; gap: 22px; }
        .category-grid { grid-template-columns: 1fr; margin-top: 38px; }
        .category { min-height: 250px; }
        .newsletter-box { align-items: flex-start; flex-direction: column; gap: 28px; padding: 32px 26px; }
        .subscribe { width: 100%; min-width: 0; }
        .footer-main { flex-direction: column; gap: 28px; }
        .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 100%; gap: 14px 20px; overflow: visible; padding-bottom: 0; }
        .footer-links a { white-space: normal; }
        .footer-links .menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
      }

      @media (max-width: 420px) {
        h1 { font-size: clamp(32px, 10vw, 38px); }
        .actions { align-items: stretch; flex-direction: column; }
        .intro, .newsletter { padding: 64px 0; }
      }

.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.theme-fallback { padding-top: 80px; padding-bottom: 80px; }
