/* ============================================
   COLOR VARIABLES
   ============================================ */
:root {
    --primary-red: #b10202;
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #999999;
    --dark-gray: #333333;
    --text-gray: #666666;
    
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s ease;
    
    --z-sticky: 100;
    --z-cart: 800;
    --z-menu: 999;
    --z-modal: 1000;
}

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--primary-white);
    color: var(--dark-gray);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: calc(var(--z-menu) + 1);
    background: transparent;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--primary-white);
    transition: all var(--transition-normal);
    display: block;
}

.menu-btn:hover span {
    background: var(--primary-red);
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

body.scrolled .menu-btn span {
    background: var(--primary-black);
}

body.scrolled .menu-btn:hover span {
    background: var(--primary-red);
}

/* ============================================
   SIDE MENU
   ============================================ */
.side-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background: var(--primary-black);
    z-index: var(--z-menu);
    transition: right var(--transition-slow);
    padding: 60px 20px 30px;
    overflow-y: auto;
}

.side-menu.active {
    right: 0;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.8);
}

.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
}

.menu-items {
    list-style: none;
}

.menu-items li {
    margin-bottom: 20px;
}

.menu-items li a {
    color: var(--primary-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    display: block;
    padding: var(--space-sm) 0;
}

.menu-items li a:hover {
    color: var(--primary-red);
    padding-left: 10px;
}

.menu-items li a.active {
    color: var(--primary-red);
    font-weight: 600;
}

/* ============================================
   NEWS BUTTON
   ============================================ */
.news-btn {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--primary-black);
    color: var(--primary-white);
    text-decoration: none;
    padding: 20px 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: calc(var(--z-sticky) + 1);
    transition: all var(--transition-normal);
}

.news-btn:hover {
    background: var(--primary-red);
    padding-left: 35px;
}

/* ============================================
   CART BUTTON
   ============================================ */
