/*
Theme Name: Gummy Joy
Theme URI: https://example.com
Author: Gummy Joy
Description: One-page gummies shop with a pack builder, basket and order form. Everything is editable in Appearance > Customize > Gummy Shop, and the popup menu in Appearance > Menus.
Version: 6.2
License: GPL-2.0-or-later
Text Domain: gummy-one
*/
:root {
    --night: #1B0A2E;
    --grape: #3A1659;
    --pink: #FF4F8B;
    --lime: #C4F23E;
    --orange: #FF9A1F;
    --ink: #2A1040;
    --paper: #FFF7FC;
    --logo-h: 46px;
    --f: 'Fredoka', system-ui, sans-serif;
    --b: 'DM Sans', system-ui, sans-serif
}

* {
    box-sizing: border-box
}

.prod,
.ty,
.row>label,
.hero .grid>*,
.how li,
.cartlist li>div {
    min-width: 0
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px
}

body {
    margin: 0;
    font: 1rem/1.5 var(--b);
    color: var(--ink);
    background: var(--paper);
    overflow-x: clip
}

body.hascart {
    padding-bottom: 78px
}

h1,
h2,
h3 {
    font-family: var(--f);
    line-height: 1.05;
    margin: 0 0 .4em;
    font-weight: 700
}

h2 {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    margin-bottom: .35em
}

p {
    margin: 0 0 1em;
    max-width: 60ch
}

a {
    color: inherit
}

img {
    max-width: 100%;
    height: auto
}

.wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px
}

.btn {
    display: inline-block;
    border: 0;
    cursor: pointer;
    background: var(--lime);
    color: var(--grape);
    font: 700 1.1rem var(--f);
    padding: 12px 26px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 5px 0 rgba(0, 0, 0, .25)
}

.btn:hover {
    filter: brightness(1.08)
}

.btn:disabled {
    opacity: .4;
    cursor: not-allowed
}

[tabindex="-1"]:focus {
    outline: none
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px
}

/* glowing gummy cubes */
.gum,
.sq {
    position: relative;
    isolation: isolate;
    border-radius: 22%;
    background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .65) 0 10%, transparent 32%), linear-gradient(145deg, var(--c2), var(--c));
    box-shadow: 0 0 12px var(--g), 0 0 30px var(--g), inset 0 0 0 1.5px rgba(255, 255, 255, .25), inset -3px -5px 8px rgba(0, 0, 0, .28)
}

.rasp {
    --c: #E0174F;
    --c2: #FF6F9C;
    --g: rgba(255, 40, 110, .75)
}

.black {
    --c: #3B1A9E;
    --c2: #7B52F0;
    --g: rgba(140, 100, 255, .8)
}

.gum {
    display: block;
    aspect-ratio: 1;
    transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg))
}

.gum::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -40%;
    bottom: -40%;
    left: -40%;
    z-index: -1;
    background: radial-gradient(circle, var(--g), transparent 62%);
}

.co::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255, 255, 255, .95) 0 1.1px, transparent 1.7px) 0 0/8px 8px, radial-gradient(circle, rgba(255, 255, 255, .7) 0 .9px, transparent 1.5px) 4px 4px/8px 8px
}

.sq {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex: none;
    margin-right: 7px;
    vertical-align: -3px;
    box-shadow: 0 0 8px var(--g), inset 0 0 0 1px rgba(255, 255, 255, .3)
}

.co.sq::before {
    background-size: 5px 5px, 5px 5px;
    background-position: 0 0, 2.5px 2.5px
}

.gum::after {
    opacity: .75
}

@supports not (aspect-ratio:1) {
    .gum {
        height: 0;
        padding-bottom: 100%
    }
}

/* header and menu */
.bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--night);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .1)
}

.admin-bar .bar {
    top: 32px
}

@media(max-width:782px) {
    .admin-bar .bar {
        top: 46px
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px
}

.logo {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--f);
    font-weight: 700;
    font-size: calc(var(--logo-h)*.037rem);
    line-height: 1
}

.logo img {
    display: block;
    height: var(--logo-h);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center
}

.btn.sm {
    flex: none;
    padding: 5px 15px;
    font-size: .92rem;
    box-shadow: none;
    white-space: nowrap
}

.menubtn {
    flex: none;
    width: 36px;
    height: 32px;
    display: grid;
    gap: 4px;
    place-content: center;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 10px;
    background: none;
    cursor: pointer;
    padding: 0
}

.menubtn span {
    display: block;
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 2px
}

.menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 12px;
    width: min(260px, calc(100% - 24px));
    background: var(--grape);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45)
}

