
/* page-header는 mypage_common.css에서 처리 */

:root {
    --primary-orange: #FF6B35;
    --primary-purple: #8B5CF6;
    --dark-gray: #2D3748;
    --medium-gray: #718096;
    --light-gray: #E2E8F0;
    --bg-gray: #F7FAFC;
    --white: #FFFFFF;
    --success-green: #48BB78;
    --danger-red: #F56565;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}


.shop-page {
    background: #fff;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #FF6B35 !important;
}

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

.banner-section {
    width: 100%;
}

.banner-wrap {
    width: 100%;
    aspect-ratio: 3/1;
    position: relative;
}

.banner-section .banner-pagination {
    position: relative;
    bottom: auto;
    margin-top: 0;
}


.shop-page .category-item-label {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.shop-page .category-item.depth-1 .category-name {
    font-weight: 600;
    color: var(--dark-gray);
}


.shop-page .category-item.depth-2:last-of-type {
    border-bottom: 0;
}


.shop-page .category-item.depth-2 .category-name,
.shop-page .category-item.depth-3 .category-name {
    font-size: 15px;
    color: var(--medium-gray);
}

.shop-page .category-item.depth-2 {
    padding-left: 36px;
}

.shop-page .category-item.depth-3 {
    padding-left: 48px;
}

.shop-page .category-tree-marker {
    width: 18px;
    height: 28px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
    display: none;
}

.shop-page .category-tree-marker .tree-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: var(--light-gray);
    left: 8px;
    border-radius: 2px;
}

.shop-page .category-tree-marker .tree-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--light-gray);
    position: relative;
}

.shop-page .category-item.depth-2 .tree-line,
.shop-page .category-item.depth-3 .tree-line {
    background-color: rgba(59, 130, 246, 0.25);
}

.shop-page .category-item.depth-2 .tree-dot,
.shop-page .category-item.depth-3 .tree-dot {
    background-color: rgba(59, 130, 246, 0.5);
}

/* Layout */
.shop-page .main-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 30px 30px 120px;
    background:#fafafa;
}

.shop-page .content-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Sidebar */

.cate-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    user-select: none;
}

.cate-btn:hover {
    background-color: var(--bg-gray);
}

.cate-btn i {
    font-size: 20px;
    color: var(--dark-gray);
}

.cate-btn-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    white-space: nowrap;
}

.shop-page .sidebar {
    width: 100%;
    background-color: #fff;
    /* border:1px solid #ddd; */
    border-radius: 100px;
    /* box-shadow: var(--shadow-sm); */
    position: sticky;
    top: 40px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-page .sidebar-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.shop-page .sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
}

.shop-page .category-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.35s ease;
    opacity: 0;
    transform: translateY(12px);
}

.category-count {
    margin-bottom: 1px;
}

.shop-page .category-panel.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.shop-page .category-toggle-button[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.shop-page .category-toggle-button[aria-expanded="true"] .toggle-text::after {
    font-weight: 600;
    color: var(--primary-orange);
}

.shop-page .category-nav {
    display: flex;
}

.shop-page .category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--medium-gray);
    font-weight: 500;
    text-align: left;
    transition: all 0.3s ease;
    gap: 5px;
}

.shop-page .category-item:hover {
    background-color: var(--bg-gray);
}

.shop-page .category-item:first-child.active {
    color: var(--primary-orange);
}

.shop-page .category-item.active {
    /* background-color: rgba(255, 107, 53, 0.12); */
    color: #666;
    font-weight: 700;
}

.shop-page .category-item.active .category-name {
    color: var(--primary-orange)
}

/* Search & Sort */
.shop-page .search-sort-section {
    position: relative;
    padding: 10px 30px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
}

/* 메가메뉴 드롭다운 */
.shop-page .cate-all {
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    max-height: 0;
    overflow: hidden;
    z-index: 100;
    transition: max-height 0.25s ease, opacity 0.2s ease;
    opacity: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
    min-width: 260px;
}

.shop-page .cate-all.open {
    max-height: 70vh;
    opacity: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

/* 드롭다운 헤더 */
.shop-page .cate-all-header {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-gray);
    border-bottom: 2px solid var(--primary-orange);
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}

.shop-page .cate-all-header i {
    color: var(--primary-orange);
    font-size: 16px;
}

