* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, "Noto Sans KR", sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}


/* =========================
   상단 안내
========================= */

.top-bar {
    background: #F5F3ED;
    color: #555;
    text-align: center;
    padding: 9px 20px;
    font-size: 13px;
}


/* =========================
   헤더
========================= */

header {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 100;

    background: transparent;
    border: none;
    box-shadow: none;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 82px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 150px;
    height: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

nav a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -0.2px;
    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.65;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-icons button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}


/* =========================
   메인 배너
========================= */

.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 700;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 230px;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.38),
        rgba(0, 0, 0, 0)
    );

    z-index: 2;
    pointer-events: none;
}

/* 메인 배너 슬라이드 */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    filter: brightness(1.05);
}


/* 메인 배너 글자 영역 */
.hero-content {
    position: absolute;
    z-index: 3;

    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 1200px;
    max-width: calc(100% - 80px);

    color: #fff;
}


/* 작은 제목 */
.hero-small {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #7EBA27;
    margin-bottom: 15px;
}

/* 메인 제목 */
.hero h1 {
    font-family: "Noto Serif KR", serif;
    font-size: 60px;
    line-height: 1.15;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.hero-small {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #7EBA27;
    margin-bottom: 15px;
    text-align: left;
}


/* 설명 */
.hero-content > p:not(.hero-small) {
    margin-bottom: 30px;
}


/* 버튼 2개 */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* 기본 버튼 */
.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 150px;
    height: 52px;

    background: #7EBA27;
    color: #fff;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    border-radius: 6px;

    transition: all 0.3s ease;
}

.hero-button:hover {
    background: #6FA81F;
    color: #fff;
}


/* 스마트스토어 버튼 */
.hero-button-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}


.hero-button-outline:hover {
    background: #fff;
    color: #222;
}

@media (max-width: 768px) {

    .hero {
        aspect-ratio: 4 / 5;
    }

    .hero-content {
        width: 100%;
        max-width: calc(100% - 40px);
    }

    .hero-small {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.2;
        letter-spacing: -1.5px;
        margin-bottom: 18px;
    }

    .hero-content > p:not(.hero-small) {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero-buttons {
        gap: 8px;
    }

    .hero-button {
        width: 140px;
        height: 48px;
        font-size: 14px;
    }
}


/* =========================
   공통 섹션
========================= */

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 20px;
}

.section-title {
    margin-bottom: 45px;
}

.section-title p {
    color: #888;
    font-size: 14px;
    margin-bottom: 5px;
}

.section-title h2 {
    font-size: 34px;
    letter-spacing: -1px;
}


/* =========================
   특가 상품
========================= */

.sale-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
}

.sale-image {
    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 150px;
    background: #e8e0d2;
}

.sale-info {
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    display: inline-block;
    width: fit-content;

    background: #222;
    color: #fff;

    padding: 7px 12px;
    font-size: 11px;
    letter-spacing: 1px;

    margin-bottom: 20px;
}

.sale-info h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.sale-info p {
    color: #777;
    margin-bottom: 25px;
}

.price {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 5px;
}

.sale-detail {
    color: #888;
    font-size: 13px;
    margin-bottom: 30px;
}

.black-button {
    display: inline-block;
    width: fit-content;

    background: #222;
    color: #fff;

    padding: 14px 25px;
    font-size: 14px;
}


/* =========================
   상품
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-image {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    font-size: 90px;
    margin-bottom: 18px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-category {
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}

.product-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.product-card strong {
    font-size: 15px;
}


/* =========================
   카테고리
========================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-card {
    min-height: 220px;
    padding: 30px;

    background: #f5f1e8;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    transition: 0.2s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card span {
    font-size: 40px;
    margin-bottom: auto;
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.category-card p {
    color: #777;
    font-size: 13px;
}


/* =========================
   브랜드
========================= */

.brand-section {
    min-height: 500px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("https://images.unsplash.com/photo-1603048297172-c92544798d5a?auto=format&fit=crop&w=1200&q=65");

    background-size: cover;
    background-position: center;

    color: #fff;

    display: flex;
    align-items: center;
}