.menu[hidden] {
    display: none
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.menu a {
    display: block;
    text-decoration: none;
    font: 600 1.15rem var(--f);
    padding: 12px 14px;
    border-radius: 12px
}

.menu a:hover {
    background: rgba(255, 255, 255, .1);
    color: var(--lime)
}

/* top of page */
.hero {
    background: var(--night);
    color: #fff;
    padding: 20px 0 24px;
    overflow: hidden
}

.hero .grid {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center
}

.hero .grid>* {
    flex: 1 1 320px
}

.hero h1 {
    font-size: clamp(2.7rem, 11vw, 4.6rem);
    line-height: .95;
    margin-bottom: .25em
}

.hero h1 span {
    color: var(--lime);
    text-shadow: 0 0 18px rgba(196, 242, 62, .65);
    text-shadow: 0 0 18px color-mix(in srgb, var(--lime) 65%, transparent)
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: .8em;
    color: #E4D4F5
}

.heroimg img {
    display: block;
    width: 100%;
    border-radius: 22px
}

.deals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px
}

.deals span {
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: .92rem;
    font-weight: 600
}

.deals b {
    font: 700 1.1rem var(--f)
}

/* sliding banner: edge to edge */
.gallery {
    background: var(--night)
}

.car {
    position: relative
}

.slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none
}

.slides::-webkit-scrollbar {
    display: none
}

.slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    min-height: 170px;
    padding: 20px max(20px, calc((100% - 1040px)/2)) 38px;
    color: #fff;
    background: radial-gradient(closest-side at 84% 45%, var(--gl, rgba(255, 255, 255, .1)), transparent)
}

.slide h3 {
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    margin-bottom: .2em;
    color: var(--hc, #fff)
}

.slide p {
    margin: 0;
    font-size: 1rem;
    color: #E4D4F5
}

.cl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 104px
}

.cl.globe {
    display: block
}

.cl.globe svg {
    width: 100%
}

.simg img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 18px
}

.ctrl {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    pointer-events: none
}

.dots {
    display: flex;
    gap: 8px;
    align-items: center;
    pointer-events: auto
}

.dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .35);
    padding: 0;
    cursor: pointer
}

.dots button[aria-current=true] {
    background: var(--pink);
    width: 26px;
    border-radius: 999px
}

/* shop */
.shop {
    padding: 34px 0
}

.key {
    margin-bottom: 16px;
    font-size: .95rem;
    font-weight: 600
}

.prods {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

.prod {
    position: relative;
    flex: 1 1 270px;
    background: #fff;
    border: 3px solid #EAD6F5;
    border-radius: 28px;
    padding: 18px 14px 14px
}

.tag {
    position: absolute;
    top: -13px;
    left: 18px;
    background: var(--pink);
    color: #fff;
    font: 700 .8rem var(--f);
    font-style: normal;
    padding: 3px 12px;
    border-radius: 999px
}

.ph {
    display: flex;
    align-items: baseline;
    gap: 6px
}

.ph .n {
    font: 700 2rem var(--f);
    line-height: 1.1;
    background: var(--lime);
    color: var(--grape);
    border-radius: 14px;
    padding: 2px 12px
}

.ph .t {
    font-weight: 600
}

.ph .pr {
    margin-left: auto;
    font: 700 1.6rem var(--f);
    color: var(--pink)
}

.each {
    font-size: .9rem;
    opacity: .7;
    margin: 2px 0 8px
}

.types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    margin-bottom: 8px
}

.nm {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: .86rem;
    line-height: 1.15;
    margin-bottom: 5px
}

.step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--paper);
    border-radius: 999px;
    padding: 3px
}

.step button {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    border: 0;
    background: var(--grape);
    color: #fff;
    font: 700 1.4rem var(--f);
    line-height: 1;
    cursor: pointer;
    padding: 0
}

.step button:disabled {
    opacity: .25;
    cursor: not-allowed
}

.step output {
    font: 700 1.4rem var(--f);
    flex: 1;
    text-align: center
}

.left {
    font: 700 1rem var(--f);
    color: var(--grape);
    margin: 0 0 10px;
    text-align: center
}

.add {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    background: var(--grape);
    color: #fff;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .25)
}

.how {
    background: #fff;
    padding: 32px 0
}

.how ol {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    counter-reset: s
}

.how li {
    flex: 1 1 200px;
    counter-increment: s
}

.how li::before {
    content: counter(s);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    font: 700 1.3rem var(--f);
    margin-bottom: 10px
}

.how li strong {
    display: block;
    font: 700 1.25rem var(--f)
}

/* basket and form */
.orderbox {
    background: var(--pink);
    color: #fff;
    padding: 36px 0
}

.order {
    background: #fff;
    color: var(--ink);
    border-radius: 26px;
    padding: 20px;
    max-width: 720px
}

