/* =====================================================================
   ANIMECTIN red theme for FleetCart Storefront
   Design reference: animectin.html
   Loaded from: modules/Storefront/Resources/views/public/partials/container_width.blade.php
   Sob content (slider, banner, product, deals, menu) Admin theke ashe;
   ei file shudhu dekhte kemon hobe seta bodlay.
   ===================================================================== */

:root {
    /* font sizes (home page). Desktop size; phone/tablet shrink in the
       same proportion. Change a number here to resize that group. */
    --am-fs-heading: 30px;      /* section headings */
    --am-fs-item-title: 17px;   /* step / product / item titles */
    --am-fs-text: 15px;         /* subtitles, descriptions, tables */
    --am-fs-button: 15px;       /* Add to Cart */
    --am-fs-menu: 15px;         /* header menu */
    --am-fs-footer: 14px;       /* footer text */
    --am-fs-hero: .9;           /* slider text scale */

    --color-primary: #d8151b;
    --color-primary-hover: #b30e13;
    --color-primary-alpha-10: rgba(216, 21, 27, .10);
    --color-primary-alpha-12: rgba(216, 21, 27, .12);
    --color-primary-alpha-15: rgba(216, 21, 27, .15);
    --color-primary-alpha-30: rgba(216, 21, 27, .30);
    --color-primary-alpha-80: rgba(216, 21, 27, .80);
    --color-red: #d8151b;

    --am-red: #d8151b;
    --am-red-dark: #b30e13;
    --am-red-deep: #a50b10;
    --am-red-top: #e41c22;          /* header gradient top */
    --am-red-bottom: #c90f15;       /* header gradient bottom */
    --am-red-soft: #e57377;         /* disabled buttons */
    --am-pink-badge: #fbd2d3;       /* "Save" badges */
    --am-red-shadow: var(--am-red-shadow);
    --am-red-glow: rgba(216, 21, 27, .12);
    --am-pink: #fde3e3;
    --am-pink-line: #f5b5b7;
    --am-ink: #151515;
    --am-muted: #4a4a4a;
    --am-line: #e3e3e3;
    --am-shadow: 0 2px 12px rgba(0, 0, 0, .09);
    --am-radius: 6px;
}

body {
    color: var(--am-ink);
}

/* ---------------------------------------------------------------------
   1. Header — one red bar: logo | menu | search, account, cart
      Markup: resources/views/vendor/storefront/public/layouts/header.blade.php
   --------------------------------------------------------------------- */
.am-header .header-wrap-inner,
.am-header .header-wrap-inner.sticky {
    background: linear-gradient(180deg, var(--am-red-top), var(--am-red-bottom));
    padding: 0;
    border: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.am-header .header-wrap-inner.sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
}

.am-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    height: 76px;
}

/* logo: white rounded outline box, logo shown white (like the design) */
.am-logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 4px 16px;
    border: 2.5px solid #fff;
    border-radius: 14px;
}

.am-logo img {
    height: 30px; /* with the width/height attributes the box is right before the image loads */
    width: auto;
    filter: brightness(0) invert(1);
}

.am-logo-text {
    color: #fff;
    font-weight: 900;
    font-style: italic;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -.3px;
    white-space: nowrap;
}

/* menu */
.am-menu {
    flex: 1;
    min-width: 0;
}

.am-menu > ul {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.am-menu > ul > li {
    position: relative;
}

.am-menu > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    color: #fff;
    font-size: var(--am-fs-menu);
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: border-color .15s;
}

.am-menu > ul > li > a:hover,
.am-menu > ul > li > a.active {
    color: #fff;
    border-bottom-color: #fff;
}

.am-caret {
    width: 14px;
    height: 14px;
}

/* dropdown (sub menu / categories) */
.am-sub {
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .15s;
    z-index: 30;
}