.brand-content {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

.brand-content > p:first-child {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.brand-content h2 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 25px;
}

.brand-content p:last-child {
    color: #ddd;
}


/* =========================
   리뷰
========================= */

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review {
    border: 1px solid #eee;
    padding: 35px;
}

.review > div {
    margin-bottom: 20px;
}

.review p {
    font-size: 15px;
    margin-bottom: 20px;
}

.review span {
    color: #999;
    font-size: 12px;
}


/* =========================
   푸터
========================= */

footer {
    background: #222;
    color: #fff;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.footer-inner h2 {
    margin-bottom: 10px;
}

.footer-inner > p {
    color: #aaa;
    margin-bottom: 30px;
}

.footer-info {
    color: #888;
    font-size: 13px;
    margin-bottom: 30px;
}

.footer-inner small {
    color: #666;
}


/* =========================
   모바일
========================= */

@media (max-width: 768px) {

    .header-inner {
    width: 1200px;
    max-width: calc(100% - 80px);
    height: 90px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

    nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 5px;
    }

    .hero {
        min-height: 520px;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .section {
        padding: 70px 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .sale-product {
        grid-template-columns: 1fr;
    }

    .sale-image {
        min-height: 280px;
    }

    .sale-info {
        padding: 40px 25px;
    }

    .sale-info h2 {
        font-size: 30px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image {
        height: 200px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .brand-content h2 {
        font-size: 30px;
    }
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom
    
}
.hero-product-button {
    position: absolute;
    left: 180px;
    top: 500px;
    z-index: 10;

    display: inline-block;
    padding: 14px 28px;

    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.hero-product-button {
    position: absolute;
    left: 180px;
    top: 500px;
    z-index: 9999;

    display: block;
    padding: 14px 28px;

    background: #ffffff;
    color: #222222;
    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    border-radius: 6px;
}

.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-product-button {
    position: absolute;
    left: 90px;
    top: 72%;
    z-index: 100;

    display: block;
    padding: 7px 16px;

    background: #fff;
    color: #222;

    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

/* =========================
   배송 / 서비스 안내
========================= */

.info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    
}

.info-item {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #222;
    font-size: 15px;
    font-weight: 500;

    border-right: 1px solid #eee;
}

.info-icon {
    color: #7EBA27;
    font-size: 24px;
    line-height: 1;
}

.hero-small {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #7EBA27;
    margin: 12px 0 15px 0;
    padding: 0;
    text-align: left;
}

.section-title h2 {
    font-size: 42px;
}

.sale-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sale-title-row h2 {
    margin: 0;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    color: #222;
}

.countdown strong {
    font-size: 23px;
    color: #7EBA27;
    letter-spacing: 1px;
}

/* 오늘의 특가 글씨 크기 */
.sale-info h2 {
    font-size: 50px;
}

.sale-info p {
    font-size: 20px;
}

.price {
    font-size: 50px;
}

.sale-detail {
    font-size: 15px;
}

.badge {
    font-size: 13px;
}
/* 오늘의 특가 버튼 */
.black-button {
    font-size: 17px;
    font-weight: 700;
    padding: 17px 30px;
}

/* 오늘의 특가 박스 높이 줄이기 */
.sale-image {
    min-height: 430px;
}

.sale-info {
    padding: 50px;
}

/* 오늘의 특가 내부 정렬 */
.sale-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.badge {
    margin-bottom: 14px;
}

.sale-info h2 {
    margin: 0 0 12px 0;
    line-height: 1.25;
}

.sale-info p {
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.price {
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.sale-detail {
    margin: 0 0 24px 0;
    line-height: 1.4;
}

.black-button {
    margin: 0;
}

.sale-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price {
    color: #7EBA27; 
}
.sale-info {
    transform: translateY(-40px);
}
.sale-image {
    min-height: 500px;
    overflow: hidden;
    padding: 0;
}

.sale-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sale-info {
    min-height: 470px;
}
.black-button {
    font-size: 15px;
    padding: 12px 22px;
}
.black-button {
    transform: translateY(30px);
}
.sale-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.badge {
    margin: 0 0 18px 0;
}

.sale-info h2 {
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.sale-info p {
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.price {
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.sale-detail {
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.black-button {
    margin: 0;
}

/* 상황별 고기 찾기 */
.meat-finder {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 20px;
}

.meat-finder-title {
    margin-bottom: 45px;
}

.meat-finder-title h2 {
    font-size: 38px;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.meat-finder-title p {
    color: #888;
    font-size: 15px;
    line-height: 1.7;
}

.meat-finder-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.meat-finder-card {
    position: relative;
    height: 300px;
    padding: 25px;
    background: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    transition: 0.3s ease;
}

.meat-finder-card:hover {
    transform: translateY(-6px);
}

.meat-finder-number {
    position: absolute;
    top: 22px;
    left: 25px;
    font-size: 13px;
    font-weight: 600;
    color: #7EBA27;
    letter-spacing: 1px;
}

.meat-finder-card h3 {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.8px;
    margin-bottom: 7px;
}

.meat-finder-card p {
    color: #777;
    font-size: 13px;
}

/* 모바일 */
@media (max-width: 768px) {

    .meat-finder {
        padding: 70px 20px;
    }

    .meat-finder-title h2 {
        font-size: 30px;
    }

    .meat-finder-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .meat-finder-card {
        height: 230px;
        padding: 20px;
    }

    .meat-finder-card h3 {
        font-size: 17px;
    }

}
/* 상황별 고기 찾기 - 사진과 글 분리 */

.meat-finder-card {
    display: block;
    height: auto;
    padding: 0;
    background: transparent;
    overflow: visible;
    transition: 0.3s ease;
}

.meat-finder-card:hover {
    transform: translateY(-5px);
}

.meat-finder-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #f3f3f3;
}

.meat-finder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.meat-finder-card:hover .meat-finder-image img {
    transform: scale(1.05);
}

.meat-finder-info {
    padding: 18px 5px 0;
}

.meat-finder-info > span {
    display: block;
    color: #7EBA27;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.meat-finder-info h3 {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.7px;
    margin-bottom: 5px;
}

.meat-finder-info p {
    color: #888;
    font-size: 13px;
}

/* 모바일 */
@media (max-width: 768px) {

    .meat-finder-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .meat-finder-image {
        height: 220px;
    }

}
.meat-finder-eyebrow {
    display: block;
    color: #7EBA27;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.meat-finder-title p {
    font-size: 17px;
    line-height: 1.7;
}
.meat-finder-eyebrow {
    margin-top: 20px;
}
.sale-title-row h2 {
    font-family: "Gowun Batang", serif;
    font-weight: 800;
    letter-spacing: -1.5px;
}
.meat-finder-title h2 {
    font-family: "Gowun Batang", serif;
}
.meat-finder-title h2 {
    font-family: "Gowun Batang", serif;
    font-size: 44px;
    line-height: 1.3;
}
.sale-title-row h2 {
    font-family: "Gowun Batang", serif;
    font-size: 44px;
    line-height: 1.3;
}
.sale-product {
    font-family: "Gowun Batang", serif;
}
.price {
    font-family: Arial, sans-serif;
    font-weight: 800;
}
.meat-finder-eyebrow {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;
}
/* 오늘의 특가 제목 */
.sale-section-title {
    margin-bottom: 45px;
}

.sale-eyebrow {
    display: block;
    color: #7EBA27;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.sale-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sale-title-row h2 {
    font-family: "Gowun Batang", serif;
    font-size: 44px;
    line-height: 1.3;
    margin: 0;
}

.sale-subtitle {
    margin-top: 10px;
    color: #888;
    font-size: 17px;
}
.sale-title-row h2 {
    font-size: 52px;
}
.sale-subtitle {
    font-size: 21px;
}
.meat-finder-title h2 {
    font-family: "Gowun Batang", serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.3;
}
.meat-finder-info h3 {
    letter-spacing: 0.6px;
}
.sale-subtitle {
    letter-spacing: 0.6px;
}
.meat-finder {
    padding-top: 90px;
    padding-bottom: 30px;
}
.product-section .section-title h2 {
    font-family: "Gowun Batang", serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}
.best-section-title h2 {
    font-family: "Gowun Batang", serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}
.best-eyebrow {
    display: block;
    color: #7EBA27;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.best-subtitle {
    color: #888;
    font-size: 17px;
    line-height: 1.7;
    margin-top: 10px;
}
.sale-product {
    transform: translateY(-20px);
}
.product-shipping {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}
.product-info {
    padding-top: 18px;
}

.product-category {
    color: #7EBA27;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}

.product-subtitle {
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-description {
    color: #888;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.product-price {
    display: block;
    color: #222;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.product-shipping {
    color: #999;
    font-size: 12px;
    margin-bottom: 16px;
}

.naver-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    background: #7EBA27;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.2s ease;
}

.naver-buy-button:hover {
    background: #6FA81F;
}
.product-info {
    padding-top: -2px;
}
.product-image {
    margin-bottom: 0;
}

.product-info {
    padding-top: 0;
}
.product-card {
    background: #fff;
    border: 1px solid #eeeeee;
    padding: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 마우스를 올렸을 때 살짝 위로 */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* 사진과 글 사이 간격 */
.product-card .product-image {
    margin: -18px -18px 0;
    width: calc(100% + 36px);
}

/* 상품 정보 영역 */
.product-card .product-info {
    padding-top: 12px;
}

/* 구매 버튼 */
.product-card .naver-buy-button {
    transition: all 0.25s ease;
}

.product-card:hover .naver-buy-button {
    background: #6FA81F;
}
.product-card {
    border-radius: 12px;
    overflow: hidden;
}
.meat-finder-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.meat-finder-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.meat-finder-info {
    padding: 18px 16px 20px;
}
.naver-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.buy-arrow {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.naver-buy-button:hover .buy-arrow {
    transform: translateX(4px);
}
.buy-arrow {
    font-size: 14px;
    transition: transform 0.25s ease;
}

.naver-buy-button:hover .buy-arrow {
    transform: translateX(4px);
}
body {
    background-color: #FCFAF5;
}
/* =========================
   나리농장 이야기
========================= */

.story-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.story-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* 왼쪽 사진 */

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
}

.story-image {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.story-image-top {
    height: 420px;
}

.story-image-bottom {
    height: 420px;
    margin-top: 70px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.08);
}

/* 오른쪽 글 */

.story-content {
    padding: 20px 0;
}

.story-eyebrow {
    display: block;
    color: #7EBA27;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.story-content h2 {
    font-family: "Gowun Batang", serif;
    font-size: 42px;
    line-height: 1.45;
    letter-spacing: -1px;
    margin-bottom: 28px;
}

.story-content p {
    color: #777;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
}

/* 부제목 */

.story-subtitle {
    color: #777;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 28px;
}

/* 연한 구분선 */

.story-line {
    width: 100%;
    height: 1px;
    background: #EAE7DF;
    margin-bottom: 28px;
}

/* 나리농장 3가지 포인트 */

.story-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-point {
    display: flex;
    align-items: center;
    gap: 15px;
}

.story-point-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #F7F5EF;
    border-radius: 50%;

    font-size: 21px;
    flex-shrink: 0;
}

.story-point strong {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
}

.story-point p {
    margin: 0;
    color: #999;
    font-size: 13px;
    line-height: 1.5;
}


/* 모바일 */

@media (max-width: 768px) {

    .story-section {
        padding: 70px 20px;
    }

    .story-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .story-images {
        gap: 10px;
    }

    .story-image-top,
    .story-image-bottom {
        height: 280px;
    }

    .story-image-bottom {
        margin-top: 40px;
    }

    .story-content h2 {
        font-size: 32px;
    }

    .story-content p {
        font-size: 14px;
    }

}
/* 리뷰 섹션 흰색 배경 */
.review-section {
    background: #fff;
    max-width: none;
    width: 100%;
}
/* 리뷰 섹션 */
.review-section {
    background: #fff;
    max-width: none;
    width: 100%;
    padding: 40px 20px;
}

/* 리뷰 내용 */
.review-section .section-title,
.review-section .review-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
/* =========================
   나리농장 리뷰
========================= */

.review-section {
    width: 100%;
    background: #fff;
    padding: 70px 20px;
    overflow: hidden;
}

.review-section-title {
    max-width: 1200px;
    margin: 0 auto 45px;
    text-align: center;
}

.review-eyebrow {
    display: block;
    color: #7EBA27;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.review-section-title h2 {
    font-family: "Gowun Batang", serif;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -1px;
}


/* 리뷰 슬라이더 */

.review-slider {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.review-track {
    display: flex;
    gap: 20px;
    transition: transform 0.7s ease;
}


/* 리뷰 카드 */

.review-card {
    flex: 0 0 calc((100% - 60px) / 4);

    background: #FCFAF5;
    border: 1px solid #EAE7DF;
    border-radius: 14px;

    padding: 28px 25px;
    min-height: 220px;

    display: flex;
    flex-direction: column;
}


/* 별점 + 날짜 */

.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.review-stars {
    color: #7EBA27;
    font-size: 14px;
    letter-spacing: 1px;
}

.review-date {
    color: #aaa;
    font-size: 12px;
}


/* 리뷰 내용 */

.review-text {
    color: #444;
    font-size: 14px;
    line-height: 1.8;
    flex: 1;
}


/* 고객명 + 상품 */

.review-bottom {
    border-top: 1px solid #E5E1D8;
    margin-top: 22px;
    padding-top: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-name {
    color: #555;
    font-size: 13px;
    font-weight: 600;
}

.review-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;
    padding: 0 14px;

    background: #7EBA27;
    color: #fff;

    border-radius: 50px;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}


/* 모바일 */

@media (max-width: 768px) {

    .review-section {
        padding: 50px 20px;
    }

    .review-section-title {
        margin-bottom: 30px;
    }

    .review-section-title h2 {
        font-size: 32px;
    }

    .review-card {
        flex: 0 0 100%;
    }

}
.sale-product-image {
    width: 420px;
    height: 420px;
    overflow: hidden;
}

.sale-product {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 50px;
    background: #fff;
    border-radius: 16px;
}

.sale-product-image {
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.sale-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.sale-product-image {
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.sale-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    display: block;
    
}
.sale-image img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    display: block;
    transform: scale(1.15);
}
.sale-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sale-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sale-product-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.sale-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sale-product-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.sale-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sale-product {
    padding: 0;
}
.sale-product-image img {
    filter: brightness(1.00) contrast(1.08) saturate(1.08);
}
.sale-product .badge {
    background: #7EBA27;
    color: #fff;
}

.sale-product .black-button {
    background: #7EBA27;
    color: #fff;
}
.sale-product .sale-info h2 {
    font-family: "Pretendard", sans-serif;
    font-weight: 700;
}
.sale-product .price {
    font-family: "Pretendard", sans-serif;
    font-weight: 800;
    color: #7EBA27;
}
.sale-product {
    margin-bottom: -30px;
}
/* =========================
   전체상품 페이지
========================= */

.products-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0 120px;
}


/* 페이지 제목 */

.products-page-title {
    text-align: center;
    margin-bottom: 55px;
}

.products-page-title span {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    color: #7EBA27;
    margin-bottom: 18px;
}

.products-page-title h1 {
    font-family: "Gowun Batang", serif;
    font-size: 48px;
    margin: 0 0 15px;
}

.products-page-title p {
    color: #777;
    font-size: 16px;
    line-height: 1.7;
}


/* 카테고리 */

.product-category-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}

.product-category-menu button {
    border: 1px solid #ddd;
    background: #fff;
    padding: 11px 24px;
    font-size: 14px;
    cursor: pointer;
}

.product-category-menu button.active {
    background: #222;
    color: #fff;
    border-color: #222;
}


/* 상품 개수 */

.products-count {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.products-count strong {
    font-size: 16px;
}

.products-count span {
    color: #999;
}


/* 상품 그리드 */

.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 25px;
}


/* 상품 카드 */

.shop-product-card {
    background: #fff;
}

.shop-product-image {
    display: block;
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #f4f1eb;
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.04);
}


/* 상품 정보 */

.shop-product-info {
    padding: 24px 5px 0;
}

.shop-product-category {
    display: block;
    font-size: 12px;
    color: #7EBA27;
    margin-bottom: 10px;
}

.shop-product-info h2 {
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: 700;
}

.shop-product-info p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 18px;
}

.shop-product-price {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #7EBA27;
    margin-bottom: 5px;
}

.shop-product-shipping {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}


/* 구매 버튼 */

.shop-buy-button {
    display: inline-block;
    background: #222;
    color: #fff;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}


/* 모바일 */

@media (max-width: 768px) {

    .products-page {
        padding: 70px 20px 90px;
    }

    .products-page-title h1 {
        font-size: 38px;
    }

    .product-category-menu {
        flex-wrap: wrap;
    }

    .products-list {
        grid-template-columns: 1fr 1fr;
        gap: 35px 15px;
    }

    .shop-product-image {
        height: 280px;
    }

}

@media (max-width: 480px) {

    .products-list {
        grid-template-columns: 1fr;
    }

    .shop-product-image {
        height: 350px;
    }

}
.best-tenderloin {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    transform: scale(1.0);
    filter: brightness(1.08) contrast(1.05);
    display: block;
}

.best-bulgogi {
    transform: scale(1.18);
}
.best-bulgogi {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.2);
    filter: brightness(1.10) contrast(1.05);
    display: block;
}
/* 전체상품 카테고리 메뉴 */
.product-category-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 45px auto 55px;
    padding: 0 20px;
}

.product-category-menu button {
    min-width: 110px;
    height: 48px;
    padding: 0 24px;

    border: 1px solid #e5e5e5;
    border-radius: 30px;
    background: #fff;

    color: #555;
    font-family: "Pretendard", sans-serif;
    font-size: 15px;
    font-weight: 500;

    cursor: pointer;
    transition: all 0.25s ease;
}

/* 현재 선택된 카테고리 */
.product-category-menu button.active {
    background: #7EBA27;
    border-color: #7EBA27;
    color: #fff;
    font-weight: 700;
}

/* 마우스를 올렸을 때 */
.product-category-menu button:hover {
    border-color: #7EBA27;
    color: #7EBA27;
}

.product-category-menu button.active:hover {
    color: #fff;
}
/* ==============================
   전체상품 상품 카드
================================ */

.shop-product-card {
    background: #fff;
    border: 1px solid #e9e6df;
    border-radius: 18px;
    overflow: hidden;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 마우스를 올렸을 때 */
.shop-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}


/* 상품 이미지 */
/* 상품 이미지 */
.shop-product-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7f5ef;
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    display: block;

    transition: transform 0.5s ease;
}

/* 마우스를 올리면 사진만 살짝 확대 */
.shop-product-card:hover .shop-product-image img {
    transform: scale(1.04);
}

/* 이미지도 살짝 확대 */
.shop-product-card:hover .shop-product-image img {
    transform: scale(1.05);
}


/* 상품 정보 */
.shop-product-info {
    padding: 26px 26px 28px;
}


/* 상품 카테고리 */
.shop-product-category {
    display: inline-block;
    margin-bottom: 10px;

    color: #7EBA27;
    font-size: 13px;
    font-weight: 600;
}


/* 상품명 */
.shop-product-info h2 {
    margin: 0 0 10px;

    color: #222;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}


/* 상품 설명 */
.shop-product-info p {
    margin: 0 0 18px;

    color: #777;
    font-size: 14px;
    line-height: 1.7;
}


/* 가격 */
.shop-product-price {
    display: block;
    margin-bottom: 5px;

    color: #222;
    font-size: 21px;
    font-weight: 700;
}


/* 배송비 */
.shop-product-shipping {
    display: block;
    margin-bottom: 20px;

    color: #999;
    font-size: 13px;
}


/* 네이버 구매 버튼 */
.shop-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 48px;

    background: #7EBA27;
    border-radius: 8px;

    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition: background 0.25s ease;
}

.shop-buy-button:hover {
    background: #6da91d;
}
.sirloin-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.05);
}

.shop-product-card:first-child .shop-product-image img {
    transform: none;
    object-fit: cover;
    object-position: center 30%;
}
/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 120px;
    background: #222;
    color: #fff;
}

.footer-inner {
    width: 1200px;
    max-width: calc(100% - 80px);
    margin: 0 auto;
    padding: 70px 0 60px;

    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-brand img {
    width: 200px;
    height: auto;
    margin-bottom: 22px;
}

.footer-brand p,
.footer-info p,
.footer-contact p,
.footer-news p {
    margin: 0;
    color: #aaa;
    font-size: 13px;
    line-height: 1.8;
}

.footer-inner h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.footer-contact strong {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #aaa;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-news a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 20px;

    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.footer-news a span {
    font-size: 15px;
    transition: transform 0.2s ease;
}

.footer-news a:hover span {
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    width: 1200px;
    max-width: calc(100% - 80px);
    margin: 0 auto;
    padding: 22px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-policy {
    display: flex;
    gap: 22px;
}

.footer-policy a {
    color: #999;
    font-size: 12px;
    text-decoration: none;
}

.footer-bottom-inner p {
    margin: 0;
    color: #777;
    font-size: 12px;
}
html {
    scroll-behavior: smooth;.

/* 전체상품 드롭다운 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: block;
}

/* ===== 전체상품 드롭다운 ===== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 12px);

    width: 190px;

    display: flex;
    flex-direction: column;

    padding: 10px 0;
    margin-top: 0;

    background: #ffffff;

    border: 1px solid #e5e5e5;
    border-radius: 8px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;

    overflow: hidden;
    white-space: nowrap;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    box-sizing: border-box;

    padding: 14px 22px;

    color: #222222;
    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.2s ease;
}

.dropdown-menu a small {
    color: #777777;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.dropdown-menu a:hover {
    color: #6FA51F;
    background: #F2F7E9;
    padding-left: 27px;
}

.dropdown-menu a:hover small {
    color: #6FA51F;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
/* 전체상품 메뉴 열기 버튼 */
.nav-dropdown {
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    width: 44px;
    height: 44px;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
}

nav .dropdown-toggle {
    color: #fff;
}

.dropdown-toggle:focus-visible {
    outline: 2px solid #7EBA27;
    outline-offset: 3px;
}

/* 클릭으로 열었을 때 */
.nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
/* 모바일 헤더 정리 */
@media (max-width: 768px) {
    header {
        position: relative;
        top: auto;
        background: #F5F3ED;
    }

    .header-inner {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 12px 20px;

        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .logo img {
        width: 120px;
    }

    /* 메뉴를 로고 아래 줄에 배치 */
    header nav {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        flex-wrap: wrap;
        overflow: visible;
        gap: 4px 18px;
        padding-bottom: 0;
    }

    header nav > a,
    .nav-dropdown > a {
        padding: 12px 0;
    }

    header nav a,
    header nav .dropdown-toggle,
    header .header-icons button {
        color: #333;
    }

    /* 하위 메뉴가 화면 왼쪽 밖으로 나가지 않게 */
    .dropdown-menu {
        left: 0;
        transform: translateY(12px);
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.is-open .dropdown-menu {
        transform: translateY(0);
    }
}
/* 모바일에서 페이지가 옆으로 늘어나는 문제 수정 */
@media (max-width: 768px) {
    .sale-product {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px 20px;
        gap: 24px;
    }

    .sale-product-image,
    .sale-info {
        min-width: 0;
    }

    .sale-title-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-inner {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 0 20px;
    }

    .footer-bottom-inner {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 0 20px;
    }

    .footer-policy {
        flex-wrap: wrap;
    }
}
/* 모바일 배송 안내: 2개씩 배치 */
@media (max-width: 768px) {
    .info-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-item {
        min-width: 0;
        height: auto;
        min-height: 90px;
        padding: 14px 10px;
        gap: 8px;
    }

    .info-item strong {
        font-size: 13px;
        line-height: 1.5;
        word-break: keep-all;
    }

    .info-icon {
        flex-shrink: 0;
        font-size: 22px;
    }
}
/* 모바일 특가 제목과 카운트다운 */
@media (max-width: 768px) {
    .sale-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sale-title-row h2 {
        font-size: 32px;
        line-height: 1.3;
        margin: 0;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 8px;
    }

    .countdown span,
    .countdown strong {
        white-space: nowrap;
    }

    .countdown span {
        font-size: 13px;
    }

    .countdown strong {
        font-size: 20px;
    }
}
/* 작은 모바일 화면의 BEST 상품 카드 */
@media (max-width: 480px) {
    #best .product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    #best .product-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    #best .product-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #best .product-info h3 {
        font-size: 20px;
    }

    #best .naver-buy-button {
        min-height: 48px;
    }
}
/* 모바일: 상황별 고기 추천 카드 */
@media (max-width: 768px) {
    .meat-finder-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .meat-finder-card {
        min-width: 0;
        height: auto;
    }

    .meat-finder-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .meat-finder-info {
        padding: 14px 12px;
    }

    .meat-finder-info h3 {
        font-size: 16px;
        line-height: 1.5;
        word-break: keep-all;
    }

    .meat-finder-info p {
        font-size: 13px;
        line-height: 1.6;
        word-break: keep-all;
    }
}
/* 작은 모바일 화면의 배너 글자와 버튼 */
@media (max-width: 480px) {
    .hero-content {
        width: auto;
        max-width: none;
        left: 20px;
        right: 20px;
        transform: translateY(-50%);
    }

    .hero-small {
        font-size: 11px;
        letter-spacing: 0;
        line-height: 1.6;
        word-break: keep-all;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.3;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .hero-content > p:not(.hero-small) {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 24px;
        word-break: keep-all;
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-button {
        width: 140px;
        height: 48px;
        font-size: 14px;
    }
}
/* 모바일 브랜드 이야기 */
@media (max-width: 768px) {
    .story-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .story-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .story-image-top,
    .story-image-bottom {
        height: auto;
        aspect-ratio: 3 / 4;
        margin-top: 0;
    }

    .story-content {
        min-width: 0;
    }

    .story-content h2 {
        font-size: 28px;
        line-height: 1.5;
        word-break: keep-all;
    }

    .story-point > div {
        min-width: 0;
    }

    .story-point-icon {
        flex-shrink: 0;
    }
}
/* 모바일 고객 리뷰: 옆으로 넘겨보기 */
@media (max-width: 768px) {
    .review-slider {
        overflow-x: auto;
        padding: 0 20px 16px;
        scroll-snap-type: x mandatory;
    }

    .review-track {
        gap: 16px;
    }

    .review-card {
        flex: 0 0 85%;
        min-width: 0;
        padding: 24px 20px;
        scroll-snap-align: center;
    }

    .review-text {
        font-size: 14px;
        word-break: keep-all;
    }

    .review-bottom {
        flex-wrap: wrap;
        gap: 8px;
    }
}
/* 모바일 전체상품 카테고리 버튼 */
@media (max-width: 768px) {
    .product-category-menu {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .product-category-menu button {
        min-width: 0;
        width: 100%;
        height: 44px;
        padding: 0 8px;
        font-size: 14px;
    }
}
/* 전체상품 페이지의 밝은 헤더 */
header.header-light {
    position: relative;
    top: auto;
    background: #F5F3ED;
}

.header-light nav a,
.header-light .header-icons button {
    color: #333;
}
/* 모바일 배송 안내 높이 줄이기 */
@media (max-width: 768px) {
    .info-item {
        min-height: 64px;
        padding: 6px 10px;
    }
}
/* 모바일 오늘의 특가 */
@media (max-width: 768px) {
    .sale-title-row h2 {
        font-size: 26px;
    }

    .sale-product .sale-info h2 {
        font-size: 24px;
        line-height: 1.4;
    }

    .sale-product .sale-info p {
        font-size: 14px;
    }

    .sale-product .price {
        font-size: 30px;
    }

    .sale-product .sale-detail {
        font-size: 13px;
    }

    .sale-product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .sale-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .sale-product .sale-info {
        min-height: 0;
        padding: 16px 0 0;
    }
}
/* 모바일 고기 추천 제목 크기 */
@media (max-width: 768px) {
    .meat-finder-title h2 {
        font-size: 26px;
        line-height: 1.4;
        word-break: keep-all;
    }
}
/* 모바일 BEST 제목 크기 */
@media (max-width: 768px) {
    .best-section-title h2 {
        font-size: 26px;
        line-height: 1.4;
    }
}
/* 모바일 BEST 상품: 2개씩 2줄 */
@media (max-width: 768px) {
    #best .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #best .product-card {
        min-width: 0;
        padding: 12px;
    }

    #best .product-card .product-image {
        margin: -12px -12px 0;
        width: calc(100% + 24px);
        height: auto;
        aspect-ratio: 1 / 1;
    }

    #best .product-card .product-info {
        padding: 12px 0 0;
    }

    #best .product-info h3 {
        font-size: 16px;
        line-height: 1.4;
        word-break: keep-all;
    }

    #best .product-subtitle,
    #best .product-description,
    #best .product-shipping {
        font-size: 12px;
    }

    #best .product-price {
        font-size: 20px;
    }

    #best .naver-buy-button {
        height: auto;
        min-height: 44px;
        padding: 8px 4px;
        gap: 4px;
        font-size: 12px;
    }
}
/* 모바일 리뷰 슬라이드 */
@media (max-width: 768px) {
    .review-track {
        transform: none;
    }

    .review-slider {
        scroll-snap-type: x mandatory;
    }
}
/* 모바일 상단 메뉴 한 줄 배치 */
@media (max-width: 768px) {
    header nav {
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
    }

    header nav > a,
    header nav .nav-dropdown {
        flex-shrink: 0;
        white-space: nowrap;
    }

    header nav a {
        font-size: 12px;
    }

    header nav .dropdown-toggle {
        width: 24px;
        min-width: 24px;
    }

    /* 스크롤 영역에 드롭다운이 잘리지 않도록 */
    header nav .nav-dropdown.is-open {
        padding-bottom: 310px;
    }

    header nav .dropdown-menu {
        left: 0;
        transform: translateY(0);
    }
}
/* BEST 카드 구매 버튼 위치 통일 */
#best .product-card {
    display: flex;
    flex-direction: column;
}

#best .product-card .product-image {
    flex-shrink: 0;
}

#best .product-card .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#best .product-card .naver-buy-button {
    margin-top: auto;
}

#best .product-card .product-shipping {
    margin-bottom: 14px;
}
/* 모바일 특가와 다음 섹션 사이 간격 */
@media (max-width: 768px) {
    .info-bar + .section {
        padding-bottom: 24px;
    }

    .meat-finder {
        padding-top: 24px;
    }
}
/* 모바일 푸터 로고 왼쪽 정렬 */
@media (max-width: 768px) {
    .site-footer .footer-brand {
        text-align: left;
    }

    .site-footer .footer-brand img {
        display: block;
        margin-left: 0;
        margin-right: auto;
    }
}
/* 상단 카카오톡 소식 안내 */
.top-kakao-link {
    display: block;
    padding: 3px 0;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
/* 상단 오픈채팅 배너 정렬 */
.top-bar {
    padding: 10px 16px;
    text-align: center;
}

.top-bar .top-kakao-link {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.6;
    word-break: keep-all;
}
/* 모바일 푸터 정책 안내 여백 */
@media (max-width: 768px) {
    .site-footer .footer-bottom {
        margin-top: 32px;
        padding: 28px 0;
    }

    .site-footer .footer-bottom-inner {
        gap: 20px;
    }

    .site-footer .footer-policy {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .site-footer .footer-policy a {
        display: inline-block;
        padding: 8px 0;
        font-size: 13px;
        line-height: 1.6;
    }
}
/* 모바일 드롭다운: 헤더 높이 유지 */
@media (max-width: 768px) {
    header nav {
        overflow: visible;
    }

    header nav .nav-dropdown {
        position: relative;
    }

    header nav .nav-dropdown.is-open {
        padding-bottom: 0;
    }

    header nav .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 200;
        transform: translateY(0);
    }
}
/* 모바일 전체상품: 한 줄에 3개 */
@media (max-width: 768px) {
    .products-page .products-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .products-page .shop-product-card {
        min-width: 0;
    }

    .products-page .shop-product-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .products-page .shop-product-info {
        padding: 10px 8px;
    }

    .products-page .shop-product-info h2 {
        font-size: 13px;
        line-height: 1.5;
        word-break: keep-all;
    }

    .products-page .shop-product-info p,
    .products-page .shop-product-category,
    .products-page .shop-product-shipping {
        font-size: 11px;
    }

    .products-page .shop-product-price {
        font-size: 16px;
    }

    .products-page .shop-buy-button {
        height: auto;
        min-height: 44px;
        padding: 8px 4px;
        font-size: 11px;
        text-align: center;
        white-space: normal;
    }
}
/* 모바일 전체상품 카드 간결하게 */
@media (max-width: 768px) {
    .products-page .shop-product-category,
    .products-page .shop-product-info p {
        display: none;
    }

    .products-page .shop-product-card {
        display: flex;
        flex-direction: column;
    }

    .products-page .shop-product-image {
        flex-shrink: 0;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .products-page .shop-product-info {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 8px 6px;
    }

    .products-page .shop-product-info h2 {
        margin: 0 0 8px;
        font-size: 12px;
        line-height: 1.4;
        word-break: keep-all;
    }

    .products-page .shop-product-price {
        margin: auto 0 4px;
        font-size: 15px;
        line-height: 1.4;
    }

    .products-page .shop-product-shipping {
        margin: 0 0 8px;
        font-size: 10px;
        line-height: 1.4;
    }

    .products-page .shop-buy-button {
        margin: 0;
        min-height: 36px;
        height: auto;
        padding: 6px 3px;
        font-size: 10px;
        line-height: 1.4;
    }
}
/* 현재 페이지의 상단 메뉴 표시 */
header nav a.active {
    color: #7EBA27;
    font-weight: 700;
    border-bottom: 2px solid #7EBA27;
}
/* 모바일 전체상품 이미지 영역 조정 */
@media (max-width: 768px) {
    .products-page .products-list {
        gap: 6px;
    }

    .products-page .shop-product-card {
        border-radius: 6px;
    }

    .products-page .shop-product-image {
        border-radius: 6px 6px 0 0;
    }
}
/* 모바일 상품명 가독성 */
@media (max-width: 768px) {
    .products-page .shop-product-info h2 {
        font-size: 13px;
        font-weight: 700;
        color: #222;
        line-height: 1.5;
        letter-spacing: -0.3px;
        word-break: keep-all;
        margin-bottom: 10px;
    }
}
/* 모바일 헤더가 스크롤을 따라오도록 */
@media (max-width: 768px) {
    header,
    header.header-light {
        position: sticky;
        top: 0;
        z-index: 100;
        background: #F5F3ED;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
}
/* 전체상품 글자와 화살표 간격 줄이기 */
header nav .nav-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

header nav .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1;
}
/* 전체상품 바로 옆에 화살표 정렬 */
header nav .nav-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

header nav .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    min-width: 14px;
    height: 44px;
    padding: 0;
    margin: 0;
    font-size: 0;
    flex-shrink: 0;
}

header nav .dropdown-toggle::before {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
/* 임시 추가 리뷰는 모바일에서 숨기기 */
@media (max-width: 768px) {
    .review-card.review-placeholder {
        display: none;
    }
}

/* PC 리뷰: 4개씩 표시 */
@media (min-width: 769px) {
    .review-slider {
        overflow-x: auto;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .review-slider::-webkit-scrollbar {
        display: none;
    }

    .review-track {
        gap: 20px;
        transform: none;
    }

    .review-card {
        flex: 0 0 calc((100% - 60px) / 4);
        min-width: 0;
        scroll-snap-align: start;
    }
}
/* PC 리뷰 이동 효과와 조절 막대 */
@media (min-width: 769px) {
    .review-slider {
        scroll-snap-type: none;
        scroll-behavior: auto;
    }

    .review-progress {
        display: block;
        width: min(320px, 80%);
        margin: 24px auto 0;
        accent-color: #7EBA27;
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    .review-progress {
        display: none;
    }
}
/* PC 전체상품: 4개씩 4줄 */
@media (min-width: 769px) {
    .products-page .products-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }

    .products-page .shop-product-card {
        min-width: 0;
    }

    .products-page .shop-product-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }
}
.countdown[hidden],
#sale-link[hidden] {
    display: none;
}
/* 전체상품 제목 영역 배경 */
.products-page-title {
    background: linear-gradient(
        135deg,
        #F2F5EA 0%,
        #F5F3ED 60%,
        #FBF9F4 100%
    );
    border: 1px solid #E8E9DF;
    border-radius: 16px;
    padding: 48px 24px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .products-page-title {
        padding: 32px 20px;
        border-radius: 12px;
        margin-bottom: 24px;
    }
}
.header-light nav .dropdown-toggle {
    color: #333;
}
/* 전체상품 페이지 상단 메뉴 고정 */
header.header-light {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #F5F3ED;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
/* 전체상품 구매 버튼을 카드 아래에 맞추기 */
.products-page .shop-product-card {
    display: flex;
    flex-direction: column;
}

.products-page .shop-product-image {
    flex-shrink: 0;
}

.products-page .shop-product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.products-page .shop-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}

.products-page .shop-product-shipping {
    margin-bottom: 12px;
}
/* 전체상품 페이지 전체 배경 */
body.products-body {
    background-color: #FCFAF5;
    background-image:
        radial-gradient(
            ellipse at 0% 20%,
            rgba(126, 186, 39, 0.07),
            transparent 55%
        ),
        radial-gradient(
            ellipse at 100% 75%,
            rgba(190, 168, 125, 0.08),
            transparent 55%
        );
    background-repeat: no-repeat;
}
/* 상단 카테고리 메뉴 디자인 */
header nav {
    gap: 10px;
}

header nav > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid #E2E5D9;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    color: #444;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

header nav > a:hover {
    background: #EDF4E3;
    color: #5F8F20;
    opacity: 1;
}

header nav > a.active {
    background: #EDF4E3;
    color: #5F8F20;
    border: 1px solid #7EBA27;
}

@media (max-width: 768px) {
    header nav {
        gap: 8px;
    }

    header nav > a {
        flex: 1;
        padding: 10px 8px;
        font-size: 13px;
    }
}
/* 전체상품 버튼과 화살표를 하나의 틀로 */
header nav .nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0 12px;
    border: 1px solid #E2E5D9;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    color: #444;
}

header nav .nav-dropdown > a {
    padding: 10px 0;
    color: #444;
    font-size: 14px;
    font-weight: 600;
}

header nav .dropdown-toggle {
    color: #444;
}

@media (max-width: 768px) {
    header nav .nav-dropdown {
        flex: 1;
        justify-content: center;
    }

    header nav .nav-dropdown > a {
        font-size: 13px;
    }
}
/* 상단 메뉴를 둥근 알약 모양으로 */
header nav > a,
header nav .nav-dropdown {
    border-radius: 999px;
}
/* 상단 스마트스토어·문의 버튼 */
.header-icons {
    gap: 8px;
}

.header-icons .header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid #E2E5D9;
    border-radius: 999px;
    background: #fff;
    color: #444;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.header-icons .header-action:hover {
    background: #EDF4E3;
    color: #5F8F20;
}