.empty {
    font-weight: 600
}

.empty a {
    color: var(--pink)
}

.empty[hidden],
.total[hidden] {
    display: none
}

.cartlist {
    list-style: none;
    margin: 0 0 6px;
    padding: 0
}

.cartlist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 2px solid #EAD6F5
}

.cartlist li div {
    flex: 1
}

.cartlist strong {
    display: block;
    font: 700 1.15rem var(--f)
}

.cartlist span {
    font-size: .95rem;
    opacity: .8
}

.cartlist li>b {
    font: 700 1.25rem var(--f)
}

.rm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: #F3E4FA;
    color: var(--grape);
    font-size: 1.3rem;
    cursor: pointer
}

.total {
    display: flex;
    justify-content: space-between;
    font: 700 1.6rem var(--f);
    margin: 12px 0 24px
}

.added {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--lime);
    color: var(--grape);
    border-radius: 20px;
    padding: 12px 16px;
    margin: 0 0 18px;
    font: 700 1.15rem var(--f)
}

.added[hidden] {
    display: none
}

.added .btn {
    background: var(--grape);
    color: #fff
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 22px
}

legend {
    font: 700 1.4rem var(--f);
    margin-bottom: 12px;
    padding: 0
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 12px
}

.row>label {
    flex: 1 1 200px
}

.order label {
    display: block;
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 12px
}

.order input:not([type=hidden]),
.order select,
.order textarea {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 12px 14px;
    font: inherit;
    border: 2px solid #D9C2EA;
    border-radius: 14px;
    background: #fff;
    color: var(--ink)
}

.order input:focus,
.order select:focus,
.order textarea:focus {
    outline: 3px solid var(--orange);
    outline-offset: 1px
}

.order .go {
    background: var(--grape);
    color: #fff;
    width: 100%
}

.small {
    font-size: .9rem;
    margin: 14px 0 0
}

.notice {
    max-width: 720px;
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 600;
    margin: 0 0 18px
}

.notice.ok {
    background: var(--lime);
    color: var(--grape)
}

.notice.err {
    background: #fff;
    color: #B00020
}

.hp {
    position: absolute;
    left: -9999px
}

.cartbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--lime);
    color: var(--grape);
    text-decoration: none;
    font: 700 1.15rem var(--f);
    padding: 14px 22px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
    max-width: 520px;
    margin: 0 auto
}

.cartbar[hidden] {
    display: none
}

/* flashing pack amounts */
@keyframes flash {

    0%,
    100% {
        filter: drop-shadow(0 0 0 transparent) brightness(1)
    }

    50% {
        filter: drop-shadow(0 0 12px var(--lime)) brightness(1.18)
    }
}

.flash .ph .n,
.flash .bn {
    animation: flash 1.5s ease-in-out infinite
}

.bn {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    border-radius: 14px;
    background: var(--lime);
    color: var(--grape);
    font: 700 1.3rem var(--f);
    flex: none
}

/* delivery */
.delivery {
    padding: 32px 0;
    background: var(--paper)
}

.dgrid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px
}

.dbox {
    flex: 1 1 240px;
    border: 2px solid #EAD6F5;
    border-radius: 20px;
    padding: 14px 16px;
    background: #fff
}

.dbox strong {
    display: block;
    font: 700 1.15rem var(--f);
    margin-bottom: 4px
}

.dbox p {
    margin: 0;
    font-size: .95rem
}

.shipnote {
    margin: 0 0 20px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #F6EFFA;
    font-weight: 600;
    font-size: .95rem;
    max-width: none
}

.shipnote.free {
    background: var(--lime);
    color: var(--grape)
}

.shipnote[hidden] {
    display: none
}

.formmsg {
    background: #FDE7EE;
    color: #8A0B2C;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 600;
    margin: 0 0 12px;
    max-width: none
}

.formmsg[hidden] {
    display: none
}

.formmsg a {
    color: inherit;
    text-decoration: underline
}

/* corporate footer */
.foot {
    background: var(--night);
    color: #CDB4E3;
    padding: 36px 0 20px;
    font-size: .92rem
}

.fgrid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 40px
}

.fcol {
    flex: 1 1 180px;
    min-width: 0
}

.fbrand {
    flex: 2 1 260px
}

.fname {
    font: 700 1.5rem var(--f);
    color: #fff;
    margin: 0 0 .3em
}

.fh {
    font: 700 1rem var(--f);
    color: #fff;
    margin: 0 0 .7em
}

.foot ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.foot li {
    margin: 0 0 .5em
}

.foot a {
    color: #fff;
    text-decoration: none
}

.foot a:hover {
    text-decoration: underline
}

.foot p {
    margin: 0 0 .8em;
    max-width: 46ch
}

