/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Felipa&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Noto Serif', serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1.page-title{
    font-family: "Felipa", serif;
}

/* Top Banner Styles */
.top-banner {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 16px;
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.4;
    position: relative;
    z-index: 1001;
}

.top-banner p {
    margin: 0;
    max-width: 100%;
}

/* Main Header Styles */
.main-header {
    background-color: #fff9e7;
    border-bottom: 1px solid #e5aa03;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Sections */
.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.header-left {
    justify-content: flex-start;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-right {
    justify-content: flex-end;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.logo:hover {
    opacity: 0.8;
}

/* Icon Button Styles */
.icon-button,
.menu-icon {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #e5aa03;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    position: relative;
}

.icon-button:hover,
.menu-icon:hover {
    opacity: 0.7;
}

.icon-button:active,
.menu-icon:active {
    opacity: 0.5;
}

/* Cart Button with Badge */
.cart-button {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e5aa03;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* User Dropdown */
.dropdown-menu {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 200px;
}

.dropdown-header {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    padding: 8px 16px;
}

.dropdown-item {
    font-size: 14px;
    padding: 10px 16px;
    color: #333333;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #000000;
}

.dropdown-item.text-danger {
    color: #dc3545;
}

.dropdown-item.text-danger:hover {
    background-color: #fff5f5;
    color: #dc2626;
}

.dropdown-divider {
    margin: 8px 0;
    border-color: #e5e5e5;
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 375px;
    height: 100%;
    background-color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1999;
    overflow-y: auto;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-header h2 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #000000;
    margin: 0;
}

.close-menu {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.close-menu:hover {
    opacity: 0.7;
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    padding: 0;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list > li {
    border-bottom: 1px solid #f5f5f5;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.menu-item:hover {
    background-color: #fafafa;
}

/* Menu Toggle Button */
.menu-toggle {
    font-family: inherit;
}

.menu-toggle .toggle-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.menu-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

/* Submenu */
.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    background-color: #fafafa;
    transition: max-height 0.3s ease;
}

.submenu.active {
    max-height: 500px;
}

.submenu-item {
    display: block;
    padding: 16px 24px 16px 48px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.submenu-item:hover {
    color: #000000;
    background-color: #f0f0f0;
}

/* Search Modal Styles */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.search-modal.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.search-modal-content {
    position: relative;
    max-width: 800px;
    width: 90%;
    margin: 80px auto 0;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    z-index: 2;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.aed-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 2px;
}
.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
}

.search-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
}

.search-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.search-close-btn:hover {
    background-color: #f5f5f5;
}

.search-close-btn svg {
    color: #666666;
}

.search-modal-body {
    padding: 24px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999999;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    font-size: 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    border-color: #000000;
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.search-clear-btn.active {
    display: flex;
}

.search-clear-btn:hover {
    background-color: #f5f5f5;
}

.search-clear-btn svg {
    color: #666666;
}

.search-results {
    min-height: 200px;
}

.search-empty-state,
.search-loading,
.search-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.search-empty-state svg,
.search-no-results svg {
    color: #cccccc;
    margin-bottom: 16px;
}

.search-loading svg {
    margin-bottom: 16px;
}

.search-empty-state p,
.search-loading p,
.search-no-results p {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #666666;
}

.search-no-results small {
    font-size: 14px;
    color: #999999;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    background-color: #f0f0f0;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin: 0 0 4px 0;
}

.search-result-price {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

.popular-searches {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}

.popular-searches h4 {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 12px 0;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popular-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f5f5f5;
    color: #000000;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.popular-tag:hover {
    background-color: #e5e5e5;
}

/* Wishlist Drawer Styles */
.wishlist-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #ff4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.wishlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.wishlist-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wishlist-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    height: 100vh;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

.wishlist-drawer.active {
    transform: translateX(0);
}

.wishlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
    background-color: #ffffff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.wishlist-header h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
    color: #000000;
}

.close-wishlist {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.close-wishlist:hover {
    background-color: #f5f5f5;
}

.close-wishlist svg {
    color: #000000;
}

.wishlist-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

.wishlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.wishlist-empty svg {
    color: #cccccc;
    margin-bottom: 24px;
}

.wishlist-empty h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 8px 0;
}

.wishlist-empty p {
    font-size: 14px;
    color: #666666;
    margin: 0 0 24px 0;
}

.btn-browse {
    display: inline-block;
    padding: 12px 32px;
    background-color: #e5aa03;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-browse:hover {
    background-color: #333333;
    color: #ffffff;
}

.wishlist-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wishlist-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    /* background-color: #f9f9f9; */
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.wishlist-item:hover {
    background-color: #f5f5f5;
}

.wishlist-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #e5e5e5;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wishlist-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.wishlist-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 auto 0;
}

.wishlist-item-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn-add-to-cart {
    flex: 1;
    padding: 8px 16px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-add-to-cart:hover {
    background-color: #333333;
}

.btn-remove-wishlist {
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-remove-wishlist:hover {
    background-color: #ff4444;
    border-color: #ff4444;
}

.btn-remove-wishlist:hover svg {
    color: #ffffff;
}

.btn-remove-wishlist svg {
    color: #666666;
    transition: color 0.2s ease;
}

.wishlist-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e5e5;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.btn-view-all,
.btn-clear-wishlist {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-view-all {
    background-color: #000000;
    color: #ffffff;
}

.btn-view-all:hover {
    background-color: #333333;
}

.btn-clear-wishlist {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #e5e5e5;
}

.btn-clear-wishlist:hover {
    background-color: #f5f5f5;
}

/* Cart Drawer Styles */
.cart-overlay,
#cartOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.cart-overlay.cart-active,
#cartOverlay.cart-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cart-drawer,
#cartDrawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

.cart-drawer.cart-active,
#cartDrawer.cart-active {
    transform: translateX(0);
}

.cart-drawer .cart-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.cart-drawer .cart-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.5px;
}

.close-cart,
#closeCart {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.close-cart:hover,
#closeCart:hover {
    opacity: 0.7;
}

.close-cart svg,
#closeCart svg {
    width: 20px;
    height: 20px;
    color: #666666;
}

.cart-drawer .cart-content,
#cartContent {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

.cart-drawer .cart-content::-webkit-scrollbar,
#cartContent::-webkit-scrollbar {
    width: 6px;
}

.cart-drawer .cart-content::-webkit-scrollbar-track,
#cartContent::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cart-drawer .cart-content::-webkit-scrollbar-thumb,
#cartContent::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.cart-drawer .cart-content::-webkit-scrollbar-thumb:hover,
#cartContent::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.cart-drawer .cart-empty,
#cartEmpty {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cart-drawer .cart-empty svg,
#cartEmpty svg {
    width: 64px;
    height: 64px;
    color: #cccccc;
    margin-bottom: 20px;
}

.cart-drawer .cart-empty h3,
#cartEmpty h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
}