/* 1차 카테고리 패널 */
.shop-page .cate-all .category-nav.cate-all-inner {
    flex-shrink: 0;
    width: 260px;
    min-width: 260px;
    padding: 4px 0;
    overflow-y: auto;
    background: #fff;
}

/* 2차 서브메뉴 패널 */
.shop-page .cate-all-submenu {
    width: 240px;
    min-width: 240px;
    padding: 0;
    background: #fafbfc;
    border-right: 1px solid #f0f0f0;
    overflow-y: auto;
    display: none;
}

/* 3차 서브메뉴 패널 */
.shop-page .cate-all-submenu-3 {
    width: 240px;
    min-width: 240px;
    padding: 0;
    background: #f5f6f8;
    overflow-y: auto;
    display: none;
    border-radius: 0 0 16px 0;
}

/* 서브메뉴 헤더 */
.shop-page .cate-all-submenu-title {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-orange);
    border-bottom: 1px solid #eee;
    background: inherit;
    letter-spacing: -0.2px;
}

.cate-all .category-nav {
    flex-direction: column;
}

/* 카테고리 항목 공통 */
.cate-all .category-item {
    padding: 13px 20px 13px 18px;
    transition: all 0.12s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.cate-all .category-item .category-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    letter-spacing: -0.2px;
}

.cate-all .category-item .category-count {
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
}

/* 호버/활성 상태 - 쿠팡 스타일 왼쪽 오렌지 바 */
.cate-all .category-item:hover,
.cate-all .category-item.hovered {
    background-color: #fff7f4;
    border-left-color: var(--primary-orange);
}

.cate-all .category-item:hover .category-name,
.cate-all .category-item.hovered .category-name {
    color: var(--primary-orange);
    font-weight: 600;
}

.cate-all .category-item:hover .category-count,
.cate-all .category-item.hovered .category-count {
    color: var(--primary-orange);
}

/* 하위 카테고리 화살표 */
.cate-all .category-item.has-children {
    padding-right: 36px;
}

.cate-all .category-item.has-children::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    transform: translateY(-50%) rotate(-45deg);
    transition: border-color 0.12s ease;
}

.cate-all .category-item:hover.has-children::after,
.cate-all .category-item.hovered.has-children::after {
    border-color: var(--primary-orange);
}

/* 전체 카테고리 항목 특별 스타일 */
.cate-all .category-item[data-category="all"] .category-name {
    font-weight: 600;
}

/* 드롭다운 레이아웃 구조 */
.shop-page .cate-all-left {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eee;
}

.shop-page .cate-all-right {
    display: flex;
    flex-direction: row;
    flex: 1;
}

/* 서브메뉴 내부 아이템 영역 */
.shop-page .cate-all-submenu-items {
    padding: 4px 0;
}

.shop-page .cate-all-submenu-items .category-item {
    border-left: 3px solid transparent;
    width: 100%;
    box-sizing: border-box;
}

.shop-page .category-item span {
    white-space: nowrap;
}


/* 
.shop-page .search-wrapper {
    max-width: 800px;
    margin-right:10px;
    position: relative;
}

.shop-page .search-input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-size: 16px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.shop-page .search-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.shop-page .search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn svg {
    color: #000;
} */

.shop-page .sort-select {
    padding: 10px 40px 10px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    background-color: var(--white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23718096' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: all 0.3s ease;
    min-width: 140px;
}

.shop-page .sort-select:hover,
.shop-page .sort-select:focus {
    border-color: var(--primary-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

/* Main Content */
.shop-page .main-content {
    flex: 1;
    min-width: 0;
}

.shop-page .product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 60px;
    /* row-gap:20px; */
}

.shop-page .product-card {
    background-color: var(--white);
    overflow: hidden;
    /* box-shadow: var(--shadow-sm); */
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.shop-page .product-card:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.5);
    outline-offset: 4px;
}

.shop-page .product-card.disabled {
    cursor: default;
    opacity: 0.7;
    pointer-events: auto;
}

.shop-page .product-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
}

.shop-page .product-thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-page .product-card:hover .product-thumbnail img {
    transform: scale(1.08);
}

.shop-page .product-info {
    padding: 12px 7px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.product-tt-wrap {
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.shop-page .product-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.4;
    margin-bottom: -4px;
}

.shop-page .product-description {
    font-size: 14px;
    color: var(--medium-gray);
    margin-top: 5px;
    line-height: 1.4;
}

.shop-page .product-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shop-page .price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
}