.fbar {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: .85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between
}

.plogos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0
}

.plogos li {
    margin: 0
}

.plogos img {
    display: block;
    height: 26px;
    width: auto;
    background: #fff;
    border-radius: 6px;
    padding: 3px 8px
}

.pbadge {
    display: block;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    padding: 4px 10px;
    font: 600 .8rem var(--f);
    color: #fff;
    background: rgba(255, 255, 255, .06)
}

/* accessibility */
.skip {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    background: #fff;
    color: #000;
    padding: 8px 14px;
    border-radius: 8px
}

.skip:focus {
    left: 8px
}

.a11ybtn {
    position: fixed;
    right: 10px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 70;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    background: var(--grape);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: .9;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .35)
}

.a11ybtn svg {
    width: 20px;
    height: 20px
}

body.hascart .a11ybtn {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px))
}

.menu .menuitem {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 4px;
    color: #fff;
    cursor: pointer;
    font: 600 1.15rem var(--f);
    padding: 12px 14px;
    border-radius: 0 0 12px 12px
}

.menu .menuitem:hover {
    background: rgba(255, 255, 255, .1);
    color: var(--lime)
}

.linkbtn {
    background: none;
    border: 0;
    padding: 0;
    color: #fff;
    font: inherit;
    text-decoration: underline;
    cursor: pointer
}

.a11ypanel {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    margin: 0 auto;
    max-width: 360px;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    overflow: auto;
    z-index: 80;
    background: #fff;
    color: var(--ink);
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .45)
}

.a11ypanel[hidden] {
    display: none
}

.a11yhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px
}

.a11yt {
    font: 700 1.2rem var(--f);
    margin: 0
}

.a11yx {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #F3E4FA;
    color: var(--grape);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer
}

.a11yrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600
}

.a11yrow span {
    flex: 1
}

.a11yrow button,
.a11yopt {
    min-height: 44px;
    border: 2px solid var(--grape);
    background: #fff;
    color: var(--grape);
    border-radius: 12px;
    padding: 8px 12px;
    font: 700 .95rem var(--f);
    cursor: pointer
}

.a11yrow button {
    min-width: 56px
}

.a11ygrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px
}

.a11yopt {
    display: block;
    width: 100%;
    text-align: center
}

.a11yopt[aria-pressed=true] {
    background: var(--grape);
    color: #fff
}

.a11yopt.reset {
    border-color: #999;
    color: #444
}

@media(min-width:600px) {
    .a11ypanel {
        left: auto;
        right: 10px;
        margin: 0;
        width: 340px
    }
}

html.a11y-contrast {
    --paper: #fff;
    --ink: #000;
    --night: #000;
    --grape: #000;
    --pink: #9A0030
}

html.a11y-contrast .hero p,
html.a11y-contrast .slide p,
html.a11y-contrast .foot {
    color: #fff
}

html.a11y-contrast .prod,
html.a11y-contrast .dbox,
html.a11y-contrast .order input,
html.a11y-contrast .order select,
html.a11y-contrast .order textarea {
    border-color: #000
}

html.a11y-font,
html.a11y-font * {
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: .02em
}

html.a11y-links a {
    text-decoration: underline !important;
    text-underline-offset: 3px
}

html.a11y-still *,
html.a11y-still *::before,
html.a11y-still *::after {
    animation: none !important
}

html.a11y-still {
    scroll-behavior: auto
}

body.nozoom {
    touch-action: pan-x pan-y
}

/* small product tab */
.spot {
    position: fixed;
    left: 10px;
    bottom: 14px;
    z-index: 55;
    display: flex;
    align-items: stretch;
    background: #fff;
    color: var(--ink);
    border: 1px solid #EAD6F5;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
    max-width: min(300px, calc(100% - 20px))
}

body.hascart .spot {
    bottom: 82px
}

.spot[hidden] {
    display: none
}

.spa {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px 8px 12px;
    text-decoration: none;
    flex: 1;
    min-width: 0
}

.spa .sq {
    width: 22px;
    height: 22px;
    margin: 0;
    flex: none
}

.spb {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0
}

.spb small {
    font-size: .7rem;
    opacity: .7
}

.spb b {
    font: 700 .95rem var(--f)
}

.sps {
    font-size: .78rem;
    opacity: .8
}

.spx {
    border: 0;
    background: none;
    padding: 0 12px;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--ink)
}

/* custom order card */
.prod.custom {
    border-style: dashed
}

.prod.custom .ph .n.cq {
    font-size: 1.2rem;
    padding: 6px 12px
}

.cnote {
    display: block;
    margin: 8px 0
}

.cnote textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #D9C2EA;
    border-radius: 14px;
    font: inherit;
    background: #fff;
    color: var(--ink);
    resize: vertical
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

