:root {
    --g-deep: #064C38;
    --g-nat: #78A65A;
    --blue: #174A91;
    --bg-soft: #F6F8F4;
    --ink: #252B28;
    --line: #E3E9DF;
    --radius: 16px;
    --font-body: 'Tajawal', system-ui, sans-serif;
    --font-display: 'Fraunces', 'Cairo', serif
}

html[dir=rtl] {
    --font-display: 'Cairo', 'Tajawal', sans-serif
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased
}

h1, h2, h3, h4, .display {
    font-family: var(--font-display);
    color: var(--g-deep);
    font-weight: 600;
    letter-spacing: -.01em
}

a {
    color: var(--g-deep);
    text-decoration: none
}

a:hover {
    color: var(--blue)
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px
}

.btn-brand {
    background: var(--g-deep);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: .7rem 1.6rem;
    font-weight: 700;
    transition: background .2s
}

.btn-brand:hover, .btn-brand:focus {
    background: #043a2b;
    color: #fff
}

.btn-outline-brand {
    border: 1.5px solid var(--g-deep);
    color: var(--g-deep);
    border-radius: 999px;
    font-weight: 700;
    padding: .7rem 1.6rem;
    background: transparent
}

.btn-outline-brand:hover {
    background: var(--g-deep);
    color: #fff
}

.section {
    padding: 4rem 0
}

.section-soft {
    background: var(--bg-soft)
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 1.75rem;
    gap: 1rem
}

.section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin: 0
}

.announce {
    background: var(--g-deep);
    color: #fff;
    font-size: .88rem;
    text-align: center;
    padding: .5rem 0
}

.announce .msg {
    display: none
}

.announce .msg.on {
    display: block
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1030
}

.header-main {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 2.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto
}

.logo img {
    height: 52px;
    width: auto;
    display: block
}

.logo .ph-logo {
    font-size: 1.15rem;
    line-height: 1.2;
    text-align: start
}

.logo .ph-logo i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--g-deep);
    color: #fff;
    font-size: 1.25rem
}

.logo .logo-text {
    white-space: nowrap
}

.search {
    width: 100%;
    max-width: 560px;
    justify-self: center;
    position: relative
}

.search input {
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--bg-soft);
    padding: .65rem 3rem;
    width: 100%
}

.search button {
    position: absolute;
    inset-block: 0;
    inset-inline-start: .4rem;
    border: 0;
    background: none;
    color: var(--g-deep);
    padding: 0 .9rem
}

.hicons {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: .35rem
}

.hicon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 1.35rem;
    transition: color .2s, opacity .2s
}

.hicon:hover {
    color: var(--g-deep);
    opacity: .85
}

.hicon i {
    line-height: 1
}

.hicon-label {
    display: none;
    flex-direction: column;
    gap: .2rem;
    text-align: start;
    line-height: 1.15;
    white-space: nowrap
}

.hicon-label small {
    color: #6f7a74;
    font-size: .72rem;
    font-weight: 500
}

.hicon-label b {
    color: inherit;
    font-size: .82rem;
    font-weight: 700
}

.badge-count {
    position: absolute;
    top: 3px;
    inset-inline-end: -2px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 50%;
    background: var(--g-deep);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    line-height: 2.1;
    text-align: center
}

@media (min-width: 992px) {
    .hicons {
        gap: 1.25rem
    }

    .hicon-label {
        display: flex
    }
}

.main-nav {
    border-top: 1px solid var(--line)
}

.main-nav .navbar-nav {
    flex: 1 1 auto;
    width: 100%;
    max-width: 1320px;
    margin-inline: auto
}

.main-nav .nav-link {
    position: relative;
    color: var(--ink);
    font-weight: 500;
    padding: .8rem 1rem;
    transition: color .2s
}

.main-nav .nav-link::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: .35rem;
    height: 2px;
    border-radius: 2px;
    background: var(--g-nat);
    transform: scaleX(0);
    transition: transform .25s ease
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active,
.main-nav .dropdown.show > .nav-link,
.main-nav .dropdown:hover > .nav-link {
    color: var(--g-deep)
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after,
.main-nav .dropdown.show > .nav-link::after,
.main-nav .dropdown:hover > .nav-link::after {
    transform: scaleX(1)
}

.main-nav .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: 0 12px 28px rgba(6, 76, 56, .08)
}

.main-nav .dropdown-item {
    border-radius: 8px;
    padding: .4rem .75rem
}

.main-nav .dropdown-item:hover {
    background: var(--bg-soft);
    color: var(--g-deep)
}

.mega {
    min-width: 520px;
    columns: 2;
    column-gap: 1.5rem
}

@media (min-width: 992px) {
    .main-nav .navbar-nav {
        justify-content: center;
        flex-wrap: wrap;
        column-gap: 2.4rem;
        row-gap: .5rem;
    }

    .main-nav .dropdown-menu {
        animation: navDrop .18s ease
    }

    .main-nav .dropdown:hover > .dropdown-menu {
        display: block
    }
}

