/* ==========================================
   PICHET HERO SECTION
   Full Width / Responsive
\========================================== */
.corp-hero,
.corp-hero \* {
    box-sizing: border-box;
}

/* ==========================================
   01. HERO BACKGROUND
\========================================== */
.corp-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 490px;
    display: flex;
    align-items: center;
    background-color: #f5f7f8;
    /* เปลี่ยนภาพพื้นหลังตรงนี้ */
    background-image:
        linear-gradient(90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, .98) 22%,
            rgba(255, 255, 255, .80) 38%,
            rgba(255, 255, 255, .25) 55%,
            rgba(255, 255, 255, 0) 72%),
        url("/assets/images/images/cover.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* ==========================================
   02. CONTAINER
\========================================== */
.corp-hero .corp-container {
    width: min(calc(100% - 40px), 1280px);
    margin: 0 auto;
}

/* ==========================================
   03. CONTENT
\========================================== */
.corp-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px;
    padding: 55px 0;
}

/* ==========================================
   04. TITLE
\========================================== */
.corp-hero-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 18px;
    font-size: clamp(38px, 4.5vw, 66px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.corp-title-red {
    color: #d90000;
}

.corp-title-green {
    color: #005c2d;
}

/* ==========================================
   05. DESCRIPTION
\========================================== */
.corp-hero-description {
    margin-bottom: 25px;
}

.corp-hero-description p {
    margin: 0 0 7px;
    color: #111111;
    font-size: clamp(19px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.45;
}

.corp-hero-description .corp-hero-highlight {
    color: #07548b;
}

/* ==========================================
   06. BUTTONS
\========================================== */
.corp-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.corp-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 22px;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.corp-hero-btn:hover {
    opacity: .9;
    color: #ffffff;
}

/* LINE */
.corp-hero-line {
    background: #28cf00;
}

/* PHONE */
.corp-hero-phone {
    background: #d90000;
}

/* ==========================================
   07. TABLET
\========================================== */
@media (max-width: 900px) {
    .corp-hero {
        min-height: 420px;
        background-image:
            linear-gradient(90deg,
                rgba(255, 255, 255, .98) 0%,
                rgba(255, 255, 255, .90) 35%,
                rgba(255, 255, 255, .35) 75%,
                rgba(255, 255, 255, .10) 100%),
            url("/assets/images/images/Bannerpro.jpg");
    }

    .corp-hero-content {
        max-width: 540px;
        padding: 45px 0;
    }

    .corp-hero-title {
        font-size: 48px;
    }

    .corp-hero-description p {
        font-size: 23px;
    }
}

/* ==========================================
   08. MOBILE
\========================================== */
@media (max-width: 600px) {
    .corp-hero {
        min-height: 460px;
        align-items: flex-start;
        background-image:
            linear-gradient(180deg,
                rgba(255, 255, 255, .98) 0%,
                rgba(255, 255, 255, .95) 25%,
                rgba(255, 255, 255, .80) 55%,
                rgba(255, 255, 255, .20) 100%),
            url("/assets/images/images/Bannerpro.jpg");
        background-position: center bottom;
    }

    .corp-hero .corp-container {
        width: calc(100% - 32px);
    }

    .corp-hero-content {
        max-width: 100%;
        padding: 35px 0 45px;
    }

    .corp-hero-title {
        gap: 8px;
        margin-bottom: 18px;
        font-size: clamp(31px, 8vw, 42px);
        letter-spacing: -.5px;
    }

    .corp-hero-description {
        margin-bottom: 22px;
    }

    .corp-hero-description p {
        margin-bottom: 6px;
        font-size: clamp(17px, 4.5vw, 21px);
    }

    .corp-hero-actions {
        gap: 10px;
    }

    .corp-hero-btn {
        min-height: 38px;
        padding: 9px 14px;
        border-radius: 10px;
        font-size: 12px;
    }
}

/* ==========================================
   09. SMALL MOBILE
\========================================== */
@media (max-width: 380px) {
    .corp-hero-title {
        font-size: 30px;
    }

    .corp-hero-description p {
        font-size: 17px;
    }

    .corp-hero-btn {
        padding: 9px 12px;
        font-size: 11px;
    }
}

/* ==========================================
   PICHET PRODUCTS / SERVICES
   Responsive 3 / 2 / 1 Columns
\========================================== */
/* BASE */
.pichet-products,
.pichet-products \* {
    box-sizing: border-box;
}

.pichet-products {
    width: 100%;
    padding: 70px 0 85px;
    background: #ffffff;
    font-family: inherit;
}

/* CONTAINER */
.pichet-products-container {
    width: min(calc(100% - 40px), 1280px);
    margin: 0 auto;
}

/* SECTION HEADING */
.pichet-products-heading {
    margin-bottom: 32px;
    text-align: center;
}

.pichet-products-subtitle {
    display: block;
    margin-bottom: 12px;
    color: #00652e;
    font-size: 14px;
    font-weight: 600;
}

.pichet-products-heading h2 {
    margin: 0;
    color: #111111;
    font-size: clamp(23px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.45;
}

.pichet-products-line {
    width: 130px;
    height: 2px;
    margin: 28px auto 0;
    background: #00652e;
}

/* PRODUCT GRID */
.pichet-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* CARD */
.pichet-products-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
    background: #e7ebe8;
    color: #ffffff;
    text-decoration: none;
    isolation: isolate;
}

/* BACKGROUND IMAGE */
.pichet-products-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

/* DARK IMAGE OVERLAY */
.pichet-products-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .43);
    transition: background .3s ease;
}