.shop-page .price-original {
    font-size: 14px;
    color: var(--medium-gray);
    text-decoration: line-through;
    line-height: 1.3;
}

.shop-page .product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--medium-gray);
}

.shop-page .product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: -4px;
}

.shop-page .product-info .badge {
    position: static;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.shop-page .badge-new {
    background: #8B5CF6;
    color: #fff;
}

.shop-page .badge-sale {
    background-color: var(--danger-red);
    color: var(--white);
}

.shop-page .badge-featured {
    background: #10B981;
    color: #fff;
}

/* Video Thumbnails */
.shop-page .video-card {
    position: relative;
}

.shop-page .video-thumbnail-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.shop-page .video-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.shop-page .video-play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.shop-page .video-card:hover .video-play-indicator svg circle {
    fill: rgba(255, 107, 53, 1);
}

.shop-page .video-play-indicator svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Video Modal */
.shop-page .video-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.shop-page .video-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.shop-page .video-modal.active .video-modal-player {
    opacity: 1;
}

.shop-page .video-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.shop-page .video-modal-scroll-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10000;
}

.shop-page .video-modal-content {
    min-height: 100%;
}

.shop-page .video-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.shop-page .video-modal-player {
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-page .video-modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.shop-page .video-modal-close:hover {
    background-color: var(--primary-orange);
    color: var(--white);
    transform: rotate(90deg);
}

/* 영상 재생 컨트롤을 가리지 않도록 버튼 위치 상향 조정 */
.shop-page .video-modal-actions {
    position: fixed;
    bottom: 120px;
    right: 40px;
    display: flex;
    gap: 15px;
    z-index: 10001;
}

.shop-page .modal-action-btn {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.shop-page .modal-action-btn.btn-cart {
    background-color: var(--white);
    color: var(--dark-gray);
}

.shop-page .modal-action-btn.btn-cart:hover {
    background-color: var(--light-gray);
}

.shop-page .modal-action-btn.btn-buy {
    background-color: var(--primary-orange);
    color: var(--white);
}

.shop-page .modal-action-btn.btn-buy:hover {
    background-color: #E85A2A;
}

/* Floating Cart */
.shop-page .floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.shop-page .floating-cart-btn:hover {
    box-shadow: none;
}

.shop-page .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--danger-red);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Cart Panel */
.shop-page .cart-panel-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9997;
}

.shop-page .cart-panel-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.shop-page .cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(420px, 90vw);
    background-color: var(--white);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9998;
    display: flex;
    flex-direction: column;
}

.shop-page .cart-panel.open {
    transform: translateX(0);
}

.shop-page .cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--light-gray);
}

.shop-page .cart-panel-header h2 {
    font-size: 20px;
    color: var(--dark-gray);
}

.shop-page .cart-panel-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background-color: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.shop-page .cart-panel-close:hover {
    background-color: var(--light-gray);
}

.shop-page .cart-panel-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.shop-page .cart-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--light-gray);
}

.shop-page .cart-item-check {
    padding-top: 2px;
    flex-shrink: 0;
}

.shop-page .cart-item-body {
    flex: 1;
    min-width: 0;
}

.shop-page .cart-item-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.shop-page .cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-page .cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
}

.shop-page .cart-item-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.shop-page .cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    line-height: 1.4;
    word-break: keep-all;
    flex: 1;
    min-width: 0;
}

.shop-page .cart-item-remove-btn {
    flex-shrink: 0;
    padding: 4px 10px;
    border: 2px solid #555;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.shop-page .cart-item-remove-btn:hover {
    background: #f3f4f6;
}

.shop-page .cart-item-option {
    font-size: 12px;
    color: var(--medium-gray);
}

.shop-page .cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.shop-page .cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.shop-page .cart-item-qty .qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f8f8f8;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.shop-page .cart-item-qty .qty-btn:hover {
    background: #eee;
}

.shop-page .cart-item-qty .qty-value {
    width: 36px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    line-height: 30px;
}

.shop-page .cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-orange);
}

.shop-page .cart-item-remove {
    position: absolute;
    top: 4px;
    right: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: #fff;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.15s ease;
}