@keyframes navDrop {
    from {
        opacity: 0;
        transform: translateY(-6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media (max-width: 991px) {
    .mega {
        min-width: 0;
        columns: 1
    }

    .header-main {
        display: flex;
        flex-wrap: wrap
    }

    .search {
        order: 5;
        flex: 1 1 100%;
        max-width: none;
        justify-self: auto
    }
}

.hero {
    background: var(--bg-soft);
    overflow: hidden
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem;
    align-items: center;
    min-height: 520px
}

.hero h1 {
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 1rem
}

.hero p {
    font-size: 1.1rem;
    max-width: 34rem;
    color: #4a544f
}

.hero-art {
    position: relative;
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 480px;
    justify-self: center
}

.hero-art img {
    position: absolute;
    background: #fff;
    border-radius: 24px;
    padding: .6rem;
    object-fit: contain;
    border: 1px solid var(--line)
}

.hero-art .h1i {
    width: 62%;
    height: 62%;
    inset-block-start: 6%;
    inset-inline-start: 4%;
    z-index: 2
}

.hero-art .h2i {
    width: 44%;
    height: 44%;
    inset-block-start: 0;
    inset-inline-end: 2%
}

.hero-art .h3i {
    width: 44%;
    height: 44%;
    inset-block-end: 2%;
    inset-inline-end: 6%;
    z-index: 3
}

@media (max-width: 767px) {
    .hero .wrap {
        grid-template-columns:1fr;
        min-height: 0;
        padding-block: 2rem;
        gap: 1.5rem
    }

    .hero-art {
        max-width: 300px;
        order: -1
    }

    .hero h1 {
        font-size: 1.9rem
    }
}

.pet-tile {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--g-deep);
    color: #fff
}

.pet-tile .lbl {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.25rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(transparent, rgba(0, 0, 0, .35))
}

.pet-tile:hover {
    color: #fff
}

.pet-tile.t2 {
    background: var(--g-nat)
}

.pet-tile.t3 {
    background: var(--blue)
}

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: 1.25rem .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
    height: 100%;
    font-weight: 600
}

.cat-tile i {
    font-size: 1.6rem;
    color: var(--g-nat)
}

.cat-tile:hover {
    border-color: var(--g-nat);
    background: var(--bg-soft)
}

.brand-row {
    display: flex;
    gap: .9rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    scroll-snap-type: x proximity
}

.brand-strip {
    padding: 1.1rem 0;
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.brand-strip .section-head {
    align-items: center;
    margin-bottom: .6rem
}

.brand-strip .section-head h2 {
    font-size: 2.05rem
}

.brand-strip .brand-chip {
    min-width: 185px;
    height: 110px;
    padding: .6rem 1.1rem
}

.brand-strip .brand-chip img {
    max-height: 45px
}

.brand-strip .brand-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: .25rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none
}

.brand-strip .brand-row::-webkit-scrollbar {
    display: none
}

.brand-ctrl {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--g-deep);
    transition: background .2s, color .2s, border-color .2s
}

.brand-ctrl:hover {
    background: var(--g-deep);
    border-color: var(--g-deep);
    color: #fff
}

html[dir=ltr] .brand-strip .brand-ctrl i {
    transform: scaleX(-1)
}

@media (max-width: 575px) {
    .brand-strip .brand-chip {
        min-width: 135px;
        height: 72px;
        padding: .5rem .8rem
    }

    .brand-strip .brand-chip img {
        max-height: 32px
    }
}

.brand-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 190px;
    height: 100px;
    padding: 1.1rem 1.6rem;
    /* border: 1px solid var(--line); */
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--g-deep);
    background: #fff
}

.brand-chip img {
    max-height: 48px;
    max-width: 160px;
    width: auto;
    object-fit: contain
}

.brand-chip.brand-lg {
    height: 120px;
    min-width: 0
}

.brand-chip small {
    color: var(--g-nat);
    font-family: var(--font-body)
}

.brand-chip:hover {
    border-color: var(--g-deep)
}

.p-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .2s
}

.p-card:hover {
    box-shadow: 0 8px 24px rgba(6, 76, 56, .08)
}

.p-img {
    display: block;
    aspect-ratio: 1/1;
    background: var(--bg-soft)
}

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

.p-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1
}

.p-brand {
    font-size: .82rem;
    color: var(--g-nat);
    font-weight: 700
}

.p-name {
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em
}

.price {
    font-weight: 800;
    color: var(--g-deep)
}

.price del {
    color: #8a948f;
    font-weight: 400;
    margin-inline-start: .4rem;
    font-size: .9rem
}

.p-actions {
    display: flex;
    gap: .5rem;
    margin-top: auto;
    padding-top: .6rem
}

.p-actions .btn-brand {
    flex: 1;
    padding: .55rem .5rem;
    font-size: .92rem
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--g-deep);
    display: grid;
    place-items: center;
    flex: 0 0 auto
}

.icon-btn.on {
    background: var(--g-deep);
    color: #fff;
    border-color: var(--g-deep)
}

.p-badges {
    position: absolute;
    top: 1.7rem;
    inset-inline-start: 1.7rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    z-index: 2
}

.pbadge {
    background: #ab1616;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 999px;
    padding: .15rem .6rem
}

.pbadge.rx {
    background: #8a3b12
}

.p-wish {
    position: absolute;
    top: 1.6rem;
    inset-inline-end: 1.3rem;
    z-index: 2
}

.promo {
    background: var(--g-deep);
    color: #fff;
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center
}

.promo h2 {
    color: #fff
}

.promo .btn-brand {
    background: #fff;
    color: var(--g-deep)
}

@media (max-width: 767px) {
    .promo {
        grid-template-columns:1fr;
        padding: 2rem
    }
}

.trust {
    display: flex;
    gap: 1rem;
    align-items: flex-start
}

.trust i {
    font-size: 1.5rem;
    color: var(--g-nat);
    margin-top: .2rem
}

.trust h3 {
    font-size: 1.1rem;
    margin: 0 0 .25rem;
    font-family: var(--font-body);
    font-weight: 700
}

.news {
    background: var(--bg-soft);
    border-radius: 24px;
    padding: 2.5rem
}

.site-footer {
    background: var(--g-deep);
    color: #d9e6dd;
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem
}