/* CENTER CONTENT */
.pichet-products-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
}

/* ICON CIRCLE */
.pichet-products-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #ffffff;
}

.pichet-products-icon img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

/* CARD TEXT */
.pichet-products-content h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.pichet-products-content p {
    margin: 0;
    color: #ffffff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

/* BOTTOM HOVER BAR */
.pichet-products-more {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 58px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, .65);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    opacity: 0;
}

/* HOVER EFFECT */
@media (hover: hover) {
    .pichet-products-card:hover .pichet-products-overlay {
        background: rgba(0, 0, 0, .5);
    }

    .pichet-products-card:hover .pichet-products-more {
        opacity: 1;
        transform: translateY(0);
    }
}

/* KEYBOARD ACCESSIBILITY */
.pichet-products-card:focus-visible {
    outline: 3px solid #00652e;
    outline-offset: 4px;
}

.pichet-products-card:focus-visible .pichet-products-more {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */
@media (max-width: 900px) {
    .pichet-products {
        padding: 55px 0 65px;
    }

    .pichet-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .pichet-products-icon {
        width: 70px;
        height: 70px;
    }

    .pichet-products-icon img {
        width: 40px;
        height: 40px;
    }

    .pichet-products-content p {
        font-size: 24px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .pichet-products {
        padding: 45px 0 55px;
    }

    .pichet-products-container {
        width: calc(100% - 32px);
    }

    .pichet-products-heading {
        margin-bottom: 28px;
    }

    .pichet-products-subtitle {
        font-size: 13px;
    }

    .pichet-products-heading h2 {
        font-size: 23px;
    }

    .pichet-products-line {
        width: 90px;
        margin-top: 20px;
    }

    .pichet-products-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pichet-products-card {
        aspect-ratio: 1 / 1;
        border-radius: 14px;
    }

    .pichet-products-icon {
        width: 72px;
        height: 72px;
    }

    .pichet-products-icon img {
        width: 42px;
        height: 42px;
    }

    .pichet-products-content h3 {
        font-size: 19px;
    }

    .pichet-products-content p {
        font-size: 25px;
    }
}

/* TOUCH DEVICES: SHOW MORE BAR */
@media (hover: none) {
    .pichet-products-more {
        opacity: 1;
        transform: translateY(0);
        min-height: 48px;
        font-size: 13px;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {

    .pichet-products-image,
    .pichet-products-overlay,
    .pichet-products-more {
        transition: none;
    }
}

/* ==========================================
   PICHET WHY CHOOSE US
   Desktop 4 / Tablet 2 / Mobile 1
\========================================== */
.pichet-why,
.pichet-why \* {
    box-sizing: border-box;
}

/* ==========================================
   01. SECTION
\========================================== */
.pichet-why {
    width: 100%;
    padding: 65px 0 75px;
    background: #f7f7f7;
    font-family: inherit;
}

/* ==========================================
   02. CONTAINER
\========================================== */
.pichet-why-container {
    width: min(calc(100% - 40px), 1280px);
    margin: 0 auto;
}

/* ==========================================
   03. HEADING
\========================================== */
.pichet-why-heading {
    text-align: center;
    margin-bottom: 42px;
}

.pichet-why-subtitle {
    display: block;
    margin-bottom: 12px;
    color: #00652e;
    font-size: 14px;
    font-weight: 600;
}

.pichet-why-heading h2 {
    margin: 0;
    color: #111111;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.45;
}

.pichet-why-line {
    width: 130px;
    height: 2px;
    margin: 28px auto 0;
    background: #00652e;
}

/* ==========================================
   04. FEATURES GRID
\========================================== */
.pichet-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.pichet-why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 190px;
    padding: 25px 20px;
    text-align: center;
}

/* Vertical divider */
.pichet-why-item+.pichet-why-item {
    border-left: 1px solid #188044;
}

/* ==========================================
   05. ICON
\========================================== */
.pichet-why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
}

.pichet-why-icon img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

/* ==========================================
   06. TEXT
\========================================== */
.pichet-why-item h3 {
    margin: 0 0 10px;
    color: #00652e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.pichet-why-item p {
    margin: 0;
    color: #111111;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

/* ==========================================
   07. TABLET
\========================================== */
@media (max-width: 900px) {
    .pichet-why {
        padding: 55px 0 60px;
    }

    .pichet-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 20px;
    }

    .pichet-why-item {
        min-height: 180px;
    }

    .pichet-why-item:nth-child(3) {
        border-left: 0;
    }
}

/* ==========================================
   08. MOBILE
\========================================== */
@media (max-width: 600px) {
    .pichet-why {
        padding: 45px 0 50px;
    }

    .pichet-why-container {
        width: calc(100% - 32px);
    }

    .pichet-why-heading {
        margin-bottom: 25px;
    }

    .pichet-why-subtitle {
        font-size: 13px;
    }

    .pichet-why-heading h2 {
        font-size: 23px;
    }

    .pichet-why-line {
        margin-top: 20px;
        width: 90px;
    }

    /* One column */
    .pichet-why-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pichet-why-item {
        min-height: auto;
        padding: 28px 15px;
        border-left: 0 !important;
    }

    /* Horizontal divider */
    .pichet-why-item+.pichet-why-item {
        border-top: 1px solid #d5e4d9;
    }

    .pichet-why-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 10px;
    }

    .pichet-why-icon img {
        width: 48px;
        height: 48px;
    }

    .pichet-why-item h3 {
        font-size: 17px;
        margin-bottom: 7px;
    }

    .pichet-why-item p {
        font-size: 13px;
    }
}

/* ==========================================
   PICHET PROMOTION BANNER
   Full Width / Responsive
\========================================== */

.pichet-market-home .corp-container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 20px;
    box-sizing: border-box;
}