.am-menu li.has-sub:hover > .am-sub,
.am-menu li.has-sub:focus-within > .am-sub {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.am-sub a {
    display: block;
    padding: 9px 18px;
    color: var(--am-ink);
    font-size: calc(var(--am-fs-menu) - 1px);
    font-weight: 500;
}

.am-sub a:hover {
    background: var(--am-pink);
    color: var(--am-red);
}

.am-sub .am-sub-all {
    border-top: 1px solid var(--am-line);
    margin-top: 6px;
    padding-top: 6px;
}

.am-sub .am-sub-all a {
    color: var(--am-red);
    font-weight: 600;
}

/* icons */
.am-icons {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.am-icon {
    position: relative;
    display: inline-flex;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}

.am-icon svg {
    width: 30px;
    height: 30px;
}

.am-icon:hover,
.am-icon.active {
    opacity: .85;
}

.am-count {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    border-radius: 10px;
    background: #fff;
    color: var(--am-red);
    font-size: 11px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
}

.am-burger {
    display: none;
    padding: 0;
    background: none;
    border: 0;
}

.am-burger svg {
    width: 28px;
    height: 28px;
}

/* search panel under the bar */
.am-search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(640px, 100%);
    padding: 14px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    z-index: 40;
}

[x-cloak] {
    display: none !important;
}

.am-search-panel .header-search-wrap-parent,
.am-search-panel .header-search-wrap,
.am-search-panel .header-search {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: block !important;
}

.am-search-panel .header-search-lg {
    display: flex !important;
    border: 1.5px solid var(--am-line) !important;
    border-radius: 8px;
    overflow: hidden;
}

.am-search-panel .header-search-sm,
.am-search-panel .header-search-wrap-overlay {
    display: none !important;
}

.am-search-panel .search-input {
    background: #fff !important;
}

.am-search-panel .btn-search {
    background: var(--am-red) !important;
    border-color: var(--am-red) !important;
}

.am-search-panel .btn-search svg path,
.am-search-panel .btn-search svg circle {
    stroke: #fff !important;
}

/* the old separate category/menu row is not used any more */
.navigation-wrap {
    display: none !important;
}

@media (max-width: 1199px) {
    .am-bar {
        gap: 20px;
    }

    .am-menu > ul {
        gap: 20px;
    }

    .am-menu > ul > li > a {
        font-size: calc(var(--am-fs-menu) - 1px);
    }

    .am-icons {
        gap: 18px;
    }
}

@media (max-width: 991px) {
    .am-bar {
        height: 60px;
        gap: 14px;
    }

    .am-burger {
        display: inline-flex;
    }

    .am-menu {
        display: none;
    }

    .am-logo {
        height: 38px;
        padding: 3px 12px;
        border-radius: 12px;
    }

    .am-logo img {
        height: 24px;
    }

    .am-logo-text {
        font-size: 20px;
    }

    .am-icon svg {
        width: 26px;
        height: 26px;
    }

    .am-search-panel {
        left: -15px;
        right: -15px;
        width: auto;
        border-radius: 0;
    }
}

@media (max-width: 400px) {
    .am-icons {
        gap: 14px;
    }

    .am-account {
        display: none;
    }
}

/* ---------------------------------------------------------------------
   3. Hero slider — full width, text on the left (design hero)
      Markup: resources/views/vendor/storefront/public/home/sections/hero.blade.php
      Sizes use the design's own unit: --am-r = 1/90.6 of min(window, 1300px)
   --------------------------------------------------------------------- */
.am-hero-wrap {
    --am-r: calc(min(100vw, 1300px) / 90.6);
    margin: 0 !important;
    padding: 0 !important;
}

.am-hero-wrap .am-hero.home-slider {
    position: relative;
    width: 100%;
    height: calc(var(--am-r) * 37.2) !important;
    min-height: 300px;
    border-radius: 0 !important;
    background: #e9eef0;
}

.am-hero-wrap .am-hero .swiper-wrapper,
.am-hero-wrap .am-hero .am-slide {
    height: 100% !important;
}

.am-slide {
    position: relative;
    overflow: hidden;
}

.am-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.am-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.am-slide-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.am-slide-text {
    padding-top: calc(var(--am-r) * 5.4);
    max-width: calc(var(--am-r) * 46);
}

.am-dir-right .am-slide-inner {
    justify-content: flex-end;
}

.am-dir-center .am-slide-inner {
    justify-content: center;
    text-align: center;
}

.am-dir-center .am-eyebrow {
    justify-content: center;
}

.am-eyebrow {
    display: flex;
    align-items: center;
    gap: calc(var(--am-r) * 1);
    font-size: calc(var(--am-r) * 1.45 * var(--am-fs-hero));
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    text-transform: uppercase;
}

.am-eyebrow::before {
    content: "";
    width: calc(var(--am-r) * 2.9);
    height: max(2px, calc(var(--am-r) * .25));
    background: var(--am-red);
    flex-shrink: 0;
}

.am-title {
    margin: calc(var(--am-r) * .4) 0 0;
    font-size: calc(var(--am-r) * 5.15 * var(--am-fs-hero));
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: calc(var(--am-r) * -.15);
    color: var(--am-red);
    text-shadow: 0 1px 2px rgba(255, 255, 255, .5);
}

.am-title sup {
    font-size: calc(var(--am-r) * 1.6 * var(--am-fs-hero));
    font-style: normal;
    font-weight: 700;
    vertical-align: calc(var(--am-r) * 2.4);
    margin-left: calc(var(--am-r) * .2);
}

.am-subtitle {
    margin: 0;
    font-size: calc(var(--am-r) * 2.3 * var(--am-fs-hero));
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.3px;
    color: #141414;
}

.am-tagline {
    margin: calc(var(--am-r) * .8) 0 0;
    max-width: calc(var(--am-r) * 30);
    font-size: calc(var(--am-r) * 1.55 * var(--am-fs-hero));
    font-weight: 600;
    line-height: 1.3;
    color: #141414;
}

.am-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--am-r) * .7);
    margin-top: calc(var(--am-r) * 1.6);
    min-width: calc(var(--am-r) * 14.2);
    height: calc(var(--am-r) * 4.2);
    padding: 0 calc(var(--am-r) * 2.2);
    border-radius: calc(var(--am-r) * .4);
    background: var(--am-red);
    color: #fff !important;
    font-size: calc(var(--am-r) * 1.4 * var(--am-fs-hero));
    font-weight: 600;
    box-shadow: 0 calc(var(--am-r) * .4) calc(var(--am-r) * 1) var(--am-red-shadow);
    transition: background .15s;
}

.am-cta:hover {
    background: var(--am-red-dark);
}

.am-cta svg {
    width: calc(var(--am-r) * 1.4);
    height: calc(var(--am-r) * 1.4);
}

/* dots + arrows */
.am-hero .swiper-pagination {
    bottom: 14px !important;
}

.am-hero .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #fff;
    opacity: .8;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}

.am-hero .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 5px;
    background: var(--am-red) !important;
    opacity: 1;
}

.am-hero .swiper-button-prev,
.am-hero .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9) !important;
    color: var(--am-red) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    opacity: 0;
    transition: opacity .2s;
}

.am-hero:hover .swiper-button-prev,
.am-hero:hover .swiper-button-next {
    opacity: 1;
}

.am-hero .swiper-button-prev::after,
.am-hero .swiper-button-next::after {
    font-size: 16px !important;
    font-weight: 700;
    color: var(--am-red) !important;
}