.site-footer h4 {
    color: #fff;
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 700
}

.site-footer a {
    color: #d9e6dd
}

.site-footer a:hover {
    color: #fff
}

.site-footer ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .4rem
}

.site-footer .pay i {
    font-size: 1.8rem;
    margin-inline-end: .4rem
}

.page-head {
    background: var(--bg-soft);
    padding: 2rem 0;
    margin-bottom: 2rem
}

.page-head h1 {
    margin: 0;
    font-size: 2rem
}

.filters .f-group {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0
}

.filters h5 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700
}

.gallery-main {
    aspect-ratio: 1/1;
    background: var(--bg-soft);
    border-radius: var(--radius);
    overflow: hidden
}

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

.thumb {
    width: 76px;
    height: 76px;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: var(--bg-soft);
    padding: 0;
    overflow: hidden
}

.thumb.on {
    border-color: var(--g-deep)
}

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

.qty {
    display: inline-flex;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    align-items: center
}

.qty button {
    width: 42px;
    height: 42px;
    border: 0;
    background: none;
    font-size: 1.1rem
}

.qty input {
    width: 48px;
    text-align: center;
    border: 0;
    background: none;
    font-weight: 700
}

.nav-tabs .nav-link {
    color: var(--ink)
}

.nav-tabs .nav-link.active {
    color: var(--g-deep);
    font-weight: 700
}

.demo-note {
    font-size: .8rem;
    color: #8a5a00;
    background: #FFF6DE;
    border-radius: 8px;
    padding: .25rem .6rem;
    display: inline-block
}

.cart-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line)
}

.cart-row img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: var(--bg-soft);
    border-radius: 12px
}

.summary {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: 130px
}

.toast-ga {
    position: fixed;
    bottom: 1.25rem;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: var(--g-deep);
    color: #fff;
    padding: .7rem 1.4rem;
    border-radius: 999px;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s
}

.toast-ga.on {
    opacity: 1
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important
    }
}

/* ---- responsive grids, performance and touch refinements ---- */
.skip {
    position: absolute;
    inset-inline-start: -999px;
    top: 0;
    background: var(--g-deep);
    color: #fff;
    padding: .6rem 1rem;
    z-index: 3000
}

.skip:focus {
    inset-inline-start: 0;
    color: #fff
}

.pgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem
}

@media (max-width: 359px) {
    .pgrid {
        grid-template-columns:1fr
    }
}

@media (min-width: 768px) {
    .pgrid {
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap: 1.25rem
    }
}

@media (min-width: 1200px) {
    .pgrid {
        grid-template-columns:repeat(4, minmax(0, 1fr))
    }
}

.catgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem
}

@media (min-width: 576px) {
    .catgrid {
        grid-template-columns:repeat(5, 1fr)
    }
}

.empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 3rem 1rem
}

.p-img img {
    padding: .6rem
}

.p-card .p-name {
    font-size: .95rem
}

.p-card .demo-note {
    display: block;
    width: max-content;
    margin-top: .25rem;
    font-size: .7rem
}

main > section:not(.hero) {
    content-visibility: auto;
    contain-intrinsic-size: auto 520px
}

.btn, .hicon, .icon-btn, .qty button {
    min-height: 24px;
}

.main-nav .navbar-collapse {
    width: 100%;
    padding-inline: 1rem
}

@media (max-width: 991px) {
    .main-nav .navbar-collapse {
        max-height: calc(100vh - 140px);
        overflow-y: auto
    }
}

.thumbs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .25rem
}

.thumb {
    flex: 0 0 auto
}

.pd-sticky {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1020;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: .6rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem
}

@media (max-width: 767px) {
    body[data-page=product] {
        padding-bottom: 70px
    }

    .page-head {
        padding: 1.25rem 0;
        margin-bottom: 1.25rem
    }

    .page-head h1 {
        font-size: 1.5rem
    }

    .section-head {
        flex-wrap: wrap
    }

    .promo {
        padding: 1.5rem
    }

    .summary {
        position: static
    }
}

@media (max-width: 575px) {
    .logo img {
        height: 40px
    }

    .header-main {
        gap: .5rem;
        padding: .5rem 0
    }

    .hicon {
        min-width: 40px;
        min-height: 40px;
        font-size: 1.2rem
    }

    .p-actions .btn-brand {
        min-width: 0
    }

    .news form {
        flex-direction: column
    }

    .p-body {
        padding: .65rem
    }

    .price {
        font-size: .95rem
    }

    .logo .ph-logo {
        font-size: .9rem
    }
}

@media (max-width: 991px) {
    .logo .ph-logo {
        font-size: .95rem
    }

    .logo .ph-logo i {
        width: 36px;
        height: 36px;
        font-size: 1rem
    }

    .logo .logo-text {
        white-space: normal
    }
}

.p-img {
    position: relative;
    overflow: hidden
}

.p-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.gallery-main {
    position: relative
}

.gallery-main img {
    position: absolute;
    inset: 0
}

.form-check-input:checked {
    background-color: var(--g-deep);
    border-color: var(--g-deep)
}

.form-range::-webkit-slider-thumb {
    background: var(--g-deep)
}

/* pet tiles v2 */
.pet-tile {
    display: flex;
    align-items: flex-end;
    aspect-ratio: auto;
    min-height: 190px;
    background: radial-gradient(120% 100% at 100% 0%, rgba(120, 166, 90, .22), transparent 60%), var(--bg-soft) !important;
    border: 1px solid var(--line);
    color: var(--g-deep);
    padding: 1.25rem;
    transition: border-color .2s
}