@media (max-width: 768px) {
    .header-icons .header-action {
        padding: 8px 10px;
        font-size: 11px;
    }
}
/* 브랜드 색상에 맞춘 카카오톡 배너 */
.top-bar {
    background: #EDF3E5;
}

.top-bar .top-kakao-link {
    color: #537A2B;
    font-weight: 600;
}

.top-bar {
    background: #CDE3AC;
}
.top-bar .top-kakao-link,
.top-bar .top-kakao-link:hover {
    color: #1F2D13;
    font-weight: 700;
}
/* 위아래 스크롤 시 반복해서 부드럽게 등장 */
main > section.section-reveal-pending {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
main > section.section-reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
main > section.section-reveal-pending:focus-within {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    main > section.section-reveal-pending,
    main > section.section-reveal-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* 푸터를 밝고 간결한 스타일로 */
.site-footer {
    background: #fff;
    color: #333;
    border-top: 1px solid #E8E8E3;
    padding-top: 40px;
}

.site-footer .footer-inner h3,
.site-footer .footer-contact strong,
.site-footer .footer-news a {
    color: #333;
}

.site-footer .footer-inner p,
.site-footer .footer-info,
.site-footer .footer-links a,
.site-footer .footer-policy a,
.site-footer .footer-bottom-inner p {
    color: #777;
}

.site-footer .footer-links a:hover,
.site-footer .footer-policy a:hover {
    color: #5F8F20;
}

.site-footer .footer-bottom {
    border-top: 1px solid #E8E8E3;
}
/* 새 푸터: PC 3칸 구성 */
.site-footer {
    background: #fff;
    border-top: 1px solid #E8E8E3;
    padding: 40px 0;
}

.farm-footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.6fr;
}

.farm-footer-column {
    min-width: 0;
    padding: 0 28px;
}

.farm-footer-column:first-child {
    padding-left: 0;
}

.farm-footer-column + .farm-footer-column {
    border-left: 1px solid #E8E8E3;
}

.farm-footer-column h3 {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.farm-footer-column h3 small {
    font-size: 11px;
    color: #888;
}

.farm-footer-number,
.farm-footer-account {
    display: block;
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.4;
    color: #333;
    overflow-wrap: anywhere;
}

.farm-footer-column p {
    margin: 4px 0;
    font-size: 12px;
    line-height: 1.8;
    color: #888;
}

.farm-footer-contact {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #E8E8E3;
}

.farm-footer-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.farm-footer-buttons a {
    flex: 1;
    padding: 9px 12px;
    border-radius: 6px;
    background: #EDF3E5;
    color: #405D25;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.farm-footer-buttons a:hover {
    background: #DDECCB;
}

.farm-footer-policy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 20px;
}

.farm-footer-policy a {
    padding: 4px 0;
    font-size: 12px;
    color: #777;
}

.farm-footer-logo {
    display: block;
    width: 130px;
    height: auto;
    margin-bottom: 12px;
}

.farm-footer-column .farm-footer-copyright {
    margin-top: 14px;
}

.farm-footer-social {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: #405D25;
}

/* 모바일에서는 차례로 배치 */
@media (max-width: 768px) {
    .farm-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 20px;
        gap: 24px;
    }

    .farm-footer-column,
    .farm-footer-column:first-child {
        padding: 0;
    }

    .farm-footer-column + .farm-footer-column {
        border-left: none;
        border-top: 1px solid #E8E8E3;
        padding-top: 24px;
    }

    .farm-footer-number,
    .farm-footer-account {
        font-size: 22px;
    }
}
/* 홈페이지: 처음에는 배너 위에 헤더 표시 */
#home-header {
    position: absolute;
    top: var(--home-header-top, 0px);
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    box-shadow: none;
    border: none;
    transition: background-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* 스크롤하면 기존 색상으로 고정 */