.cart-drawer .cart-empty p,
#cartEmpty p {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: #666666;
}

.btn-start-shopping {
    padding: 12px 32px;
    background-color: #e5aa03;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-start-shopping:hover {
    background-color: #333333;
}

.cart-drawer .cart-items,
#cartItems {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-drawer .cart-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.cart-drawer .cart-item:last-child {
    border-bottom: none;
}

.cart-drawer .cart-item-image {
    width: 100px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.cart-drawer .cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-drawer .cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    margin: 0;
    line-height: 1.4;
    font-family: 'Noto Serif', serif;
}

.cart-item-size {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

.cart-item-attributes {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 12px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 4px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background-color: #f5f5f5;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.qty-btn:hover {
    background-color: #e5e5e5;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-input {
    width: 40px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    background-color: transparent;
    padding: 4px;
}

.qty-input:focus {
    outline: none;
}

/* Chrome, Safari, Edge, Opera */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.qty-input[type=number] {
    -moz-appearance: textfield;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.btn-remove-cart {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.btn-remove-cart:hover {
    background-color: #fee;
    border-color: #ff4444;
}

.btn-remove-cart:hover svg {
    color: #ff4444;
}

.btn-remove-cart svg {
    width: 16px;
    height: 16px;
    color: #999999;
    transition: color 0.2s ease;
}

.cart-drawer .cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e5e5;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.cart-drawer .cart-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.cart-summary-row span:first-child {
    color: #666666;
}

.cart-summary-row span:last-child {
    color: #000000;
    font-weight: 500;
}

.cart-summary-row.cart-total {
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
    font-size: 16px;
    font-weight: 600;
}

.cart-summary-row.cart-total span {
    color: #000000;
}

.cart-summary-row .free-shipping {
    color: #22c55e;
    font-weight: 600;
}

.btn-view-cart,
.btn-continue-shopping {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-view-cart {
    background-color: #ffbd00;
    color: #ffffff;
}

.btn-view-cart:hover {
    background-color: #e5b800;
}

.btn-continue-shopping {
    background-color: #fff;
    color: #ffbd00;
    border: 1px solid #ffbd00;
}

.btn-continue-shopping:hover {
    background-color: #f5f5f5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 10px 16px;
    }

    .logo img {
        height: 32px;
    }

    .header-left,
    .header-right {
        gap: 8px;
    }

    .icon-button,
    .menu-icon {
        padding: 6px;
    }

    .icon-button svg,
    .menu-icon svg {
        width: 20px;
        height: 20px;
    }

    .top-banner {
        font-size: 10px;
        padding: 6px 12px;
    }

    .mobile-menu {
        max-width: 320px;
    }

    /* Search Modal Responsive */
    .search-modal-content {
        width: 95%;
        margin: 60px auto 0;
    }

    .search-modal-header {
        padding: 16px 20px;
    }

    .search-modal-header h3 {
        font-size: 16px;
    }

    .search-modal-body {
        padding: 20px;
        max-height: calc(100vh - 150px);
    }

    .search-input {
        font-size: 15px;
        padding: 12px 44px 12px 44px;
    }

    .popular-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 28px;
    }

    .header-right {
        gap: 4px;
    }

    .top-banner {
        font-size: 9px;
        padding: 5px 10px;
    }

    .mobile-menu {
        max-width: 100%;
    }

    .menu-item {
        padding: 18px 20px;
        font-size: 14px;
    }

    .submenu-item {
        padding: 14px 20px 14px 40px;
        font-size: 13px;
    }

    /* Search Modal Mobile */
    .search-modal-content {
        width: 100%;
        margin: 40px auto 0;
        border-radius: 12px 12px 0 0;
        max-height: calc(100vh - 40px);
    }

    .search-modal-header {
        padding: 14px 16px;
    }

    .search-modal-header h3 {
        font-size: 15px;
    }

    .search-modal-body {
        padding: 16px;
        max-height: calc(100vh - 120px);
    }

    .search-input {
        font-size: 14px;
        padding: 11px 40px 11px 40px;
    }

    .search-empty-state,
    .search-loading,
    .search-no-results {
        padding: 32px 16px;
    }

    .search-empty-state svg,
    .search-no-results svg {
        width: 40px;
        height: 40px;
    }

    .popular-searches {
        margin-top: 20px;
        padding-top: 20px;
    }

    .popular-tag {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Wishlist Drawer Responsive */
    .wishlist-drawer {
        max-width: 100%;
    }

    .wishlist-header {
        padding: 16px 20px;
    }

    .wishlist-header h2 {
        font-size: 16px;
    }

    .wishlist-content {
        padding: 20px;
    }

    .wishlist-empty {
        padding: 40px 20px;
    }

    .wishlist-empty svg {
        width: 48px;
        height: 48px;
    }

    .wishlist-empty h3 {
        font-size: 18px;
    }

    .wishlist-item {
        padding: 12px;
    }

    .wishlist-item-image {
        width: 70px;
        height: 70px;
    }

    .wishlist-item-name {
        font-size: 13px;
    }

    .wishlist-item-price {
        font-size: 13px;
    }

    .btn-add-to-cart {
        font-size: 12px;
        padding: 6px 12px;
    }

    .wishlist-footer {
        padding: 14px 20px;
    }

    /* Cart Drawer Responsive */
    .cart-drawer,
    #cartDrawer {
        max-width: 100%;
    }

    .cart-drawer .cart-header {
        padding: 16px 20px;
    }

    .cart-drawer .cart-header h2 {
        font-size: 16px;
    }

    .cart-drawer .cart-content,
    #cartContent {
        padding: 20px;
    }

    .cart-drawer .cart-empty,
    #cartEmpty {
        padding: 40px 20px;
    }

    .cart-drawer .cart-empty svg,
    #cartEmpty svg {
        width: 48px;
        height: 48px;
    }

    .cart-drawer .cart-empty h3,
    #cartEmpty h3 {
        font-size: 18px;
    }

    .cart-drawer .cart-item {
        padding: 12px;
    }

    .cart-drawer .cart-item-image {
        width: 80px;
        height: 96px;
    }

    .cart-drawer .cart-item-name {
        font-size: 13px;
    }

    .cart-drawer .cart-item-price {
        font-size: 13px;
    }

    .cart-drawer .qty-btn {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .cart-drawer .qty-input {
        width: 36px;
        font-size: 13px;
    }

    .cart-drawer .cart-footer {
        padding: 14px 20px;
    }

    .cart-drawer .btn-view-cart,
    .cart-drawer .btn-continue-shopping {
        padding: 12px 20px;
        font-size: 13px;
    }
}