.pet-tile:hover {
    color: var(--g-deep);
    border-color: var(--g-nat)
}

.pet-tile img, .pet-tile .ph {
    position: absolute;
    inset-inline-end: -6%;
    inset-block-start: -16%;
    width: 82%;
    height: 82%;
    max-width: none;
    object-fit: contain;
    opacity: .14;
    z-index: 0;
    pointer-events: none
}

.pet-tile .ph {
    display: grid;
    place-items: center;
    font-size: 7rem;
    color: var(--g-nat);
    opacity: .2
}

.pet-tile .lbl {
    position: relative;
    z-index: 1;
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    gap: .15rem
}

.pet-tile .lbl small {
    font-family: var(--font-body);
    font-size: .9rem;
    color: #5b6761;
    font-weight: 500
}

/* hero collage v2 */
.hero-art .h1i {
    width: 58%;
    height: 58%;
    inset-block-start: 21%;
    inset-inline-start: 21%;
    z-index: 2
}

.hero-art .h2i {
    width: 34%;
    height: 34%;
    inset-block-start: 2%;
    inset-inline-start: 0
}

.hero-art .h3i {
    width: 34%;
    height: 34%;
    inset-block-end: 2%;
    inset-inline-end: 0;
    z-index: 3
}

@media (min-width: 992px) {
    .section {
        padding: 3.25rem 0
    }
}

.hero .btn-brand {
    padding: .85rem 2.2rem
}

/* auth */
.auth-wrap {
    padding-block: 2.5rem
}

.auth {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    max-width: 960px;
    margin-inline: auto;
    background: #fff
}

.auth-side {
    background: var(--bg-soft);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem
}

.auth-side img {
    width: 190px;
    height: auto
}

.auth-side .ph-logo {
    font-size: 1.6rem
}

.auth-side .ph-logo i {
    width: 64px;
    height: 64px;
    font-size: 1.75rem
}

.auth-side h2 {
    font-size: 1.6rem;
    margin: 0
}

.auth-side p {
    color: #4a544f;
    margin: 0
}

.auth-form {
    padding: 2.5rem
}

.pwrap {
    position: relative
}

.pw-toggle {
    position: absolute;
    inset-inline-end: .4rem;
    top: 2.35rem;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: #5b6761
}

.pwrap input[type=password], .pwrap input[data-pw] {
    padding-inline-end: 3rem
}

.form-control:focus {
    border-color: var(--g-nat);
    box-shadow: 0 0 0 .2rem rgba(120, 166, 90, .25)
}

@media (max-width: 767px) {
    .auth {
        grid-template-columns:1fr;
        border: 0
    }

    .auth-side {
        padding: 1.25rem;
        flex-direction: row;
        align-items: center;
        border-radius: 16px
    }

    .auth-side h2, .auth-side p {
        display: none
    }

    .auth-side img {
        width: 130px
    }

    .auth-form {
        padding: 1.5rem .25rem
    }
}

.was-validated .pwrap .form-control:invalid, .pwrap .form-control.is-invalid {
    background-image: none
}

.auth-side img {
    mix-blend-mode: multiply
}

@media (max-width: 767px) {
    .auth-side {
        display: none
    }

    .auth-wrap {
        padding-block: 1rem
    }
}

/* ---- sample-inspired refresh: forest hero, pills, drawer, dark newsletter ---- */
.hero {
    background-color: var(--g-deep);
    background-image: radial-gradient(rgba(120, 166, 90, .22) 1px, transparent 1px);
    background-size: 28px 28px;
    color: #fff
}

.hero h1 {
    color: #fff
}

.hero p {
    color: #d5e5da
}

.hero .btn-brand {
    background: #fff;
    color: var(--g-deep)
}

.hero .btn-brand:hover {
    background: var(--bg-soft);
    color: var(--g-deep)
}

.hero .btn-outline-light:hover {
    color: var(--g-deep)
}

.hero-art img {
    border: 0;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22)
}

.news {
    background: var(--g-deep);
    color: #fff
}

.news h2 {
    color: #fff
}

.news .btn-brand {
    background: var(--g-nat);
    color: #0f2a1f
}

.news .btn-brand:hover {
    background: #8fbb72;
    color: #0f2a1f
}

.pills {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .25rem 0 .5rem;
    scrollbar-width: thin
}

.pill {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: .5rem 1.1rem;
    font-weight: 600;
    min-height: 44px
}

.pill:hover {
    border-color: var(--g-nat)
}

.pill.on {
    background: var(--g-deep);
    border-color: var(--g-deep);
    color: #fff
}

#cartDrawer {
    width: min(420px, 100vw)
}

.offcanvas-body {
    padding-top: 0
}

.d-row {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .9rem 0;
    border-bottom: 1px solid var(--line)
}

.d-row img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: var(--bg-soft);
    border-radius: 12px;
    flex: 0 0 auto
}

.qty-sm button {
    width: 34px;
    min-height: 34px;
    height: 34px
}

.qty-sm input {
    width: 34px
}

.drawer-foot {
    border-top: 1px solid var(--line);
    padding: 1rem 1.25rem;
    background: #fff
}

.ph-logo {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--g-deep)
}

.ph-logo i {
    color: var(--g-nat)
}
/* ---- hero slider ---- */
.hero-carousel .carousel-item {
    min-height: 520px
}

.hero .wrap {
    min-height: 520px;
    padding-block: 2.5rem 3.25rem
}

.hero-kicker {
    display: inline-flex;
    align-items:center;
    gap: .5rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: #eaf3ec;
    font-size: .8rem;
    font-weight: 700
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #d7e6db;
    font-size: .9rem
}