#home-header.is-scrolled {
    position: fixed;
    top: 0;
    background: #F5F3ED;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
/* 홈페이지 로고 크기 */
#home-header .logo img {
    width: 180px;
}

/* 메뉴 버튼 배경과 테두리를 또렷하게 */
#home-header nav > a,
#home-header nav .nav-dropdown {
    background: #E5EED8;
    border: 1px solid #B8CE9C;
    color: #344D20;
}

#home-header nav .nav-dropdown > a,
#home-header nav .dropdown-toggle {
    color: #344D20;
}

#home-header nav > a:hover,
#home-header nav .nav-dropdown:hover {
    background: #D4E4BD;
}

@media (max-width: 768px) {
    #home-header .logo img {
        width: 140px;
    }
}
/* 전체상품 제목 박스 디자인 */
.products-page-title {
    position: relative;
    padding: 48px 24px;
    border: 1px solid #C5D9AB;
    border-radius: 24px;

    background: linear-gradient(
        135deg,
        #E5EFD8 0%,
        #F5F3ED 100%
    );

    box-shadow: 0 8px 24px rgba(73, 100, 40, 0.06);
    text-align: center;
}

/* 제목 위 영문 문구 */
.products-page-title > span {
    color: #64883F;
    font-size: 12px;
    letter-spacing: 3px;
}