.cart-btn {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: calc(var(--z-menu) + 1);
    background: var(--primary-black);
    color: var(--primary-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cart-btn:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-red);
    color: var(--primary-white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.cart-count.hidden {
    display: none;
}

/* Hide cart button when side menu is open */
body.menu-open .cart-btn {
    opacity: 0;
    pointer-events: none;
}

/* Hide hamburger when cart is open */
body.cart-open .menu-btn {
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 35vh;
    min-height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1) brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.logo-group {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform var(--transition-normal);
}

.logo-link:hover {
    transform: scale(1.05);
}

.hero-logo {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

.logo-text {
    z-index: 10;
    font-size: 10px;
    color: var(--primary-white);
    letter-spacing: 3px;
    font-weight: 600;
    opacity: 0.9;
    white-space: nowrap;
}

.hero-title {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--primary-white);
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    z-index: 10;
    text-align: center;
    width: 90%;
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
    position: static;
    z-index: auto;
    background: var(--primary-white);
    padding: var(--space-md);
    margin-top: 0;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-container {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-container::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--light-gray);
    color: var(--dark-gray);
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    flex-shrink: 0;
    min-width: fit-content;
}

.filter-btn.active {
    background: var(--primary-black);
    color: var(--primary-white);
}

.filter-btn:hover {
    background: var(--medium-gray);
    color: var(--primary-white);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.section-header {
    margin-bottom: var(--space-xl);
}

.header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.results-count {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

.per-page-selector {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.per-page-selector label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

.items-per-page-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: var(--primary-white);
    color: var(--dark-gray);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23333333' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.items-per-page-select:hover {
    border-color: var(--primary-red);
}

.items-per-page-select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(177, 2, 2, 0.1);
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.product-card {
    background: var(--primary-white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--light-gray);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 4px 12px;
    background: var(--primary-red);
    color: var(--primary-white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.product-info {
    padding: var(--space-md);
}

.product-category {
    font-size: 11px;
    color: var(--medium-gray);
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: var(--space-xs);
    color: var(--dark-gray);
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-md);
}

.product-colors {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--light-gray);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.color-swatch:hover {
    transform: scale(1.1);
    border-color: var(--primary-black);
}

.add-to-cart-btn {
    width: 100%;
    height: 44px;
    background: var(--primary-black);
    color: var(--primary-white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background var(--transition-fast);
}

.add-to-cart-btn:hover {
    background: var(--primary-red);
}

/* ============================================
   PAGINATION STYLES
   ============================================ */
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 60px 20px;
    margin-top: 40px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #ddd;
    color: var(--dark-gray);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    border-radius: 4px;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--light-gray);
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.pagination-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    font-weight: 600;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-number {
    min-width: 40px;
}

.pagination-prev,
.pagination-next {
    padding: 0 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pagination-prev svg,
.pagination-next svg {
    width: 8px;
    height: 12px;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: var(--medium-gray);
    font-weight: 500;
    user-select: none;
}

.pagination-info {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--primary-white);
    z-index: var(--z-cart);
    transition: right var(--transition-slow);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

/* Cart backdrop to prevent clicks behind */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-cart) - 1);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.cart-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

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

.cart-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.cart-close {
    min-width: 44px;
    min-height: 44px;
    font-size: 32px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close:hover {
    color: var(--primary-red);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
}

.cart-empty {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--text-gray);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cart-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--light-gray);
    border-radius: 8px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-details {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: var(--space-xs);
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-black);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-xs);
}

.modal-qty-selector {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: var(--primary-black);
    color: var(--primary-white);
    border-radius: 4px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-red);
}

.qty-value {
    font-size: 14px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.remove-item {
    font-size: 12px;
    color: var(--primary-red);
    text-decoration: underline;
    cursor: pointer;
    margin-top: var(--space-xs);
}

.cart-footer {
    padding: var(--space-lg) var(--space-md);
    border-top: 1px solid var(--light-gray);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    font-size: 16px;
}

.subtotal-label {
    font-weight: 600;
}

.subtotal-amount {
    font-weight: 700;
    font-size: 20px;
}

.checkout-btn {
    width: 100%;
    height: 50px;
    background: var(--primary-red);
    color: var(--primary-white);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background var(--transition-fast);
}

.checkout-btn:hover {
    background: #8b0101;
}

/* ============================================
   PRODUCT MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    pointer-events: auto;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--primary-white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-slow);
}

.modal-overlay.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    min-width: 44px;
    min-height: 44px;
    font-size: 32px;
    color: var(--dark-gray);
    z-index: 10;
    background: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-white);
    background: var(--primary-red);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-detail-info {
    padding: var(--space-xl);
}

.product-detail-category {
    font-size: 12px;
    color: var(--medium-gray);
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
}

.product-detail-name {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
}

.product-detail-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: var(--space-lg);
}

.product-detail-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.product-options {
    margin-bottom: var(--space-xl);
}

.option-group {
    margin-bottom: var(--space-lg);
}

.option-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
    display: block;
}

.size-options,
.color-options {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.size-option,
.color-option {
    padding: 10px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.size-option:hover,
.color-option:hover {
    border-color: var(--primary-black);
}

.size-option.selected,
.color-option.selected {
    background: var(--primary-black);
    color: var(--primary-white);
    border-color: var(--primary-black);
}

.add-to-cart-btn-large {
    width: 100%;
    height: 56px;
    background: var(--primary-red);
    color: var(--primary-white);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background var(--transition-fast);
}

.add-to-cart-btn-large:hover {
    background: #8b0101;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 40px 20px 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.social-icons a {
    color: var(--primary-white);
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.social-icons a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-content .copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-red);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Mobile Responsive Fixes for Filters */
@media (max-width: 767px) {
    .filter-bar {
        padding: 12px 10px;
        top: 0;
    }
    
    .filter-container {
        gap: 8px;
        padding: 0 5px;
        justify-content: flex-start;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 11px;
        letter-spacing: 0.3px;
        border-radius: 20px;
        flex-shrink: 0;
    }
    
    .filter-btn[data-category="accessories"] {
        font-size: 10px;
        padding: 8px 12px;
    }
    
    .filter-btn[data-category="collectibles"] {
        font-size: 10px;
        padding: 8px 10px;
    }

    /* Header controls stack on mobile */
    .header-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .per-page-selector {
        width: 100%;
        justify-content: space-between;
    }

    .items-per-page-select {
        flex: 1;
        max-width: 120px;
    }

    /* Pagination mobile adjustments */
    .pagination-container {
        padding: 40px 15px;
    }
    
    .pagination {
        gap: 6px;
    }
    
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .pagination-number {
        min-width: 36px;
    }
    
    .pagination-text {
        display: none;
    }
    
    .pagination-prev,
    .pagination-next {
        padding: 0 12px;
    }
    
    .pagination-info {
        font-size: 13px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .filter-bar {
        padding: 10px 8px;
    }
    
    .filter-container {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 7px 12px;
        font-size: 10px;
        letter-spacing: 0.2px;
    }
    
    .filter-btn[data-category="accessories"],
    .filter-btn[data-category="collectibles"] {
        font-size: 9px;
        padding: 7px 10px;
    }

    /* Pagination mobile */
    .pagination {
        gap: 4px;
    }
    
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .pagination-number {
        min-width: 32px;
    }
}

@media (max-width: 375px) {
    .filter-btn {
        padding: 6px 10px;
        font-size: 9px;
    }
    
    .filter-btn[data-category="accessories"],
    .filter-btn[data-category="collectibles"] {
        font-size: 8px;
        padding: 6px 8px;
    }
}

@media (max-width: 320px) {
    .filter-container {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 6px 8px;
        font-size: 8px;
        letter-spacing: 0;
    }
    
    .filter-btn[data-category="accessories"],
    .filter-btn[data-category="collectibles"] {
        font-size: 7px;
        padding: 6px 7px;
    }
}

@media (min-width: 768px) {
    .hero-section {
        height: 40vh;
        min-height: 320px;
    }

    .hero-logo {
        width: 140px;
    }

    .logo-text {
        font-size: 10px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: 6px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .modal-body {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
    }

    .footer-links span {
        display: inline;
        color: rgba(255, 255, 255, 0.5);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hidden {
    display: none !important;
}