/* ============================================
   Theo Perabot - Premium Stylesheet
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Brand Colors */
    --primary: #5C3D2E;
    --primary-dark: #3E2723;
    --primary-light: #8D6E63;
    --secondary: #F0EBE3;
    --secondary-dark: #E0D5C7;
    --secondary-light: #FAF7F2;
    --highlight: #B8860B;
    --highlight-dark: #8B6914;
    --highlight-light: #D4A843;
    --alert: #a71666;
    --action: #d31638;

    /* Backgrounds - Light Theme */
    --dark: #FAF7F2;
    --dark-2: #F0EBE3;
    --dark-3: #E8DFD0;
    --surface: #FFFFFF;
    --surface-light: #F9F6F0;

    /* Text & UI Grays */
    --gray-900: #1C1410;
    --gray-800: #2D1F14;
    --gray-700: #4A3F37;
    --gray-600: #6B5D52;
    --gray-500: #8B7D72;
    --gray-400: #A89A8E;
    --gray-300: #C4B8AC;
    --gray-200: #DDD4C9;
    --gray-100: #EDE5D8;
    --gray-50: #F5F0E8;
    --white: #FFFFFF;

    /* Functional */
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #2563eb;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(184, 134, 11, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--gray-700);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--highlight);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-logo {
    color: var(--gray-900);
    text-shadow: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--highlight), var(--primary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-lucide {
    width: 26px;
    height: 26px;
    color: var(--white);
}

.logo-brand {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.logo-tagline {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.navbar.scrolled .logo-tagline {
    color: var(--gray-500);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
    text-shadow: none;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link:hover {
    color: var(--gray-900);
    background: rgba(92, 61, 46, 0.06);
}

.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.25);
}

.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(184, 134, 11, 0.1);
}

.nav-icon {
    width: 16px;
    height: 16px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger-line {
    background: var(--gray-800);
}

/* Cart Button inside Navbar */
.nav-cart-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-cart-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.navbar.scrolled .nav-cart-btn {
    color: var(--gray-700);
    text-shadow: none;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- HERO SECTION ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(44, 30, 20, 0.65) 0%, rgba(60, 40, 25, 0.60) 100%),
        url('/images/hero-bg.jpeg') center/cover no-repeat;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(92, 61, 46, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 134, 11, 0.04) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(184, 134, 11, 0.25);
    border: 1px solid rgba(184, 134, 11, 0.4);
    border-radius: var(--radius-full);
    color: var(--highlight-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
    background: linear-gradient(135deg, var(--highlight-light), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.trust-icon {
    width: 18px;
    height: 18px;
    color: var(--success);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.hero-card-main {
    width: 320px;
}

.hero-card-img {
    margin-bottom: 16px;
}

.hero-card-main p {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gray-800);
}

.hero-visual-floats {
    display: contents;
}

.hero-card-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    animation: float 4s ease-in-out infinite;
}

.hero-card-float span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
}

.hero-card-1 {
    top: 20px;
    right: -10px;
    animation-delay: 0s;
}

.hero-card-2 {
    bottom: 40px;
    left: -10px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn i {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--highlight), var(--highlight-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.35);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(92, 61, 46, 0.08);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.btn-accent {
    background: linear-gradient(135deg, var(--alert), var(--action));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(167, 22, 102, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(167, 22, 102, 0.4);
    color: var(--white);
}

.btn-highlight {
    background: linear-gradient(135deg, var(--highlight), var(--highlight-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.25);
}

.btn-highlight:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.btn-wa {
    background: #25d366;
    color: var(--white) !important;
}

.btn-wa:hover {
    background: #22c55e;
    transform: translateY(-2px);
    color: var(--white) !important;
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-800);
}

.btn-secondary:hover {
    background: var(--gray-300);
    color: var(--gray-900);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-outline-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    color: var(--gray-600);
    font-size: 0.8rem;
    font-weight: 500;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-sm i {
    width: 14px;
    height: 14px;
}

.btn:disabled,
.btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ---- SECTIONS ---- */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-features {
    background: var(--dark-2);
}

.section-catalog-preview {
    background: var(--dark);
}

.section-portfolio-preview {
    background: var(--dark-2);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(184, 134, 11, 0.08);
    border: 1px solid rgba(184, 134, 11, 0.25);
    border-radius: var(--radius-full);
    color: var(--highlight-dark);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--gray-900);
}

.text-highlight {
    color: var(--primary);
}

.section-desc {
    color: var(--gray-600);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ---- FEATURES GRID ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--white);
    border-color: rgba(184, 134, 11, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.12), rgba(92, 61, 46, 0.08));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-wrap i {
    width: 28px;
    height: 28px;
    color: var(--highlight);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---- PRODUCT CARDS ---- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: visible;
    /* overflow only on image, not card */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 134, 11, 0.3);
    box-shadow: var(--shadow-lg);
}

.product-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0ebe5;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

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

.product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44, 30, 20, 0.3) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="11" y1="8" x2="11" y2="14"></line><line x1="8" y1="11" x2="14" y2="11"></line></svg>') center / 48px no-repeat;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.product-card:hover .product-img::after {
    opacity: 1;
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
}