/* 큰 제목 */
.products-page-title h1 {
    color: #2D4022;
    margin: 12px 0;
}

/* 부제목 */
.products-page-title p {
    color: #66705E;
    margin: 0;
    word-break: keep-all;
}

@media (max-width: 768px) {
    .products-page-title {
        padding: 32px 20px;
        border-radius: 18px;
    }
}
/* 상품 목록 아래 페이지 버튼 */
.product-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 32px 0;
}

.product-pagination button {
    width: 44px;
    height: 44px;
    border: 1px solid #D7E0CA;
    border-radius: 10px;
    background: #fff;
    color: #405D25;
    font-size: 14px;
    cursor: pointer;
}

.product-pagination button.active {
    background: #CDE3AC;
    border-color: #7EBA27;
    font-weight: 700;
}
/* 상품명 아래 중량 표시 */
.products-page .shop-product-weight {
    display: block;
    margin: 4px 0 10px;
    color: #888;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .products-page .shop-product-weight {
        font-size: 11px;
        margin: 3px 0 8px;
    }
}
/* 오른쪽 아래 고정 카카오톡 버튼 */
.floating-kakao {
    position: fixed;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

.floating-kakao-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FEE500;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.floating-kakao-text {
    max-width: 0;
    padding: 12px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #FEE500;
    color: #3C1E1E;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 0.3s ease,
                padding 0.3s ease,
                opacity 0.3s ease,
                margin-right 0.3s ease;
}

.floating-kakao:hover .floating-kakao-text,
.floating-kakao:focus-visible .floating-kakao-text {
    max-width: 240px;
    padding: 12px 16px;
    margin-right: 8px;
    opacity: 1;
}

.floating-kakao:focus-visible {
    outline: 2px solid #537A2B;
    outline-offset: 4px;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .floating-kakao {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .floating-kakao-icon {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .floating-kakao-text {
        font-size: 12px;
    }
}
/* 상단 가입 혜택과 로그인 버튼 */
.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-benefit {
    flex: 1;
    min-width: 0;
    text-align: center;
    color: #1F2D13;
}

.top-benefit strong,
.top-benefit span {
    display: block;
}

.top-benefit strong {
    font-size: 14px;
    font-weight: 700;
}

.top-benefit span {
    margin-top: 2px;
    font-size: 12px;
    word-break: keep-all;
}

.top-login-button {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 1px solid #A9C589;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    color: #1F2D13;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.top-login-button:hover {
    background: #fff;
}

@media (max-width: 768px) {
    .top-bar-inner {
        gap: 8px;
    }

    .top-benefit strong {
        font-size: 12px;
    }

    .top-benefit span {
        font-size: 11px;
    }

    .top-login-button {
        padding: 7px 10px;
    }
}
/* 상단 회원가입·로그인: 글자만 표시 */
.top-bar .top-login-button {
    padding: 4px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #1F2D13;
    font-weight: 500;
}

.top-bar .top-login-button:hover {
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
}
/* 회원가입·로그인 창 */
.member-dialog {
    position: fixed;
    inset: 0;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 32px 24px;
    overflow-y: auto;
    border: 1px solid #DDE5D2;
    border-radius: 20px;
    background: #FCFAF5;
    color: #293620;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.member-dialog::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.member-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    color: #555;
    font-size: 18px;
}

.member-dialog h2 {
    margin: 16px 0 8px;
    font-size: 21px;
    line-height: 1.5;
    word-break: keep-all;
}

.member-intro {
    margin-bottom: 24px;
    color: #777;
    font-size: 13px;
}

.member-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.member-tabs button {
    flex: 1;
    padding: 10px;
    border: 1px solid #D7DFCD;
    border-radius: 10px;
    color: #555;
}

.member-tabs button.active {
    border-color: #A9C589;
    background: #E5EFD8;
    color: #344D20;
    font-weight: 700;
}

.member-dialog label {
    display: block;
    margin: 14px 0 6px;
    font-size: 13px;
    font-weight: 600;
}

.member-dialog input {
    width: 100%;
    padding: 12px;
    border: 1px solid #D7DFCD;
    border-radius: 10px;
    background: #fff;
    font: inherit;
}

.member-dialog input:focus-visible,
.member-dialog button:focus-visible {
    outline: 2px solid #7EBA27;
    outline-offset: 3px;
}

.member-dialog .member-submit {
    width: 100%;
    margin-top: 22px;
    padding: 12px;
    border-radius: 10px;
    background: #CDE3AC;
    color: #293620;
    font-size: 14px;
    font-weight: 700;
}

#member-message {
    margin-top: 12px;
    color: #777;
    font-size: 13px;
}/* 이메일 소식 수신 선택 */
.member-dialog .member-email-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 400;
    color: #666;
}

.member-dialog .member-email-consent input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    padding: 0;
    accent-color: #7EBA27;
}
/* 이메일 인증 안내창 꾸미기 */
#signup-notice-dialog {
    padding: 32px 24px 24px;
    border: 1px solid #D8E3C9;
    border-top: 4px solid #A9C982;
    border-radius: 22px;
    background: #FCFAF5;
    box-shadow: 0 20px 60px rgba(31, 45, 19, 0.18);
}