.hero-points i {
    color: var(--g-nat)
}

.hero-pets {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap
}

.hero-pet {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    width: 140px;
    padding: 1rem .5rem;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    transition: background .2s, transform .2s
}

.hero-pet:hover {
    background: rgba(255,255,255,.16);
    transform: translateY(-4px);
    color: #fff
}

.hero-pet img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
    padding: .3rem
}

.hero-pet-ph {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 16px;
    background: rgba(255,255,255,.14);
    color: var(--g-nat);
    font-size: 2rem
}

.hero-pet b {
    font-size: .95rem
}

.hero-pet small {
    color: #cfe0d4;
    font-size: .75rem
}

.hero-offer {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 380px
}

.hero-offer img {
    width: min(320px, 70%);
    border-radius: 28px;
    box-shadow: 0 20px 44px rgba(0,0,0,.35);
    transform: rotate(-4deg)
}

.offer-badge {
    position: absolute;
    top: 6%;
    inset-inline-end: 8%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: var(--g-nat);
    color: #0f2a1f;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0,0,0,.28)
}

.offer-badge b {
    font-size: 1.6rem
}

.offer-badge small {
    /* font-size: .6rem; */
    padding: 0 .4rem
}

.hero-arrow {
    position: absolute;
    bottom: .9rem;
    z-index: 5;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.12);
    color: #fff;
    transition: background .2s, color .2s
}

.hero-arrow:hover {
    background: #fff;
    color: var(--g-deep)
}

.hero-arrow-prev {
    inset-inline-start: 1rem
}

.hero-arrow-next {
    inset-inline-end: 1rem
}

html[dir=ltr] .hero-arrow i {
    transform: scaleX(-1)
}

.hero-dots {
    position: absolute;
    inset-inline: 0;
    bottom: 1.35rem;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: .5rem
}

.hero-dots button {
    width: 26px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.35);
    transition: width .3s, background .3s
}

.hero-dots button.active {
    width: 52px;
    background: var(--g-nat)
}

@media (max-width: 991px) {
    .hero-carousel .carousel-item,
    .hero .wrap {
        min-height: 0
    }

    .hero .wrap {
        grid-template-columns: 1fr;
        padding-block: 2.25rem 3.25rem;
        gap: 1.75rem
    }

    .hero-art {
        max-width: 300px;
        order: -1
    }

    .hero-pet {
        width: calc(50% - .5rem)
    }

    .hero-offer {
        min-height: 300px
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 1.85rem
    }

    .hero-points {
        display: none
    }
}

/* ---- promo coupon ---- */
.promo {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem 2.25rem;
    border-radius: 26px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0a5a43, var(--g-deep));
    box-shadow: 0 18px 40px rgba(6, 76, 56, .18)
}

.promo::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .6;
    pointer-events: none
}

.promo > * {
    position: relative;
    z-index: 1
}

.promo-ticket {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    padding: .6rem 1.5rem;
    border-inline-end: 2px dashed rgba(255, 255, 255, .35);
    text-align: center
}

.promo-ticket small {
    color: #cfe3d6;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em
}

.promo-ticket b {
    font-size: 1.7rem;
    letter-spacing: .12em;
    color: #fff
}

.promo-ticket span {
    color: var(--g-nat);
    font-weight: 700;
    font-size: .75rem
}

.promo h2 {
    color: #fff;
    margin: 0 0 .35rem
}

.promo p {
    color: #d7e7db;
    margin: 0;
    max-width: 34rem
}

.promo-cta {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    min-width: 180px
}

.promo .btn-brand {
    background: #fff;
    color: var(--g-deep)
}

.promo .btn-brand:hover {
    background: var(--bg-soft);
    color: var(--g-deep)
}

.promo .btn-outline-light {
    border-color: rgba(255, 255, 255, .5);
    color: #fff
}

.promo .btn-outline-light:hover {
    background: #fff;
    color: var(--g-deep)
}

@media (max-width: 991px) {
    .promo {
        grid-template-columns: 1fr;
        gap: 1.25rem
    }

    .promo-ticket {
        flex-direction: row;
        gap: .6rem;
        padding: 0 0 1rem;
        border-inline-end: 0;
        border-bottom: 2px dashed rgba(255, 255, 255, .35)
    }

    .promo-cta {
        flex-direction: row;
        flex-wrap: wrap
    }
}

@media (max-width: 575px) {
    .promo {
        padding: 1.5rem 1.25rem
    }

    .promo-ticket b {
        font-size: 1.4rem
    }
}

/* ---- smart category tiles ---- */
.cat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
    min-height: 132px;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    transition: transform .2s, border-color .2s, box-shadow .2s
}

.cat-tile > i {
    position: absolute;
    inset-inline-end: -.25rem;
    inset-block-end: -.6rem;
    font-size: 4.2rem;
    color: var(--g-deep);
    opacity: .08;
    transition: opacity .2s, transform .2s
}

.cat-name {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--g-deep)
}

.cat-count {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 500;
    color: #5b6761
}

.cat-go {
    position: absolute;
    inset-block-start: .8rem;
    inset-inline-end: .8rem;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--g-deep);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s
}

.cat-tile:hover {
    transform: translateY(-3px);
    border-color: var(--g-nat);
    box-shadow: 0 12px 26px rgba(6, 76, 56, .08)
}

.cat-tile:hover > i {
    opacity: .16;
    transform: scale(1.06)
}

.cat-tile:hover .cat-go {
    opacity: 1;
    transform: none
}