/* DESKTOP */
.pichet-market-hero {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.pichet-market-main {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: 9px;
    background: #e2e8e4;
}

.pichet-market-slider,
.pichet-market-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.pichet-market-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
}

.pichet-market-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.pichet-market-slide>a {
    display: block;
    width: 100%;
    height: 100%;
}

.pichet-market-main img,
.pichet-market-slide img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.pichet-market-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 0;
}

.pichet-market-promo {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 9px;
    background: #fff;
}

.pichet-market-promo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* ==========================================
   BOTTOM PROMOTION BANNER
========================================== */
.pichet-bottom-promo {
    width: calc(100% - 40px);
    max-width: 1280px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 12px;
    box-sizing: border-box;
}

.pichet-bottom-promo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 640px) {
    .pichet-bottom-promo {
        width: calc(100% - 32px);
        margin: 24px auto;
        border-radius: 9px;
    }
}

/* ==========================================
   01. BASE
\========================================== */
.pichet-area,
.pichet-area \* {
    box-sizing: border-box;
}

.pichet-area {
    width: 100%;
    padding: 70px 0 85px;
    background: #ffffff;
    font-family: inherit;
}

/* ==========================================
   02. CONTAINER
\========================================== */
.pichet-area-container {
    width: min(calc(100% - 40px), 1280px);
    margin: 0 auto;
}

/* ==========================================
   03. HEADING
\========================================== */
.pichet-area-heading {
    margin-bottom: 42px;
    text-align: center;
}

.pichet-area-subtitle {
    display: block;
    margin-bottom: 12px;
    color: #00652e;
    font-size: 14px;
    font-weight: 600;
}