.product-img-placeholder i {
    width: 48px;
    height: 48px;
    color: var(--gray-600);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.product-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--highlight), #ff9a1f);
    border-radius: var(--radius-full);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.product-featured-badge i {
    width: 14px;
    height: 14px;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.product-material {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-material i {
    width: 14px;
    height: 14px;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.product-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* ---- PORTFOLIO ---- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #ddd1c5;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 26, 0.3) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="11" y1="8" x2="11" y2="14"></line><line x1="8" y1="11" x2="14" y2="11"></line></svg>') center / 48px no-repeat;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.portfolio-item:hover .portfolio-img::after {
    opacity: 1;
}

.portfolio-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
}

.portfolio-img-placeholder i {
    width: 48px;
    height: 48px;
    color: var(--gray-400);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 30, 20, 0.92) 0%, rgba(44, 30, 20, 0.3) 70%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.portfolio-overlay p,
.portfolio-desc {
    font-size: 0.85rem;
    color: var(--gray-200);
}

.portfolio-meta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.portfolio-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--gray-300);
}

.portfolio-meta i {
    width: 14px;
    height: 14px;
}

/* ---- PAGE HEADER ---- */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--dark));
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--gray-600);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- CATALOG FILTER ---- */
.catalog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    color: var(--gray-700);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

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

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

.filter-btn i {
    width: 16px;
    height: 16px;
}

/* ---- FORMS ---- */
.section-form {
    background: var(--dark);
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.form-title i {
    width: 28px;
    height: 28px;
    color: var(--highlight);
}

.premium-form .form-group {
    margin-bottom: 24px;
}

.premium-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.premium-form label i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.required {
    color: var(--action);
}

.premium-form input[type="text"],
.premium-form input[type="email"],
.premium-form input[type="tel"],
.premium-form input[type="password"],
.premium-form input[type="number"],
.premium-form textarea,
.premium-form select {
    width: 100%;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    color: var(--gray-900);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.premium-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c3d2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 48px;
    cursor: pointer;
}

.premium-form input:focus,
.premium-form textarea:focus,
.premium-form select:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
    background: var(--white);
}

.premium-form input::placeholder,
.premium-form textarea::placeholder {
    color: var(--gray-600);
}

.premium-form select option {
    background: var(--white);
    color: var(--gray-800);
}

/* Pickup Toggle Button */
.btn-pickup-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(92, 61, 46, 0.06);
    color: var(--primary);
    border: 1.5px dashed var(--primary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.btn-pickup-toggle:hover {
    background: rgba(92, 61, 46, 0.12);
    border-style: solid;
}

.btn-pickup-toggle.active {
    background: var(--primary);
    color: var(--white);
    border-style: solid;
    border-color: var(--primary);
}

.btn-pickup-toggle i {
    width: 16px;
    height: 16px;
}

/* File Upload */
.file-upload-area {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-area:hover {
    border-color: var(--highlight);
    background: rgba(184, 134, 11, 0.03);
}

.file-upload-area.drag-over {
    border-color: var(--highlight);
    background: rgba(184, 134, 11, 0.08);
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin: 0 auto 12px;
}

.upload-text {
    color: var(--gray-700);
    font-weight: 600;
}

.upload-hint {
    color: var(--gray-500);
    font-size: 0.82rem;
    margin-top: 6px;
}

.file-preview {
    position: relative;
    display: inline-block;
}

.file-preview img {
    max-height: 200px;
    border-radius: var(--radius);
    margin: 0 auto;
}

.file-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--action);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-remove i {
    width: 14px;
    height: 14px;
}

/* Info Cards */
.info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.info-card h3 i {
    width: 22px;
    height: 22px;
    color: var(--highlight);
}

.order-steps {
    list-style: none;
    counter-reset: step;
}

.order-steps li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.step-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, var(--highlight), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
}