.cat-tile:nth-child(3n + 2) {
    background: linear-gradient(160deg, #fff, #eef4ea)
}

.cat-tile:nth-child(3n + 3) {
    background: linear-gradient(160deg, #fff, #eaf0f8)
}

@media (max-width: 575px) {
    .cat-tile {
        min-height: 116px;
        padding: .9rem
    }

    .cat-tile > i {
        font-size: 3.4rem
    }
}

/* ---- pets: icon tiles (no photos) ---- */
.pet-tile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 150px;
    padding: 1.4rem;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0a5a43, var(--g-deep)) !important;
    transition: transform .2s, box-shadow .2s
}

.pet-tile::after {
    content: "";
    position: absolute;
    inset-inline-end: -8%;
    inset-block-end: -30%;
    width: 62%;
    height: 120%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08)
}

.pet-ico {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 1.9rem
}

.pet-tile .lbl {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: 0;
    background: none;
    color: #fff;
    font-size: 1.4rem
}

.pet-tile .lbl small {
    color: rgba(255, 255, 255, .8);
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 500
}

.pet-go {
    position: absolute;
    inset-block-start: 1rem;
    inset-inline-end: 1rem;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    transition: background .2s, color .2s
}

.pet-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(6, 76, 56, .18);
    color: #fff
}

.pet-tile:hover .pet-go {
    background: #fff;
    color: var(--g-deep)
}

.pet-tile.t1 {
    background: linear-gradient(135deg, #0a5a43, var(--g-deep)) !important
}

.pet-tile.t2 {
    background: linear-gradient(135deg, #5f8f46, #78A65A) !important
}

.pet-tile.t3 {
    background: linear-gradient(135deg, #1d5aa8, #174A91) !important
}

.hero-pet > i {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .14);
    color: var(--g-nat);
    font-size: 2rem
}

/* ---- brands page cards ---- */
.page-head p {
    margin: .5rem 0 0;
    max-width: 40rem;
    color: #4a544f
}

.brand-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: transform .2s, box-shadow .2s, border-color .2s
}

.brand-card:hover {
    transform: translateY(-4px);
    border-color: var(--g-nat);
    box-shadow: 0 14px 30px rgba(6, 76, 56, .1)
}

.brand-card-logo {
    display: grid;
    place-items: center;
    min-height: 96px;
    padding: .75rem;
    border-radius: 14px;
    background: linear-gradient(160deg, var(--bg-soft), #fff)
}

.brand-card-logo img {
    max-height: 52px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(.15);
    transition: filter .2s
}

.brand-card:hover .brand-card-logo img {
    filter: none
}

.brand-card-logo .ph-logo {
    font-size: 1.1rem
}

.brand-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .8rem
}

.brand-card-meta b {
    font-family: var(--font-display);
    font-size: .98rem;
    color: var(--g-deep)
}

.brand-card-meta span {
    padding: .15rem .5rem;
    border-radius: 999px;
    background: var(--bg-soft);
    color: #5b6761;
    font-family: var(--font-body);
    font-size: .72rem
}

.brand-card-go {
    position: absolute;
    inset-block-start: .7rem;
    inset-inline-end: .7rem;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--g-deep);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s
}

.brand-card:hover .brand-card-go {
    opacity: 1;
    transform: none
}

/* ---- contact & legal pages ---- */
.contact-card {
    height: 100%;
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff
}

.contact-card h2 {
    font-size: 1.25rem;
    margin: 0 0 1.1rem
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .9rem
}

.contact-list .ci {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--g-deep);
    font-size: 1.05rem
}

.contact-list small {
    display: block;
    margin-bottom: .15rem;
    font-size: .75rem;
    font-weight: 600;
    color: #6f7a74
}

.contact-list a,
.contact-list div > span {
    font-weight: 600;
    color: var(--ink)
}

.doc {
    max-width: 860px;
    margin-inline: auto;
    padding: 2.5rem 0 3.5rem
}

.doc-head {
    margin-bottom: 2rem
}

.doc-head h1 {
    margin: 0 0 .75rem;
    font-size: 2rem
}

.doc-head p {
    margin: 0;
    color: #4a544f;
    max-width: 46rem
}

.doc-sec {
    padding: 1.5rem 0;
    border-top: 1px solid var(--line)
}

.doc-sec h2 {
    font-size: 1.15rem;
    margin: 0 0 .5rem
}

.doc-sec p {
    margin: 0 0 .6rem;
    color: #3d4641;
    line-height: 1.85
}

.doc-sec p:last-child {
    margin-bottom: 0
}

@media (max-width: 767px) {
    .contact-card {
        padding: 1.25rem
    }

    .doc {
        padding: 1.75rem 0 2.5rem
    }

    .doc-head h1 {
        font-size: 1.6rem
    }
}

/* ---- contact social ---- */
.contact-social-t {
    font-size: .95rem;
    margin: 1.5rem 0 .6rem;
    color: var(--ink)
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem
}

.contact-social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--g-deep);
    font-size: 1.05rem;
    transition: background .2s, color .2s, border-color .2s
}

.contact-social a:hover {
    background: var(--g-deep);
    border-color: var(--g-deep);
    color: #fff
}

/* ---- social sign-in ---- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.25rem 0;
    color: #6f7a74;
    font-size: .8rem
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line)
}

.auth-social {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem
}

.btn-social {
    flex: 1 1 30%;
    display: inline-flex;
    /* align-items: center; */
    justify-content: center;
    gap: .5rem;
    min-width: 0;
    padding: .55rem .8rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    transition: border-color .2s, color .2s, background .2s
}

.btn-social:hover {
    background: #fff;
    border-color: var(--g-deep);
    color: var(--g-deep)
}

.btn-social i {
    color: var(--g-deep)
}