.pichet-area-heading h2 {
    margin: 0;
    color: #111111;
    font-size: clamp(23px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.45;
}

.pichet-area-line {
    width: 130px;
    height: 2px;
    margin: 28px auto 0;
    background: #00652e;
}

/* ==========================================
   04. CONTENT GRID
\========================================== */
.pichet-area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 26px;
}

/* ==========================================
   05. GOOGLE MAP
\========================================== */
.pichet-area-map {
    position: relative;
    min-width: 0;
    min-height: 400px;
    overflow: hidden;
    border-radius: 18px;
    background: #e9f1eb;
}

.pichet-area-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

/* ==========================================
   06. DELIVERY AREA CARDS
\========================================== */
.pichet-area-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 18px;
}

.pichet-area-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 115px;
    padding: 20px;
    border: 1px solid #168044;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
    transition:
        background-color .2s ease,
        border-color .2s ease;
}

.pichet-area-card h3 {
    margin: 0;
    color: #111111;
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.4;
}

.pichet-area-card:hover {
    background: #f2faf5;
    border-color: #00652e;
}

/* ==========================================
   07. TABLET
\========================================== */
@media (max-width: 900px) {
    .pichet-area {
        padding: 55px 0 65px;
    }

    .pichet-area-grid {
        gap: 18px;
    }

    .pichet-area-map,
    .pichet-area-map iframe {
        min-height: 360px;
    }

    .pichet-area-list {
        gap: 12px;
    }

    .pichet-area-card {
        min-height: 105px;
        padding: 15px;
    }

    .pichet-area-card h3 {
        font-size: 22px;
    }
}

/* ==========================================
   08. MOBILE
\========================================== */
@media (max-width: 767px) {
    .pichet-area {
        padding: 45px 0 55px;
    }

    .pichet-area-container {
        width: calc(100% - 32px);
    }

    .pichet-area-heading {
        margin-bottom: 28px;
    }

    .pichet-area-subtitle {
        font-size: 13px;
    }

    .pichet-area-heading h2 {
        font-size: 23px;
    }

    .pichet-area-line {
        width: 90px;
        margin-top: 20px;
    }

    /* One column */
    .pichet-area-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    /* Map */
    .pichet-area-map {
        min-height: 300px;
        border-radius: 14px;
    }

    .pichet-area-map iframe {
        height: 300px;
        min-height: 300px;
    }

    /* Delivery cards */
    .pichet-area-list {
        grid-template-rows: auto;
        gap: 12px;
    }

    .pichet-area-card {
        min-height: 95px;
        padding: 18px;
        border-radius: 14px;
    }

    .pichet-area-card h3 {
        font-size: 21px;
    }
}

/* ==========================================
   09. SMALL MOBILE
\========================================== */
@media (max-width: 380px) {

    .pichet-area-map,
    .pichet-area-map iframe {
        min-height: 260px;
    }

    .pichet-area-map iframe {
        height: 260px;
    }

    .pichet-area-card {
        min-height: 85px;
    }

    .pichet-area-card h3 {
        font-size: 19px;
    }
}

/* ==========================================
   HOMEPAGE MARKETPLACE LAYOUT
   Banner + Promo / Recommended Categories
\========================================== */
.pichet-market-home,
.pichet-market-home \* {
    box-sizing: border-box;
}

.pichet-market-home {
    background: #f5f6f7;
    padding: 20px 0 44px;
}

.pichet-market-home .corp-container {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 20px;
}

.pichet-market-hero {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(245px, 1fr);
    gap: 12px;
    align-items: stretch;
}

.pichet-market-main {
    min-width: 0;
    min-height: 310px;
    overflow: hidden;
    border-radius: 9px;
    background: #e2e8e4;
}

.pichet-market-main>a {
    width: 100%;
    height: 100%;
    display: block;
}

.pichet-market-main img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 310px;
    max-height: 420px;
    object-fit: cover;
}

.pichet-market-fallback {
    min-height: 310px;
    padding: 55px 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(110deg, #0f4b32, #1f7f45);
    color: white;
}

.pichet-market-fallback>span {
    font-weight: 650;
    letter-spacing: .03em;
}

.pichet-market-fallback h1 {
    margin: 12px 0 6px;
    font-size: clamp(26px, 3vw, 43px);
    line-height: 1.2;
    color: white;
}

.pichet-market-fallback p {
    margin: 0 0 20px;
    color: #f0f9f2;
}

.pichet-market-fallback a {
    color: #15582e;
    background: #fff;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 700;
    text-decoration: none;
}

.pichet-market-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
    min-height: 0;
}