.step input {
    flex: 1;
    width: 100%;
    min-width: 0;
    text-align: center;
    border: 0;
    background: transparent;
    font: 700 1.4rem var(--f);
    color: var(--ink);
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield
}

.step input::-webkit-outer-spin-button,
.step input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.step input:focus {
    outline: 3px solid var(--orange);
    border-radius: 10px
}

.cartlist .bn {
    font-size: 1.3rem;
    opacity: 1
}

/* cross-browser hardening */
:root {
    color-scheme: light
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%
}

@supports not (overflow:clip) {
    body {
        overflow-x: hidden
    }
}

.btn,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent
}

.order input:not([type=hidden]),
.order textarea {
    -webkit-appearance: none;
    appearance: none
}

.order select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%233A1659' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center
}

.nojs {
    margin: 0;
    padding: 12px 20px;
    background: #FDE7EE;
    color: #8A0B2C;
    font-weight: 600;
    text-align: center;
    max-width: none
}

@media print {

    .bar,
    .cartbar,
    .spot,
    .a11ybtn,
    .a11ypanel,
    .ctrl {
        display: none !important
    }

    .slide,
    .hero {
        background: #fff !important;
        color: #000 !important
    }
}

/* basket and checkout: fits every screen, phone to wide desktop */
.wrap {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right))
}

.orderbox {
    padding: clamp(28px, 6vw, 56px) 0
}

.orderbox .wrap {
    max-width: 820px
}

.order {
    max-width: none;
    width: 100%;
    padding: clamp(16px, 4vw, 32px)
}

.order input:not([type=hidden]),
.order select,
.order textarea {
    max-width: 100%;
    min-height: 48px;
    font-size: 1rem;
    font-size: max(1rem, 16px)
}

.order textarea {
    min-height: 110px;
    resize: vertical
}

.order select {
    text-overflow: ellipsis
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px
}

.row>label {
    flex: 1 1 220px;
    min-width: 0
}

.order .small,
.notice {
    max-width: none
}

.order .go {
    min-height: 52px
}

.cartlist li {
    flex-wrap: wrap
}

.cartlist li>div {
    flex: 1 1 140px
}

@media(max-width:380px) {
    .row>label {
        flex-basis: 100%
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .flash .ph .n,
    .flash .bn {
        animation: none
    }
}


/* WooCommerce product cards: consistent grid and equal heights */
#shop .prods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

#shop .wc-product-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Keep product images consistent */
#shop .wc-product-card .product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

#shop .wc-product-card .product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Give product titles a consistent space */
#shop .wc-product-card .ph {
  align-items: flex-start;
  min-height: 48px;
}

#shop .wc-product-card .ph .t {
  min-width: 0;
  flex: 1;
}

#shop .wc-product-card .ph .pr {
  flex-shrink: 0;
}

/* Keep quantity and button aligned at the bottom */
#shop .wc-product-card .quantity-step {
  margin-top: auto;
}

/* Tablet: two cards per row */
@media (max-width: 900px) {
  #shop .prods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: one card per row */
@media (max-width: 560px) {
  #shop .prods {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Improve spacing and readability of WooCommerce product titles */
#shop .wc-product-card .product-image {
  margin-bottom: 8px;
}

#shop .wc-product-card .ph .t {
  font-size: 1.1rem;
  line-height: 1.45;
  font-weight: 700;
}

/* Keep the product title link consistent with the existing design */
#shop .wc-product-card .ph .t a {
  color: inherit;
  text-decoration: none;
}

#shop .wc-product-card .ph .t a:hover {
  text-decoration: underline;
}

/* WooCommerce single product page — match High On Gummies homepage branding */
body.single-product #main {
  max-width: 1120px;
}

/* Main product layout */
body.single-product div.product:not(.related .product) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
}

body.single-product div.product div.images,
body.single-product div.product div.summary {
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
}

body.single-product div.product div.images img {
  border-radius: 22px;
}

body.single-product div.product .product_title {
  color: var(--ink);
  font-family: var(--f);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.12;
  margin: 0 0 14px;
}

body.single-product div.product p.price,
body.single-product div.product span.price {
  color: var(--pink);
  font-family: var(--f);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 20px;
}

body.single-product div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 18px;
}


/* WooCommerce quantity selector with integrated plus/minus buttons */
body.single-product div.product form.cart div.quantity {
    float: none;
    margin: 0;
    display: inline-flex;
    align-items: center;
    height: 58px;
    padding: 0 6px;
    border: 2px solid #EAD6F5;
    border-radius: 999px;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

body.single-product div.product form.cart .quantity .hog-qty-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--grape) !important;
    box-shadow: none !important;
    font: 700 23px/1 var(--f) !important;
    cursor: pointer;
}