/* ---- legal doc layout ---- */
.doc-meta {
    margin-top: 1rem;
    color: #6f7a74;
    font-size: .85rem
}

.doc-meta span {
    display: inline-flex;
    align-items: center;
    gap: .4rem
}

.doc-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: start
}

.doc-toc {
    position: sticky;
    top: 96px;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg-soft)
}

.doc-toc h2 {
    margin: 0 0 .75rem;
    font-family: var(--font-body);
    font-size: .85rem;
    letter-spacing: .02em;
    color: #6f7a74
}

.doc-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .1rem
}

.doc-toc a {
    display: block;
    padding: .45rem .6rem;
    border-radius: 8px;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 500;
    transition: background .2s, color .2s
}

.doc-toc a:hover {
    background: #fff;
    color: var(--g-deep)
}

.doc-body .doc-sec:first-child {
    border-top: 0;
    padding-top: 0
}

@media (max-width: 991px) {
    .doc-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .doc-toc {
        position: static
    }

    .doc-toc ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: .35rem
    }
}

/* ---- announce links ---- */
.announce-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.announce-links {
    display: none;
    align-items: center;
    gap: 1rem;
    font-size: .8rem
}

.announce-links a {
    color: #fff;
    opacity: .85;
    transition: opacity .2s
}

.announce-links a:hover {
    opacity: 1;
    text-decoration: underline
}

@media (min-width: 992px) {
    .announce-links {
        display: flex
    }
}

/* ---- about page ---- */
.about-hero {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
    padding: .5rem 0 1rem
}

.about-media {
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-soft)
}

.about-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover
}

.about-copy h2 {
    margin: 0 0 1rem
}

.about-copy p {
    margin: 0 0 1rem;
    color: #4a544f;
    line-height: 1.9
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2.5rem 0
}

.about-stat {
    padding: 1.75rem 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--bg-soft);
    text-align: center
}

.about-stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 2.1rem;
    line-height: 1.1;
    color: var(--g-deep)
}

.about-stat span {
    font-size: .85rem;
    color: #5b6761
}

.about-block {
    margin: 3rem 0
}

.about-block > h2 {
    margin-bottom: 1.25rem
}

.svc-card {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s, transform .2s
}

.svc-card:hover {
    transform: translateY(-3px);
    border-color: var(--g-nat);
    box-shadow: 0 12px 26px rgba(6, 76, 56, .08)
}

.svc-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: .85rem;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--g-deep);
    font-size: 1.15rem
}

.svc-card h3 {
    margin: 0 0 .4rem;
    font-size: 1.02rem
}

.svc-card p {
    margin: 0;
    color: #4a544f;
    font-size: .9rem;
    line-height: 1.75
}

.about-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 3rem 0 1rem;
    padding: 2rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #0a5a43, var(--g-deep));
    color: #fff
}

.about-cta h2 {
    margin: 0 0 .4rem;
    color: #fff
}

.about-cta p {
    margin: 0;
    color: #d7e7db
}

@media (max-width: 991px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* ---- blog ---- */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    transition: transform .2s, box-shadow .2s, border-color .2s
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--g-nat);
    box-shadow: 0 16px 32px rgba(6, 76, 56, .1)
}

.blog-media {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-soft)
}

.blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.blog-card:hover .blog-media img {
    transform: scale(1.04)
}

.blog-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .5rem;
    padding: 1.25rem
}

.blog-cat {
    align-self: flex-start;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--g-deep);
    font-size: .72rem;
    font-weight: 700
}

.blog-body h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4
}

.blog-body h3 a {
    color: var(--g-deep)
}

.blog-body p {
    flex: 1;
    margin: 0;
    color: #4a544f;
    font-size: .9rem;
    line-height: 1.75
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: .25rem;
    color: #6f7a74;
    font-size: .78rem
}

.blog-meta i {
    margin-inline-end: .3rem;
    color: var(--g-nat)
}

.blog-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .5rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--g-deep)
}

/* ---- account / profile ---- */
.acct-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(135deg, #f2f7ee, #fff)
}

.acct-avatar {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--g-deep);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700
}

.acct-id h1 {
    margin: 0;
    font-size: 1.35rem
}

.acct-id p {
    margin: .15rem 0;
    color: #5b6761;
    font-size: .9rem
}

.acct-id small {
    color: #6f7a74;
    font-size: .78rem
}

.acct-tabs {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line)
}

.acct-tabs .nav-link {
    padding: .75rem .9rem;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--ink);
    font-weight: 600
}

.acct-tabs .nav-link.active {
    border-bottom-color: var(--g-deep);
    background: none;
    color: var(--g-deep)
}

.acct-body {
    min-height: 260px
}

.acct-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem
}

.acct-stat {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    text-align: center
}

.acct-stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--g-deep)
}

.acct-stat span {
    font-size: .8rem;
    color: #5b6761
}

.acct-card {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff
}

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line)
}

.order-row:last-child {
    border-bottom: 0
}

.order-top {
    display: flex;
    align-items: center;
    gap: .6rem
}

.order-id {
    color: var(--g-deep);
    font-weight: 700
}

.badge-status {
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700
}

.s-processing {
    background: #fff4d6;
    color: #8a5a00
}

.s-shipped {
    background: #e3eefc;
    color: #174A91
}

.s-delivered {
    background: #e6f4e6;
    color: #2f6b2f
}

.s-cancelled {
    background: #fde8e8;
    color: #a33
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #6f7a74;
    font-size: .82rem
}

.order-meta b {
    color: var(--ink)
}

.track-box {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff
}

.track-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem
}