/* features bar: a little gap under the hero */
.am-hero-wrap + .features-wrap {
    margin-top: 32px !important;
}

@media (max-width: 767px) {
    .am-hero-wrap + .features-wrap {
        margin-top: 20px !important;
    }
}

/* phones: text on top, picture underneath (design mobile layout) */
@media (max-width: 700px) {
    .am-hero-wrap .am-hero.home-slider {
        height: 440px !important;
        min-height: 0;
        background: #fff;
    }

    /* shudhu chhobi-wala slider phone-e choto uchchotay */
    .am-hero-wrap .am-hero.home-slider.am-images-only {
        height: 50vw !important;
    }

    .am-slide.has-text .am-slide-bg {
        background-position: 72% center;
    }

    .am-slide.has-text .am-slide-inner {
        padding-top: 28px;
        background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .35) 50%, transparent 66%);
    }

    .am-slide-text {
        padding-top: 0;
        max-width: none;
    }

    .am-eyebrow {
        font-size: calc(14px * var(--am-fs-hero));
        gap: 10px;
    }

    .am-eyebrow::before {
        width: 28px;
        height: 2.5px;
    }

    .am-title {
        font-size: calc(44px * var(--am-fs-hero));
        letter-spacing: -1px;
    }

    .am-title sup {
        font-size: calc(14px * var(--am-fs-hero));
        vertical-align: 22px;
    }

    .am-subtitle {
        font-size: calc(21px * var(--am-fs-hero));
    }

    .am-tagline {
        font-size: calc(15px * var(--am-fs-hero));
        max-width: 300px;
    }

    .am-cta {
        min-width: 140px;
        height: 44px;
        padding: 0 22px;
        font-size: calc(15px * var(--am-fs-hero));
        gap: 8px;
        margin-top: 18px;
        border-radius: 4px;
    }

    .am-cta svg {
        width: 15px;
        height: 15px;
    }
}

/* ---------------------------------------------------------------------
   4. Features bar — white card, red icons, dividers
   --------------------------------------------------------------------- */
.features-wrap .features {
    background: #fff;
    border-radius: var(--am-radius);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .10);
    border: 0 !important;
}

.features-wrap .single-feature {
    border-color: var(--am-line) !important;
}

.features-wrap .feature-icon,
.features-wrap .feature-icon i,
.features-wrap .feature-icon svg {
    color: var(--am-red) !important;
}

.features-wrap .feature-icon svg path,
.features-wrap .feature-icon svg circle,
.features-wrap .feature-icon svg rect {
    stroke: var(--am-red);
}

.features-wrap .feature-details h6,
.features-wrap .feature-details .title {
    font-weight: 600;
    color: var(--am-ink);
}

/* ---------------------------------------------------------------------
   4b. How It Works — 4 step cards with red number + arrows
       Markup: resources/views/vendor/storefront/public/home/sections/how_it_works.blade.php
   --------------------------------------------------------------------- */
.am-how {
    padding: 56px 0 8px;
}

.am-how-head h2 {
    margin: 0;
    font-size: var(--am-fs-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.4px;
    color: var(--am-ink);
}

.am-how-head h2 span {
    color: var(--am-red);
}

.am-how-head p {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 0;
    font-size: var(--am-fs-text);
    color: #222;
}

.am-how-head p::before {
    content: "";
    width: 46px;
    height: 2px;
    background: var(--am-red);
    flex-shrink: 0;
}

.am-how-steps {
    --am-gap: 40px;
    display: grid;
    grid-template-columns: repeat(var(--am-steps, 4), minmax(0, 1fr));
    gap: var(--am-gap);
    margin: 30px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

.am-how-step {
    position: relative;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--am-radius);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .09);
}

.am-how-media {
    position: relative;
    aspect-ratio: 2.1 / 1;
    overflow: hidden;
    border-radius: var(--am-radius) var(--am-radius) 0 0;
    background: #f2f2f2;
}

.am-how-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.am-how-num {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--am-red);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.am-how-body {
    padding: 16px 20px 20px;
}

.am-how-body h3 {
    margin: 0 0 6px;
    font-size: var(--am-fs-item-title);
    font-weight: 600;
    line-height: 1.3;
    color: var(--am-ink);
}

.am-how-body p {
    margin: 0;
    font-size: var(--am-fs-text);
    line-height: 1.45;
    color: #3a3a3a;
}

/* red arrow in the gap between cards, level with the pictures */
.am-how-arrow {
    position: absolute;
    /* middle of the picture: picture height = card width / 2.1 */
    top: calc(100cqw / 4.2 - 11px);
    right: calc(var(--am-gap) / -2 - 11px);
    width: 22px;
    height: 22px;
    color: var(--am-red);
}