body.single-product div.product form.cart .quantity .hog-qty-btn:hover {
    color: var(--pink) !important;
    background: #F8F0FC !important;
}

body.single-product div.product form.cart .quantity input.qty {
    flex: 0 1 42px;
    width: 42px !important;
    min-width: 0;
    height: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--ink) !important;
    text-align: center;
    font: 700 1.1rem var(--f) !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

body.single-product div.product form.cart .quantity input.qty::-webkit-inner-spin-button,
body.single-product div.product form.cart .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* =========E N D============== */


body.single-product div.product form.cart button.single_add_to_cart_button {
  float: none;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--grape);
  color: #fff;
  font: 700 1.1rem var(--f);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .22);
  transition: filter .2s ease, transform .2s ease;
}

body.single-product div.product form.cart button.single_add_to_cart_button:hover {
  background: var(--grape);
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-1px);
}

body.single-product .product_meta {
  display: none;
}

.gummy-product-facts {
  margin: 20px 0 26px;
  padding: 14px 18px;
  border: 2px solid #EAD6F5;
  border-radius: 18px;
  background: #fff;
}

.gummy-product-fact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 9px 0;
  border-bottom: 1px solid #F0E2F7;
}

.gummy-product-fact:last-child {
  border-bottom: 0;
}

.gummy-product-fact dt {
  flex: 0 0 125px;
  color: var(--grape);
  font-weight: 700;
}

.gummy-product-fact dd {
  flex: 1 1 140px;
  margin: 0;
  overflow-wrap: anywhere;
}

.gummy-product-description {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid #EAD6F5;
}

.gummy-product-description h2 {
  color: var(--ink);
  font-family: var(--f);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
}

.gummy-product-description-content > :last-child {
  margin-bottom: 0;
}

/* Hide product tabs, but show related products */
body.single-product .woocommerce-tabs {
  display: none !important;
}

/* Related products: full-width section */
body.single-product .related.products {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 40px 0 0 !important;
}

/* Related products heading */
body.single-product .related.products > h2 {
    width: 100%;
    margin-bottom: 20px;
}

/* Related product cards: left-aligned grid */
body.single-product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    justify-content: start !important;
    align-items: start !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Prevent theme clearfix pseudo-elements from occupying grid cells */
body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after {
    display: none !important;
    content: none !important;
}

/* Each product card */
body.single-product .related.products ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    grid-row: auto !important;
    position: static !important;
}

/* Product images */
body.single-product .related.products ul.products li.product img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 12px !important;
}

/* Branded buttons */
body.single-product .related.products ul.products li.product a.button {
    align-self: flex-start;
    background: var(--grape, #3A1659) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: var(--f);
    font-weight: 700 !important;
    text-align: center;
}

body.single-product .related.products ul.products li.product a.button:hover {
    background: var(--pink, #FF4F8B) !important;
    color: #fff !important;
}

/* Mobile: two columns */
@media (max-width: 700px) {
    body.single-product .related.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 700px) {
  body.single-product div.product {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  body.single-product div.product div.images {
    max-width: 560px;
    margin-inline: auto;
  }

  body.single-product div.product form.cart button.single_add_to_cart_button {
    flex: 1 1 170px;
  }

  .gummy-product-fact dt {
    flex-basis: 110px;
  }
}

/* Product Image Thumbnail settings */
.woocommerce div.product div.images .flex-control-thumbs li {
    padding:5px !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 10px;
}


/* Fix single-product layout on mobile */
@media (max-width: 700px) {
  body.single-product div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
  }

  body.single-product div.product div.images,
  body.single-product div.product div.summary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    grid-column: 1 / -1 !important;
  }
}


/* Related products: full-width section */
body.single-product div.product > .related.products {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 40px 0 0 !important;
}

/* Homepage shop heading and introduction */
#shop .wrap > h2,
#shop .wrap > .key {
    width: 100%;
    text-align: center;
}



/* Header basket icon and stable WooCommerce card messages */
.header-cart {
    flex: none;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 10px;
    text-decoration: none;
}

.header-cart svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-cart:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}

#shop .wc-product-card .left {
    display: none;
}

#shop .wc-product-card .wc-add-message {
    min-height: 1.4em;
    margin: 4px 0 0;
    font-size: .85rem;
    line-height: 1.4;
    text-align: center;
}

/* Add space between quantity selector and Buy Now button */
#shop .wc-product-card .quantity-step {
    margin-bottom: 8px;
}

#shop .wc-product-card .wc-add-message .wc-view-basket {
    display: inline;
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
}

#shop .wc-product-card .wc-add-message .wc-view-basket:hover {
    color: #e84988;
}

