/*
Theme Name: Pumpkinseed Child
Theme URI: https://pumpkinseed.pk/
Description: Custom child theme for Pumpkinseed
Author: Pumpkinseed
Template: kadence
Version: 1.0.0
*/

:root {
    --forest: #1F5C3D;
    --forest-dark: #143D28;
    --pumpkin: #EF7D22;
    --pumpkin-light: #F5A25C;
    --seed: #D9C49B;
    --cream: #FBFAF3;
    --cream-warm: #F3EEDD;
    --ink: #16231A;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Nunito Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  
  .logo img {
    width: 200px;
    height: auto;
    display: block;
}

  a { color: inherit; text-decoration: none; }

  .display {
    font-family: 'Fraunces', serif;
    font-optical-sizing: auto;
  }

  .mono {
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.02em;
  }

  /* ===== NAV ===== */
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5vw;
    background: rgba(251, 250, 243, 0.9);
    border-bottom: 1px solid rgba(31, 92, 61, 0.1);
  }
  
  body.admin-bar header {
    top: 32px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.01em;
  }

  .logo .mark {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(155deg, var(--pumpkin-light), var(--pumpkin));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .logo .mark::before {
    content: '';
    width: 12px; height: 16px;
    background: var(--seed);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  }

  .logo span.pumpkin-word { color: var(--forest); }
  .logo span.seed-word { color: var(--pumpkin); }

  nav ul {
    display: flex;
    gap: 38px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-dark);
    position: relative;
    padding-bottom: 4px;
  }

  nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--pumpkin);
    border-radius: 2px;
    transition: width 0.3s ease;
  }
  nav a:hover::after { width: 100%; }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .nav-right a.icon { font-size: 14px; font-weight: 600; color: var(--forest-dark); }

  .cart-btn {
    background: var(--forest);
    color: var(--cream);
    padding: 11px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.2s ease;
  }
  .cart-btn:hover { background: var(--forest-dark); transform: translateY(-1px); }

  /* ===== HERO ===== */
  .hero {
    position: relative;
    background-image: url('https://pumpkinseed.pk/wp-content/uploads/2026/08/Pumpkinseeds_banner_1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 64px 5vw 60px;
    gap: 40px;
    position: relative;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--pumpkin);
    margin-bottom: 22px;
  }

  .hero-eyebrow::before { content: '🎃'; font-size: 14px; }

  .hero h1 {
    font-size: clamp(40px, 4.8vw, 68px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--forest-dark);
    margin-bottom: 24px;
  }

  .hero h1 em {
    font-style: italic;
    font-weight: 500;
    color: var(--pumpkin);
  }

  .hero p {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(22,35,26,0.68);
    max-width: 440px;
    margin-bottom: 34px;
  }

  .hero-ctas {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .btn-primary {
    background: var(--pumpkin);
    color: var(--cream);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.25s ease, background 0.25s ease;
    box-shadow: 0 14px 26px -12px rgba(239,125,34,0.55);
  }
  .btn-primary:hover { transform: translateY(-2px); background: #DB6D14; }

  .btn-ghost {
    font-size: 14px;
    font-weight: 700;
    color: var(--forest-dark);
    border-bottom: 2px solid var(--forest);
    padding-bottom: 3px;
  }

  .hero-visual {
    position: relative;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .blob {
    position: absolute;
    inset: 4%;
    background: linear-gradient(150deg, var(--pumpkin-light), var(--pumpkin) 60%, #D9660F);
    border-radius: 42% 58% 55% 45% / 48% 45% 55% 52%;
    box-shadow: 0 30px 60px -22px rgba(239,125,34,0.45);
    animation: morph 9s ease-in-out infinite;
  }

  @keyframes morph {
    0%, 100% { border-radius: 42% 58% 55% 45% / 48% 45% 55% 52%; }
    50% { border-radius: 55% 45% 48% 52% / 52% 55% 45% 48%; }
  }

  .hero-visual .seed-shape {
    position: relative;
    z-index: 2;
    width: 34%;
    aspect-ratio: 2/3;
    background: linear-gradient(160deg, var(--seed), #C4A96F);
    border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
    box-shadow: inset 0 -8px 16px rgba(0,0,0,0.12);
  }

  .float-card {
    position: absolute;
    bottom: 6%;
    left: 8%;
    background: var(--cream);
    padding: 14px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 16px 30px rgba(20,61,40,0.18);
    z-index: 3;
  }
  .float-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--forest); }
  .float-card .txt { font-size: 13px; font-weight: 700; color: var(--forest-dark); }
  .float-card .sub { font-size: 11px; color: rgba(22,35,26,0.55); }

  .float-badge {
    position: absolute;
    top: 8%;
    right: 4%;
    background: var(--forest);
    color: var(--cream);
    width: 78px; height: 78px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    z-index: 3;
    box-shadow: 0 12px 26px rgba(20,61,40,0.3);
  }
  .float-badge .big { font-size: 18px; font-family: 'Fraunces', serif; }

  /* ===== WAVE DIVIDER ===== */
  .wave-strip {
    background: var(--forest);
    color: var(--cream);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
  }

  .marquee-track {
    display: inline-flex;
    animation: scroll 26s linear infinite;
  }

  .marquee-track span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    gap: 30px;
  }
  .marquee-track span::after { content: '🌱'; font-size: 12px; }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ===== SECTIONS ===== */
  .section { padding: 90px 5vw; }

  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 52px;
    gap: 24px;
  }

  .section-head .label {
    font-size: 13px;
    font-weight: 700;
    color: var(--pumpkin);
    margin-bottom: 12px;
    display: block;
  }

  .section-head h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    color: var(--forest-dark);
    letter-spacing: -0.01em;
    max-width: 520px;
  }

  .section-head p {
    max-width: 320px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(22,35,26,0.6);
    padding-bottom: 4px;
  }

  .grid-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .product-card {
    background: var(--cream-warm);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }
  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -18px rgba(20,61,40,0.22);
  }

  .product-thumb {
    aspect-ratio: 1/1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .thumb-inner {
    width: 62%;
    height: 62%;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  }

  .tag-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--forest);
    color: var(--cream);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 10px;
    border-radius: 20px;
  }

  .thumb-1 { background: #FCE8CE; }
  .thumb-1 .thumb-inner { background: linear-gradient(160deg, var(--pumpkin-light), var(--pumpkin)); }
  .thumb-2 { background: #E7EFE4; }
  .thumb-2 .thumb-inner { background: linear-gradient(160deg, #8DB98C, var(--forest)); }
  .thumb-3 { background: #F3E8D2; }
  .thumb-3 .thumb-inner { background: linear-gradient(160deg, var(--seed), #C4A96F); }
  .thumb-4 { background: #FBE0DE; }
  .thumb-4 .thumb-inner { background: linear-gradient(160deg, #E58F73, #C75A3D); }

  .product-info { padding: 18px 20px 22px; }

  .product-info .cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--forest);
    margin-bottom: 8px;
    display: block;
  }

  .product-info h3 {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--forest-dark);
    margin-bottom: 10px;
  }

  .product-info .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .product-info .price { font-size: 15px; font-weight: 700; color: var(--ink); }

  .add-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--pumpkin);
    color: var(--cream);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
  }
  .add-btn:hover { background: var(--forest); transform: scale(1.1); }

  /* ===== VALUES STRIP ===== */
  .values {
    background: var(--forest-dark);
    color: var(--cream);
    padding: 70px 5vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .value-item { text-align: left; }
  .value-item .ico {
    font-size: 26px;
    margin-bottom: 16px;
    display: block;
  }
  .value-item h4 {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
  }
  .value-item p {
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(251,250,243,0.65);
  }

  /* ===== STORY ===== */
  .story {
    padding: 100px 5vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .story-visual {
    position: relative;
    aspect-ratio: 4/3.4;
  }

  .story-blob {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, #8DB98C, var(--forest));
    border-radius: 55% 45% 48% 52% / 45% 55% 45% 55%;
  }

  .story-blob-2 {
    position: absolute;
    width: 40%;
    aspect-ratio: 1/1;
    right: -6%;
    bottom: -6%;
    background: linear-gradient(150deg, var(--pumpkin-light), var(--pumpkin));
    border-radius: 50%;
    border: 6px solid var(--cream);
  }

  .story-content .label {
    font-size: 13px;
    font-weight: 700;
    color: var(--pumpkin);
    margin-bottom: 16px;
    display: block;
  }

  .story-content h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    color: var(--forest-dark);
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 520px;
  }

  .story-content h2 em { font-style: italic; color: var(--pumpkin); }

  .story-content p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(22,35,26,0.68);
    max-width: 460px;
    margin-bottom: 32px;
  }

  .story-stats { display: flex; gap: 44px; }
  .story-stats .num {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--forest-dark);
  }
  .story-stats .cap {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(22,35,26,0.55);
    margin-top: 4px;
  }

  /* ===== NEWSLETTER ===== */
  .newsletter {
    padding: 100px 5vw;
    text-align: center;
    background: var(--cream-warm);
    border-radius: 40px;
    margin: 0 5vw 90px;
  }

  .newsletter .label {
    font-size: 13px;
    font-weight: 700;
    color: var(--pumpkin);
    margin-bottom: 18px;
    display: block;
  }

  .newsletter h2 {
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 600;
    color: var(--forest-dark);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.18;
  }

  .newsletter-form {
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    padding: 6px;
    background: var(--cream);
    border-radius: 30px;
    border: 2px solid rgba(31,92,61,0.15);
  }

  .newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 18px;
    font-size: 14px;
    font-family: 'Nunito Sans', sans-serif;
    color: var(--ink);
    outline: none;
  }
  .newsletter-form input::placeholder { color: rgba(22,35,26,0.4); }

  .newsletter-form button {
    background: var(--forest);
    color: var(--cream);
    border: none;
    padding: 12px 26px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease;
  }
  .newsletter-form button:hover { background: var(--forest-dark); }

  /* ===== FOOTER ===== */
  footer {
    background: var(--forest-dark);
    color: rgba(251,250,243,0.6);
    padding: 60px 5vw 30px;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(251,250,243,0.12);
  }

  .footer-top .logo { color: var(--cream); margin-bottom: 14px; }
  .footer-top .logo .pumpkin-word { color: var(--cream); }
  .footer-top .logo .seed-word { color: var(--pumpkin-light); }
  .footer-top p { font-size: 14px; line-height: 1.6; max-width: 260px; }

  .footer-col h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cream);
    margin-bottom: 18px;
  }
  .footer-col a { color: var(--cream); }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 11px; font-size: 14px; }
  .footer-col a:hover { color: var(--pumpkin); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 26px;
    font-size: 12px;
  }

  @media (prefers-reduced-motion: reduce) {
    .marquee-track, .blob { animation: none; }
    .cart-btn, .btn-primary, .product-card, .add-btn { transition: none; }
  }

  a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 3px;
  }

  @media (max-width: 980px) {
    nav ul { display: none; }
    .hero { grid-template-columns: 1fr; padding-top: 36px; }
    .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
    .grid-products { grid-template-columns: 1fr 1fr; }
    .values { grid-template-columns: 1fr 1fr; }
    .story { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 560px) {
    .grid-products { grid-template-columns: 1fr; }
    .values { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; align-items: flex-start; gap: 16px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .story-stats { flex-direction: column; gap: 20px; }
    .footer-top { grid-template-columns: 1fr; }
    .newsletter { border-radius: 24px; padding: 60px 24px; margin: 0 4vw 60px; }
    .newsletter-form { flex-direction: column; border-radius: 16px; }
    .newsletter-form button { border-radius: 12px; }
  }
  
  
  .product-thumb .pumpkin-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.product-card:hover .pumpkin-product-image {
    transform: scale(1.05);
}

header nav .menu-item > a {
    color: #1F5C3D !important;
}

header nav .menu-item > a:hover {
    color: #1F5C3D !important;
}

header nav .current-menu-item > a {
    color: #EF7D22 !important;
}

.cart-btn,
.cart-btn:visited,
.cart-btn:hover,
.cart-btn:focus {
    color: var(--cream) !important;
    text-decoration: none !important;
}

.mobile-menu-toggle,
.mobile-menu-overlay,
.mobile-nav-header,
.mobile-nav-footer {
    display: none;
}

.mobile-nav-header .logo {
    order: 0;
}

.mobile-nav-header .logo img {
     width: 170px !important;
    height: auto !important;
}

@media (max-width: 980px) {

    .mobile-menu-toggle {
        display: block;
        order: 1;
        background: none;
        border: 0;
        font-size: 26px;
        color: var(--forest-dark);
        padding: 0;
        cursor: pointer;
    }
    
    
    
    body > header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        position: relative;
        z-index: 9999;
    }
    
    header .logo {
        order: 2;
        position: static !important;
        transform: none !important;
        justify-self: center;
    
    }
    
    .mobile-menu-toggle {
        justify-self: start;
    }
    
     header .nav-right {
        order: 3;
        justify-self: end;
        width: max-content;
    }
    
    header .cart-btn {
        white-space: nowrap;
    }

    header .nav-right .icon {
        display: none;
    }

    header nav {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        z-index: 99999;
        padding: 24px 24px 24px;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 8px 0 30px rgba(0,0,0,0.15);
    }

    header nav ul {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
    }

    header nav.menu-open {
        left: 0;
        /*z-index: 10000;*/
    }

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        z-index: 99998;
    }

    header nav.menu-open + .mobile-menu-overlay {
        display: block;
    }
    
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 28px;
    }

    .mobile-nav-header .logo img {
        width: 140px;
    }

    .mobile-menu-close {
        background: none;
        border: 0;
        font-size: 28px;
        line-height: 1;
        color: var(--forest-dark);
        cursor: pointer;
        padding: 0;
    }

    .mobile-nav-footer {
        margin-top: 40px;
        padding-top: 24px;
        border-top: 1px solid rgba(31,92,61,0.12);
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .mobile-nav-footer .icon {
        font-size: 14px;
        font-weight: 600;
        color: var(--forest-dark);
    }

    .mobile-nav-footer .cart-btn {
        text-align: center;
    }
}

.entry-hero {
    position: relative;
    z-index: 1;
}


/*News Latter Subscription*/

.pumpkinseed-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--forest);
    color: var(--cream);
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 9999999;
    text-align: center;
}

.pumpkinseed-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pumpkinseed-toast.error {
    background: #C0392B;
}