@media (max-width: 1199px) {
    .am-how-steps {
        --am-gap: 28px;
    }

    .am-how-arrow {
        right: calc(var(--am-gap) / -2 - 10px);
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 991px) {
    .am-how {
        padding-top: 40px;
    }

    .am-how-head h2 {
        font-size: calc(var(--am-fs-heading) * .8);
    }

    .am-how-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .am-how-arrow {
        display: none;
    }
}

@media (max-width: 575px) {
    .am-how-head h2 {
        font-size: calc(var(--am-fs-heading) * .75);
    }

    .am-how-head p {
        font-size: calc(var(--am-fs-text) * .88);
        gap: 10px;
    }

    .am-how-head p::before {
        width: 28px;
    }

    .am-how-steps {
        gap: 14px;
    }

    .am-how-num {
        width: 32px;
        height: 32px;
        font-size: 16px;
        line-height: 28px;
        top: 8px;
        left: 8px;
    }

    .am-how-body {
        padding: 12px 12px 14px;
    }

    .am-how-body h3 {
        font-size: calc(var(--am-fs-item-title) * .83);
    }

    .am-how-body p {
        font-size: calc(var(--am-fs-text) * .82);
    }
}

/* ---------------------------------------------------------------------
   4c. Choose Your Pack — pack cards (uses the same heading as 4b)
       Markup: resources/views/vendor/storefront/public/home/sections/choose_your_pack.blade.php
   --------------------------------------------------------------------- */
.am-pack-wrap {
    padding: 48px 0 8px;
}

.am-packs {
    display: grid;
    grid-template-columns: repeat(var(--am-packs, 5), minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.am-pack {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 10px 12px;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: var(--am-radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .09);
    text-align: center;
    transition: box-shadow .2s;
}

.am-pack:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.am-pack-image {
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
}

.am-pack-image img {
    width: 100%;
    height: 100%;
    /* whole product photo, nothing cut off */
    object-fit: contain;
    transition: transform .3s;
}

.am-pack:hover .am-pack-image img {
    transform: scale(1.04);
}

.am-pack-label {
    margin: 12px 0 0;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    line-height: 16.8px;
    /* long product names: 2 lines max */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(16.8px * 2); /* exactly 2 lines, so a 3rd line never peeks out */
}

.am-pack-label a {
    color: var(--am-ink);
}

.am-pack-label a:hover {
    color: var(--am-red);
}

.am-pack-price {
    margin-top: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.am-pack-now {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--am-ink);
}

.am-pack-old {
    font-size: 13px;
    font-weight: 500;
    color: #9a9a9a;
    text-decoration: line-through;
}

.am-pack-save {
    display: inline-block;
    margin: 6px 0 12px;
    padding: 1px 12px;
    border-radius: 3px;
    background: var(--am-pink-badge);
    color: var(--am-red);
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
}

.am-pack-save.is-empty {
    visibility: hidden;
}

.am-pack-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 46px;
    margin-top: auto;
    padding: 0 10px;
    border: 0;
    border-radius: 4px;
    background: var(--am-red);
    color: #fff !important;
    font-family: inherit;
    font-size: var(--am-fs-button);
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.am-pack-btn:hover {
    background: var(--am-red-dark);
}

.am-pack-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.am-pack-btn[disabled] {
    background: var(--am-red-soft);
    cursor: not-allowed;
}

.am-pack-btn.is-loading {
    opacity: .7;
    pointer-events: none;
}

@media (max-width: 1199px) {
    .am-packs {
        grid-template-columns: repeat(min(var(--am-packs, 5), 3), minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .am-pack-wrap {
        padding-top: 36px;
    }

    .am-packs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .am-pack-label {
        font-size: 14px;
    }

    .am-pack-now {
        font-size: 15px;
    }

    .am-pack-save {
        font-size: 12px;
    }

    .am-pack-btn {
        height: 40px;
        font-size: calc(var(--am-fs-button) * .85);
        gap: 6px;
    }

    .am-pack-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ---------------------------------------------------------------------
   4d. Product Details — text + spec table (left), perks with round icons (right)
       Markup: resources/views/vendor/storefront/public/home/sections/product_details.blade.php
   --------------------------------------------------------------------- */
.am-pd {
    padding: 52px 0 8px;
}

.am-pd-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.am-pd-grid.no-perks {
    grid-template-columns: minmax(0, 1fr);
}

.am-pd-title {
    margin: 0;
    font-size: var(--am-fs-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.4px;
    color: var(--am-ink);
}

.am-pd-title span {
    color: var(--am-red);
}

.am-pd-desc {
    margin: 12px 0 18px;
    max-width: 62em;
    font-size: var(--am-fs-text);
    line-height: 1.5;
    color: #2a2a2a;
}

.am-pd-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--am-line);
    font-size: var(--am-fs-text);
}

.am-pd-table th,
.am-pd-table td {
    padding: 6px 14px;
    border-bottom: 1px solid var(--am-line);
    text-align: left;
    vertical-align: middle;
    line-height: 1.4;
}

.am-pd-table th {
    width: 28%;
    background: #f4f4f4;
    border-right: 1px solid var(--am-line);
    font-weight: 600;
    color: var(--am-ink);
}

.am-pd-table td {
    color: #222;
}

.am-pd-table tr:nth-child(even) td {
    background: #fafafa;
}

.am-pd-perks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.am-pd-perk {
    display: flex;
    align-items: center;
    gap: 16px;
}

.am-pd-icon {
    color: var(--am-red);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border: 2px solid var(--am-pink-line);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 6px var(--am-red-glow);
}

.am-pd-icon svg,
.am-pd-icon img { /* img = own icon uploaded in Admin */
    object-fit: contain;
    width: 52px;
    height: 52px;
}

.am-pd-perk-body strong {
    display: block;
    font-size: var(--am-fs-item-title);
    font-weight: 600;
    line-height: 1.3;
    color: var(--am-ink);
}

.am-pd-perk-body span {
    display: block;
    font-size: var(--am-fs-text);
    line-height: 1.35;
    color: #333;
}

.am-pd-perk.is-big strong {
    font-size: calc(var(--am-fs-item-title) * 1.12);
    line-height: 1.3;
    letter-spacing: -.3px;
    color: var(--am-red);
}

@media (max-width: 991px) {
    .am-pd-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .am-pd-perks {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 575px) {
    .am-pd {
        padding-top: 36px;
    }

    .am-pd-title {
        font-size: calc(var(--am-fs-heading) * .75);
    }

    .am-pd-desc,
    .am-pd-table {
        font-size: calc(var(--am-fs-text) * .92);
    }

    .am-pd-table th,
    .am-pd-table td {
        padding: 6px 10px;
    }

    .am-pd-table th {
        width: 40%;
    }

    .am-pd-perks {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .am-pd-icon {
        width: 64px;
        height: 64px;
    }

    .am-pd-icon svg,
    .am-pd-icon img {
        width: 34px;
        height: 34px;
    }

    .am-pd-perk-body strong {
        font-size: calc(var(--am-fs-item-title) * .85);
    }

    .am-pd-perk-body span {
        font-size: calc(var(--am-fs-text) * .85);
    }

    .am-pd-perk.is-big strong {
        font-size: calc(var(--am-fs-item-title) * .95);
    }
}

/* ---------------------------------------------------------------------
   5. Section headings — "How It Works" style: bold title + red line
   --------------------------------------------------------------------- */
.section-title,
.tab-products-header .tabs .tab-item.active,
.tab-products-header .tabs .tab-item {
    font-weight: 700;
}

.section-title {
    font-size: calc(var(--am-fs-heading) * .76);
    color: var(--am-ink);
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 3px;
    border: 0 !important;
    background: var(--am-red);
    border-radius: 2px;
}

.tab-products-header .tabs .tab-item {
    font-size: 22px;
    color: #9a9a9a;
}

.tab-products-header .tabs .tab-item.active,
.tab-products-header .tabs .tab-item:hover {
    color: var(--am-ink);
}

/* tabs (New Arrivals, Best Selling, product page Description/Reviews):
   same short red bar as titles */
.tabs:not(.featured-categories-tabs) .tab-item::after,
.nav-tabs .nav-link::after {
    display: none !important;
}

.nav-tabs .nav-link.active {
    color: var(--am-ink) !important;
    font-weight: 700 !important;
}

.nav-tabs .nav-link::before {
    left: 0 !important;
    transform: none !important;
    height: 3px !important;
    border-radius: 2px;
    background: var(--am-red) !important;
}

.nav-tabs .nav-link.active::before,
.nav-tabs .nav-link:hover::before {
    width: 40px !important;
}

.tabs:not(.featured-categories-tabs) .tab-item::before {
    left: 0 !important;
    transform: none !important;
    height: 3px !important;
    border-radius: 2px;
    background: var(--am-red) !important;
}

.tabs:not(.featured-categories-tabs) .tab-item.active::before,
.tabs:not(.featured-categories-tabs) .tab-item:hover::before {
    width: 40px !important;
}

.tab-products-header a {
    color: var(--am-red);
    font-weight: 600;
}

/* ---------------------------------------------------------------------
   6. Product card — "Choose Your Pack" style
   --------------------------------------------------------------------- */
.product-card {
    background: #fff;
    border: 1px solid #efefef !important;
    border-radius: var(--am-radius) !important;
    box-shadow: var(--am-shadow);
    padding: 12px 12px 14px !important;
    transition: box-shadow .2s, transform .2s;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.product-card .product-card-middle {
    text-align: center;
}

.product-card .product-name {
    font-weight: 500;
    color: var(--am-ink);
    text-align: center;
    justify-content: center;
}

.product-card .product-name,
.product-card .product-name span {
    display: -webkit-box !important;
    width: 100%;
    text-align: center !important;
}

.product-card .product-name:hover {
    color: var(--am-red);
}

.product-card .product-card-middle .product-rating {
    justify-content: center;
}

.product-card .product-card-bottom {
    height: auto !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px;
}

.product-card .product-price {
    width: 100% !important;
    flex-shrink: 0;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline !important;
    gap: 8px;
    overflow: visible !important;
    line-height: 1.3 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.product-card .product-price .previous-price,
.product-card .product-price .special-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--am-ink) !important;
}

/* when there is a sale price, the old price is small + struck through */
.product-card .product-price .special-price + .previous-price {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #9a9a9a !important;
    text-decoration: line-through !important;
}

/* full-width red "Add to Cart" button with text */
.product-card .btn-add-to-cart {
    width: 100% !important;
    height: 40px !important;
    border-radius: 4px !important;
    background: var(--am-red) !important;
    border-color: var(--am-red) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: calc(var(--am-fs-button) * .88);
    color: #fff !important;
}

.product-card .btn-add-to-cart:hover {
    background: var(--am-red-dark) !important;
}

.product-card .btn-add-to-cart > svg {
    width: 16px !important;
    height: 16px !important;
}

.product-card .btn-add-to-cart > svg path {
    stroke: #fff !important;
    stroke-width: 1.4px !important;
}

.product-card button.btn-add-to-cart::after {
    content: "Add to Cart";
}

.product-card a.btn-add-to-cart::after {
    content: "View Options";
}

.product-card .btn-add-to-cart[disabled] {
    background: var(--am-red-soft) !important;
    border-color: var(--am-red-soft) !important;
}

.product-card .btn-add-to-cart[disabled]::after {
    content: "Out of Stock";
}

/* discount badge like "Save 10%" pill */
.product-card .product-badge .badge-success,
.product-card .product-badge .badge {
    background: var(--am-pink);
    color: var(--am-red);
    font-weight: 700;
    border-radius: 3px;
}

.product-card .product-badge .badge-danger {
    background: var(--am-red);
    color: #fff;
}

/* ---------------------------------------------------------------------
   8. Buttons, links, pagination (site-wide accents)
   --------------------------------------------------------------------- */
.btn-primary,
.btn-primary:focus {
    background: var(--am-red);
    border-color: var(--am-red);
}

.btn-primary:hover,
.btn-primary:active {
    background: var(--am-red-dark) !important;
    border-color: var(--am-red-dark) !important;
}

.btn-load-more {
    background: var(--am-red);
    border-color: var(--am-red);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
}

/* ---------------------------------------------------------------------
   9. Footer — red, like the design
      Markup: resources/views/vendor/storefront/public/layouts/footer.blade.php
   --------------------------------------------------------------------- */
.am-footer {
    margin-top: 0;
    padding: 0;
    background: linear-gradient(180deg, var(--am-red) 0%, var(--am-red-deep) 100%) !important;
    color: #fff;
}

.am-footer a {
    color: #fff;
}

.am-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.am-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.6fr);
    gap: 32px;
    padding: 30px 0 22px;
}

.am-footer-logo {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 3px 12px;
    border: 2.5px solid #fff;
    border-radius: 12px;
}

.am-footer-logo:hover {
    text-decoration: none !important;
}

.am-footer-logo img {
    height: 28px;
    width: auto;
}

.am-footer-logo img.is-white {
    filter: brightness(0) invert(1);
}

.am-footer-logo span {
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    white-space: nowrap;
}

.am-footer-brand p {
    max-width: 280px;
    margin: 14px 0 0;
    font-size: var(--am-fs-footer);
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
}

.am-footer-social {
    display: flex;
    gap: 16px;
    margin: 22px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

.am-footer-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--am-red) !important;
}

.am-footer-social a:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
}

.am-footer-social svg {
    width: 18px;
    height: 18px;
}

.am-footer h4 {
    margin: 2px 0 10px;
    font-size: calc(var(--am-fs-footer) * 1.04);
    font-weight: 600;
    color: #fff;
}

.am-footer-col ul,
.am-footer-contact ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.am-footer-col li {
    font-size: var(--am-fs-footer);
    line-height: 1.55;
}

.am-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px;
    font-size: var(--am-fs-footer);
    line-height: 1.4;
}

.am-footer-contact li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.am-footer-pay {
    display: flex !important;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px !important;
}

.am-footer-contact .am-footer-pay li {
    display: grid;
    place-items: center;
    width: 56px;
    height: 38px;
    margin: 0;
    border-radius: 4px;
    background: #fff;
}

.am-footer-contact .am-footer-pay li svg {
    width: 46px;
    height: 28px;
    margin: 0;
}

.am-footer-pay-img {
    max-height: 38px;
    margin-top: 16px;
}

.am-footer-bottom {
    padding: 16px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, .28);
    font-size: calc(var(--am-fs-footer) * .96);
    font-weight: 500;
    color: #fff;
}

.am-footer-bottom a {
    font-weight: 600;
}

@media (max-width: 991px) {
    .am-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }
}