/* Empty basket: centered branded Continue Shopping button */
.wp-block-woocommerce-empty-cart-block
p.has-text-align-center.wp-block-paragraph:has(a[href="https://highongummies.com/"]) {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 16px auto;
}

.wp-block-woocommerce-empty-cart-block
p.has-text-align-center.wp-block-paragraph:has(a[href="https://highongummies.com/"]) a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    background-color: #c8ff00;
    color: #250d35;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    line-height: 1.3;
}

.wp-block-woocommerce-empty-cart-block
p.has-text-align-center.wp-block-paragraph:has(a[href="https://highongummies.com/"]) a:hover {
    background-color: #b5eb00;
    color: #250d35;
}


/* WooCommerce basket: branded Proceed to Checkout button */
.wc-block-cart__submit-container
.wc-block-cart__submit-button {
    background-color: #c8ff00 !important;
    color: #250d35 !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Ensure the button text also uses the brand color */
.wc-block-cart__submit-container
.wc-block-cart__submit-button .wc-block-components-button__text {
    color: #250d35 !important;
}

/* Hover state */
.wc-block-cart__submit-container
.wc-block-cart__submit-button:hover {
    background-color: #b5eb00 !important;
    color: #250d35 !important;
}



/* Checkout only: High On Gummies Place Order button */
body.woocommerce-checkout #place_order,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    background-color: #c8ff00 !important;
    color: #250d35 !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background-color: #b5eb00 !important;
    color: #250d35 !important;
}

/* Checkout: hide only the product short description */
body.woocommerce-checkout
.wc-block-components-order-summary
.wc-block-components-product-metadata__description {
    display: none !important;
}

/* Checkout: Bold Total price */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-weight: 700;
}


/* =============================================================
   WooCommerce Thank You / Order Received Page branded layout
   ============================================================= */

/* Confirmation message */
.woocommerce-order .woocommerce-thankyou-order-received {
    margin: 0 0 24px;
    color: #250d35;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Order overview: responsive summary cards */
.woocommerce-order ul.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    border: 1px solid #e1d3e5;
    border-radius: 14px;
    overflow: hidden;
    background: #fff8fc;
}

.woocommerce-order ul.woocommerce-order-overview::before,
.woocommerce-order ul.woocommerce-order-overview::after {
    display: none !important;
    content: none !important;
}

.woocommerce-order ul.woocommerce-order-overview li {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 18px;
    border: 0;
    border-bottom: 1px solid #e1d3e5;
    border-right: 1px solid #e1d3e5;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.woocommerce-order ul.woocommerce-order-overview li:nth-child(2n) {
    border-right: 0;
}

.woocommerce-order ul.woocommerce-order-overview li:last-child {
    border-bottom: 0;
}

.woocommerce-order ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: 5px;
    color: #250d35;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

/* Order details table */
.woocommerce-order .woocommerce-order-details {
    margin-top: 28px;
}

.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title {
    margin: 0 0 16px;
    color: #250d35;
    line-height: 1.2;
}

.woocommerce-order table.woocommerce-table--order-details {
    width: 100%;
    border: 1px solid #e1d3e5;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff8fc;
}

.woocommerce-order table.woocommerce-table--order-details th,
.woocommerce-order table.woocommerce-table--order-details td {
    padding: 14px;
    border: 0;
    border-bottom: 1px solid #e1d3e5;
    text-align: left;
    vertical-align: top;
}

.woocommerce-order table.woocommerce-table--order-details thead th {
    color: #250d35;
    font-weight: 700;
}

.woocommerce-order table.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order table.woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: 0;
}

/* Keep totals aligned and prevent label/value overlap */
.woocommerce-order table.woocommerce-table--order-details tfoot th {
    width: 50%;
    white-space: normal;
}

.woocommerce-order table.woocommerce-table--order-details tfoot td {
    width: 50%;
    overflow-wrap: anywhere;
}

/* Billing and shipping address cards */
.woocommerce-order .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.woocommerce-order .woocommerce-columns--addresses::before,
.woocommerce-order .woocommerce-columns--addresses::after {
    display: none !important;
    content: none !important;
}

.woocommerce-order .woocommerce-columns--addresses .woocommerce-column {
    float: none !important;
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
}

