@charset "UTF-8";

/* =========================================================
   COOLPAWS Shop Common CSS
   - 공통 초기화 / 헤더 / 메인 / 상품 / 푸터 / QNA / 팝업 정리본
   - 기존 기능 유지 + 중복/중첩 @media 정리
========================================================= */

/* ===============================
   01. Base
================================ */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
    background: #f5f5f5;
    color: #222;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

#wrap {
    width: 100%;
    overflow-x: hidden;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* ===============================
   02. Common Components
================================ */
.shop-logo {
    font-size: 22px;
    font-weight: 700;
}

.shop-nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.card-box {
    padding: 18px;
    background: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 10px;
}

.primary-button,
.line-button,
.payment-tab,
.thumb-button {
    border-radius: 8px;
    cursor: pointer;
}

.primary-button {
    width: 100%;
    padding: 16px;
    border: 0;
    background: #1536b8;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.line-button {
    padding: 0 14px;
    background: #fff;
    border: 1px solid #8c8b8b;
}

.shop-input,
.shop-select {
    width: 100%;
    height: 34px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.two-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-width {
    grid-column: 1 / -1;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.address-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 240px;
    background: #f0f0f0;
    color: #888;
}

.image-fallback.small {
    min-height: 96px;
}

.empty-message {
    margin: 0;
    color: #666;
}

.guide-section-content {
    white-space: pre-wrap;
    line-height: 1.7;
    color: #333;
}

.guide-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
}

.guide-section-images {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.guide-section-images img {
    max-width: 100%;
}

/* ===============================
   03. Header
================================ */
.top-banner {
    padding: 8px 12px;
    background: #f3f3f3;
    color: #111;
    font-size: 14px;
    text-align: center;
}

.shop-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 24px;
}

.desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gnb-left {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 30px;
}

.menu-link {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.menu-link span {
    display: inline-block;
    margin-top: 2px;
    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.menu-link.active {
    color: #9f7b3b;
}

.logo-box {
    flex: 0 0 auto;
    text-align: center;
}

.logo-img {
    width: 80px;
    margin: 0 auto;
}

.header-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 18px;
}

.pc-icons,
.mobile-left,
.mobile-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

.pc-mypage,
.pc-cart {
    width: 43px;
}

.pc-mypage-txt,
.pc-cart-txt {
    color: #111;
    font-size: 10px;
    font-weight: 400;
    text-align: center;
}

.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 20px;
    background: #5d738a;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.mobile-header,
.mobile-menu-panel {
    display: none !important;
}

.mobile-logo {
    width: 64px;
}

.mobile-mypage,
.mobile-cart {
    width: 35px;
    display: flex;
    align-items: center;
}

.mobile-icon {
    display: block;
    text-align: center;
}

.mobile-mypage-txt,
.mobile-cart-txt {
    color: #111;
    font-size: 8px;
    font-weight: 400;
    text-align: center;
}

.mobile-menu-btn {
    border: 0;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
}

/* ===============================
   04. Main Visual
================================ */
.main-visual {
    background: #fff;
}

.main-visual-inner {
    position: relative;
    width: 100%;
}

.main-visual-img {
    width: 100%;
    height: auto;
    margin: 0;
}

.visual-overlay {
    position: absolute;
    z-index: 2;
}

.desktop-overlay {
    top: 12%;
    left: 27%;
    transform: translateX(-10%);
    text-align: center;
}

.desktop-overlay h2 {
    margin: 0 0 2px;
    color: #111;
    font-size: 40px;
    font-weight: 800;
}

.desktop-overlay p {
    margin: 0 0 12px;
    color: #333;
    font-size: 16px;
    font-weight: 800;
}

.shop-now-btn {
    display: inline-block;
    min-width: 80px;
    padding: 4px 12px;
    border: 1px solid #777;
    border-radius: 20px;
    background: #f0f0f0;
    color: #222;
    font-size: 12px;
    font-weight: 700;
}

.mobile-overlay h2 {
    margin: 0 0 18px;
    color: #111;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.main-title {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.title-sub {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.title-main {
    color: #111;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

/* ===============================
   05. Product List
================================ */
.product-section {
    padding: 40px 0 20px;
    background: #f5f5f5;
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 120px;
}

.desktop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}

.product-card {
    background: transparent;
}

.product-thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 6px solid #e7d8c9;
    border-radius: 26px;
}