.order-steps strong {
    display: block;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.order-steps p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.info-card-wa {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(37, 211, 102, 0.02));
    border-color: rgba(37, 211, 102, 0.15);
}

.consult-list {
    list-style: none;
}

.consult-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.consult-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--highlight);
    margin-top: 2px;
}

.consult-list strong {
    display: block;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.consult-list p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ---- CTA BANNER ---- */
.section-cta-banner {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-2), var(--dark));
}

.cta-banner {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.08), rgba(92, 61, 46, 0.04));
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--gray-600);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-wa-icon {
    fill: currentColor;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--dark-2);
    border-top: 1px solid var(--gray-300);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.footer-logo h3 {
    font-size: 1.15rem;
    color: var(--gray-900);
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-700);
    font-size: 0.88rem;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
}

.footer-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.footer-contact a {
    color: var(--gray-700);
    font-size: 0.88rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-300);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--gray-600);
}

/* ---- WHATSAPP FLOATING ---- */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.wa-icon {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.wa-tooltip {
    position: absolute;
    right: 72px;
    background: var(--gray-900);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ---- SCROLL TO TOP ---- */
.scroll-top {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--gray-800);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.scroll-top i {
    width: 20px;
    height: 20px;
}

/* ---- LIGHTBOX ---- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close i {
    width: 24px;
    height: 24px;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    color: var(--white);
    text-align: center;
    font-size: 1rem;
}

/* ---- TOAST ---- */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    color: var(--gray-800);
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    max-width: 400px;
}

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-error {
    border-left: 4px solid var(--danger);
}

.toast-info {
    border-left: 4px solid var(--info);
}

.toast i {
    width: 20px;
    height: 20px;
    min-width: 20px;
}

.toast-success i {
    color: var(--success);
}

.toast-error i {
    color: var(--danger);
}

.toast-info i {
    color: var(--info);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ---- EMPTY STATE ---- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state h3 {
    margin-top: 16px;
    font-size: 1.2rem;
}

.empty-state p {
    color: var(--gray-400);
    margin-top: 8px;
}

/* ---- SCROLL ANIMATIONS ---- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===========================================
   ADMIN STYLES
   =========================================== */

/* Admin Login */
.admin-login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
}

.login-container {
    width: 100%;
    max-width: 440px;
    padding: 24px;
}

.login-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    box-shadow: var(--shadow-xl);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--highlight), var(--primary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.login-logo-icon {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.login-header h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.login-header p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.login-form {
    margin-top: 28px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.login-form label i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.login-form input {
    width: 100%;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    color: var(--gray-900);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.login-form input:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.login-form input::placeholder {
    color: var(--gray-600);
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 4px;
}

.password-toggle:hover {
    color: var(--white);
}

.password-toggle i {
    width: 18px;
    height: 18px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.alert i {
    width: 18px;
    height: 18px;
    min-width: 18px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.login-footer {
    margin-top: 24px;
    text-align: center;
}

.login-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.login-back:hover {
    color: var(--white);
}

.login-back i {
    width: 16px;
    height: 16px;
}

/* Admin Layout */
.admin-body {
    min-height: 100vh;
    background: var(--dark);
    overflow-x: hidden;
    max-width: 100vw;
}

.admin-sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    transition: var(--transition);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-logo-icon {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.sidebar-brand {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.sidebar-role {
    font-size: 0.72rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 2px;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-link:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}

.sidebar-link.active {
    background: rgba(92, 61, 46, 0.08);
    color: var(--primary);
    font-weight: 600;
}

.sidebar-link i {
    width: 20px;
    height: 20px;
}

.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-logout:hover {
    background: rgba(239, 68, 68, 0.08);
    color: var(--danger);
}

/* Admin Main */
.admin-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    min-width: 0;
    overflow-x: hidden;
}

.admin-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-800);
    cursor: pointer;
    padding: 4px;
}

.sidebar-toggle i {
    width: 24px;
    height: 24px;
}

.topbar-title {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 700;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
    font-size: 0.88rem;
}

.topbar-user i {
    width: 20px;
    height: 20px;
}

.admin-content {
    padding: 32px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    background: var(--white);
    border-color: rgba(184, 134, 11, 0.25);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    width: 26px;
    height: 26px;
}

.stat-pending .stat-icon {
    background: rgba(245, 158, 11, 0.12);
}

.stat-pending .stat-icon i {
    color: var(--warning);
}

.stat-products .stat-icon {
    background: rgba(59, 130, 246, 0.12);
}

.stat-products .stat-icon i {
    color: var(--info);
}

.stat-consultations .stat-icon {
    background: rgba(167, 22, 102, 0.12);
}

.stat-consultations .stat-icon i {
    color: var(--alert);
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-top: 4px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dashboard-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.card-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
}

.card-header h3 i {
    width: 20px;
    height: 20px;
    color: var(--highlight);
}

.card-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--highlight);
}

.card-body {
    padding: 0;
}

.card-body:has(.table-responsive) {
    padding: 0;
}

.card-body:has(.consult-list-admin) {
    padding: 16px;
}

.card-body:has(.empty-state-small) {
    padding: 40px;
}

/* Admin Table */
.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 14px 16px;
    background: var(--gray-50);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    white-space: nowrap;
}

.admin-table td {
    padding: 14px 16px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.88rem;
    vertical-align: middle;
    color: var(--gray-800);
}

.admin-table tbody tr:hover {
    background: var(--gray-50);
}

.admin-table code {
    padding: 3px 8px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--highlight);
    font-weight: 600;
}

.table-img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.table-img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Custom Admin Switch Toggle */
.admin-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.admin-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.admin-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #334155;
    transition: .3s;
    border-radius: 20px;
}

