:root {
    --color-bg: #ffffff;
    --color-primary: #1d1d1f;
    --color-secondary: #d2b48c;
    --color-muted: #6f6f6f;
    --color-border: #e8e8e8;
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --spacing: clamp(1.6rem, 1vw + 1rem, 2.4rem);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-primary);
    font-family: var(--font-sans);
}

a {
    color: inherit;
    text-decoration: none;
}

img, video {
    max-width: 100%;
    display: block;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.2rem 3vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px -32px rgba(0, 0, 0, 0.35);
    padding: 0.8rem 3vw;
}

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

.logo {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo span {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    letter-spacing: 0.4rem;
    transition: letter-spacing 0.3s ease;
}

.logo:hover span {
    letter-spacing: 0.5rem;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0.4rem;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.4rem;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.menu-toggle span {
    width: 1.6rem;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-toggle:hover span {
    background: var(--color-secondary);
}

.header.is-scrolled .menu-toggle span {
    height: 2.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-link:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.cart-link .icon {
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-link:hover .icon {
    transform: scale(1.2) rotate(-10deg);
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    color: #fff;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.cart-link:hover .cart-count {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(210, 180, 140, 0.4);
}

.user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    background: transparent;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    color: inherit;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-toggle:focus,
.user-toggle:hover,
.user-menu.is-open .user-toggle {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.user-caret {
    font-size: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-menu.is-open .user-caret {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 2rem;
    right: 0;
    background: #fff;
    border-radius: 0.6rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    min-width: 10rem;
    padding: 0.8rem 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-menu.is-open .user-dropdown,
.user-menu:focus-within .user-dropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.user-dropdown a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    position: relative;
}

.user-dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--color-secondary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0.3rem 0.3rem 0;
}

.user-dropdown a:hover {
    background: rgba(0, 0, 0, 0.05);
    padding-left: 1.4rem;
}

.user-dropdown a:hover::before {
    width: 3px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.6rem 1.6rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(29, 29, 31, 0.2);
}

.btn-primary:hover {
    background: #000;
    box-shadow: 0 6px 20px rgba(29, 29, 31, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    position: relative;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-primary);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-outline:hover {
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 29, 31, 0.2);
}

.btn-outline:hover::after {
    transform: scaleX(1);
}

/* Styling untuk tombol ikon */
.btn-icon {
    padding: 0.6rem;
    min-width: 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon i {
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-icon:hover i {
    transform: scale(1.15);
}

.btn-icon:active i {
    transform: scale(0.95);
}

/* Tooltip styling untuk aksesibilitas */
.btn-icon[title] {
    position: relative;
}

.btn-icon[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: tooltipFadeIn 0.2s ease-out forwards;
}

.btn-icon[title]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--color-primary);
    pointer-events: none;
    z-index: 1001;
    opacity: 0;
    animation: tooltipFadeIn 0.2s ease-out forwards;
}

@keyframes tooltipFadeIn {
    to {
        opacity: 1;
    }
}

.offcanvas {
    position: fixed;
    inset: 0;
    background: rgba(29, 29, 31, 0.3);
    backdrop-filter: blur(8px);
    display: none;
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offcanvas.open {
    display: block;
    opacity: 1;
}

.offcanvas-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(320px, 80vw);
    background: #fff;
    padding: var(--spacing);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas.open .offcanvas-content {
    transform: translateX(0);
}

.close-offcanvas {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

.offcanvas-header {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas.open .offcanvas-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

.offcanvas:not(.open) .offcanvas-header {
    transition-delay: 0s;
}

.offcanvas-header .brand {
    font-family: var(--font-serif);
    letter-spacing: 0.3rem;
    font-size: 1.2rem;
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.offcanvas-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.8rem 0;
    position: relative;
    display: inline-block;
}

.offcanvas.open .offcanvas-nav .nav-link {
    opacity: 1;
    transform: translateX(0);
}

.offcanvas.open .offcanvas-nav .nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.offcanvas.open .offcanvas-nav .nav-link:nth-child(2) {
    transition-delay: 0.15s;
}

.offcanvas.open .offcanvas-nav .nav-link:nth-child(3) {
    transition-delay: 0.2s;
}

.offcanvas.open .offcanvas-nav .nav-link:nth-child(4) {
    transition-delay: 0.25s;
}

.offcanvas.open .offcanvas-nav .nav-link:nth-child(5) {
    transition-delay: 0.3s;
}

.offcanvas.open .offcanvas-nav .nav-link:nth-child(6) {
    transition-delay: 0.35s;
}

.offcanvas:not(.open) .offcanvas-nav .nav-link {
    transition-delay: 0s;
}

.offcanvas-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas-nav .nav-link:hover {
    color: var(--color-secondary);
    transform: translateX(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas-nav .nav-link:hover::before {
    width: 100%;
}

.offcanvas-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas.open .offcanvas-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.offcanvas:not(.open) .offcanvas-footer {
    transition-delay: 0s;
}

.offcanvas-footer .nav-link {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.8rem 0;
    position: relative;
    display: inline-block;
}

.offcanvas.open .offcanvas-footer .nav-link {
    opacity: 1;
    transform: translateX(0);
}

.offcanvas.open .offcanvas-footer .nav-link:nth-child(1) {
    transition-delay: 0.45s;
}

.offcanvas.open .offcanvas-footer .nav-link:nth-child(2) {
    transition-delay: 0.5s;
}

.offcanvas:not(.open) .offcanvas-footer .nav-link {
    transition-delay: 0s;
}

.offcanvas-footer .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas-footer .nav-link:hover {
    color: var(--color-secondary);
    transform: translateX(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas-footer .nav-link:hover::before {
    width: 100%;
}

.page-content {
    padding-top: 5rem;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 4rem 1.5rem;
    max-width: 720px;
}

.hero-overlay h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
}

.hero-overlay p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.section {
    padding: clamp(4rem, 8vw, 6rem) 6vw;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.05rem;
}

.section-heading .link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 0.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-heading .link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-heading .link:hover {
    color: var(--color-secondary);
    transform: translateX(4px);
}

.section-heading .link:hover::after {
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.product-card {
    background: #fff;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(210, 180, 140, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

/* Optimasi performa untuk animasi - hanya terapkan jika AOS aktif */
html.aos-enabled [data-aos] {
    pointer-events: auto;
    will-change: transform, opacity;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

html.aos-enabled [data-aos].aos-animate {
    pointer-events: auto;
    opacity: 1 !important;
}

/* Default: elemen tetap terlihat jika AOS tidak aktif */
[data-aos] {
    opacity: 1;
}

/* Fallback untuk animasi scroll manual */
[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

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

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

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

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* Optimasi GPU untuk elemen yang sering berubah */
.header,
.product-card,
.btn,
.filter-pill {
    will-change: transform;
}

/* Reset will-change setelah animasi selesai untuk performa */
.header.is-scrolled {
    will-change: auto;
}

/* Ripple effect untuk buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Animasi loading untuk product cards (jika tidak menggunakan AOS) */
.product-card:not([data-aos]) {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth transition untuk semua interaktif elements */
a, button, input, select, textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll progress indicator (opsional) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    z-index: 9999;
    transition: width 0.1s ease;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px -35px rgba(0, 0, 0, 0.45);
}

.product-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card-content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
    min-height: 0;
    justify-content: space-between;
}

.product-card-content p {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    min-height: 4.5em;
    margin: 0;
}

.product-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.8rem;
    width: 100%;
    flex-shrink: 0;
}

.product-card-price {
    text-align: left;
    margin-bottom: 10px;
    width: 100%;
    order: 1;
    display: block;
    flex-shrink: 0;
}

.product-card-price .price-tag {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111 !important;
    line-height: 1.4 !important;
    display: inline-block !important;
    white-space: nowrap;
    margin: 0;
    padding: 4px 0;
}

.product-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    order: 2;
    flex-shrink: 0;
    margin-top: 0;
}

.product-card-actions form {
    margin: 0;
}

.product-card-footer.no-price .product-card-actions {
    justify-content: center;
}

.product-card-footer .btn {
    min-width: 104px;
    font-size: 0.9rem;
}

.product-card-footer .btn-icon {
    min-width: 44px;
    width: 44px;
}

.product-card-content h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-content .category {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.price-tag {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.2;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.filter-pill {
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.filter-pill.active {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
}

.filter-pill.active::before {
    left: 0;
}

.filter-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 29, 31, 0.15);
}

.filter-pill:active {
    transform: translateY(0);
}

.search-bar {
    position: relative;
    max-width: 320px;
}

.search-bar input {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.6rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.search-bar input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.1);
    transform: scale(1.02);
}

.search-bar input::placeholder {
    transition: opacity 0.3s ease;
}

.search-bar input:focus::placeholder {
    opacity: 0.5;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin-top: 2rem;
}

.stat-card {
    padding: 1.8rem 1.5rem;
    background: #f9f9f9;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    max-width: 280px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.stat-card h3 {
    font-size: 2.4rem;
    margin: 0 0 0.4rem 0;
    font-family: var(--font-serif);
}

.about-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-copy h2 {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.about-copy p {
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 0;
}

.about-copy {
    max-width: 100%;
}

.site-footer {
    background: #111;
    color: #fff;
    padding: 4rem 6vw 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Footer Brand/Logo */
.footer-brand {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: 0.4rem;
    font-weight: 600;
    color: #fff;
    display: inline-block;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

/* Footer Content - Multi Column */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem 2rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: var(--color-secondary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-links a:hover::before {
    width: 4px;
}

/* Footer Contact Info */
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-info i {
    color: var(--color-secondary);
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: #fff;
}

/* Social Media & Payment */
.footer-social-payment {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-social,
.footer-payment {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--color-secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(210, 180, 140, 0.3);
}

.social-link:active {
    transform: translateY(-1px);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.payment-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Footer Bottom - Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 5vw 1.5rem;
    }
    
    .footer-brand {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer-logo-text {
        font-size: 1.6rem;
        letter-spacing: 0.3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
    }
    
    .footer-social-payment {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem 0;
    }
    
    .footer-social,
    .footer-payment {
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-contact {
        grid-column: 1;
    }
}

.form-card {
    max-width: 420px;
    margin: 5rem auto;
    padding: 2.5rem;
    border-radius: 1.4rem;
    box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.35);
    background: #fff;
}

.form-card h1 {
    font-family: var(--font-serif);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    border: 1px solid var(--color-border);
    border-radius: 0.8rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.1);
    transform: translateY(-1px);
}

.form-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.form-footer-text {
    color: var(--color-muted);
    line-height: 1.6;
}

.form-footer-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

.form-footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-footer-link:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

.form-footer-link:hover::after {
    width: 100%;
}

.form-footer-link:active {
    transform: translateY(0);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.8rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: #e7f7ed;
    color: #1b7a3c;
}

.alert-error {
    background: #fdecea;
    color: #c0392b;
}

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

.cart-table th,
.cart-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.cart-table th {
    font-weight: 600;
    background: rgba(0, 0, 0, 0.02);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-muted);
}

.cart-table td {
    vertical-align: middle;
}

.cart-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.01);
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--color-border);
    border-radius: 0.8rem;
    overflow: hidden;
    background: #fff;
    width: 140px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quantity-control:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.1);
    transform: translateY(-1px);
}

.qty-btn {
    background: #f8f8f8;
    border: none;
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    min-width: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    flex-shrink: 0;
}

.qty-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.qty-btn:hover:not(:disabled) {
    background: var(--color-primary);
    color: #fff;
}

.qty-btn:hover:not(:disabled) i {
    transform: scale(1.1);
}

.qty-btn:active:not(:disabled) {
    transform: scale(0.95);
    background: #000;
}

.qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    background: #f8f8f8;
    color: var(--color-muted);
}

.qty-input {
    border: none;
    border-left: 1.5px solid var(--color-border);
    border-right: 1.5px solid var(--color-border);
    width: 100%;
    min-width: 60px;
    text-align: center;
    padding: 0.65rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    background: #fff;
    color: var(--color-primary);
    -moz-appearance: textfield;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    background: #fafafa;
}

.qty-input[readonly] {
    cursor: default;
    background: #fff;
}

/* Tombol Tambah ke Keranjang */
.btn-add-to-cart {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 0.8rem;
    box-shadow: 0 4px 12px rgba(29, 29, 31, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart i {
    font-size: 1.1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-add-to-cart span {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-add-to-cart:hover {
    background: #000;
    box-shadow: 0 6px 20px rgba(29, 29, 31, 0.35);
    transform: translateY(-2px);
}

.btn-add-to-cart:hover i {
    transform: scale(1.15) rotate(-5deg);
}

.btn-add-to-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(29, 29, 31, 0.25);
}

.btn-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .add-to-cart-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quantity-control-wrapper {
        width: 100%;
    }
    
    .quantity-control {
        width: 100%;
        max-width: 160px;
    }
    
    .qty-btn {
        min-width: 44px;
        width: 44px;
        padding: 0.7rem;
    }
    
    .qty-input {
        padding: 0.7rem 0.5rem;
        font-size: 0.95rem;
    }
    
    .btn-add-to-cart {
        width: 100%;
        min-width: auto;
    }
}

/* Tombol Delete Item */
.cart-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #c0392b;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.cart-delete-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-delete-btn:hover {
    background: rgba(192, 57, 43, 0.1);
    color: #a93226;
    transform: translateY(-2px);
}

.cart-delete-btn:hover i {
    transform: scale(1.15) rotate(15deg);
}

.cart-delete-btn:active {
    transform: translateY(0);
    background: rgba(192, 57, 43, 0.15);
}

/* Cart Summary Layout */
.cart-summary {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cart-summary-left {
    display: flex;
    align-items: center;
}

.cart-summary-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cart-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.cart-total-label {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: 500;
}

.cart-total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-serif);
}

/* Tombol Update Keranjang (Secondary) */
.btn-update-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-border);
    border-radius: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-update-cart i {
    font-size: 0.9rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-update-cart:hover {
    background: rgba(29, 29, 31, 0.05);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 29, 31, 0.1);
}

.btn-update-cart:hover i {
    transform: rotate(180deg);
}

.btn-update-cart:active {
    transform: translateY(0);
    background: rgba(29, 29, 31, 0.08);
}

.btn-update-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Tombol Checkout (Primary) */
.btn-checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 0.8rem;
    box-shadow: 0 4px 12px rgba(29, 29, 31, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-checkout i {
    font-size: 1.1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-checkout:hover {
    background: #000;
    box-shadow: 0 6px 20px rgba(29, 29, 31, 0.35);
    transform: translateY(-2px);
    color: #fff;
}

.btn-checkout:hover i {
    transform: scale(1.15) translateX(2px);
}

.btn-checkout:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(29, 29, 31, 0.25);
}

.btn-checkout:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .cart-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cart-summary-left {
        width: 100%;
    }
    
    .btn-update-cart {
        width: 100%;
        justify-content: center;
    }
    
    .cart-summary-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cart-total {
        align-items: center;
        width: 100%;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 0.8rem;
    }
    
    .btn-checkout {
        width: 100%;
        justify-content: center;
    }
    
    .cart-table {
        font-size: 0.9rem;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .quantity-control {
        width: 120px;
    }
}

.checkout-hero {
    margin: 7rem 6vw 2.5rem;
    padding: 3.2rem clamp(1.6rem, 3vw, 3rem);
    background: linear-gradient(120deg, rgba(139, 92, 246, 0.15), rgba(34, 211, 238, 0.12));
    border-radius: 1.6rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.18);
    box-shadow: 0 25px 60px -35px rgba(0, 0, 0, 0.45);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.checkout-hero::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0));
    filter: blur(10px);
}

.checkout-hero__text h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin: 0.5rem 0 0.4rem;
}

.checkout-hero__text p {
    max-width: 620px;
    line-height: 1.6;
    color: var(--color-primary);
}

.checkout-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-primary);
}

.chip-primary {
    background: linear-gradient(120deg, var(--color-accent), var(--color-accent-2));
    color: #fff;
    box-shadow: 0 12px 30px -16px rgba(139, 92, 246, 0.6);
}

.chip-soft {
    border: 1px solid var(--color-border);
    background: rgba(0, 0, 0, 0.04);
}

.chip-ghost {
    background: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
}

.checkout-hero__card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    padding: 1.6rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}

.checkout-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.1rem;
}

.checkout-step {
    border: 1px dashed rgba(0, 0, 0, 0.08);
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
}

.checkout-step.done {
    background: linear-gradient(120deg, var(--color-accent), var(--color-accent-2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 30px -14px rgba(139, 92, 246, 0.55);
}

.checkout-step.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 10px 25px -18px rgba(139, 92, 246, 0.6);
}

.checkout-step.pending {
    color: var(--color-muted);
}

.checkout-hero__total {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.checkout-hero__total strong {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.checkout-hero__total small {
    color: var(--color-muted);
}

.checkout-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.checkout-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.9rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0.9rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 6vw 5rem;
}

.checkout-card {
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: linear-gradient(180deg, #fff, #f9fafb);
    box-shadow: 0 30px 70px -48px rgba(0, 0, 0, 0.6);
}

.checkout-card__header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.checkout-card__header p {
    margin: 0;
    color: var(--color-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-group.full-row {
    grid-column: 1 / -1;
}

.input-hint {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-top: -0.3rem;
}

.checkout-extra {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0.9rem;
    color: var(--color-muted);
    margin-top: 0.5rem;
}

.btn-midtrans {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(120deg, var(--color-accent), #1d1d1f);
    color: #fff;
    border: none;
    box-shadow: 0 22px 44px -22px rgba(29, 29, 31, 0.55);
}

.btn-midtrans:hover {
    background: linear-gradient(120deg, #1d1d1f, var(--color-accent));
    box-shadow: 0 24px 48px -20px rgba(139, 92, 246, 0.55);
}

.btn-midtrans i {
    margin-left: 0.5rem;
}

.checkout-summary-card {
    position: sticky;
    top: 6.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: linear-gradient(180deg, #fff, #f8f8fb);
    box-shadow: 0 30px 60px -46px rgba(0, 0, 0, 0.55);
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mini-label {
    color: var(--color-muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: rgba(0, 0, 0, 0.03);
}

.summary-list span:first-child {
    font-weight: 600;
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(120deg, rgba(139, 92, 246, 0.08), rgba(34, 211, 238, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.18);
}

.summary-total strong {
    font-size: 1.3rem;
}

.summary-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.8rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.03);
    padding: 0.8rem 1rem;
    border-radius: 0.9rem;
}

@media (max-width: 960px) {
    .checkout-hero {
        margin: 6.2rem 1.2rem 2rem;
        padding: 2.6rem 1.4rem;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
        padding: 0 1.2rem 4rem;
    }
    
    .checkout-summary-card {
        position: relative;
        top: 0;
    }
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 1.2rem;
    box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.45);
}

.order-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-summary li {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.order-summary li:last-child {
    border-bottom: none;
}

/* ============================================
   MODERN CHECKOUT - GEN Z DESIGN
   ============================================ */

.checkout-hero-modern {
    margin: 6rem 6vw 3rem;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.checkout-hero-content {
    position: relative;
    padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.12) 0%, 
        rgba(34, 211, 238, 0.1) 50%,
        rgba(236, 72, 153, 0.08) 100%);
    border-radius: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px -15px rgba(139, 92, 246, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
}

.checkout-hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.checkout-hero-content::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.checkout-hero-text {
    position: relative;
    z-index: 2;
}

.checkout-hero-text h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin: 0 0 0.8rem;
    background: linear-gradient(135deg, #8b5cf6, #22d3ee, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.checkout-hero-text p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(0, 0, 0, 0.7);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.checkout-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d1d1f;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.badge-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.badge-modern i {
    color: #8b5cf6;
}

.checkout-hero-visual {
    position: absolute;
    top: 50%;
    right: 3rem;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    opacity: 0.3;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 50%;
    right: 0;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    bottom: 0;
    left: 30%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.checkout-layout-modern {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    padding: 0 6vw 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.checkout-form-modern {
    background: linear-gradient(180deg, #ffffff, #fafbfc);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.8rem;
    padding: 2.5rem;
    box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    overflow: hidden;
}

.checkout-form-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #22d3ee, #ec4899);
    border-radius: 1.8rem 1.8rem 0 0;
}

.form-header-modern {
    margin-bottom: 2rem;
}

.form-header-modern h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-header-modern h2 i {
    color: #8b5cf6;
    font-size: 1.6rem;
}

.form-header-modern p {
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

.form-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.input-group-modern {
    position: relative;
}

.input-group-modern.full-width {
    grid-column: 1 / -1;
}

.input-group-modern label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1d1d1f;
    margin-bottom: 0.6rem;
}

.input-group-modern label i {
    color: #8b5cf6;
    font-size: 0.9rem;
}

.input-group-modern input,
.input-group-modern textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.input-group-modern input:focus,
.input-group-modern textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1),
                0 4px 12px rgba(139, 92, 246, 0.15);
    transform: translateY(-1px);
}

.input-group-modern textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.btn-checkout-modern {
    width: 100%;
    margin-top: 2rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #1d1d1f 100%);
    color: #ffffff;
    border: none;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-checkout-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-checkout-modern:hover::before {
    left: 100%;
}

.btn-checkout-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

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

.btn-checkout-modern i {
    transition: transform 0.3s ease;
}

.btn-checkout-modern:hover i {
    transform: translateX(4px);
}

.order-summary-modern {
    position: sticky;
    top: 6rem;
    height: fit-content;
    background: linear-gradient(180deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.8rem;
    padding: 2rem;
    box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.summary-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.summary-header-modern h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.summary-header-modern h2 i {
    color: #8b5cf6;
}

.item-count {
    padding: 0.4rem 0.9rem;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.summary-items-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.summary-items-modern::-webkit-scrollbar {
    width: 6px;
}

.summary-items-modern::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.summary-items-modern::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 10px;
}

.summary-items-modern::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

.summary-item-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 1rem;
    transition: all 0.2s ease;
}

.summary-item-modern:hover {
    background: rgba(139, 92, 246, 0.05);
    transform: translateX(4px);
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 0.95rem;
}

.item-qty {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
}

.item-price {
    font-weight: 700;
    color: #1d1d1f;
    font-size: 1rem;
}

.summary-total-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(34, 211, 238, 0.1));
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 1.2rem;
}

.total-label {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
    font-size: 1rem;
}

.total-amount {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #1d1d1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-footer-modern {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 0.8rem;
    color: #27ae60;
    font-size: 0.85rem;
    font-weight: 600;
}

.trust-badge i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .checkout-layout-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .order-summary-modern {
        position: relative;
        top: 0;
    }
    
    .checkout-hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .checkout-hero-modern {
        margin: 5rem 1.2rem 2rem;
    }
    
    .checkout-hero-content {
        padding: 2rem 1.5rem;
    }
    
    .checkout-layout-modern {
        padding: 0 1.2rem 3rem;
    }
    
    .checkout-form-modern,
    .order-summary-modern {
        padding: 1.5rem;
    }
    
    .form-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .checkout-badges {
        flex-direction: column;
    }
}

.empty-state {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--color-muted);
}

.empty-state a {
    margin-top: 1rem;
}

.product-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.product-media img {
    border-radius: 1.4rem;
    box-shadow: 0 30px 60px -45px rgba(0, 0, 0, 0.5);
}

.product-info h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 0.6rem;
}

.add-to-cart-form {
    margin-top: 1.5rem;
}

.add-to-cart-controls {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.quantity-control-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-muted);
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    min-width: 220px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--color-muted);
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--color-border);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

/* Fix untuk memastikan order history selalu terlihat */
.order-history-section {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    min-height: 200px;
}

.order-history-section * {
    opacity: 1 !important;
    visibility: visible !important;
}

.order-history {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    opacity: 1 !important;
    visibility: visible !important;
    display: grid !important;
}

.order-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.2rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
    position: relative;
    overflow: hidden;
}

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

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-number {
    font-size: 1.3rem;
    color: #1d1d1f;
    font-weight: 700;
}

.order-date {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
}

.order-status {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.order-status .status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status.completed {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.status.processing {
    background: rgba(52, 152, 219, 0.15);
    color: #2c82c9;
}

.status.shipped {
    background: rgba(155, 89, 182, 0.15);
    color: #8e44ad;
}

.status.pending {
    background: rgba(241, 196, 15, 0.15);
    color: #c27b00;
}

.status.cancelled {
    background: rgba(231, 76, 60, 0.15);
    color: #c0392b;
}

.status.payment {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.payment.capture,
.payment.settlement {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.payment.initiated,
.payment.pending {
    background: rgba(241, 196, 15, 0.15);
    color: #c27b00;
}

.payment.cancel,
.payment.deny,
.payment.expire,
.payment.failure {
    background: rgba(231, 76, 60, 0.15);
    color: #c0392b;
}

.order-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.8rem;
    gap: 1rem;
}

.item-name {
    flex: 1;
    font-weight: 600;
    color: #1d1d1f;
}

.item-quantity {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
}

.item-price {
    font-weight: 700;
    color: #1d1d1f;
    font-size: 1rem;
}

.order-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.order-total {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.total-label {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.total-amount {
    font-size: 1.5rem;
    color: #1d1d1f;
    font-weight: 700;
}

.order-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.payment-completed-badge,
.order-completed-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
    border-radius: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.payment-completed-badge i,
.order-completed-badge i {
    font-size: 1rem;
}

.delete-order-form {
    margin: 0;
}

.btn-delete {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.btn-delete:hover {
    background: #c82333;
    border-color: #bd2130;
    transform: translateY(-1px);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 1.2rem;
    margin-top: 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: #1d1d1f;
}

.empty-state p {
    color: rgba(0, 0, 0, 0.6);
    margin: 0 0 1.5rem;
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-status {
        align-items: flex-start;
        width: 100%;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .order-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .order-actions .btn,
    .order-actions form {
        width: 100%;
    }
    
    .order-actions button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 5vw;
    }

    .hero-overlay {
        padding: 3rem 1rem;
    }

    .section {
        padding: 4rem 5vw;
    }

    .stats-section {
        max-width: 100%;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat-card {
        max-width: 100%;
        padding: 1.5rem 1rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .about-copy h2 {
        font-size: 2rem;
    }
}