@media (max-width: 575px) {
    .am-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 16px;
        padding-top: 26px;
    }

    /* logo + text and Contact Us take the full width; the two link lists sit side by side */
    .am-footer-brand,
    .am-footer-contact {
        grid-column: 1 / -1;
    }
}

/* ---------------------------------------------------------------------
   4e. Why Choose — round icons in a row + picture on the right
       Markup: resources/views/vendor/storefront/public/home/sections/why_choose.blade.php
   --------------------------------------------------------------------- */
.am-why {
    padding: 48px 0 0;
}

.am-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
}

.am-why-title {
    margin: 0;
    font-size: var(--am-fs-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.4px;
    color: var(--am-ink);
}

.am-why-title span {
    color: var(--am-red);
}

.am-why-items {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin: 26px 0 0 !important;
    padding: 0 0 36px !important;
    list-style: none;
}

.am-why-items li {
    width: 142px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.am-why-icon {
    width: 78px !important;
    height: 78px !important;
}

.am-why-icon svg {
    width: 44px !important;
    height: 44px !important;
}

/* own icon image uploaded in Admin (Why Choose) */
.am-why-icon img {
    width: 44px !important;
    height: 44px !important;
}

.am-why-label {
    margin-top: 12px;
    font-size: var(--am-fs-item-title);
    font-weight: 600;
    line-height: 1.25;
    color: var(--am-ink);
}

.am-why-image img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

@media (max-width: 991px) {
    .am-why-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .am-why-items {
        padding-bottom: 8px !important;
    }

    .am-why-image {
        justify-self: end;
    }

    .am-why-image img {
        width: 220px;
    }
}

@media (max-width: 575px) {
    .am-why-title {
        font-size: calc(var(--am-fs-heading) * .75);
    }

    .am-why-items {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .am-why-items li {
        width: auto;
    }

    .am-why-icon {
        width: 62px !important;
        height: 62px !important;
    }

    .am-why-icon svg,
    .am-why-icon img {
        width: 34px !important;
        height: 34px !important;
    }

    .am-why-label {
        font-size: calc(var(--am-fs-item-title) * .78);
    }

    .am-why-image img {
        width: 180px;
    }
}

/* ---------------------------------------------------------------------
   10. Mobile bottom navigation + small screens
   --------------------------------------------------------------------- */
.bottom-navigation-wrap a.active,
.bottom-navigation-wrap a.active span {
    color: var(--am-red) !important;
}

.bottom-navigation-wrap a.active svg path {
    stroke: var(--am-red) !important;
}

@media (max-width: 991px) {
    .section-title {
        font-size: calc(var(--am-fs-heading) * .65);
    }
}

/* Deals row column titles (Home & Kitchen, Automotive ...) */
.vp-title {
    font-weight: 700 !important;
    color: var(--am-ink) !important;
}

/* ---------------------------------------------------------------------
   11. Hover effects (home page sections)
       Only on devices with a mouse; off for "reduce motion" users.
   --------------------------------------------------------------------- */
.features-wrap .single-feature,
.features-wrap .feature-icon,
.am-how-step,
.am-how-media img,
.am-how-num,
.am-how-body h3,
.am-pack,
.am-pack-btn,
.am-pd-perk,
.am-pd-icon,
.am-pd-table th,
.am-pd-table td,
.am-why-items li,
.am-why-label,
.am-why-image img {
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease,
                border-color .3s ease, color .3s ease;
}

@media (hover: hover) {
    /* feature bar: icon pops */
    .features-wrap .single-feature:hover .feature-icon {
        transform: translateY(-3px) scale(1.12);
    }

    /* How It Works: card lifts, photo zooms, number badge spins in */
    .am-how-step:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .13);
    }

    .am-how-step:hover .am-how-media img {
        transform: scale(1.07);
    }

    .am-how-step:hover .am-how-num {
        transform: scale(1.12) rotate(-8deg);
    }

    .am-how-step:hover .am-how-body h3 {
        color: var(--am-red);
    }

    /* Choose Your Pack: card lifts, red outline, button glows */
    .am-pack:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .13), 0 0 0 1px var(--am-pink-line);
    }

    .am-pack:hover .am-pack-image img {
        transform: scale(1.07);
    }

    .am-pack-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px var(--am-red-shadow);
    }

    /* Product Details: perk slides right, icon ring turns red */
    .am-pd-perk:hover {
        transform: translateX(6px);
    }

    .am-pd-perk:hover .am-pd-icon,
    .am-why-items li:hover .am-why-icon {
        transform: scale(1.08);
        border-color: var(--am-red);
        background: var(--am-pink);
        box-shadow: 0 6px 18px var(--am-red-shadow);
    }

    .am-pd-table tr:hover th,
    .am-pd-table tr:hover td {
        background: var(--am-pink);
    }

    /* Why Choose: item lifts, label turns red, horse leans in */
    .am-why-items li:hover {
        transform: translateY(-5px);
    }

    .am-why-items li:hover .am-why-label {
        color: var(--am-red);
    }

    .am-why-image:hover img {
        transform: scale(1.04) rotate(-1deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .features-wrap .single-feature,
    .features-wrap .feature-icon,
    .am-how-step,
    .am-how-media img,
    .am-how-num,
    .am-pack,
    .am-pack-image img,
    .am-pack-btn,
    .am-pd-perk,
    .am-pd-icon,
    .am-why-items li,
    .am-why-image img {
        transition: none !important;
        transform: none !important;
    }
}

/* ---------------------------------------------------------------------
   12. "How It Works" page (/how-it-works)
       Markup: resources/views/vendor/storefront/public/how_it_works/index.blade.php
   --------------------------------------------------------------------- */
.am-hiw-hero {
    position: relative;
    padding: 44px 0 48px;
    background: linear-gradient(180deg, var(--am-red) 0%, var(--am-red-deep) 100%);
    color: #fff;
    text-align: center;
}

/* banner photo from Admin, with a red tint so the text stays readable */
.am-hiw-hero.has-image {
    padding: 70px 0 74px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55)),
        var(--am-hiw-bg) center / cover no-repeat;
}