.shop-page .cart-item-remove:hover {
    color: #ff4444;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.shop-page .cart-panel-footer {
    padding: 24px 28px 30px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    gap: 14px;
    background-color: #fff7f4;
}

.shop-page .cart-summary-row,
.shop-page .cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--dark-gray);
}

.shop-page .cart-summary-total strong {
    font-size: 22px;
    color: var(--primary-orange);
}

.shop-page .cart-panel-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.shop-page .cart-panel-btn {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.shop-page .cart-panel-btn.btn-cart {
    background-color: var(--white);
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
}

.shop-page .cart-panel-btn.btn-buy {
    background: var(--primary-orange);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1400px) {
    .shop-page .main-container {
        padding: 30px 30px 100px;
    }


    .shop-page .product-grid {
        grid-template-columns: repeat(5, 1fr)
    }
}


@media (max-width: 1200px) {

    .shop-page .content-wrapper {
        gap: 30px;
    }

    .shop-page .product-grid {
        grid-template-columns: repeat(4, 1fr)
    }

}


@media (max-width: 1024px) {
    .shop-page .main-container {
        padding: 30px;
    }

    .shop-page .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .shop-page .sidebar {
        width: 100%;
        position: static;
    }

    .shop-page .category-nav {
        /* flex-direction: row; */
        overflow-x: auto;
    }

    .shop-page .category-nav::-webkit-scrollbar {
        display: none;
    }

    .shop-page .category-item {
        white-space: nowrap;
    }

    .shop-page .search-sort-section {
        display: flex;
        gap: 15px;
        padding: 6px 0 6px 30px;
    }

    .shop-page .search-wrapper {
        /* max-width: 100%; */
        margin-right: 0;
    }

    .shop-page .sort-dropdown {
        position: static;
        transform: none;
        /* width: 100%; */
    }

    .shop-page .sort-select {
        width: 100%;
    }

    .shop-page .main-content {
        width: 100%;
    }

    .shop-page .product-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .shop-page .floating-cart-btn {
        width: 56px;
        height: 56px;
        bottom: 24px;
        right: 24px;
    }

    .shop-page .video-modal-player {
        max-height: 60vh;
    }

    .shop-page .video-modal-actions {
        bottom: 120px;
        right: 30px;
        gap: 12px;
    }
}

@media (max-width: 768px) {

    .shop-page .cate-all {
        left: 0;
        right: 0;
        border-radius: 0 0 8px 8px;
    }

    .shop-page .cate-all .category-nav.cate-all-inner {
        width: 160px;
        min-width: 160px;
    }

    .shop-page .cate-all-submenu,
    .shop-page .cate-all-submenu-3 {
        width: auto;
        min-width: 150px;
        flex: 1;
    }

    .cate-all .category-item {
        padding: 11px 14px 11px 12px;
    }


    .shop-page .search-sort-section {
        padding: 6px 0 6px 15px;
    }


    .shop-page .product-meta {
        font-size: 13px;
    }

    .shop-page .product-info {
        padding: 10px 0 0;
    }

    .shop-page .badge {
        top: 5px;
        right: 5px;
        padding: 3px 8px;
        font-size: 11px;
    }

    .shop-page .sort-select {
        padding: 5px 30px 5px 20px;
        min-width: 100px;
        font-size: 14px;
        background-size: 9px 6px;
    }

    .shop-page .category-item {
        font-size: 14px;
        padding: 11px 10px;
    }

    .shop-page .main-container {
        padding: 15px;
    }

    .shop-page .search-input {
        padding: 16px 50px 16px 20px;
        font-size: 14px;
    }

    .shop-page .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .shop-page .product-title {
        font-size: 15px;
    }

    .shop-page .product-description {
        font-size: 13px;
        margin-top: 2px;
    }

    .shop-page .price-current {
        font-size: 16px;
    }

    .shop-page .price-original {
        font-size: 13px;
    }

    .shop-page .product-price {
        gap: 3px;
    }

    .shop-page .floating-cart-btn svg {
        width: 22px;
        height: 22px;
    }

    .shop-page .floating-cart-btn {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }

    .shop-page .cart-badge {
        font-size: 11px;
    }

    .shop-page .video-modal-player {
        max-height: 50vh;
    }

    .shop-page .video-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .shop-page .video-modal-actions {
        bottom: 100px;
        right: 20px;
        gap: 8px;
    }

    .shop-page .modal-action-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .shop-page .product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}