.woocommerce-order .woocommerce-columns--addresses address {
    padding: 18px;
    border: 1px solid #e1d3e5;
    border-radius: 10px;
    background: #fff8fc;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* Mobile layout */
@media (max-width: 600px) {
    .woocommerce-order ul.woocommerce-order-overview {
        grid-template-columns: minmax(0, 1fr);
    }

    .woocommerce-order ul.woocommerce-order-overview li,
    .woocommerce-order ul.woocommerce-order-overview li:nth-child(2n) {
        border-right: 0;
        border-bottom: 1px solid #e1d3e5;
    }

    .woocommerce-order ul.woocommerce-order-overview li:last-child {
        border-bottom: 0;
    }

    .woocommerce-order .woocommerce-columns--addresses {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .woocommerce-order table.woocommerce-table--order-details th,
    .woocommerce-order table.woocommerce-table--order-details td {
        padding: 10px;
    }
}


/* Thank You page: centered confirmation heading */
.woocommerce-order > .woocommerce-thankyou-order-received {
    display: block;
    width: 100%;
    margin: 0 auto 16px;
    color: #250d35;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* Center the payment instruction paragraph */
.woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
    max-width: 900px;
    margin: 0 auto 28px;
    color: #250d35;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
}

/* Keep the order summary below the centered instructions */
.woocommerce-order > .woocommerce-order-overview {
    margin-top: 0;
}

/* Mobile sizing */
@media (max-width: 600px) {
    .woocommerce-order > .woocommerce-thankyou-order-received {
        font-size: 1.4rem;
    }

    .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
        font-size: 0.95rem;
        padding: 0 8px;
    }
}


/* Thank You page: Continue Shopping button */
.woocommerce-order > .woocommerce-order-overview::after {
    content: "Continue Shopping";
    display: block;
    width: fit-content;
    margin: 20px auto 28px;
    padding: 13px 28px;
    background-color: #c8ff00;
    color: #250d35;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    line-height: 1.3;
}


/* Thank You page: real Continue Shopping link */
.woocommerce-order .hog-continue-shopping-wrap {
    display: flex;
    justify-content: center;
    margin: 20px auto 28px;
}

.woocommerce-order .hog-continue-shopping {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    background: #c8ff00;
    color: #250d35;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    line-height: 1.3;
}

.woocommerce-order .hog-continue-shopping:hover {
    background: #b5eb00;
    color: #250d35;
}


/* Homepage product section: center the description */
#shop .wrap > p.key {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}



/* Homepage product cards: hide quantity controls */
#shop .wc-product-card .quantity-step {
    display: none !important;
}



/* Homepage: make product cards equal height */
#shop .wc-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* Keep product title areas consistent */
#shop .wc-product-card .woocommerce-loop-product__title,
#shop .wc-product-card .product-title,
#shop .wc-product-card h2 {
    min-height: 3em;
}

/* Push Buy Now to the bottom of each card */
#shop .wc-product-card .add {
    margin-top: auto;
    flex-shrink: 0;
}


/* Related products: make Buy Now buttons full width */
.woocommerce .related.products ul.products li.product a.button,
.woocommerce .up-sells.products ul.products li.product a.button {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center;
    margin-top: 16px !important;
}


/* Related products: equal-height cards */
.woocommerce .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px !important;
}

.woocommerce .related.products ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    height: 100%;
    box-sizing: border-box;
}

/* Keep product titles aligned */
.woocommerce .related.products ul.products li.product
.woocommerce-loop-product__title {
    min-height: 3em;
}

/* Push price and Buy Now toward the bottom */
.woocommerce .related.products ul.products li.product .price {
    margin-top: auto;
}

.woocommerce .related.products ul.products li.product a.button {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 16px !important;
    text-align: center;
}

/* Responsive columns */
@media (max-width: 768px) {
    .woocommerce .related.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce .related.products ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================++++++++++++++++++++++++++++= */
/* Return to Shop: sticky below the site header */
.hog-return-shop-sticky {
    position: sticky;
    top: var(--hog-sticky-header-height, 90px);
    z-index: 99;
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 7px 16px;
    box-sizing: border-box;
    background: #fff7fc;
    border-bottom: 1px solid #ead8f0;
}

.hog-return-shop-sticky a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b1657;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.hog-return-shop-sticky a:hover {
    color: #e84988;
}

.hog-return-shop-sticky a:focus-visible {
    outline: 2px solid #c8ff00;
    outline-offset: 3px;
}

.hog-return-shop-arrow {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 600px) {
    .hog-return-shop-sticky {
        top: 90px;
        min-height: 36px;
        padding: 6px 12px;
    }

    .hog-return-shop-sticky a {
        font-size: 13px;
    }
}

/* ===================== */

/* Basket page: Return to Shop message */
.hog-basket-return-message {
    position: sticky;
    top: var(--hog-sticky-header-height, 90px);
    z-index: 99;
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 7px 16px;
    box-sizing: border-box;
    background: #fff7fc;
    border-bottom: 1px solid #ead8f0;
}

.hog-basket-return-text {
    font-weight: 700;
}

.hog-basket-return-message a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b1657;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.hog-basket-return-message a:hover {
   color: #e84988;
}