/* 제목 위 작은 봉투 아이콘 */
#signup-notice-dialog::before {
    content: "✉";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border: 1px solid #D8E3C9;
    border-radius: 16px;
    background: #EDF3E5;
    color: #64883F;
    font-size: 28px;
}

#signup-notice-dialog h2 {
    margin-top: 0;
}

#signup-notice-dialog .member-submit {
    transition: background-color 0.2s ease;
}

#signup-notice-dialog .member-submit:hover {
    background: #BDD795;
}
/* 회원가입 완료 축하 창 */
#signup-complete-dialog {
    text-align: center;
    border: 1px solid #D8E3C9;
}

.signup-complete-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #E5EFD8;
    font-size: 38px;
}

#signup-complete-dialog h2 {
    font-size: 22px;
    color: #344D20;
}
/* 가입 완료 창: 글자 중심으로 정리 */
#signup-complete-dialog {
    padding: 32px 24px;
    text-align: center;
}

#signup-complete-dialog h2 {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.5;
    word-break: keep-all;
}

#signup-complete-dialog .member-intro {
    margin: 0;
    line-height: 1.8;
    word-break: keep-all;
}

#signup-complete-dialog .member-submit {
    margin-top: 24px;
}
/* 숨겨진 회원 메뉴가 다시 표시되지 않도록 */
#member-dialog [hidden] {
    display: none !important;
}