.am-hiw-crumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
}

.am-hiw-crumbs a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.am-hiw-hero h1 {
    margin: 0;
    font-size: calc(var(--am-fs-heading) * 1.2);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.am-hiw-hero h1 span {
    color: #fff;
}

.am-hiw-hero p {
    max-width: 620px;
    margin: 12px auto 0;
    font-size: var(--am-fs-text);
    line-height: 1.6;
    color: rgba(255, 255, 255, .92);
}

.am-hiw-page {
    padding: 50px 0 10px;
    background: #fafafa;
}

/* steps: one card per step, photo + text side by side */
.am-hiw-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 !important;
    list-style: none;
}

.am-hiw-row {
    display: grid;
    grid-template-columns: 460px 1fr;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

/* every 2nd step: photo on the right */
.am-hiw-row:nth-child(even) {
    grid-template-columns: 1fr 460px;
}

.am-hiw-row:nth-child(even) .am-hiw-photo {
    order: 2;
}

.am-hiw-photo {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    background: #f2f2f2;
}

.am-hiw-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.am-hiw-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--am-red);
    box-shadow: 0 6px 16px var(--am-red-shadow);
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    transition: transform .3s ease;
}

.am-hiw-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 48px;
}

.am-hiw-step {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--am-red);
}

.am-hiw-copy h2 {
    margin: 0 0 8px;
    font-size: calc(var(--am-fs-heading) * .72);
    font-weight: 700;
    line-height: 1.25;
    color: var(--am-ink);
}