.admin-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.admin-switch input:checked+.admin-slider {
    background-color: #10b981;
}

.admin-switch input:checked+.admin-slider:before {
    transform: translateX(16px);
}

.table-img-placeholder {
    width: 56px;
    height: 42px;
    background: var(--gray-200);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-img-placeholder i {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
}

.cell-address,
.cell-notes,
.cell-message {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cell-date {
    white-space: nowrap;
    color: var(--gray-500);
    font-size: 0.82rem;
}

.phone-link {
    color: var(--primary);
    font-weight: 500;
}

.phone-link:hover {
    color: var(--highlight);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}

.badge-category {
    background: rgba(92, 61, 46, 0.08);
    color: var(--primary);
}

.badge-active {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

.badge-inactive {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
}

.badge-new {
    background: rgba(167, 22, 102, 0.15);
    color: #e879a8;
}

.badge-read {
    background: rgba(107, 114, 128, 0.12);
    color: var(--gray-500);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.status-pending {
    background: rgba(217, 119, 6, 0.12);
    color: var(--warning);
}

.status-diproses {
    background: rgba(37, 99, 235, 0.12);
    color: var(--info);
}

.status-dikerjakan {
    background: rgba(37, 99, 235, 0.12);
    color: var(--info);
}

.status-finishing {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
}

.status-selesai {
    background: rgba(22, 163, 74, 0.12);
    color: var(--success);
}

.status-dibatalkan {
    background: rgba(220, 38, 38, 0.12);
    color: var(--danger);
}

/* Status Select */
.status-select {
    padding: 6px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-800);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.status-select option {
    background: var(--white);
}

/* Action Buttons */
.action-btns {
    display: flex;
    gap: 6px;
}

.btn-icon {
    width: 34px;
    height: 34px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon i {
    width: 16px;
    height: 16px;
}

.btn-icon-edit:hover {
    background: rgba(59, 130, 246, 0.12);
    color: var(--info);
    border-color: rgba(59, 130, 246, 0.2);
}

.btn-icon-delete:hover {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.2);
}

.btn-icon-view:hover {
    background: rgba(184, 134, 11, 0.12);
    color: var(--highlight);
    border-color: rgba(184, 134, 11, 0.2);
}

.btn-icon-download:hover {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

.btn-icon-read:hover {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

.btn-icon-wa:hover {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.2);
}

.row-unread {
    background: rgba(167, 22, 102, 0.04);
}

.text-muted {
    color: var(--gray-600);
}

/* Toolbar */
.content-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.toolbar-count {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-tab:hover {
    background: var(--gray-50);
    color: var(--gray-800);
}

.filter-tab.active {
    background: rgba(184, 134, 11, 0.1);
    border-color: rgba(184, 134, 11, 0.25);
    color: var(--highlight-dark);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-pending {
    background: var(--warning);
}

.dot-processing {
    background: var(--info);
}

.dot-done {
    background: var(--success);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 24px;
}

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

.modal {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

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

.modal-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
}

.modal-header h2 i {
    width: 22px;
    height: 22px;
    color: var(--highlight);
}

.modal-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
}

.modal-close:hover {
    color: var(--gray-900);
}

.modal-close i {
    width: 22px;
    height: 22px;
}

.modal-body {
    padding: 24px 28px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--gray-700);
    font-size: 0.88rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--highlight);
}

.file-input-simple {
    width: 100%;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    color: var(--gray-700);
    font-size: 0.88rem;
}

/* Consult List Admin */
.consult-list-admin {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consult-item-admin {
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
}

.consult-item-admin.unread {
    border-left: 3px solid var(--alert);
    background: rgba(167, 22, 102, 0.04);
}

.consult-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.consult-item-header strong {
    color: var(--gray-800);
    font-size: 0.9rem;
}

.consult-date {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.consult-subject {
    color: var(--primary);
    font-size: 0.82rem;
    margin-bottom: 4px;
}

.consult-preview {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.5;
}

.message-expandable p {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty State Small */
.empty-state-small {
    text-align: center;
    padding: 40px 20px;
}

.empty-state-small i {
    width: 40px;
    height: 40px;
    color: var(--gray-600);
    margin: 0 auto 12px;
    display: block;
}

.empty-state-small p {
    color: var(--gray-500);
    font-size: 0.88rem;
}

.order-code {
    font-family: 'Outfit', monospace;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: flex;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        border-left: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 80px 24px 24px;
        transition: var(--transition);
        gap: 4px;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        padding: 14px 18px;
        color: var(--gray-700);
        text-shadow: none;
    }

    .nav-link:hover {
        color: var(--gray-900);
        background: rgba(92, 61, 46, 0.06);
    }

    .nav-link.active {
        color: var(--primary);
        background: rgba(184, 134, 11, 0.1);
    }

    /* Hero */
    .hero {
        background: linear-gradient(180deg, rgba(28, 20, 16, 0.75) 0%, rgba(44, 30, 20, 0.82) 100%),
            url('/images/hero-bg.jpeg') 22% center / cover no-repeat;
        padding: 100px 0 60px;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .hero-content {
        display: contents;
    }

    .hero-badge {
        order: 1;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        order: 2;
    }

    .hero-subtitle {
        order: 3;
        margin: 0 auto 16px;
    }

    .hero-visual {
        order: 4;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 16px auto;
        width: 100%;
        max-width: 320px;
        min-height: auto;
        position: relative;
    }

    .hero-card-main {
        width: 100%;
        max-width: 220px;
        padding: 24px 20px;
    }

    .hero-card-main .hero-card-img i {
        width: 64px !important;
        height: 64px !important;
    }

    .hero-card-main p {
        font-size: 0.95rem;
    }

    .hero-card-float {
        position: static;
        animation: none;
    }

    .hero-visual-floats {
        display: flex;
        gap: 12px;
        justify-content: center;
        width: 100%;
    }

    .hero-actions {
        order: 5;
        justify-content: center;
        margin-bottom: 24px;
    }

    .hero-trust {
        order: 6;
        justify-content: center;
    }

    /* Keunggulan / Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-icon-wrap {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .feature-icon-wrap i {
        width: 22px;
        height: 22px;
    }

    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .feature-card p {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    /* Layout */
    .form-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        /* Jarak lebih sempit di mobile */
    }

    .portfolio-grid,
    .portfolio-grid-full {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    /* Penyesuaian konten card untuk mobile agar muat di 2 kolom */
    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .product-price {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .product-desc {
        display: none;
    }

    .product-actions {
        display: flex;
        flex-direction: row;
        gap: 6px;
    }

    .product-actions .btn {
        flex: 1;
        padding: 8px 4px;
        font-size: 0.72rem;
        justify-content: center;
        white-space: nowrap;
    }

    /* CTA */
    .cta-banner {
        padding: 40px 24px;
    }

    /* Admin */
    .admin-content {
        padding: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Table */
    .admin-table {
        font-size: 0.82rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .catalog-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

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

    .filter-btn {
        white-space: nowrap;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .login-card {
        padding: 32px 24px;
    }

    .modal {
        margin: 12px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* ---- LIGHTBOX (PREVIEW GAMBAR) ---- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--highlight);
    transform: scale(1.1);
}

.lightbox-img-wrapper {
    position: relative;
    max-height: calc(90vh - 100px);
}

.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: calc(90vh - 100px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img-wrapper img {
    transform: scale(1);
}

.lightbox-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ---- Auto Watermark Lightbox ---- */
.auto-watermark {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    z-index: 5;
}

.watermark-brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin: 0;
}

.watermark-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.watermark-contact svg {
    color: #25d366;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.6));
}

/* Global Form Controls */
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    color: var(--gray-900);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    box-sizing: border-box;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234A3F37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(92, 61, 46, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}