/* 로그인 후 회원 환영 화면 */
#member-dialog[data-logged-in="true"] {
    padding: 36px 24px 28px;
    border: 1px solid #D5E2C5;
    border-radius: 24px;
    background: linear-gradient(
        180deg,
        #EDF3E5 0%,
        #FCFAF5 55%
    );
    text-align: center;
}

#member-dialog[data-logged-in="true"]::before {
    content: "NARI FARM";
    display: block;
    margin-bottom: 18px;
    color: #64883F;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

#member-dialog[data-logged-in="true"] h2 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.5;
}

#member-dialog[data-logged-in="true"] .member-intro {
    margin-bottom: 24px;
    font-size: 13px;
}

/* 이름과 인사말 카드 */
.member-account {
    padding: 24px 20px;
    border: 1px solid #DFE7D5;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
}

.member-account p {
    margin: 0;
    color: #344D20;
    font-size: 19px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* 로그아웃 버튼은 차분하게 */
.member-account .member-submit {
    width: auto;
    min-width: 120px;
    margin-top: 20px;
    padding: 10px 20px;
    border: 1px solid #D7DFCD;
    border-radius: 999px;
    background: #F5F3ED;
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.member-account .member-submit:hover {
    background: #E8EEDE;
}
#member-dialog #member-message:empty {
    display: none;
}
/* 로그인 완료 창과 흰색 카드 넓이 */
#member-dialog[data-logged-in="true"] {
    width: min(560px, calc(100% - 24px));
    padding: 36px 20px 28px;
}

#member-dialog[data-logged-in="true"] h2 {
    font-size: 22px;
    line-height: 1.5;
    word-break: keep-all;
}

#member-dialog .member-account {
    width: 100%;
    padding: 28px 14px;
    box-sizing: border-box;
}

#member-dialog .member-account p {
    font-size: 20px;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

#member-dialog .member-account .member-login-notice {
    margin-top: 12px;
    color: #777;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 480px) {
    #member-dialog[data-logged-in="true"] {
        padding: 32px 16px 24px;
    }

    #member-dialog[data-logged-in="true"] h2 {
        font-size: 20px;
    }
}/* 로그인 완료 상태에서만 ✕ 숨기기 */
#member-dialog[data-logged-in="true"] .member-close {
    display: none;
}

/* 확인 버튼은 로그인 완료 상태에서만 표시 */
#member-dialog .member-confirm {
    display: none;
}

#member-dialog[data-logged-in="true"] .member-confirm {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 13px 16px;
    border: none;
    border-radius: 12px;
    background: #CDE3AC;
    color: #344D20;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

#member-dialog .member-confirm:hover {
    background: #BDD795;
}
/* ==================================
   나리농장 회원가입 약관 동의 - 최종
================================== */

#member-signup-form .member-agreement {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}

#member-signup-form .member-agreement h3 {
    margin: 0;
    font-size: 17px;
}

/* 체크박스와 글자 */
#member-signup-form .member-agreement .agreement-item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    width: auto;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    min-width: 0;
    cursor: pointer;
}

#member-signup-form .member-agreement input[type="checkbox"] {
    appearance: auto;
    display: block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    padding: 0;
    flex: 0 0 18px;
    accent-color: #7EBA27;
}

#member-signup-form .member-agreement .agreement-item span,
#member-signup-form .member-agreement .agreement-item strong {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 12px;
}

/* 동의 문구와 보기 버튼을 한 줄로 */
#member-signup-form .member-agreement .agreement-inline-row,
#member-signup-form .member-agreement .agreement-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

/* 보기 버튼 */
#member-signup-form .member-agreement .agreement-inline-view,
#member-signup-form .member-agreement .agreement-view {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    position: static;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #888;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    cursor: pointer;
}

#member-signup-form .member-agreement .agreement-inline-view:hover,
#member-signup-form .member-agreement .agreement-view:hover {
    color: #7EBA27;
}

/* 이용약관 및 개인정보 안내 팝업 */
#terms-dialog,
#privacy-dialog {
    width: calc(100% - 40px);
    max-width: 480px;
    max-height: 80vh;
    margin: auto;
    padding: 28px;
    border: 1px solid #e4e8dc;
    border-radius: 18px;
    background: #fffdf8;
    color: #26351e;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
    overflow-y: auto;
}

#terms-dialog::backdrop,
#privacy-dialog::backdrop {
    background: rgba(0, 0, 0, 0.45);
}

#terms-dialog h2,
#privacy-dialog h2 {
    margin: 0 0 22px;
    font-size: 21px;
    line-height: 1.4;
}

#terms-dialog h3,
#privacy-dialog h3 {
    margin: 20px 0 8px;
    font-size: 15px;
}

#terms-dialog p,
#privacy-dialog p {
    font-size: 13px;
    line-height: 1.9;
    color: #555;
}

#terms-dialog button,
#privacy-dialog button {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 13px;
    border: 0;
    border-radius: 10px;
    background: #7EBA27;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* 첫 만남 혜택 클릭 버튼 */
button.top-benefit {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: inherit;
    cursor: pointer;
}

button.top-benefit:focus-visible {
    outline: 2px solid #7EBA27;
    outline-offset: 3px;
}

/* 회원가입 완료 - 카카오톡 오픈채팅 안내 */
.signup-kakao-box {
    margin-top: 22px;
    padding: 22px 18px;
    background: #f5f3ed;
    border-radius: 14px;
    text-align: center;
}

.signup-kakao-box strong {
    display: block;
    font-size: 17px;
    color: #222;
    margin-bottom: 10px;
}

.signup-kakao-box p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 18px;
}

.signup-kakao-button {
    display: block;
    padding: 14px 12px;
    background: #fee500;
    color: #191919;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.signup-kakao-button:hover {
    background: #f5dc00;
}

.signup-complete-close {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    border: none;
    background: transparent;
    color: #777;
    font-size: 13px;
    cursor: pointer;
}