.am-hiw-lead {
    margin: 0;
    font-size: var(--am-fs-text);
    font-weight: 500;
    line-height: 1.6;
    color: #333;
}

.am-hiw-details {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--am-line);
    font-size: calc(var(--am-fs-text) * .95);
    line-height: 1.7;
    color: #666;
}

.am-hiw-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 1400px;
    margin: 26px auto 0;
    padding: 16px 20px;
    border-left: 4px solid var(--am-red);
    border-radius: 8px;
    background: var(--am-pink);
    color: var(--am-ink);
}

.am-hiw-note svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--am-red);
}

.am-hiw-note p {
    margin: 0;
    font-size: var(--am-fs-text);
    line-height: 1.6;
}

/* products under the steps */
.am-hiw-page + .am-pack-wrap {
    padding-top: 50px;
}

@media (hover: hover) {
    .am-hiw-row:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
    }

    .am-hiw-row:hover .am-hiw-photo img {
        transform: scale(1.06);
    }

    .am-hiw-row:hover .am-hiw-badge {
        transform: scale(1.1) rotate(-8deg);
    }
}

@media (max-width: 767px) {
    .am-hiw-hero {
        padding: 28px 0 32px;
    }

    .am-hiw-hero.has-image {
        padding: 44px 0 48px;
    }

    .am-hiw-hero h1 {
        font-size: calc(var(--am-fs-heading) * .9);
    }

    .am-hiw-page {
        padding: 26px 0 6px;
    }

    .am-hiw-list {
        gap: 16px;
    }

    .am-hiw-row,
    .am-hiw-row:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .am-hiw-row:nth-child(even) .am-hiw-photo {
        order: 0;
    }

    .am-hiw-photo {
        min-height: 0;
        aspect-ratio: 2.1 / 1;
    }

    .am-hiw-copy {
        padding: 18px 18px 20px;
    }

    .am-hiw-copy h2 {
        font-size: calc(var(--am-fs-heading) * .62);
    }
}

