/*
Theme Name: Prestige
Theme URI: https://prestige.com
Author: Prestige Team
Author URI: https://prestige.com
Description: Custom theme untuk katalog produk Prestige dengan desain modern dan responsif. Fully compatible dengan WooCommerce.
Version: 1.0.0
Requires at least: 5.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prestige
Tags: e-commerce, woocommerce, catalog, modern, responsive, custom-menu, custom-logo, featured-images
*/

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #FF8AAE;
    --primary-rgb: 255, 138, 174;
    --secondary-color: #FFB2A6;
    --accent-color: #f39c12;
    --success-color: #2ecc71;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --text-muted: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Container */
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 2rem;
    color: var(--text-dark);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background: var(--bg-light);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-text {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.social-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-links a {
    color: #666;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--primary-color);
}

.main-header {
    padding: 1rem 0;
    background: white;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.custom-logo {
    max-height: 70px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    margin: 0;
    padding-right: 1.25rem;
    border-right: 1px solid var(--border-color);
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #4a5568;
    font-weight: 400;
    font-size: 0.9375rem;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
    text-decoration: none;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item>a {
    color: #1a1a1a;
}

.main-navigation a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.main-navigation a:hover:after,
.main-navigation .current-menu-item>a:after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.header-icon {
    color: #4a5568;
    font-size: 1.125rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    text-decoration: none;
    position: relative;
}

.header-icon:hover {
    color: #1a1a1a;
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.search-container {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.search-form:focus-within {
    border-color: var(--primary-color);
    background: white;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
}

.search-form input[type="search"]::placeholder {
    color: #999;
}

.search-form button[type="submit"] {
    padding: 14px 18px;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-form button[type="submit"]:hover {
    background: #e0789a;
}

.search-close {
    display: none !important;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #eee;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #666;
    transition: all 0.2s ease;
}

.search-close:hover {
    background: #ddd;
    color: #333;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding-top: 60px;
}

.mobile-menu.active {
    right: 0;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #666;
    transition: all 0.2s ease;
    z-index: 10;
}

.mobile-menu-close:hover {
    background: #eee;
    color: #333;
}

/* Mobile Menu Search */
.mobile-menu-search {
    padding: 20px;
}

.mobile-menu-search form {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-menu-search input[type="search"] {
    width: 100%;
    padding: 16px 50px 16px 20px;
    background: #f5f5f5;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
}

.mobile-menu-search input[type="search"]::placeholder {
    color: #999;
}

.mobile-menu-search input[type="search"]:focus {
    border-color: var(--primary-color);
    background: white;
}

.mobile-menu-search button {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-search button:hover {
    color: var(--primary-color);
}

.mobile-menu-content {
    padding: 0 20px 20px;
}

.mobile-menu-link {
    display: block;
    padding: 18px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 400;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: var(--primary-color);
}

.mobile-menu-dropdown {
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 400;
    cursor: pointer;
    text-align: left;
}

.mobile-menu-dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-menu-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.mobile-menu-dropdown-content {
    display: none;
    list-style: none;
    padding: 0 0 10px 15px;
    margin: 0;
}

.mobile-menu-dropdown-content.active {
    display: block;
}

.mobile-menu-dropdown-content li {
    margin: 0;
}

.mobile-menu-dropdown-content a {
    display: block;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.mobile-menu-dropdown-content a:hover {
    color: var(--primary-color);
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-color);
    z-index: 997;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.mobile-bottom-nav {
    display: none;
    grid-template-columns: repeat(4, 1fr);
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: #666;
    font-size: 0.7rem;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}

.mobile-bottom-nav-item i {
    font-size: 1.25rem;
}

.mobile-bottom-nav-item span {
    font-weight: 500;
}

.mobile-bottom-nav-item.active,
.mobile-bottom-nav-item:hover {
    color: var(--primary-color);
}

.mobile-nav-badge {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(80%);
    background: var(--primary-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   HERO SLIDER
   =================================== */

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--bg-light);
}

.swiper {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-slide:has(.hero-overlay) .hero-title,
.hero-slide:has(.hero-overlay) .hero-subtitle {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
    text-align: center;
}

.hero-cta {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
    text-align: center;
    border-radius: 50px !important;
    padding: var(--spacing-xs) var(--spacing-lg) !important;
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    /* box-shadow: 0 4px 15px rgba(255, 138, 174, 0.35); */
}

.btn:hover {
    color: white;
    transform: translateY(-2px);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: 700;
    color: #1a1a1a;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0.5;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    transition: all var(--transition-fast);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 5px;
}

/* ===================================
   PRODUCT GRID LAYOUT
   =================================== */

.products-section {
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

/* Product Card Styles: assets/css/product-card.css */

/* ===================================
   CATEGORIES GRID
   =================================== */

.categories-section {
    background: var(--bg-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.category-card {
    background: transparent;
    border: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    margin: 20px 0px;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card:hover .category-image-wrapper {
    border-color: var(--primary-color);
}

.category-card:hover .category-info {
    background: var(--primary-color);
}

.category-card:hover .category-title {
    color: white;
}

.category-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.category-image-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid var(--border-color);
    transition: all 0.4s ease;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--bg-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-info {
    padding: 3px 20px;
    text-align: center;
    background: white;
    border-radius: 20px;
    position: absolute;
    bottom: -10px;
    min-width: 30%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.category-count {
    font-size: 0.8rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.category-card:hover .category-count {
    color: #764ba2;
}

/* Categories Carousel */
.categories-carousel-wrapper {
    position: relative;
    /* padding: 0 50px; */
}

.categories-carousel-wrapper .categoriesSwiper {
    overflow: hidden;
}

.categories-nav-prev,
.categories-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.categories-nav-prev:hover,
.categories-nav-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.categories-nav-prev {
    left: 0;
}

.categories-nav-next {
    right: 0;
}

.categories-nav-prev.swiper-button-disabled,
.categories-nav-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.categories-nav-prev.swiper-button-disabled:hover,
.categories-nav-next.swiper-button-disabled:hover {
    background: white;
    color: var(--text-dark);
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background: #2c2c2c;
    color: #ffffff;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-widget h3 {
    color: #ffffff;
    margin-bottom: var(--spacing-md);
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.footer-logo {
    max-height: 60px;
    width: auto;
}

.footer-widget p,
.footer-widget a {
    color: #b0b0b0;
    line-height: 1.8;
}

.footer-widget a:hover {
    color: #ffffff;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: var(--spacing-xs);
}

.marketplace-icons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.marketplace-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.marketplace-icon:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: var(--spacing-md);
    text-align: center;
    color: #b0b0b0;
    font-size: 0.875rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet - 992px */
@media (max-width: 992px) {
    .header-wrapper {
        gap: 1rem;
    }

    .custom-logo {
        max-height: 60px;
    }

    .main-navigation ul {
        gap: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-image-wrapper {
        width: 140px;
        height: 140px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {

    .custom-logo {
        max-height: 50px;
    }

    /* Container */
    .container {
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-md);
    }

    /* Hide top bar on mobile */
    .top-bar {
        display: none;
    }

    .main-header {
        padding: 0.75rem 0;
        /* background: #3d5a5a; */
    }

    .header-wrapper {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .site-branding {
        order: 1;
    }

    /* .site-title a {
        color: white;
    } */

    .header-actions {
        order: 2;
        margin-left: auto;
    }

    .header-actions .search-container,
    .header-actions .cart-icon {
        display: none;
    }

    .main-navigation {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hamburger-line {
        background: var(--text-dark);
    }

    .mobile-bottom-nav {
        display: grid;
    }

    body {
        padding-bottom: 70px;
    }

    /* Hero Slider */
    .hero-slider {
        height: 350px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-cta {
        padding: var(--spacing-xs) var(--spacing-md) !important;
        font-size: 0.9rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px !important;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xs);
    }

    .category-image-wrapper {
        width: 135px;
        height: 135px;
        border-width: 3px;
    }

    .category-info {
        padding: 2px 12px;
        bottom: -8px;
    }

    .category-title {
        font-size: 11px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .site-footer {
        margin-top: var(--spacing-lg);
        padding: var(--spacing-lg) 0 var(--spacing-sm);
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.875rem;
    }

    .custom-logo {
        max-height: 40px;
    }

    .section {
        padding: var(--spacing-md) 0;
    }

    .site-title {
        font-size: 1.125rem;
    }

    .logo-icon {
        width: 20px;
        height: 20px;
    }

    .header-icon {
        font-size: 1rem;
    }

    .header-actions {
        gap: 1rem;
    }

    .main-navigation ul {
        gap: 0.75rem;
    }

    /* Hero Slider */
    .hero-slider {
        height: 280px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero-cta {
        padding: 8px 16px !important;
        font-size: 0.8rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .category-image-wrapper {
        width: 113px;
        height: 113px;
        border-width: 3px;
    }

    .category-info {
        padding: 2px 8px;
        bottom: -6px;
        font-size: 0.675rem;
    }

    .category-title {
        font-size: 12px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    /* Footer */
    .footer-widget h3 {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
    }

    .footer-widget p,
    .footer-widget a {
        font-size: 0.875rem;
    }

    .marketplace-icons {
        gap: var(--spacing-xs);
    }

    .marketplace-icon {
        width: 35px;
        height: 35px;
    }

    .marketplace-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 360px) {
    .category-image-wrapper {
        width: 100px;
        height: 100px;
    }
}

/* ===================================
   ABOUT US PAGE STYLES
   =================================== */

/* About Hero */
.about-hero-section {
    text-align: center;
    padding: 4rem 0 2rem;
    background: var(--bg-white);
}

.about-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--primary-rgb), 0.15);
    border-radius: 20px;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-hero-title .highlight {
    color: var(--primary-color);
    font-style: italic;
}

.about-hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* About Gallery */
.about-gallery-section {
    padding: 2rem 0 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    grid-template-rows: repeat(2, 180px);
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-1 {
    grid-column: 1;
    grid-row: 1 / 3;
}

.gallery-item-2 {
    grid-column: 2;
    grid-row: 1;
}

.gallery-item-3 {
    grid-column: 2;
    grid-row: 2;
}

.gallery-item-4 {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
}

.gallery-placeholder,
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.2) 100%);
    color: var(--primary-color);
    font-size: 2rem;
}

/* Philosophy Section */
.about-philosophy-section {
    background: var(--bg-white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-image {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
    height: 350px;
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.philosophy-content {
    padding: 2rem 0;
}

.about-section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.philosophy-content p,
.maker-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.about-text-link:hover {
    color: var(--secondary-color);
}

.about-text-link i {
    font-size: 1rem;
}

/* Maker Section */
.about-maker-section {
    background: var(--bg-light);
}

.maker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.maker-content {
    padding: 2rem 0;
}

.maker-image {
    border-radius: 16px;
    overflow: hidden;
    background: #e0e0e0;
    height: 350px;
}

.maker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.about-features-section {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.15);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Testimonial Section */
.about-testimonial-section {
    background: var(--bg-light);
}

.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-wrapper blockquote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0 0 2rem;
    padding: 0;
    border: none;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Contact & Social Media Section */
.about-contact-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.contact-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: var(--primary-color);
    border-radius: 20px;
    color: white;
}

.contact-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.contact-box p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.contact-item i {
    font-size: 1.25rem;
}

.social-media-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive About Page */
@media (max-width: 992px) {

    /* Keep asymmetric layout like desktop, just smaller */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 140px);
        gap: 1rem;
    }

    .gallery-item-1 {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .gallery-item-2 {
        grid-column: 2;
        grid-row: 1;
    }

    .gallery-item-3 {
        grid-column: 2;
        grid-row: 2;
    }

    .gallery-item-4 {
        grid-column: 3 / 5;
        grid-row: 1 / 3;
    }

    .philosophy-grid,
    .maker-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .philosophy-image,
    .maker-image {
        height: 280px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.25rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 120px);
        gap: 1rem;
    }

    .gallery-item-1,
    .gallery-item-2,
    .gallery-item-3,
    .gallery-item-4 {
        grid-column: auto;
        grid-row: auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-wrapper blockquote {
        font-size: 1.25rem;
    }

    /* .contact-info {
        flex-direction: column;
        gap: 1rem;
    } */

    .contact-box {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero-title {
        font-size: 1.75rem;
    }

    .about-section-heading {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 100px);
        gap: 0.75rem;
    }

    .gallery-item {
        border-radius: 10px;
    }

    .gallery-placeholder,
    .image-placeholder {
        font-size: 1.5rem;
    }

    .philosophy-image,
    .maker-image {
        height: 200px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .testimonial-wrapper blockquote {
        font-size: 1.1rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}