/* assets/css/style.css */
:root {
    --primary-grad: linear-gradient(135deg, #0052d4 0%, #4364f7 50%, #6fb1fc 100%);
    --accent-grad: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    --success-grad: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --primary: #0056cc;
    --primary-light: #ebf4ff;
    --accent: #00c6ff;
    --dark: #0f172a;
    --footer-bg: linear-gradient(135deg, #0d1e36 0%, #17305c 100%);
    --gray: #64748b;
    --light-gray: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background-color: #f6f9fc;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Header & Navigation */
header {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.28s ease, box-shadow 0.22s ease;
}

body.header-hidden header {
    transform: translateY(-100%);
}

body.mobile-nav-open header {
    transform: translateY(0);
}

.top-bar {
    background: linear-gradient(90deg, #004fb0 0%, #0066cc 50%, #00a3e0 100%);
    color: #ffffff;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact span {
    margin-left: 15px;
}

.main-header {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #000000;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.15;
}

.logo-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
}

.logo-subtitle {
    font-size: 9px;
    font-weight: 600;
    color: #8a99ad;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    margin-top: 2px;
    display: block;
}

.logo-mark {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 16px;
    box-shadow: 0 14px 24px -20px rgba(0, 86, 204, 0.55);
    overflow: hidden;
    background: #ffffff;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.search-bar {
    display: flex;
    flex: 1;
    min-width: 0;
    max-width: 600px;
    margin: 0 30px;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s;
}

.search-bar:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
    border-color: var(--primary);
}

.search-bar select {
    border: none;
    background: transparent;
    max-width: 220px;
    padding: 10px 15px;
    font-weight: 600;
    color: var(--dark);
    outline: none;
    cursor: pointer;
    border-right: 1px solid var(--border-color);
}

.search-bar input {
    border: none;
    background: transparent;
    flex: 1;
    min-width: 0;
    padding: 10px 20px;
    font-size: 14px;
    outline: none;
}

.search-bar button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 0 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-bar button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.search-bar button:hover {
    background: #004eb3;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-track {
    background: #ffffff;
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d7e3f4;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    min-height: 44px;
}

.btn-track:hover {
    background: #f8fbff;
    color: var(--primary);
    border-color: #bfd3f6;
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-admin {
    background: linear-gradient(180deg, #1f6bff 0%, #1757d4 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-shadow: 0 14px 28px rgba(31, 107, 255, 0.18);
}

.btn-admin:hover {
    background: linear-gradient(180deg, #175edc 0%, #134abb 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(31, 107, 255, 0.22);
}

.mobile-header-toggle,
.mobile-nav-panel {
    display: none;
}

.mobile-header-toggle {
    border: none;
    background: transparent;
    color: var(--dark);
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-header-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.mobile-header-toggle .line-top,
.mobile-header-toggle .line-mid,
.mobile-header-toggle .line-bot {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    transform-origin: center;
}

.mobile-header-toggle .line-top {
    transform: translateY(-6px);
}

.mobile-header-toggle .line-bot {
    transform: translateY(6px);
}

body.mobile-nav-open .mobile-header-toggle .line-top {
    transform: rotate(45deg);
}

body.mobile-nav-open .mobile-header-toggle .line-mid {
    opacity: 0;
}

body.mobile-nav-open .mobile-header-toggle .line-bot {
    transform: rotate(-45deg);
}

.mobile-header-toggle:hover,
.mobile-header-toggle:focus-visible,
body.mobile-nav-open .mobile-header-toggle {
    background: transparent;
    border-color: transparent;
    color: var(--primary);
}

.mobile-nav-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(100%, 320px);
    padding: 18px;
    border-radius: 0;
    background: #ffffff;
    border: none;
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.25);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.mobile-nav-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-nav-panel[hidden] {
    display: none !important;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-radius: 16px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    gap: 12px;
}

.mobile-menu-item:hover,
.mobile-menu-item:focus-visible {
    background: rgba(0, 86, 204, 0.05);
    color: var(--primary);
}

.mobile-menu-icon {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: color 0.2s ease;
}

.mobile-menu-item:hover .mobile-menu-icon,
.mobile-menu-item:focus-visible .mobile-menu-icon {
    color: var(--primary);
}

.dropdown-chevron {
    margin-left: auto;
    width: 16px;
    height: 16px;
    color: #64748b;
    transition: transform 0.3s ease, color 0.2s ease;
}

.mobile-menu-item:hover .dropdown-chevron {
    color: var(--primary);
}

.mobile-menu-item[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: grid;
    gap: 2px;
    padding: 0px 8px 0px 48px;
    max-height: 0;
    opacity: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, padding 0.3s ease;
}

/* Custom scrollbar for dropdown menu */
.mobile-dropdown-menu::-webkit-scrollbar {
    width: 4px;
}

.mobile-dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-dropdown-menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.mobile-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.mobile-dropdown-menu.is-open {
    opacity: 1;
    padding: 4px 8px 8px 48px;
    max-height: 176px;
    /* Menampilkan sekitar 4 kategori, sisanya bisa discroll */
}

.mobile-dropdown-link {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-dropdown-link:hover,
.mobile-dropdown-link.is-active {
    background: rgba(0, 86, 204, 0.04);
    color: var(--primary);
}

.page-home header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 86, 204, 0.06);
}

.page-home .hero-slider {
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Hero Section */
.hero-slider {
    background: var(--primary-grad);
    padding: 50px 0;
    color: white;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: relative;
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.2) 0%, transparent 60%);
    z-index: 1;
}

.hero-inner {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 30px;
}

.hero-content {
    flex: 1 1 0;
    min-width: 0;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 44px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image {
    flex: 1 1 0;
    min-width: 0;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.hero-image-frame {
    position: relative;
    width: min(100%, 440px);
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 19, 49, 0.02) 0%, rgba(8, 19, 49, 0.16) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.hero-slide.is-active {
    transform: translateX(0);
    opacity: 1;
    z-index: 1;
}

.hero-slide.is-prev {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 0;
}

.hero-slide.is-next {
    transform: translateX(100%);
    opacity: 0;
    z-index: 0;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.hero-image-fallback {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(0, 198, 255, 0.4) 0%, rgba(0, 114, 255, 0.22) 28%, rgba(255, 255, 255, 0.08) 65%);
}

.hero-fallback-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    justify-items: center;
    color: white;
    text-align: center;
}

.hero-fallback-copy span {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-fallback-copy small {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
}

/* Category Bar */
.category-bar {
    margin-top: -30px;
    margin-bottom: 28px;
    position: relative;
    z-index: 3;
}

.category-card {
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
    padding: 22px 0 14px 0;
    position: relative;
    overflow: hidden;
}

.category-list {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 15px;
    padding: 10px 20px 12px 20px;
}

.category-list.has-scroll {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    scroll-behavior: smooth;
    padding: 10px 20px 14px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-list.has-scroll::-webkit-scrollbar {
    display: none;
}

.category-list.has-scroll::after {
    content: '';
    width: 5px;
    flex-shrink: 0;
}

.category-list.has-scroll .category-item {
    width: calc((100% - (7 * 15px)) / 8);
    flex-shrink: 0;
}

.category-scroll-indicator-wrap {
    display: flex;
    justify-content: center;
    margin-top: 4px;
    margin-bottom: 4px;
}

.category-scroll-indicator-track {
    width: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 99px;
    position: relative;
    overflow: hidden;
}

.category-scroll-indicator-thumb {
    width: 16px;
    height: 100%;
    background: var(--primary);
    border-radius: 99px;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(0);
    will-change: transform;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 120px;
    flex-shrink: 0;
    text-align: center;
    text-decoration: none;
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(0, 86, 204, 0.04);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.category-icon-wrapper svg {
    width: 28px;
    height: 28px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-icon-wrapper img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-item span {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.3s ease, font-weight 0.3s ease;
    width: 100%;
    display: block;
    white-space: normal;
    word-break: keep-all;
    line-height: 1.35;
    min-height: 32px;
}

.category-item:hover .category-icon-wrapper {
    background: #edf5ff;
    color: var(--primary);
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 16px -6px rgba(0, 86, 204, 0.15);
}

.category-item.active .category-icon-wrapper {
    background: var(--primary);
    color: white;
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 12px 24px -8px rgba(0, 86, 204, 0.4);
    border-color: var(--primary);
}

.category-item:hover .category-icon-wrapper svg,
.category-item:hover .category-icon-wrapper img {
    transform: scale(1.1);
}

.category-item.active .category-icon-wrapper svg,
.category-item.active .category-icon-wrapper img {
    transform: scale(1.15);
}

.category-item:hover span {
    color: var(--primary);
}

.category-item.active span {
    color: var(--primary);
    font-weight: 700;
}

/* Product Section */
.section-title {
    margin: 60px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.variant-select-wrap {
    width: 100%;
}

.variant-select {
    min-height: 50px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    background: #ffffff;
}

.section-title h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    position: relative;
    padding-bottom: 8px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 10px;
}

.product-grid {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    color: inherit;
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: none;
    border-color: rgba(0, 102, 204, 0.2);
}

.product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    border-bottom: none;
    border-radius: 0;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
    border-radius: 16px;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.product-details {
    padding: 18px 18px 17px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: clamp(15px, 1vw, 17px);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    gap: 14px;
}

.product-price-info {
    display: flex;
    flex-direction: column;
}

.product-price-label {
    font-size: 10px;
    color: var(--gray);
    font-weight: 500;
}

.product-price {
    font-size: clamp(17px, 1.1vw, 20px);
    font-weight: 800;
    color: #ef4444;
}

.btn-order {
    background: var(--primary);
    color: white;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    text-align: center;
    white-space: nowrap;
}

.product-card:hover .btn-order {
    background: var(--accent-grad);
}

.detail-field-helper {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
}

.product-sections {
    display: flex;
    flex-direction: column;
    gap: 46px;
    margin-bottom: 50px;
}

.product-category-section.is-hidden {
    display: none;
}

/* Category Empty State Styling */
.category-empty-state {
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 20px;
    margin-top: 10px;
}

.empty-state-content {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.empty-state-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.empty-state-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.product-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.product-section-labels {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-section-labels h3 {
    margin: 0;
    font-size: clamp(26px, 2.1vw, 34px);
    font-weight: 700;
    color: var(--dark);
}

.product-section-labels span {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray);
}

.product-carousel-shell {
    position: relative;
}

.product-carousel-viewport {
    overflow: hidden;
    padding-top: 15px;
    margin-top: -15px;
    padding-bottom: 15px;
    margin-bottom: -15px;
}

.product-carousel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 60px;
    border: none;
    background: rgba(59, 130, 246, 0.75); /* Translucent primary blue matching screenshot 2 */
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease, opacity 0.25s ease, transform 0.2s ease;
}

.product-carousel-button.prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.product-carousel-button.next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.product-carousel-button:hover:not(:disabled) {
    background: rgba(0, 86, 204, 0.9);
}

.product-carousel-button:disabled {
    cursor: default;
    opacity: 0;
    pointer-events: none;
}

/* Product Detail Page */
.breadcrumbs {
    padding: 24px 0 18px;
    font-size: 12px;
    font-weight: 500;
    color: #7a8aa0;
}

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

.breadcrumbs span {
    margin: 0 8px;
}

.detail-error {
    background: #fff5f5;
    color: #dc2626;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
    margin-bottom: 22px;
    border: 1px solid #fecaca;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 72px;
}

.detail-gallery {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(249, 252, 255, 0.98) 100%);
    border-radius: 28px;
    padding: 0;
    box-shadow: 0 24px 45px -36px rgba(15, 23, 42, 0.32);
    border: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 92px;
    height: fit-content;
    overflow: hidden;
}

.gallery-main {
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    border: 0;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 0;
}

/* Form Pemesanan & Options */
.detail-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-main-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-main-header h1 {
    font-size: clamp(34px, 3.1vw, 52px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.product-main-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.detail-category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 86, 204, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-description-box {
    background: rgba(255, 255, 255, 0.86);
    border-radius: 22px;
    padding: 22px 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 35px -34px rgba(15, 23, 42, 0.45);
}

.detail-section-heading {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #5f6f87;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-description-copy {
    font-size: 15px;
    color: #5a6b83;
    line-height: 1.72;
}

.product-specs-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 22px 24px;
    box-shadow: 0 18px 35px -35px rgba(15, 23, 42, 0.5);
}

.option-group {
    padding: 0;
}

.option-group+.option-group {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.option-title {
    font-size: 12px;
    font-weight: 700;
    color: #60708a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.option-card {
    background: white;
    border: 1px solid #d9e4f2;
    border-radius: 18px;
    padding: 16px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
    box-shadow: 0 12px 28px -24px rgba(15, 23, 42, 0.35);
}

.option-card:hover {
    border-color: #b6d0f7;
    transform: translateY(-1px);
}

.option-card.selected {
    border-color: #7fb1ff;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    box-shadow: 0 18px 34px -28px rgba(0, 86, 204, 0.38);
}

.option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    display: block;
    margin-bottom: 6px;
    line-height: 1.4;
}

.option-price-diff {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.option-price-diff.free {
    color: var(--gray);
}

.product-specs-card+.order-form-card {
    margin-top: 22px;
}

/* Order Form Card */
.order-form-card {
    background: white;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 28px 48px -40px rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.order-form-card h2 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    letter-spacing: -0.02em;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
}

.product-specs-card-custom-size {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.product-specs-card-custom-size h3 {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
}

.product-specs-card-custom-size+.option-group {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.custom-size-description {
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--gray);
}

.custom-size-grid {
    margin-bottom: 0;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.custom-size-grid-linear {
    grid-template-columns: 1fr;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    background: #fbfdff;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 86, 204, 0.08);
    background: white;
}

textarea.form-control {
    resize: vertical;
    min-height: 92px;
}

/* Quantity input wrapper */
.qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
    width: 156px;
    overflow: hidden;
    background: #fbfdff;
}

.qty-btn {
    width: 46px;
    height: 46px;
    background: transparent;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 18px;
    color: var(--dark);
}

.qty-btn:hover {
    background: #f1f6fd;
}

.qty-input {
    flex: 1;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    outline: none;
    width: 50px;
}

/* Upload drag drop */
.file-upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.file-upload-box:hover,
.file-upload-box.dragover {
    border-color: var(--primary);
    background: #f0f7ff;
}

.file-upload-box .upload-box-icon {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.file-upload-box:hover .upload-box-icon,
.file-upload-box.dragover .upload-box-icon {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 204, 0.15);
}

.file-upload-box .upload-box-icon svg {
    width: 22px;
    height: 22px;
}

.file-upload-box .upload-box-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-upload-box .upload-box-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.file-upload-box .upload-box-info {
    font-size: 12px;
    color: var(--gray);
}

/* Pricing Panel */
.pricing-summary {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 16px 20px;
    border-radius: 20px;
    margin-top: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin-bottom: 0;
    padding: 10px 4px;
}

.pricing-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 8px;
    font-weight: 800;
    font-size: 16px;
    color: #ef4444;
}

.pricing-formula {
    margin-top: 2px;
    padding: 8px 4px 12px;
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    margin-top: 16px;
    box-shadow: 0 4px 14px rgba(0, 86, 204, 0.2);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.btn-checkout:hover {
    background: #004eb3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 204, 0.3);
}

.btn-checkout:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 86, 204, 0.2);
}

/* Checkout & Thank You Page Redesign */
.checkout-container {
    max-width: 760px;
    margin: 40px auto 80px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(148, 163, 184, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.checkout-header {
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    color: white;
    padding: 45px 40px 30px;
    text-align: center;
    position: relative;
}

.checkout-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 160%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.checkout-header svg.success-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    padding: 14px;
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.25);
    animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.checkout-header h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.checkout-header p {
    font-size: 14.5px;
    opacity: 0.92;
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto 24px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.order-code-tag {
    font-family: monospace;
    font-size: 13.5px;
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 7px 18px;
    display: inline-block;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.checkout-body {
    padding: 24px 40px 40px;
}

/* Alert Boxes */
.checkout-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 13.5px;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.03);
}

.checkout-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 13.5px;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.03);
}

/* Section Title */
.section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin: 22px 0 18px;
    letter-spacing: -0.02em;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    line-height: 1.2;
}

/* Detail Rows */
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    padding: 11px 0;
    font-size: 14px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row strong {
    color: var(--gray);
    font-weight: 500;
}

.detail-row span,
.detail-row div {
    font-weight: 600;
    color: var(--dark);
    text-align: right;
}

.detail-row a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.detail-row a:hover {
    opacity: 0.8;
}

/* Status Badges */
.order-badge-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.order-badge-status.pending {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

.order-badge-status.processing {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.order-badge-status.completed {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

.order-badge-status.cancelled {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

/* Total Bill Box */
.total-bill-box {
    margin-top: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(0, 86, 204, 0.08);
    padding: 20px 24px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.01);
}

.total-bill-label {
    color: var(--dark);
    font-weight: 800;
    font-size: 14.5px;
}

.total-bill-value {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Payment Layout & Methods */
.payment-heading {
    font-size: 16px;
    font-weight: 800;
    margin-top: 45px;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -0.02em;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    line-height: 1.2;
}

.payment-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.qr-box {
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 20px;
    padding: 26px;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.01);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-box:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 86, 204, 0.2);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.qr-box h3 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.qr-box svg {
    max-width: 140px;
    height: auto;
    margin: 0 auto 18px;
    background: white;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.qr-box span {
    font-size: 11.5px;
    line-height: 1.6;
    color: #64748b;
    font-weight: 500;
    max-width: 240px;
}

.bank-box {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.15);
    padding: 26px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bank-box:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 86, 204, 0.2);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.bank-box h3 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.bank-detail-row {
    border-bottom: 1px dashed rgba(148, 163, 184, 0.12);
    padding: 14px 0;
    margin-bottom: 0;
}

.bank-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bank-label {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.bank-value {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes bounceIn {

    from,
    20%,
    40%,
    60%,
    80%,
    to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }

    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }

    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

/* Footer Section */
footer {
    background: var(--footer-bg);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

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

.footer-col h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 10px;
}

.footer-col p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
    color: #ffffff;
    transform: translateY(-4px);
}

.footer-social-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s ease;
}

.footer-social-link:hover .footer-social-icon {
    color: #ffffff;
}

.footer-social-icon svg {
    width: 24px;
    height: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.5;
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #17b657 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px -12px rgba(37, 211, 102, 0.65);
    z-index: 300;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 38px -14px rgba(37, 211, 102, 0.72);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

/* Responsive Grid and Flex Fixes */
@media (max-width: 1120px) {
    .main-header {
        flex-wrap: wrap;
        align-items: center;
    }

    .search-bar {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        margin: 0;
    }

    .header-actions {
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
    }

    .floating-whatsapp svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 1200px) {
    .product-card {
        flex-basis: calc((100% - 48px) / 3);
    }
}

@media (max-width: 992px) {
    .product-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .product-main-header h1 {
        font-size: clamp(28px, 5vw, 40px);
    }

    .detail-gallery {
        padding: 14px;
    }

    .order-form-card,
    .product-specs-card,
    .product-description-box {
        padding-inline: 20px;
    }

    .detail-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-gallery {
        position: relative;
        top: 0;
    }

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

    .product-carousel-button {
        width: 24px;
        height: 48px;
    }

    .product-carousel-button.prev {
        border-radius: 0 6px 6px 0;
    }

    .product-carousel-button.next {
        border-radius: 6px 0 0 6px;
    }

    .product-carousel-button svg {
        width: 14px !important;
        height: 14px !important;
    }

    .product-carousel-viewport {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .product-carousel-viewport::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 768px) {
    header {
        box-shadow: 0 10px 24px -20px rgba(15, 23, 42, 0.28);
    }

    .container {
        padding: 0 14px;
    }

    .product-grid {
        gap: 16px;
    }

    .product-card {
        flex-basis: calc((100% - 16px) / 2);
    }

    .product-section-head {
        align-items: flex-start;
    }

    .product-section-labels h3 {
        font-size: 22px;
    }

    .product-sections.single-category-view .product-carousel-button {
        display: none !important;
    }

    .product-sections.single-category-view .product-carousel-viewport {
        overflow: visible !important;
    }

    .product-sections.single-category-view .product-grid {
        flex-wrap: wrap !important;
        transform: none !important;
    }

    .breadcrumbs {
        padding: 18px 0 14px;
        font-size: 11px;
    }

    .product-main-header h1 {
        font-size: 26px;
    }

    .detail-description-copy {
        font-size: 14px;
    }

    .option-cards {
        grid-template-columns: 1fr;
    }

    .order-form-card,
    .product-specs-card,
    .product-description-box {
        padding: 18px;
    }

    .option-group+.option-group {
        margin-top: 18px;
        padding-top: 18px;
    }

    .pricing-row,
    .pricing-row.total {
        font-size: 14px;
    }

    .main-header {
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 16px 12px;
        position: relative;
    }

    .logo {
        font-size: 20px;
        gap: 8px;
        flex: 0 1 auto;
    }

    .logo-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .search-bar {
        order: 2;
        flex: 1 1 0;
        width: auto;
        max-width: none;
        margin: 0 8px;
        min-width: 0;
    }

    .page-home .search-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
        overflow: hidden;
        border-radius: 20px;
        border: 1px solid #d9e6f7;
        background: #ffffff;
        box-shadow: 0 12px 28px -24px rgba(0, 86, 204, 0.4);
    }

    .page-home .search-bar select {
        display: none;
    }

    .page-home .search-bar input {
        min-height: 46px;
        padding: 0 14px;
        font-size: 14px;
    }

    .page-home .search-bar button {
        min-height: 46px;
        padding: 0 16px;
        border-radius: 0;
    }

    .header-actions {
        gap: 10px;
        margin-left: auto;
    }

    .page-home .header-actions {
        display: none;
    }

    .page-home .mobile-header-toggle {
        display: inline-flex;
        order: 3;
        flex: 0 0 auto;
    }

    .page-home .mobile-nav-panel {
        display: block;
    }

    .btn-track,
    .btn-admin {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 12px;
    }

    .page-home .hero-slider {
        padding: 18px 0 24px;
        color: #ffffff;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .page-home .hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .page-home .hero-content {
        display: block;
        max-width: none;
    }

    .page-home .hero-image {
        display: flex;
        justify-content: center;
    }

    .page-home .hero-image-frame {
        width: min(100%, 480px);
        border-radius: 24px;
        box-shadow: 0 18px 32px -24px rgba(15, 23, 42, 0.48);
    }

    .page-home .hero-tag {
        margin-bottom: 14px;
        font-size: 11px;
        letter-spacing: 0.08em;
    }

    .page-home .hero-content h1 {
        font-size: clamp(30px, 7vw, 40px);
        margin-bottom: 14px;
    }

    .page-home .hero-content p {
        margin-bottom: 0;
        max-width: 36rem;
        font-size: 15px;
        opacity: 0.94;
    }

    .page-home .hero-slide img {
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    .page-home .category-bar {
        margin-top: 14px;
        margin-bottom: 24px;
    }

    .page-home .category-card {
        background: white;
        box-shadow: var(--shadow-lg);
        border-radius: 24px;
        padding: 8px 0 10px 0;
    }

    .page-home .category-list:not(.has-scroll) {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px 10px;
        padding: 8px 14px 10px 14px;
        border-radius: 0;
        overflow: visible;
        justify-content: initial;
        align-items: stretch;
    }

    .page-home .category-list.has-scroll {
        padding: 8px 14px 12px 14px;
        border-radius: 0;
        gap: 12px;
    }

    .page-home .category-item {
        min-width: 0;
        width: auto;
        gap: 10px;
    }

    .page-home .category-list.has-scroll .category-item {
        width: calc((100% - (3 * 12px)) / 4);
        flex-shrink: 0;
    }

    .page-home .category-icon-wrapper {
        width: 54px;
        height: 54px;
        margin: 0 auto;
        border-radius: 16px;
    }

    .page-home .category-item span {
        font-size: 11px;
        line-height: 1.35;
        display: block;
        width: 100%;
        white-space: normal;
        word-break: break-word;
        min-height: 30px;
    }

    .page-home .product-sections {
        gap: 30px;
        margin-bottom: 28px;
    }

    .page-home .product-section-head {
        margin-bottom: 14px;
    }

    .page-home .product-section-labels h3 {
        font-size: 20px;
        letter-spacing: -0.03em;
    }

    .page-home .product-section-labels span {
        font-size: 11px;
    }

    .page-home .product-grid {
        gap: 14px;
        padding-bottom: 6px;
    }

    .page-home .product-card {
        flex-basis: calc((100% - 14px) / 2);
        border-radius: 18px;
    }

    .page-home .product-image {
        padding: 10px;
        border-radius: 18px;
    }

    .page-home .product-image img {
        border-radius: 12px;
    }

    .page-home .product-details {
        padding: 12px 12px 14px;
    }

    .page-home .product-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .page-home .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 10px;
    }

    .page-home .product-price {
        font-size: 16px;
    }

    .page-home .btn-order {
        width: 100%;
        min-height: 36px;
        border-radius: 12px;
        font-size: 11px;
    }

    .page-home footer {
        margin-top: 36px;
        padding-bottom: 20px;
    }

    .page-home .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .payment-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .top-bar-contact span {
        margin-left: 0;
        margin-right: 12px;
    }

    .page-home header {
        background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
        border-bottom: 1px solid rgba(0, 86, 204, 0.08);
    }

    .page-home .main-header {
        align-items: center;
        gap: 12px;
        padding: 8px 16px;
        flex-wrap: nowrap;
    }

    .page-home .logo {
        gap: 0;
        max-width: 36px;
        flex: 0 0 auto;
        order: 1;
    }

    .page-home .logo-text {
        display: none;
    }

    .page-home .logo-mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        box-shadow: none;
    }

    .page-home .search-bar {
        order: 2;
        flex: 1 1 0;
        min-width: 0;
        border-radius: 18px;
        margin: 0 8px;
    }

    .page-home .mobile-header-toggle {
        order: 3;
        width: 36px;
        height: 36px;
        flex: 0 0 auto;
    }

    .page-home .search-bar input {
        min-height: 44px;
        width: 100%;
        border: 0;
        padding: 0 12px 0 14px;
        background: transparent;
        font-size: 14px;
    }

    .page-home .search-bar button {
        min-height: 44px;
        width: 40px;
        padding: 0;
        border-radius: 0;
        background: var(--primary);
        color: #ffffff;
    }

    .page-home .search-bar button svg {
        width: 17px;
        height: 17px;
    }

    .page-home .search-bar button span {
        display: none;
    }

    .page-home .mobile-nav-panel {
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        padding: 16px;
    }

    .page-home .hero-slider {
        padding: 16px 0 22px;
    }

    .page-home .hero-inner {
        gap: 18px;
    }

    .page-home .hero-content h1 {
        font-size: clamp(26px, 8.5vw, 34px);
        line-height: 1.18;
    }

    .page-home .hero-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .page-home .hero-image-frame {
        width: 100%;
        max-width: 360px;
        border-radius: 22px;
    }

    .page-home .category-card {
        padding: 18px 0 12px 0;
        border-radius: 22px;
    }

    .page-home .category-list:not(.has-scroll) {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding: 8px 10px 10px 10px;
        gap: 14px 6px;
        border-radius: 0;
    }

    .page-home .category-list.has-scroll {
        padding: 8px 10px 10px 10px;
        border-radius: 0;
        gap: 10px;
    }

    .page-home .category-list.has-scroll .category-item {
        width: calc((100% - (3 * 10px)) / 4);
        flex-shrink: 0;
    }

    .page-home .category-icon-wrapper {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .page-home .category-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    .page-home .category-icon-wrapper img {
        width: 26px;
        height: 26px;
    }

    .page-home .category-item span {
        font-size: 10px;
        line-height: 1.3;
        display: block;
        width: 100%;
        white-space: normal;
        word-break: break-word;
        min-height: 26px;
    }

    .page-home .product-section-labels h3 {
        font-size: 18px;
    }

    .page-home .product-card {
        flex-basis: calc((100% - 12px) / 2);
        min-width: 150px;
    }

    .page-home .product-grid {
        gap: 12px;
    }

    .header-actions {
        width: 100%;
        justify-content: stretch;
    }

    .btn-track,
    .btn-admin {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .product-card {
        flex-basis: 100%;
    }

    .page-home .product-card {
        flex-basis: calc((100% - 12px) / 2);
    }
}

/* Payment Upload Card Styles */
.payment-upload-card {
    margin-top: 35px;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.payment-upload-card .upload-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.payment-upload-card .upload-desc {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

.payment-upload-card .upload-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    width: 100%;
}

.payment-upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.payment-upload-box:hover,
.payment-upload-box.dragover {
    border-color: var(--primary);
    background: #f0f7ff;
}

.payment-upload-box .upload-box-icon {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.payment-upload-box:hover .upload-box-icon,
.payment-upload-box.dragover .upload-box-icon {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 204, 0.15);
}

.payment-upload-box .upload-box-icon svg {
    width: 22px;
    height: 22px;
}

.payment-upload-box .upload-box-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-upload-box .upload-box-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.payment-upload-box .upload-box-title strong {
    color: var(--primary);
}

.payment-upload-box .upload-box-info {
    font-size: 12px;
    color: var(--gray);
}

.payment-upload-footer {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.selected-file-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.2s ease;
    min-width: 0;
}

.selected-file-container .file-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.selected-file-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.selected-file-details .file-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected-file-details .file-size {
    font-size: 11px;
    color: var(--gray);
}

.remove-file-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-file-btn:hover {
    background: #e2e8f0;
    color: #ef4444;
}

.remove-file-btn svg {
    width: 18px;
    height: 18px;
}

.btn-payment-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-payment-submit:hover:not(:disabled) {
    background: #0049ad;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 204, 0.15);
}

.btn-payment-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-payment-submit:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

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

@media (max-width: 640px) {
    .payment-upload-card {
        padding: 20px;
    }
}

.selected-file-container {
    cursor: pointer;
    transition: all 0.2s ease;
}

.selected-file-container:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.file-preview-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Preview Modal Styles */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.preview-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.preview-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 1001;
    overflow: hidden;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preview-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.preview-modal-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.preview-modal-close {
    background: #f1f5f9;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.preview-modal-close:hover {
    background: #e2e8f0;
    color: var(--dark);
}

.preview-modal-close svg {
    width: 18px;
    height: 18px;
}

.preview-modal-body {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    min-height: 200px;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Checkout Mobile Styling Optimization */
@media (max-width: 576px) {
    .checkout-container {
        margin: 20px auto 40px;
        border-radius: 20px;
    }

    .checkout-header {
        padding: 30px 20px 20px;
    }

    .checkout-header h1 {
        font-size: 22px;
    }

    .checkout-header p {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .checkout-body {
        padding: 16px 16px 20px;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 9px 0;
    }

    .detail-row strong {
        font-size: 13px;
        color: var(--gray);
    }

    .detail-row span,
    .detail-row div {
        text-align: left !important;
        font-size: 14px;
        width: 100%;
    }

    .detail-row div span {
        text-align: left !important;
    }

    .total-bill-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 18px;
        margin-top: 20px;
    }

    .total-bill-label {
        font-size: 13.5px;
    }

    .total-bill-value {
        font-size: 20px;
        line-height: 1.25;
    }

    .payment-layout {
        gap: 16px;
    }

    .qr-box,
    .bank-box {
        padding: 20px 16px;
    }
}

/* Custom Select Dropdown Styling */
.custom-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    border-right: 1px solid var(--border-color);
    min-width: 170px;
    max-width: 240px;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    user-select: none;
    gap: 8px;
}

.custom-select-trigger span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-chevron {
    width: 16px;
    height: 16px;
    color: var(--gray);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.custom-select-wrapper.is-open .custom-select-chevron {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 260px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(0, 86, 204, 0.05);
    padding: 8px 4px;
    margin: 0;
    list-style: none;
    z-index: 999;
    max-height: 230px;
    /* Displays max 5 items, scrollable */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select-options::-webkit-scrollbar {
    width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: transparent;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.custom-select-wrapper.is-open .custom-select-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.custom-select-option {
    padding: 10px 14px;
    margin: 2px 4px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-option:hover {
    background: #f8fafc;
    color: var(--primary);
}

.custom-select-option.is-selected {
    background: #ebf4ff;
    /* Light blue highlight */
    color: var(--primary);
    /* Deep blue text */
    font-weight: 700;
    /* Bold text matching the right image */
}

/* Make sure button has correct rounded corners when overflow: hidden is removed from .search-bar on desktop */
@media (min-width: 769px) {
    .search-bar {
        overflow: visible;
    }

    .search-bar button {
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
    }
}

@media (max-width: 768px) {
    .page-home .search-bar .custom-select-wrapper {
        display: none !important;
    }
}

/* Custom Product Variant Dropdown Styling */
.variant-select-wrapper {
    position: relative;
    width: 100%;
}

.variant-select-wrapper .custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    background: #ffffff;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.variant-select-wrapper .custom-select-trigger:hover {
    border-color: #cbd5e1;
}

.variant-select-wrapper.is-open .custom-select-trigger {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 86, 204, 0.08);
}

.variant-select-wrapper .custom-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(0, 86, 204, 0.05);
    padding: 8px 4px;
    margin: 0;
    list-style: none;
    z-index: 999;
    max-height: 250px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.variant-select-wrapper.is-open .custom-select-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.variant-select-wrapper .custom-select-option {
    padding: 12px 16px;
    margin: 2px 4px;
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.variant-select-wrapper .custom-select-option:hover {
    background: #f8fafc;
    color: var(--primary);
}

.variant-select-wrapper .custom-select-option.is-selected {
    background: #ebf4ff;
    color: var(--primary);
    font-weight: 700;
}

/* Selected Files List Stack layout */
.selected-files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* Order Status Badge styles for history */
.order-badge-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
}
.order-badge-status.pending { background:#fef3c7; color:#d97706; }
.order-badge-status.processing { background:#dbeafe; color:#2563eb; }
.order-badge-status.completed { background:#d1fae5; color:#059669; }
.order-badge-status.cancelled { background:#fee2e2; color:#dc2626; }