.pichet-market-promo {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 9px;
}

.pichet-market-promo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pichet-market-promo-empty {
    background: #e9eeeb;
}

.pichet-market-empty {
    background: #fff;
    padding: 22px;
    border-radius: 9px;
}

@media (max-width: 900px) {
    .pichet-market-hero {
        grid-template-columns: minmax(0, 1fr) 220px;
    }
}

/* Restored: existing featured-products section (5 categories / 6 cards) */
.pichet-home-categories {
    width: 100%;
    padding: 46px 0 60px;
    background: #fff;
    box-sizing: border-box;
}

.pichet-home-categories>.corp-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.pichet-home-categories-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px
}

.pichet-home-categories-head h2 {
    margin: 5px 0 6px;
    font-size: clamp(22px, 2.5vw, 32px);
    color: #202020
}

.pichet-home-categories-head p {
    margin: 0;
    color: #686868
}

.pichet-home-categories-head>a {
    white-space: nowrap;
    color: #a70d11;
    font-weight: 700;
    text-decoration: none
}

/* PRODUCT GRID */
.pichet-home-categories-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

/* VIEW ALL BUTTON */
.pichet-home-all-products {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.pichet-home-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
    padding: 13px 28px;
    border: 1px solid #00652e;
    border-radius: 8px;
    background: #00652e;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease;
}

.pichet-home-all-btn:hover {
    background: #004e24;
    color: #fff;
}

/* TABLET */
@media (max-width: 1150px) {
    .pichet-home-categories-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* MOBILE */
.pichet-home-category-card {
    display: block;
    min-width: 0;
    border: 1px solid #eee;
    border-radius: 13px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.pichet-home-category-card:hover {
    box-shadow: 0 8px 25px #00000014;
}

.pichet-home-category-image {
    aspect-ratio: 1/1;
    background: #f5f5f5;
    display: grid;
    place-items: center;
    overflow: hidden
}

.pichet-home-category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.pichet-home-category-fallback {
    font-size: 36px;
    color: #aaa
}

.pichet-home-category-caption {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px
}

.pichet-home-category-caption small {
    font-size: 11px;
    color: #777;
    line-height: 1.4
}

.pichet-home-category-caption strong {
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px
}

.pichet-home-category-caption>span {
    font-weight: 800;
    color: #b11216
}

.pichet-home-no-products {
    padding: 18px;
    background: #f8f8f8;
    border-radius: 10px
}

.pichet-home-swipe-hint {
    display: none
}

/* MOBILE: 2 COLUMNS, NO CAROUSEL */
@media (max-width: 700px) {
    .pichet-market-home .corp-container {
        width: 100%;
        padding-inline: 16px;
        box-sizing: border-box;
    }

    .pichet-home-categories {
        padding: 30px 0 38px;
    }

    .pichet-home-categories>.corp-container {
        padding: 0 16px;
    }

    .pichet-home-categories-head {
        align-items: flex-start;
    }

    .pichet-home-categories-head p {
        font-size: 13px;
    }

    .pichet-home-categories-track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .pichet-home-category-card {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: none;
        flex: none;
        scroll-snap-align: none;
    }

    .pichet-home-category-image {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .pichet-home-category-caption {
        padding: 10px;
    }

    .pichet-home-category-caption strong {
        font-size: 13px;
    }

    .pichet-home-all-products {
        margin-top: 25px;
    }

    .pichet-home-all-btn {
        width: 100%;
        max-width: 300px;
    }

    .pichet-home-swipe-hint {
        display: none;
    }
}

/* ==========================================
   RECOMMENDED CATEGORIES (single source)
   4 columns desktop / 2 columns mobile
   Full-bleed images with object-fit: cover
\========================================== */
.pichet-market-categories-head {
    display: block;
    width: 100%;
    margin: 22px 0 12px;
    padding: 0;
    box-sizing: border-box;
}

.pichet-market-categories {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pichet-market-category {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ebeeee;
    border-radius: 9px;
    background: #fff;
    color: #232d28;
    text-decoration: none;
    transition: box-shadow .2s ease;
}

.pichet-market-category:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.pichet-market-category-image {
    display: block;
    width: 100%;
    height: 180px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}

.pichet-market-category-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

.pichet-market-category>p {
    display: block;
    min-height: 23px;
    margin: 0;
    padding: 14px 14px 4px;
    font-size: 14px;
    line-height: 1.4;
    color: #232d28;
}

.pichet-market-category>span {
    display: block;
    margin: 0;
    padding: 0 14px 14px;
    font-size: 12px;
    color: #287747;
}

@media (max-width: 900px) {
    .pichet-market-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .pichet-market-categories {
        gap: 10px;
    }

    .pichet-market-category-image {
        height: 120px;
    }

    .pichet-market-category>strong {
        padding: 10px 10px 4px;
        font-size: 14px;
    }

    .pichet-market-category>span {
        padding: 0 10px 12px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pichet-market-category {
        transition: none;
    }
}

/* HOME MAIN BANNER CAROUSEL */
.pichet-market-main {
    position: relative;
    min-height: 0;
    aspect-ratio: 16/7
}

.pichet-market-slider,
.pichet-market-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0
}

.pichet-market-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    pointer-events: none
}

.pichet-market-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1
}

.pichet-market-slide>a {
    display: block;
    width: 100%;
    height: 100%
}

.pichet-market-slide img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover
}

.pichet-market-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .42);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer
}