.product-card:nth-child(1) .product-thumb-wrap { border-color: #d3e7f3; }
.product-card:nth-child(2) .product-thumb-wrap { border-color: #d8ead7; }
.product-card:nth-child(3) .product-thumb-wrap { border-color: #ebdeaa; }
.product-card:nth-child(4) .product-thumb-wrap { border-color: #e8d1d1; }

.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-block;
    padding: 7px 14px;
    border-radius: 14px;
    background: #d9eaf6;
    color: #203040;
    font-size: 16px;
    font-weight: 700;
}

.badge.best,
.text-badge.best {
    background: #ecd998;
}

.badge.best {
    color: #4d3a00;
}

.badge.new,
.text-badge.new {
    background: #d3e8f6;
}

.badge.new {
    color: #203040;
}

.product-info {
    padding: 16px 8px 0;
    text-align: center;
}

.product-name {
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 700;
}

.product-price {
    font-size: 14px;
    font-weight: 500;
}

.product-list-mobile {
    display: none;
}

.product-card-mobile {
    margin-bottom: 14px;
    padding: 12px;
    background: #f7f7f7;
    border: 1px solid #d8d8d8;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-card-mobile-inner {
    display: flex;
    gap: 14px;
}

.mobile-thumb-wrap {
    position: relative;
    overflow: hidden;
    width: 130px;
    min-width: 130px;
    height: 130px;
    background: #fff;
    border: 4px solid #cfe4f2;
    border-radius: 12px;
}

.mobile-product-info {
    flex: 1;
    padding-top: 6px;
}

.text-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 10px;
    background: #d3e8f6;
    font-size: 12px;
    font-weight: 700;
}

.mobile-product-name {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.mobile-product-price {
    text-align: left;
}

.quick-view-area {
    margin-top: 12px;
}

.quick-view-btn {
    display: block;
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #777;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.quick-view-inline {
    color: #666;
    font-size: 9px;
    font-weight: 500;
    text-decoration: underline;
}

.hero-shop-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.hero-shop-btn img {
    width: 60px;
    height: auto;
}

/* ===============================
   06. Footer
================================ */
.shop-footer {
    padding: 8px 0 10px;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    color: #333;
    font-size: 15px;
    text-align: center;
}

.footer-inner span,
.footer-inner a {
    margin: 0 6px;
}

.coolpaws-footer {
    margin-top: 80px;
}

.coolpaws-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.coolpaws-footer__links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.coolpaws-footer__links a {
    font-size: 12px;
    font-weight: 600;
}

.coolpaws-footer__links .is-strong,
.coolpaws-footer__cs .label,
.coolpaws-footer__toggle {
    color: #9f7b3b;
}

.coolpaws-footer__main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: #666;
    font-size: 12px;
}

.coolpaws-footer__brand {
    order: 2;
    text-align: right;
}

.coolpaws-footer__brand h4 {
    margin-bottom: 10px;
    font-size: 20px;
}

.coolpaws-footer__brand .desc {
    margin-bottom: 1px;
    color: #666;
    font-size: 13px;
}

.coolpaws-footer__brand .info li {
    margin-bottom: 4px;
    font-size: 13px;
}

.coolpaws-footer__cs {
    order: 1;
    text-align: left;
}

.coolpaws-footer__cs .label {
    font-size: 12px;
    font-weight: 700;
}

.coolpaws-footer__cs .tel {
    margin: 8px 0;
    font-size: 22px;
    font-weight: 800;
}

.coolpaws-footer__bottom {
    padding: 16px 0;
    font-size: 12px;
    text-align: center;
}

.coolpaws-footer__info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.coolpaws-footer__toggle {
    display: block;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 700;
    cursor: default;
}

.coolpaws-footer__arrow {
    display: none;
}

.coolpaws-footer__cs-body {
    display: block;
    color: #666;
    font-size: 12px;
}

.coolpaws-footer__cs-body p {
    margin: 0 0 4px;
}

/* ===============================
   07. QNA
================================ */
.qna-page,
.qna-page * {
    font-size: 12px;
}

.qna-page {
    padding: 40px 0;
    color: #333;
}

.qna-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.qna-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
}

.qna-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.qna-title-wrap h2,
.qna-box h2 {
    margin: 0 0 10px;
    color: #222;
    font-size: 22px;
}

.qna-page-desc,
.qna-login-box p,
.qna-password-box p {
    margin: 8px 0 0;
    color: #666;
    line-height: 1.6;
}

.qna-actions,
.qna-button-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qna-login-user {
    color: #666;
}

.qna-btn,
.qna-write-btn,
.qna-submit-btn,
.qna-full-link-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    line-height: 1;
}