.track-id {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--g-deep)
}

.timeline {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0
}

.timeline li {
    position: relative;
    display: flex;
    gap: .9rem;
    padding-bottom: 1.25rem
}

.timeline li:last-child {
    padding-bottom: 0
}

.timeline li::before {
    content: "";
    position: absolute;
    inset-inline-start: 7px;
    top: 18px;
    bottom: 0;
    width: 2px;
    background: var(--line)
}

.timeline li:last-child::before {
    display: none
}

.timeline .dot {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 2px solid var(--line);
    border-radius: 50%;
    background: #fff
}

.timeline li.done .dot {
    border-color: var(--g-deep);
    background: var(--g-deep)
}

.timeline li.current .dot {
    border-color: var(--g-nat);
    background: var(--g-nat);
    box-shadow: 0 0 0 4px rgba(120, 166, 90, .2)
}

.timeline b {
    display: block;
    font-size: .92rem
}

.timeline small {
    color: #6f7a74;
    font-size: .78rem
}

.timeline li:not(.done):not(.current) b {
    color: #8a948e
}

.track-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
    font-weight: 700
}

.track-result[hidden] {
    display: none
}

.addr-card p {
    margin: .6rem 0 0;
    color: #4a544f;
    font-size: .9rem;
    line-height: 1.7
}

.addr-head {
    display: flex;
    align-items: center;
    gap: .6rem
}

.set-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--line)
}

.set-row:last-child {
    border-bottom: 0
}

.set-row b {
    display: block;
    font-size: .95rem
}

.set-row small {
    color: #6f7a74;
    font-size: .8rem
}

@media (max-width: 575px) {
    .acct-stats {
        grid-template-columns: 1fr
    }

    .acct-tabs {
        flex-wrap: nowrap;
        overflow-x: auto
    }

    .acct-tabs .nav-link {
        white-space: nowrap
    }
}

/* ---- mobile services ---- */
.mob-badge {
    display: inline-flex;
    align-items: center;
    padding: .4rem .9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--g-deep);
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap
}

.svc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(160deg, #fff 40%, var(--bg-soft));
    isolation: isolate;
    transition: transform .25s, box-shadow .25s, border-color .25s, background .25s
}

.svc-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(120% 90% at 100% 0%, rgba(120, 166, 90, .18), transparent 62%);
    opacity: 0;
    transition: opacity .3s
}

.svc-tile:hover {
    transform: translateY(-6px);
    border-color: var(--g-nat);
    box-shadow: 0 20px 40px rgba(6, 76, 56, .14)
}

.svc-tile:hover::after {
    opacity: 1
}

.svc-tile .svc-wm {
    position: absolute;
    inset-inline-end: -16%;
    inset-block-end: -22%;
    z-index: -1;
    width: 78%;
    max-width: 340px;
    height: auto;
    opacity: .13;
    filter: grayscale(.15);
    pointer-events: none;
    transition: opacity .35s, transform .35s, filter .35s
}

.svc-tile:hover .svc-wm {
    opacity: .24;
    filter: grayscale(0);
    transform: scale(1.07) translateY(-6px)
}

.svc-tile .svc-ico {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--g-deep);
    font-size: 1.1rem;
    transition: transform .25s, background .25s, color .25s
}

.svc-tile:hover .svc-ico {
    transform: translateY(-3px) rotate(-6deg);
    background: var(--g-deep);
    color: #fff
}

.svc-tile-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .5rem
}

.svc-tile-body h3 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: .1px
}

.svc-tile-body p {
    flex: 1;
    max-width: 30ch;
    margin: 0;
    color: #4a544f;
    font-size: .9rem;
    line-height: 1.75
}

.svc-tile-body .btn {
    align-self: flex-start;
    margin-top: .5rem;
    transition: background .25s, color .25s, border-color .25s, transform .25s
}

.svc-tile:hover .svc-tile-body .btn {
    transform: translateX(3px)
}

/* ---- floating delivery ---- */
.fab-deliv {
    position: fixed;
    inset-block-end: 1.5rem;
    inset-inline-end: 1.5rem;
    z-index: 1035;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--g-nat), var(--g-deep));
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 14px 30px rgba(6, 76, 56, .32);
    cursor: pointer;
    transition: transform .25s, box-shadow .25s
}

.fab-deliv:hover,
.fab-deliv:focus-visible {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 20px 38px rgba(6, 76, 56, .4);
    outline: none
}

.fab-deliv .fab-ring {
    position: absolute;
    inset: -7px;
    border: 2px solid rgba(120, 166, 90, .55);
    border-radius: 50%;
    animation: fabPulse 2.4s ease-out infinite;
    pointer-events: none
}

@keyframes fabPulse {
    0% {
        transform: scale(.9);
        opacity: .85
    }

    70% {
        transform: scale(1.25);
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

.deliv-pop .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(6, 76, 56, .3)
}

.deliv-head {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.15rem
}

.deliv-ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--g-nat), var(--g-deep));
    color: #fff;
    font-size: 1.2rem
}

.deliv-head h5 {
    font-weight: 800
}

.deliv-list {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    list-style: none;
    margin: 0 0 1.3rem;
    padding: 0
}

.deliv-list li {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .9rem;
    border-radius: 14px;
    background: var(--bg-soft);
    color: #31463c;
    font-size: .9rem
}

.deliv-list i {
    flex: 0 0 auto;
    color: var(--g-deep)
}

@media (max-width: 575px) {
    .fab-deliv {
        width: 52px;
        height: 52px;
        inset-block-end: 1rem;
        inset-inline-end: 1rem;
        font-size: 1.2rem
    }
}