/* =========================
   모바일 메인 배너
========================= */
@media (max-width: 768px) {
    .hero {
        width: 100%;
        aspect-ratio: 1920 / 700;
        overflow: hidden;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
}


/* =========================
   모바일 배너 잘림 수정
========================= */

@media (max-width: 768px) {

    .hero {
        width: 100%;
        min-height: 0;
        height: auto;
        aspect-ratio: 1920 / 700;
        overflow: hidden;
    }

    .hero-slide {
        width: 100%;
        height: 100%;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }
}

/* 모바일 메인 배너 최종 배치 */
@media (max-width: 768px) {

    .hero {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        overflow: hidden;
        background: #f5f3ed;
        display: flex;
        flex-direction: column;
    }

    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1920 / 700;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: calc(100vw * 700 / 1920);
        padding: 28px 20px 36px;
        box-sizing: border-box;
        color: #222;
    }

    .hero-small {
        color: #7EBA27;
    }

    .hero h1 {
        color: #222;
        font-size: 32px;
        line-height: 1.3;
        letter-spacing: -1px;
    }

    .hero-content > p:not(.hero-small) {
        color: #555;
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-button {
        width: auto;
        min-width: 140px;
    }

    .hero-button-outline {
        color: #222;
        border-color: #777;
    }
}

/* =========================
   모바일 헤더 + 메인 배너 정렬
========================= */
@media (max-width: 768px) {

    /* 헤더를 일반 흐름으로 배치 */
    header.header-light {
        position: relative;
        top: auto;
        z-index: 100;
    }

    /* 메인 배너 */
    .hero {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        overflow: hidden;
        background: #F5F3ED;
    }

    /* 사진 7장이 같은 위치에서 전환 */
    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 1920 / 700;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    /* 사진 아래 글자와 버튼 */
    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: calc(100vw * 700 / 1920 + 24px) 20px 32px;
        box-sizing: border-box;
        color: #222;
    }

    .hero-small {
        font-size: 11px;
        color: #7EBA27;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
        letter-spacing: -1px;
        color: #222;
    }

    .hero-content > p:not(.hero-small) {
        font-size: 14px;
        line-height: 1.7;
        color: #555;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-button {
        width: auto;
        min-width: 140px;
    }

    .hero-button-outline {
        color: #222;
        border-color: #777;
    }
}

/* 작은 모바일 화면의 기존 위치 설정 덮어쓰기 */
@media (max-width: 480px) {
    .hero-content {
        left: auto;
        right: auto;
        top: auto;
        transform: none;
    }
}

/* =========================
   PC 상단 첫 만남 혜택바
========================= */
@media (min-width: 769px) {

    .top-bar {
        padding: 0;
    }

    .top-bar-inner {
        min-height: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .top-benefit {
        display: flex;
        align-items: center;
        gap: 12px;
        white-space: nowrap;
    }

    .top-benefit strong,
    .top-benefit span {
        display: inline;
        margin: 0;
        line-height: 1.3;
    }

    .top-login-button {
        flex-shrink: 0;
    }
}

/* PC 상단 첫 만남 혜택 문구 중앙 정렬 */
@media (min-width: 769px) {

    .top-bar-inner {
        position: relative;
    }

    .top-benefit {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        white-space: nowrap;
    }

    .top-login-button {
        margin-left: auto;
    }
}

/* 카카오톡 플로팅 이미지 버튼 */
.floating-kakao {
    position: fixed;
    right: 24px;
    bottom: 28px;
    width: 64px;
    height: 64px;
    padding: 0;
    border: none;
    border-radius: 18px;
    background: transparent;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-kakao-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-kakao-text {
    display: none;
}

/* 모바일 */
@media (max-width: 768px) {
    .floating-kakao {
        right: 16px;
        bottom: 85px;
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }
}

/* 카카오톡 버튼에 마우스를 올리면 안내 문구 표시 */
.floating-kakao {
    overflow: visible;
}

.kakao-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(5px);

    padding: 10px 14px;
    background: #222;
    color: #fff;

    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 8px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 마우스 올렸을 때 */
.floating-kakao:hover .kakao-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* 키보드로 선택했을 때도 표시 */
.floating-kakao:focus-visible .kakao-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}
/* 상단바 쿠폰 보관함 버튼 위치 */
.top-bar-inner #open-coupon-wallet {
    margin-left: auto;
    margin-right: 12px;
    flex-shrink: 0;
}
/* 상단바 오른쪽 버튼 정렬 */
.top-bar-inner #open-coupon-wallet {
    margin-left: auto;
    margin-right: 10px;
    flex-shrink: 0;
}

.top-bar-inner #open-login {
    margin-left: 0;
    margin-right: 0;
    flex-shrink: 0;
}
/* =========================
   나리농장 쿠폰 보관함
========================= */

.coupon-wallet-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.coupon-wallet-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 35px 28px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.coupon-wallet-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    color: #777;
    cursor: pointer;
}

.coupon-wallet-box h2 {
    font-size: 24px;
    color: #222;
    margin-bottom: 8px;
}

.coupon-wallet-box > p {
    font-size: 13px;
    color: #888;
    margin-bottom: 25px;
}

.coupon-wallet-item {
    display: flex;
    flex-direction: column;
}
/* 상단 회원 메뉴 오른쪽 정렬 */
.top-bar .top-login-button {
    flex-shrink: 0;
    white-space: nowrap;
}

/* 쿠폰, 회원 이름, 로그아웃 간격 */
.top-bar #open-coupon-wallet,
.top-bar #open-login,
.top-bar #member-logout {
    margin: 0;
}
/* 상단 안내 바 정렬 */
.top-bar .top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 첫 구매 혜택 문구 */
.top-bar .top-benefit {
    position: static;
    transform: none;
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: left;
}

/* 오른쪽 회원 메뉴 */
.top-bar .top-member-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-left: auto;
    flex-shrink: 0;
}

/* 회원 메뉴 버튼 */
.top-bar .top-member-menu .top-login-button {
    position: static;
    transform: none;
    margin: 0;
    white-space: nowrap;
}

/* 모바일 화면 */
@media (max-width: 768px) {
    .top-bar .top-bar-inner {
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .top-bar .top-benefit {
        flex-wrap: wrap;
        font-size: 11px;
    }

    .top-bar .top-member-menu {
        width: 100%;
        justify-content: flex-end;
        gap: 12px;
    }
}
/* 상단바 회원가입/로그인 오른쪽 정렬 */
.top-bar .top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.top-bar .top-member-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-left: auto;
    flex-shrink: 0;
}

.top-bar .top-member-menu .top-login-button {
    position: static;
    transform: none;
    margin: 0;
    white-space: nowrap;
}

/* 모바일에서도 오른쪽 정렬 */
@media (max-width: 768px) {
    .top-bar .top-member-menu {
        margin-left: auto;
        justify-content: flex-end;
    }
}
/* 상단바: 혜택은 가운데 유지, 회원 메뉴만 오른쪽 */
@media (min-width: 769px) {
    .top-bar .top-bar-inner {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 100% !important;
        min-height: 42px;
    }

    .top-bar .top-benefit {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: auto !important;
        flex: none !important;
        margin: 0 !important;
        order: 0 !important;
        white-space: nowrap;
        text-align: center !important;
    }

    .top-bar .top-member-menu {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 18px;
        margin-left: auto !important;
        order: 0 !important;
    }

    .top-bar .top-member-menu .top-login-button {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        white-space: nowrap;
    }
}

/* 2026-10: 전체상품 상단 안내바 가독성 개선 */
body:has(.products-page) .top-bar {
    min-height: 54px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
body:has(.products-page) .top-bar .top-kakao-link {
    font-size: 14px;
    line-height: 1.6;
}

/* 2026-10: 오늘의 특가 영역 넓이와 여백 */
#sale.section {
    max-width: 1320px;
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
}
#sale .sale-product {
    margin-top: 34px;
    margin-bottom: 0;
    padding: 24px;
    gap: 44px;
}
@media (max-width: 768px) {
    body:has(.products-page) .top-bar { min-height: 52px; padding: 12px 14px; }
    #sale.section { width: calc(100% - 28px); padding-top: 52px; }
    #sale .sale-product { padding: 0; gap: 16px; margin-top: 22px; }
}

/* Original prices from Naver SmartStore */
.nari-original-price{display:block;color:#999;font-size:14px;text-decoration:line-through;margin:6px 0 2px;font-weight:400}

/* Product availability overlay from admin */
.shop-product-image,.product-image{position:relative}
.nari-stock-badge{position:absolute;top:12px;left:12px;z-index:4;background:#333;color:#fff;padding:7px 13px;border-radius:7px;font-size:13px;font-weight:700;pointer-events:none}
.nari-sold-out .shop-product-image img,.nari-sold-out .product-image img{filter:grayscale(.55);opacity:.7}
.nari-sold-out .shop-buy-button,.nari-sold-out .naver-buy-button{background:#999!important;color:#fff!important;cursor:not-allowed}

/* 홈페이지 첫 구매 안내: 가운데 정렬 */
.top-bar .top-bar-inner { position: relative; }
.top-bar .top-benefit { position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; margin: 0 !important; width: max-content; max-width: calc(100% - 190px); text-align: center; justify-content: center; }
.top-bar .top-benefit span { text-align: center; }
@media (max-width: 600px) { .top-bar .top-benefit { max-width: calc(100% - 130px); white-space: normal; font-size: 11px; line-height: 1.35; } }