.qna-btn2,
.qna-btn3 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 24px;
    line-height: 1;
    font-size: 12px;
}

.qna-btn2 { width: 70px; }
.qna-btn3 { width: 90px; }

.qna-write-btn {
    width: auto;
    padding: 0 18px;
}

.qna-submit-btn {
    width: auto;
    min-width: 160px;
}

.qna-full-link-btn {
    width: 100%;
    margin-top: 10px;
}

.qna-alert {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    line-height: 1.5;
}

.qna-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.qna-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.qna-guide-box {
    margin-bottom: 16px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #555;
}

.qna-search {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.qna-search input,
.qna-field input,
.qna-password-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-family: inherit;
}

.qna-search input {
    flex: 1;
}

.qna-field {
    margin-bottom: 14px;
}

.qna-field label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-weight: 700;
}

.qna-field textarea {
    width: 100%;
    min-height: 180px;
    padding: 12px;
    resize: vertical;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-family: inherit;
}

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

.qna-table {
    width: 100%;
    background: #fff;
    border-top: 2px solid #222;
    border-collapse: collapse;
}

.qna-table th,
.qna-table td {
    padding: 13px 10px;
    border-bottom: 1px solid #eee;
    color: #444;
    text-align: center;
}

.qna-table th {
    background: #fafafa;
    color: #333;
    font-weight: 700;
}

.qna-table .subject {
    text-align: left;
}

.qna-col-no { width: 80px; }
.qna-col-status { width: 120px; }
.qna-col-writer { width: 130px; }
.qna-col-date { width: 150px; }

.qna-subject-link {
    display: block;
    min-width: 0;
}

.qna-subject-line {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    vertical-align: middle;
}

.qna-title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qna-lock-icon {
    flex: 0 0 auto;
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M17 9h-1V7a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2Zm-7-2a2 2 0 1 1 4 0v2h-4V7Zm7 13H7v-9h10v9Z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
}

.qna-mobile-meta {
    display: none;
}

.qna-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 700;
    line-height: 1;
}

.qna-status.done {
    background: #ecfdf5;
    color: #047857;
}

.qna-empty {
    padding: 40px;
    background: #fff;
    color: #777;
    text-align: center;
}

.qna-page-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

.qna-page-nav a,
.qna-page-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.qna-page-nav .active {
    background: #222;
    border-color: #222;
    color: #fff;
}

.qna-detail-box {
    max-width: 860px;
}

.qna-head {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.qna-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #666;
}

.qna-content {
    min-height: 180px;
    color: #333;
    line-height: 1.8;
    white-space: pre-wrap;
}

.reply-box {
    margin: 24px 0;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.reply-box h3 {
    margin: 0 0 12px;
    color: #222;
    font-size: 16px;
}

.reply-item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #ddd;
}

.reply-item:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.reply-meta {
    margin-bottom: 8px;
    color: #666;
}

.reply-content {
    color: #333;
    line-height: 1.8;
    white-space: pre-wrap;
}

.qna-empty-reply {
    margin: 0;
    color: #777;
}

.qna-login-box,
.qna-password-box {
    max-width: 420px;
}

.qna-password-box form > .qna-password-input {
    margin-bottom: 12px;
}

.guest-password-col {
    min-width: 0;
}

.guest-password-label-inline {
    margin-bottom: 12px;
    color: #222;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
}

#cust_btn {
    display: none;
}

/* ===============================
   08. Main Notice Layer
================================ */
.main-notice-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.main-notice-layer.is-open {
    display: block;
}

.main-notice-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.main-notice-box {
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    width: min(420px, calc(70% - 40px));
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}

.main-notice-img {
    display: block;
    width: 100%;
}

.main-notice-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.main-notice-bottom {
    display: flex;
    background: #fff;
    border-top: 1px solid #eee;
}

.main-notice-bottom button {
    flex: 1;
    height: 46px;
    background: #fff;
    border: 0;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.main-notice-bottom button + button {
    border-left: 1px solid #eee;
}

/* ===============================
   09. Floating Video
================================ */
.main-video-floating {
    position: fixed;
    top: 92px;
    right: 28px;
    z-index: 100;
    width: 360px;
}

.main-video-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.22);
}

.main-video-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.main-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
}

.main-floating-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 66px;
    height: 66px;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.92);
    border: 0;
    border-radius: 50%;
    color: #111;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

.main-video-card.is-playing .main-video-play {
    display: none;
}

.main-video-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
}