@media (prefers-reduced-motion: reduce) {
    .am-hiw-row,
    .am-hiw-photo img,
    .am-hiw-badge {
        transition: none !important;
        transform: none !important;
    }
}

/* ---------------------------------------------------------------------
   13. "About" page (/about)
       Markup: resources/views/vendor/storefront/public/about/index.blade.php
       Banner uses the How It Works page styles (.am-hiw-hero).
   --------------------------------------------------------------------- */
.am-about-story {
    padding: 64px 0;
}

.am-about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
}

.am-about-story-image {
    overflow: hidden;
    border-radius: 12px;
    background: #f6f6f6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.am-about-story-image img {
    display: block;
    width: 100%;
    height: auto; /* whole photo, any shape */
    transition: transform .4s ease;
}

.am-about-story-copy h2 {
    margin: 0 0 16px;
    font-size: calc(var(--am-fs-heading) * .9);
    font-weight: 700;
    line-height: 1.2;
    color: var(--am-ink);
}

.am-about-story-copy p {
    margin: 0 0 14px;
    font-size: var(--am-fs-text);
    line-height: 1.75;
    color: #555;
}

.am-about-story-copy p:last-child {
    margin-bottom: 0;
}

/* numbers row */
.am-about-stats {
    padding: 40px 0;
    background: linear-gradient(180deg, var(--am-red) 0%, var(--am-red-deep) 100%);
}

.am-about-stats-list {
    display: grid;
    grid-template-columns: repeat(var(--am-stats, 4), minmax(0, 1fr));
    margin: 0;
    padding: 0 !important;
    list-style: none;
    text-align: center;
    color: #fff;
}

.am-about-stats-list li {
    padding: 6px 16px;
}

.am-about-stats-list li + li {
    border-left: 1px solid rgba(255, 255, 255, .25);
}

.am-about-stats-list strong {
    display: block;
    font-size: calc(var(--am-fs-heading) * 1.1);
    font-weight: 700;
    line-height: 1.1;
}

.am-about-stats-list span {
    display: block;
    margin-top: 6px;
    font-size: var(--am-fs-text);
    color: rgba(255, 255, 255, .88);
}

/* values cards */
.am-about-values {
    padding: 64px 0 20px;
}

.am-about-values .am-how-head {
    margin-bottom: 30px;
    text-align: center;
}

.am-about-values-list {
    display: grid;
    grid-template-columns: repeat(var(--am-values, 3), minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0 !important;
    list-style: none;
}

.am-about-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.am-about-value h3 {
    margin: 16px 0 8px;
    font-size: var(--am-fs-item-title);
    font-weight: 700;
    color: var(--am-ink);
}

.am-about-value p {
    margin: 0;
    font-size: var(--am-fs-text);
    line-height: 1.65;
    color: #666;
}

/* bottom box */
.am-about-cta-wrap {
    padding: 44px 0 64px;
}

.am-about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 44px;
    border-radius: 14px;
    background: var(--am-pink);
    border: 1px solid var(--am-pink-line);
}

.am-about-cta h2 {
    margin: 0;
    font-size: calc(var(--am-fs-heading) * .8);
    font-weight: 700;
    color: var(--am-ink);
}

.am-about-cta p {
    margin: 6px 0 0;
    font-size: var(--am-fs-text);
    color: #555;
}

.am-about-cta-btn {
    flex-shrink: 0;
    padding: 14px 34px;
    border-radius: 8px;
    background: var(--am-red);
    font-size: var(--am-fs-button);
    font-weight: 600;
    color: #fff !important;
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

@media (hover: hover) {
    .am-about-story-image:hover img {
        transform: scale(1.04);
    }

    .am-about-value:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
    }

    .am-about-value:hover .am-pd-icon {
        transform: scale(1.08);
        border-color: var(--am-red);
        background: var(--am-pink);
    }

    .am-about-cta-btn:hover {
        background: var(--am-red-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px var(--am-red-shadow);
    }
}

@media (max-width: 991px) {
    .am-about-story-grid {
        gap: 32px;
    }

    .am-about-stats-list,
    .am-about-values-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am-about-stats-list li {
        padding: 14px 10px;
    }

    .am-about-stats-list li:nth-child(odd) {
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .am-about-story {
        padding: 36px 0;
    }

    .am-about-story-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .am-about-story-copy h2 {
        font-size: calc(var(--am-fs-heading) * .7);
    }

    .am-about-stats {
        padding: 22px 0;
    }

    .am-about-stats-list strong {
        font-size: calc(var(--am-fs-heading) * .8);
    }

    .am-about-values {
        padding: 36px 0 10px;
    }

    .am-about-values-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .am-about-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 22px;
    }

    .am-about-cta-wrap {
        padding: 28px 0 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .am-about-story-image img,
    .am-about-value,
    .am-about-cta-btn {
        transition: none !important;
        transform: none !important;
    }
}