.pichet-market-slider-arrow.prev {
    left: 12px
}

.pichet-market-slider-arrow.next {
    right: 12px
}

.pichet-market-slider-dots {
    position: absolute;
    bottom: 13px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    z-index: 3
}

.pichet-market-slider-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, .6);
    cursor: pointer
}

.pichet-market-slider-dots button.active {
    background: #fff;
    width: 24px;
    border-radius: 6px
}

/* MOBILE: main carousel full width, two independent promo slots below */

@media (max-width: 640px) {
    .pichet-market-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .pichet-market-main {
        width: 100%;
        min-width: 0;
        min-height: 0;
        aspect-ratio: 16 / 7;
        overflow: hidden;
        border-radius: 9px;
    }

    .pichet-market-slider,
    .pichet-market-slides,
    .pichet-market-slide,
    .pichet-market-slide>a {
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
    }

    .pichet-market-main img,
    .pichet-market-slide img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        object-fit: cover;
        object-position: center;
    }

    .pichet-market-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }

    .pichet-market-promo {
        width: 100%;
        min-width: 0;
        min-height: 0;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .pichet-market-promo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


@media(prefers-reduced-motion:reduce) {
    .pichet-market-slide {
        transition: none
    }
}




/* ==========================================
   HOMEPAGE BANNER BUTTONS
========================================== */

.pichet-market-slide {
    position: relative;
}

.pichet-banner-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.pichet-banner-buttons {
    position: absolute;

    left: 5%;
    top: 75.3%;

    width: 40%;
    height: 10.3%;

    display: flex;
    align-items: stretch;
    gap: 6%;

    z-index: 5;
    pointer-events: none;
}

/* BUTTON BASE */
.pichet-banner-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 8px;
    box-sizing: border-box;

    border: none;
    border-radius: 15px;

    color: #ffffff;
    font-size: clamp(16px, 5vw, 24px);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;

    white-space: nowrap;

    pointer-events: auto;
    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* BUTTON 1 - GREEN */
.pichet-banner-btn-1 {
    background: #1b4026;
    color: #ffffff;
}

/* BUTTON 2 - RED */
.pichet-banner-btn-2 {
    background: #b52e1c;
    color: #ffffff;
}

/* HOVER */
.pichet-banner-btn-1:hover {
    background: #285c36;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0,0,0,0.16);
}

.pichet-banner-btn-2:hover {
    background: #d13a25;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0,0,0,0.16);
}

.pichet-banner-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* TABLET */
@media (max-width: 991px) {
    .pichet-banner-buttons {
        gap: 5%;
    }

    .pichet-banner-btn {
        font-size: clamp(9px, 1.5vw, 17px);
        border-radius: 10px;
        padding: 0 5px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .pichet-banner-buttons {
        left: 9%;
        top: 75.3%;
        width: 50%;
        height: 15%;
        gap: 4%;
    }

    .pichet-banner-btn {
        font-size: clamp(14px, 5vw, 16px);
        font-weight: 800;
        border-radius: 6px;
        padding: 0 2px;
        line-height: 1.1;
    }
}