.main-video-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.main-video-text strong {
    color: #111;
    font-size: 13px;
}

.main-video-text span {
    overflow: hidden;
    color: #666;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-video-youtube-btn {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 5px;
    height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    background: #ff0000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.youtube-icon {
    font-size: 11px;
}

.main-video-action {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px 16px;
}

.main-video-hide-btn,
.main-video-close-btn2 {
    flex: 1;
    height: 42px;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.main-video-hide-btn {
    background: #111;
    color: #fff;
}

.main-video-close-btn2 {
    background: #f1f1f1;
    color: #333;
}

/* ===============================
   10. Popup Banner
================================ */
.shop-popup-banner-layer {
    position: fixed;
    overflow: hidden;
    max-width: calc(100vw - 24px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 45px rgba(0,0,0,0.22);
}

.shop-popup-banner-body img {
    display: block;
    width: 100%;
    height: auto;
}

.shop-popup-banner-content {
    padding: 16px;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.shop-popup-banner-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.shop-popup-banner-footer button {
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
}

.shop-popup-close-today {
    background: #f1f1f1;
    color: #444;
}

.shop-popup-close {
    background: #222;
    color: #fff;
}

/* ===============================
   11. Responsive
================================ */
@media (max-width: 768px) {
    .desktop-only,
    .desktop-header,
    .desktop-grid {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .shop-header-inner,
    .shop-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-header {
        position: relative;
        z-index: 1001;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        height: 58px;
        padding: 4px 14px;
        background: #fff;
    }

    .mobile-left {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        width: 52px;
        gap: 0;
        text-align: left;
    }

    .mobile-center {
        position: absolute;
        top: 50%;
        left: 50%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transform: translate(-50%, -50%);
    }

    .mobile-logo {
        width: 64px;
        height: auto;
    }

    .mobile-icons {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        width: 52px;
        margin-left: auto;
        gap: 0;
        text-align: center;
    }

    .mobile-mypage {
        width: 32px;
        height: auto;
        margin: 0 auto;
    }

    .mobile-mypage-txt {
        font-size: 8px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .mobile-menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #111;
        font-size: 25px;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-menu-panel {
        position: absolute;
        top: 58px;
        left: 14px;
        z-index: 9999;
        display: none !important;
        overflow: hidden;
        width: 32vw;
        min-width: 145px;
        max-width: 190px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid #ececec;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.06);
    }

    .mobile-menu-panel.is-open {
        display: block !important;
        animation: coolpawsMobileMenuFade .18s ease;
    }

    .mobile-menu-panel a {
        display: block;
        padding: 13px 14px;
        background: #fff;
        border-bottom: 1px solid #f3f3f3;
        color: #222;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.3;
        text-align: left;
    }

    .mobile-menu-panel a:last-child {
        border-bottom: 0;
    }

    .mobile-menu-panel a:active {
        background: #f8fafc;
    }

    .mobile-menu-panel a span {
        display: block;
        margin-top: 2px;
        color: #7b8794;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .main-visual-inner.mobile-only {
        position: relative;
    }

    .main-visual-inner.mobile-only .visual-overlay.mobile-overlay {
        position: absolute;
        top: 4%;
        right: 5%;
        left: 5%;
        z-index: 2;
        padding: 0;
        background: none;
        text-align: center;
    }

    .main-visual-inner.mobile-only .main-visual-img {
        display: block;
        width: 100%;
    }

    .mobile-overlay h2 {
        margin: 0 0 2px;
        color: #111;
        font-size: 26px;
        font-weight: 700;
        line-height: 1.25;
        word-break: keep-all;
    }

    .product-section {
        padding: 18px 0 10px;
    }

    .section-inner {
        padding: 0 12px;
    }

    .product-list-mobile {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-mobile {
        margin-bottom: 0;
        padding: 8px;
        border-radius: 14px;
    }

    .product-card-mobile-inner {
        display: block;
    }

    .mobile-thumb-wrap {
        width: 100%;
        min-width: auto;
        height: auto;
        aspect-ratio: 1 / 1;
        margin-bottom: 8px;
    }

    .mobile-product-info {
        padding: 0;
    }

    .mobile-product-name {
        margin-bottom: 4px;
        font-size: 12px;
        line-height: 1.3;
    }

    .mobile-product-price {
        color: #111;
        font-size: 10px;
        font-weight: 600;
        text-align: left;
    }

    .quick-view-area {
        display: none;
    }

    .two-column-grid,
    .qna-grid,
    .password-inline-grid {
        grid-template-columns: 1fr;
    }

    .card-box {
        padding: 18px;
    }

    .footer-inner {
        font-size: 12px;
        line-height: 1.8;
    }

    .coolpaws-footer__main {
        flex-direction: column;
        gap: 20px;
    }

    .coolpaws-footer__brand {
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .coolpaws-footer__brand div {
        text-align: center;
    }

    .coolpaws-footer__cs {
        width: 100%;
        border-bottom: 1px solid #878787;
        text-align: left;
    }

    .coolpaws-footer__links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .coolpaws-footer__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 44px;
        color: #333;
        font-size: 12px;
        cursor: pointer;
    }

    .coolpaws-footer__arrow {
        display: inline-block;
        color: #666;
        font-size: 12px;
        line-height: 1;
    }

    .coolpaws-footer__cs-body {
        display: none;
        padding: 0 0 14px;
    }

    .coolpaws-footer__cs.is-open .coolpaws-footer__cs-body {
        display: block;
    }

    .coolpaws-footer__cs.is-open .coolpaws-footer__arrow {
        transform: rotate(180deg);
    }

    .qna-page {
        padding: 26px 0;
    }

    .qna-container {
        padding: 0 12px;
    }

    .qna-title-wrap {
        display: block;
    }

    .qna-title-wrap h2,
    .qna-box h2 {
        font-size: 20px;
    }

    .qna-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 12px;
    }

    .qna-box {
        padding: 20px;
        border-radius: 12px;
    }

    .qna-grid {
        gap: 0;
    }

    .qna-search {
        gap: 6px;
    }

    .qna-table,
    .qna-table thead,
    .qna-table tbody,
    .qna-table tr,
    .qna-table td {
        display: block;
        width: 100%;
    }

    .qna-table {
        border-top: 1px solid #222;
    }

    .qna-table thead,
    .qna-table .qna-col-no,
    .qna-table .qna-col-status,
    .qna-table .qna-col-writer,
    .qna-table .qna-col-date {
        display: none;
    }

    .qna-row {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .qna-table td {
        padding: 0;
        border-bottom: 0;
        text-align: left;
    }

    .qna-table .subject {
        display: block;
        padding: 0;
    }

    .qna-subject-line {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        line-height: 1.4;
    }

    .qna-title-text {
        display: block;
        flex: 1;
        min-width: 0;
    }

    .qna-lock-icon {
        width: 11px;
        height: 11px;
        background-size: 11px 11px;
    }

    .qna-mobile-meta {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-top: 6px;
        color: #777;
        line-height: 1.4;
    }

    .qna-mobile-meta > span:not(:last-child)::after {
        content: "";
        display: inline-block;
        width: 1px;
        height: 10px;
        margin-left: 7px;
        background: #ddd;
        vertical-align: -1px;
    }

    .qna-mobile-meta .qna-status {
        min-width: auto;
        height: 20px;
        padding: 0 7px;
    }

    .qna-empty {
        padding: 32px 12px !important;
    }

    .qna-button-row {
        flex-wrap: wrap;
        margin-top: 18px;
    }

    #cust_btn {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-top: 10px;
    }

    #cust_btn a {
        flex: 1;
        padding: 8px 0;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 6px;
        color: #333;
        font-size: 12px;
        text-align: center;
    }

    #cust_btn a:active {
        background: #f5f5f5;
    }

    .guest-password-label-inline {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .main-notice-box {
        width: calc(60% - 32px);
        max-width: 390px;
        border-radius: 18px;
    }

    .main-notice-close {
        width: 30px;
        height: 30px;
        font-size: 22px;
    }

    .main-notice-bottom button {
        height: 44px;
        font-size: 12px;
    }

    .main-video-floating {
        top: auto;
        right: 12px;
        bottom: 78px;
        left: 12px;
        z-index: 100;
        width: auto;
    }

    .main-video-card {
        border-radius: 16px;
    }

    .main-video-play {
        width: 54px;
        height: 54px;
        font-size: 23px;
    }

    .main-video-bottom {
        padding: 10px 12px;
    }

    .main-video-text strong {
        font-size: 12px;
    }

    .main-video-text span {
        font-size: 10px;
    }

    .main-video-youtube-btn {
        height: 30px;
        padding: 0 10px;
        font-size: 11px;
    }
}

@media (max-width: 640px) {
     .shop-popup-banner-layer {
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        width: calc(100vw - 24px) !important;
        max-width: 320px !important;
        transform: translate(-50%, -50%) !important;
    }

    .shop-popup-banner-body img {
        width: 100%;
        height: auto;
    }
}

@keyframes coolpawsMobileMenuFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




@media (max-width: 768px) {

    .mobile-header {
        display: grid !important;
        grid-template-columns: 38px 1fr 108px;
        align-items: center;
        height: 58px;
        padding: 4px 8px;
        column-gap: 4px;
    }

    .mobile-left {
        width: 38px;
        min-width: 38px;
    }

    .mobile-center {
        position: static !important;
        transform: none !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 0;
    }

    .mobile-logo {
        width: 58px;
        height: auto;
    }

    .mobile-icons {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        width: 108px;
        min-width: 108px;
        margin-left: 0;
        gap: 4px;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .mobile-icons a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 32px;
        min-width: 32px;
        text-align: center;
    }

    .mobile-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 22px;
    }

    .mobile-sns-img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .mobile-mypage {
        width: 22px;
        height: 22px;
        object-fit: contain;
        margin: 0 auto;
    }

    .mobile-mypage-txt {
        margin-top: 1px;
        font-size: 7px;
        line-height: 1;
        white-space: nowrap;
    }
}

/* =========================================================
   COOLPAWS MOBILE HEADER FIX
   ========================================================= */
@media (max-width: 768px) {
    .mobile-header{
        position:relative !important;
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
    }

    .mobile-left{
        width:110px !important;
        min-width:110px !important;
        justify-content:flex-start !important;
    }

    .mobile-center{
        position:absolute !important;
        left:50% !important;
        top:50% !important;
        transform:translate(-50%, -50%) !important;
        width:auto !important;
        z-index:2;
    }

    .mobile-logo{
        width:58px !important;
        height:auto !important;
    }

    .mobile-icons{
        width:110px !important;
        min-width:110px !important;
        justify-content:flex-end !important;
        gap:4px !important;
        z-index:3;
    }
}


/* =========================================================
   COOLPAWS PC HEADER UI FIX
   - PC에서 BI를 중앙 고정
   - BI 오른쪽에 인스타/유튜브 표시
   - 계약조회는 우측 정렬
   ========================================================= */
@media (min-width: 769px) {

    .shop-header {
        background: #fff;
        border-bottom: 1px solid #e8edf3;
        box-shadow: 0 2px 10px rgba(0,0,0,0.035);
    }

    .desktop-header {
        position: relative !important;
        min-height: 84px;
        padding: 14px 28px !important;
    }

    .gnb-left {
        flex: 1 1 0;
        padding-right: 240px;
        gap: 28px;
    }

    .menu-link {
        transition: color .16s ease, transform .16s ease;
    }

    .menu-link:hover {
        color: #0b4fa3;
        transform: translateY(-1px);
    }

    .pc-logo-box {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 18px !important;
        flex: 0 0 auto !important;
        text-align: center;
        white-space: nowrap;
        z-index: 3;
    }

    .pc-logo-box > a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-img {
        width: 84px !important;
        height: auto !important;
        margin: 0 !important;
    }

    .pc-sns-icons {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        padding-left: 2px;
    }

    .pc-sns-icons a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 42px;
        color: #0b2348;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.1;
        text-align: center;
        text-decoration: none;
        transition: transform .16s ease, opacity .16s ease;
    }

    .pc-sns-icons a:hover {
        transform: translateY(-2px);
        opacity: .86;
    }

    .pc-sns-icons img {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
        margin-bottom: 3px;
    }

    .header-icons {
        flex: 1 1 0;
        min-width: 120px;
        justify-content: flex-end !important;
        gap: 14px;
        z-index: 4;
    }

    .header-icons > a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .pc-mypage {
        width: 38px !important;
        height: 38px !important;
        object-fit: contain;
        margin: 0 auto;
    }

    .pc-mypage-txt {
        margin-top: 3px;
        color: #111;
        font-size: 10px;
        line-height: 1.1;
        white-space: nowrap;
    }
}

/* PC 폭이 좁을 때 메뉴와 중앙 BI 겹침 방지 */
@media (min-width: 769px) and (max-width: 1100px) {
    .gnb-left {
        gap: 16px;
        padding-right: 220px;
    }

    .menu-link span {
        font-size: 11px;
    }

    .logo-img {
        width: 76px !important;
    }

    .pc-logo-box {
        gap: 12px !important;
    }

    .pc-sns-icons {
        gap: 8px !important;
    }

    .pc-sns-icons img {
        width: 28px !important;
        height: 28px !important;
    }
}
