.out-of-stock-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    padding: 8px 30px 8px 20px;
    background-color: #555;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    clip-path: polygon(0% 0%, 100% 0%, 85% 50%, 100% 100%, 0% 100%);
    z-index: 3;
    border-radius: 0;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2);
}

.product-rating .rating-count {
    margin-left: 0.5em;
    font-size: 0.9em;
    color: var(--light-text);
    vertical-align: middle;
}

.modal-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.reviews-section {
    width: 100%;
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.reviews-summary h4 {
    font-size: 1.5rem;
    color: var(--primary-dark-hover);
    margin-bottom: 1rem;
    text-align: center;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.summary-line .average-rating-stars {
    color: #ffca28;
    font-size: 1.3em;
}

.summary-line strong {
    color: var(--text-color);
}

.summary-line span {
    color: var(--light-text);
}

.reviews-list {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 15px;
    margin: 0 -15px 0 0;
}

.reviews-list::-webkit-scrollbar {
    width: 8px;
}

.reviews-list::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 4px;
}

.reviews-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.reviews-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-author {
    font-weight: 600;
    color: var(--text-color);
}

.review-date {
    font-size: 0.9em;
    color: var(--light-text);
}

.review-rating {
    margin-bottom: 0.75rem;
    color: #ffca28;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--light-text);
    margin: 0;
}

#modal-no-reviews {
    border: 2px dashed var(--border-color);
    background-color: var(--background-color);
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #101114;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

#loading-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

video::-webkit-media-controls-panel {
    display: none !important;
}

#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    height: 100vh;
    background: linear-gradient(165deg, #FCFBFB 0%, #F3F0ED 100%);
    z-index: 1002;
    transition: transform 0.6s cubic-bezier(0.6, 0.04, 0.98, 0.335);
    display: flex;
    flex-direction: column;
    border-right: none;
    box-shadow: 10px 0 70px -20px rgba(0, 0, 0, 0.2),
        inset -2px 0 15px rgba(0, 0, 0, 0.04);
    transform: translateX(-100%);
}

#sidebar-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body.sidebar-open #sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    flex-shrink: 0;
    border-bottom: 1px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-shadow: 0 1px 3px var(--shadow-extra-light);
}

#sidebar-close-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--light-text);
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#sidebar-close-btn:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
    border-color: var(--border-color);
    transform: rotate(180deg) scale(1.1);
}

.sidebar-nav {
    padding: 1rem;
    overflow-y: auto;
    flex-grow: 1;
}

.sidebar-nav::-webkit-scrollbar {
    width: 5px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 5px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background-color: var(--light-text);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.sidebar-nav hr {
    border: none;
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 1.5rem 0.5rem;
}

.sidebar-menu>li {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.sidebar-open .sidebar-menu>li {
    opacity: 1;
    transform: translateX(0) skewX(0);
}

body.sidebar-open .sidebar-menu>li:nth-child(1) {
    transition-delay: 0.1s;
}

body.sidebar-open .sidebar-menu>li:nth-child(2) {
    transition-delay: 0.2s;
}

body.sidebar-open .sidebar-menu>li:nth-child(3) {
    transition-delay: 0.3s;
}

body.sidebar-open .sidebar-menu>li:nth-child(4) {
    transition-delay: 0.4s;
}

body.sidebar-open .sidebar-menu>li:nth-child(5) {
    transition-delay: 0.5s;
}

body.sidebar-open .sidebar-menu>li:nth-child(6) {
    transition-delay: 0.6s;
}

body.sidebar-open .sidebar-menu>li:nth-child(7) {
    transition-delay: 0.7s;
}

body.sidebar-open .sidebar-menu>li:nth-child(8) {
    transition-delay: 0.8s;
}

body.sidebar-open .sidebar-menu>li:nth-child(9) {
    transition-delay: 0.9s;
}

body.sidebar-open .sidebar-menu>li:nth-child(10) {
    transition-delay: 1.0s;
}

body.sidebar-open .sidebar-menu>li:nth-child(11) {
    transition-delay: 1.1s;
}

body.sidebar-open .sidebar-menu>li:nth-child(12) {
    transition-delay: 1.2s;
}

body.sidebar-open .sidebar-menu>li:nth-child(13) {
    transition-delay: 1.3s;
}

body.sidebar-open .sidebar-menu>li:nth-child(14) {
    transition-delay: 1.4s;
}

body.sidebar-open .sidebar-menu>li:nth-child(15) {
    transition-delay: 1.5s;
}

body.sidebar-open .sidebar-menu>li:nth-child(16) {
    transition-delay: 1.6s;
}

body.sidebar-open .sidebar-menu>li:nth-child(17) {
    transition-delay: 1.7s;
}

 body.sidebar-open .sidebar-menu>li:nth-child(18) {
    transition-delay: 1.8s;
}

body.sidebar-open .sidebar-menu>li:nth-child(19) {
    transition-delay: 1.9s;
}

body.sidebar-open .sidebar-menu>li:nth-child(20) {
    transition-delay: 2.0s;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.05rem;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    transform: translateX(0);
}

.sidebar-menu a::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    right: 4px;
    background-color: var(--background-color);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.dark-mode .sidebar-menu a::before {
    background-color: #252525;
}

.sidebar-menu a:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.sidebar-menu a:hover::before {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 5px 20px -5px var(--shadow-light);
}

.sidebar-menu a i {
    color: var(--light-text);
    font-size: 1.1rem;
    min-width: 25px;
    text-align: center;
    margin-right: 1rem;
    transition: color 0.3s ease, transform 0.4s ease;
}

.sidebar-menu a:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.sidebar-menu a:hover i,
.sidebar-menu a.active i {
    color: var(--accent-color);
}

.sidebar-menu a .fa-chevron-right {
    transition: transform 0.3s ease;
}

.sidebar-menu>li.open>.sidebar-category-toggle .fa-chevron-right {
    transform: rotate(90deg);
}

.sidebar-category-toggle {
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-submenu {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0.5rem 0 0.5rem 2.2rem;
    border-left: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-out, margin-top 0.6s ease-out;
}

.sidebar-menu>li.open>.sidebar-submenu {
    max-height: 600px;
}

.sidebar-submenu a.sidebar-filter {
    text-transform: capitalize;
    font-size: 1rem;
}

.sidebar-submenu a.sidebar-filter.active {
    background-color: var(--primary-color);
    color: var(--primary-btn-text-color);
    font-weight: 600;
    box-shadow: 0 8px 20px -8px var(--shadow-medium);
}

#video-gallery-btn {
    font-size: 1.2rem;
    font-weight: 600;
}

#video-gallery-btn i {
    margin-right: 0.8rem;
    color: var(--accent-color);
}

#reset-filters-btn {
    width: calc(100% - 2rem);
    margin: 1.5rem auto 1rem auto;
    padding: 16px;
    font-size: 1rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    box-shadow: 0 5px 15px -5px var(--shadow-light);
}

#reset-filters-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: var(--surface-color);
    transform: translateY(-2px);
}

body.dark-mode #sidebar {
    background: linear-gradient(165deg, #212121 0%, #171717 100%);
    box-shadow: 10px 0 70px -20px rgba(0, 0, 0, 0.4),
        inset -2px 0 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .sidebar-submenu a:hover {
    background-color: var(--background-color);
}

body.dark-mode .sidebar-submenu a.active {
    background-color: var(--primary-color);
    color: var(--background-color);
}

main,
header,
footer {
    transition: filter 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: filter;
}

body.sidebar-open main,
body.sidebar-open header,
body.sidebar-open footer {
    filter: blur(8px) brightness(0.85) saturate(0.9);
}

#sidebar-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 10, 10, 0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
    backdrop-filter: blur(0px);
}

body.sidebar-open #sidebar-overlay {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(4px);
}

#video-gallery-modal .modal-content {
    max-width: 1200px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.video-item {
    background-color: var(--background-color);
    border-radius: var(--border-radius-base);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px var(--shadow-light);
}

.video-item h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--primary-dark-hover);
    text-align: center;
}

.video-item video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    background-color: #000;
}

.sidebar-action-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
}

.sidebar-action-label {
    font-size: 1.1rem;
    font-weight: 600;
}

#dark-mode-toggle.btn-utility {
    font-size: 1.2rem;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 8px var(--shadow-extra-light);
    transition: all 0.3s ease;
}

#dark-mode-toggle.btn-utility:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

#language-toggle-buttons {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--background-color);
    padding: 2px;
}

.lang-btn {
    background-color: transparent;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: var(--light-text);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.lang-btn.active {
    background-color: var(--surface-color);
    color: var(--primary-color);
    box-shadow: 0 3px 10px -2px var(--shadow-light);
}

.lang-btn:not(.active):hover {
    background-color: var(--background-color);
}

#faq .container {
    max-width: 950px;
    margin: 0 auto;
}

.faq-container {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    overflow: hidden;
    background-color: var(--surface-color);
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    counter-reset: faq-counter;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.4s ease;
    position: relative;
    counter-increment: faq-counter;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background-color: var(--accent-color);
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active::after {
    height: 100%;
}

.faq-question::before {
    content: counter(faq-counter, decimal-leading-zero);
    position: absolute;
    left: 2rem;
    top: 50%;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--border-color);
    z-index: 0;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateY(-50%);
}

.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 1.75rem 2rem 1.75rem 6rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-family-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.faq-question:hover::before {
    transform: translateY(-50%) translateX(5px);
}

.faq-question:hover i.fa-chevron-down {
    transform: translateX(5px);
}

.faq-question i.fa-chevron-down {
    font-size: 1rem;
    color: var(--accent-color);
    min-width: 16px;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.faq-item.active {
    background-color: var(--background-color);
}

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

.faq-item.active .faq-question::before {
    color: var(--accent-color);
}

.faq-item.active .faq-question i.fa-chevron-down,
.faq-item.active .faq-question:hover i.fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        padding-top 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        padding-bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 2rem 0 6rem;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

body.dark-mode .faq-container {
    border-color: var(--border-color);
    background-color: var(--surface-color);
    box-shadow: 0 10px 40px var(--shadow-deep);
}

body.dark-mode .faq-item {
    border-bottom-color: var(--border-color);
}

body.dark-mode .faq-question::before {
    color: var(--border-color);
}

body.dark-mode .faq-question:hover {
    color: var(--primary-light);
}

body.dark-mode .faq-item.active {
    background-color: #242424;
}

body.dark-mode .faq-item.active .faq-question {
    color: var(--accent-color);
}

body.dark-mode .faq-item.active .faq-question::before,
body.dark-mode .faq-item.active .faq-question i.fa-chevron-down,
body.dark-mode .faq-item::after {
    color: var(--accent-color);
    background-color: var(--accent-color);
}

.policy-modal .modal-content {
    max-width: 800px;
}

.policy-modal h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-dark-hover);
}

.policy-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 20px;
    margin-right: -20px;
    text-align: left;
}

.policy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.policy-content strong {
    color: var(--text-color);
    font-weight: 600;
}

#recently-viewed-container li {
    list-style-type: none;
    padding: 2px 0;
}

.recently-viewed-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
}

.recently-viewed-item-link:hover {
    background-color: var(--background-color);
    text-decoration: none;
}

body.dark-mode .recently-viewed-item-link:hover {
    background-color: var(--skeleton-highlight);
}

.recently-viewed-item-link img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.recently-viewed-item-link span {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.3;
}

.info-message-sidebar {
    font-size: 0.9rem;
    color: var(--light-text);
    padding: 15px;
    text-align: center;
    margin: 0;
    font-style: italic;
}

.section-fade-out {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.shared-element-clone {
    position: fixed; 
    z-index: 1001;   
    margin: 0;
    border-radius: var(--border-radius-base); 
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
    will-change: transform, width, height, top, left; 
    object-fit: cover;
}

.checkout-step.active {
    background-color: var(--background-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-base);
    margin: 1rem -2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-extra-light);
}

#checkout-form-container {
    background-color: var(--surface-color);
    border-radius: var(--border-radius-base);
    box-shadow: none; 
    padding: 3rem 4rem;
    margin-top: 3rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    border: none; 
}

#hero .btn {
    animation: hero-button-pulse 3s infinite ease-in-out;
}

#checkout-btn {
    animation: checkout-button-pulse 2.5s infinite ease-in-out;
}

@keyframes hero-button-pulse {
    0% {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 18px 45px rgba(201, 176, 131, 0.6); 
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
        transform: scale(1);
    }
}

@keyframes checkout-button-pulse {
    0% {
        box-shadow: 0 10px 25px var(--shadow-strong);
    }
    50% {
        box-shadow: 0 15px 40px rgba(62, 90, 125, 0.7); 
    }
    100% {
        box-shadow: 0 10px 25px var(--shadow-strong);
    }
}

.product-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

body.dark-mode .product-card:hover {
    box-shadow: 0 25px 55px var(--shadow-deep), 0 0 30px rgba(201, 176, 131, 0.2);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 55px var(--shadow-strong), 0 0 20px var(--shadow-extra-light);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transform: scale(1.15);
    clip-path: inset(0 100% 0 0);
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1),
                clip-path 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card.visible img {
    transform: scale(1); 
    clip-path: inset(0 0 0 0); 
}

.product-card:hover img {
    transform: scale(1.1);
    transition-duration: 0.5s; 
}

.btn i {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn:hover:not(:disabled) i {
    transform: translateX(5px) rotate(10deg);
}

.btn:hover:not(:disabled) .fa-arrow-right,
.btn:hover:not(:disabled) .fa-arrow-left {
    transform: translateX(8px);
}
.btn:hover:not(:disabled) .fa-arrow-left {
    transform: translateX(-8px);
}

.btn:hover:not(:disabled) .fa-shopping-cart {
    transform: rotate(15deg) scale(1.1);
}

.btn:hover:not(:disabled) .fa-whatsapp {
    transform: scale(1.2) rotate(-10deg);
}

.btn:active:not(:disabled) {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary:active:not(:disabled) {
    box-shadow: 0 5px 15px rgba(62, 90, 125, 0.2);
}

.cart-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out,
                background-color 0.3s ease-in-out;
}

#keranjang.visible .cart-item {
    opacity: 1;
    transform: translateX(0);
}

#keranjang.visible .cart-item:nth-child(1) { transition-delay: 0.2s; }
#keranjang.visible .cart-item:nth-child(2) { transition-delay: 0.3s; }
#keranjang.visible .cart-item:nth-child(3) { transition-delay: 0.4s; }
#keranjang.visible .cart-item:nth-child(4) { transition-delay: 0.5s; }
#keranjang.visible .cart-item:nth-child(5) { transition-delay: 0.6s; }

.footer-section.social-media a {
    display: inline-block; 
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-section.social-media a:hover {
    transform: translateY(-5px) scale(1.1);
    color: var(--accent-color); 
    text-decoration: none;
}

.footer-section.social-media a:hover i {
    color: var(--accent-dark-hover);
}

.footer-section.social-media a:hover .fa-instagram { color: #E4405F; }
.footer-section.social-media a:hover .fa-tiktok { color: #00f2ea; }

 @keyframes pop-in {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

#quick-view-modal .modal-body > img,
#quick-view-modal .modal-product-info > * {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#quick-view-modal.show .modal-body > img,
#quick-view-modal.show .modal-product-info > * {
    opacity: 1;
    transform: translateY(0);
}

#quick-view-modal.show .modal-body > img { transition-delay: 0.2s; }
#quick-view-modal.show .modal-product-info > h3 { transition-delay: 0.3s; }
#quick-view-modal.show .modal-product-info > p#modal-product-description { transition-delay: 0.4s; }
#quick-view-modal.show .modal-product-info > .price { transition-delay: 0.5s; }
#quick-view-modal.show .modal-product-info > .size-options { transition-delay: 0.6s; }
#quick-view-modal.show .modal-product-info > .reviews-section { transition-delay: 0.7s; }
#quick-view-modal.show .modal-product-info > .modal-buttons-group { transition-delay: 0.8s; }
#quick-view-modal.show .modal-product-info > .modal-utility-buttons { transition-delay: 0.85s; }

i, .fas, .far, .fab {
    transition: color 0.4s ease;
}

.product-info h3 {
    transition: all 0.4s ease;
}

ul.sidebar-submenu a[href*="instagram.com"],
ul.sidebar-submenu a[href*="tiktok.com"] {
    position: relative;
    overflow: visible; 
}

ul.sidebar-submenu a[href*="instagram.com"] i,
ul.sidebar-submenu a[href*="tiktok.com"] i {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

ul.sidebar-submenu a[href*="instagram.com"] span,
ul.sidebar-submenu a[href*="tiktok.com"] span {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: inline-block;
}

ul.sidebar-submenu a[href*="instagram.com"]:hover i,
ul.sidebar-submenu a[href*="tiktok.com"]:hover i {
    transform: translateY(-20px) scale(1.5) rotate(-15deg);
}

ul.sidebar-submenu a[href*="instagram.com"]:hover span,
ul.sidebar-submenu a[href*="tiktok.com"]:hover span {
    transform: translateX(10px);
}

.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.7) 120%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

@keyframes text-gradient-flow {
    to {
        background-position: -200% center;
    }
}

.product-info h3 {
    transition: color 0.4s ease;
}

.product-info h3:hover {
    color: transparent; 
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        var(--primary-color) 50%, 
        var(--accent-color) 100%);
        
    background-size: 200% auto; 
    
    -webkit-background-clip: text;
    background-clip: text;
    
    animation: text-gradient-flow 3s linear infinite;
}

main, header, footer {
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: filter;
}

    
body.sidebar-open main,
body.sidebar-open header,
body.sidebar-open footer {
    filter: blur(8px) brightness(0.9);
}


body.no-scroll main,
body.no-scroll header,
body.no-scroll footer {
    filter: brightness(0.9);
}

.order-summary-final {
    padding: 0;
    margin-top: 2rem;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.luxury-summary-container {
    background: linear-gradient(160deg, var(--surface-color) 0%, var(--background-color) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 15px 50px -10px var(--shadow-medium);
    padding: 35px 40px;
    animation: fadeInStep 0.8s forwards;
}

.luxury-summary-header {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 2rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-section {
    margin-bottom: 2rem;
}

.summary-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.summary-section-title i {
    font-size: 1rem;
}

.summary-customer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
}

.summary-detail-item {
    font-size: 1.05rem;
}

.summary-detail-item .label {
    display: block;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.summary-detail-item .value {
    color: var(--text-color);
    font-weight: 600;
}

.summary-product-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.summary-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.summary-product-item .image-container {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    border-radius: var(--border-radius-base);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.summary-product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-product-item .details {
    flex-grow: 1;
    line-height: 1.4;
}

.summary-product-item .details .name {
    font-weight: 600;
    color: var(--text-color);
}

.summary-product-item .details .qty-size {
    font-size: 0.9rem;
    color: var(--light-text);
}

.summary-product-item .price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
}

.summary-finance-details {
    padding: 1.5rem 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.summary-finance-details .finance-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
}

.summary-finance-details .finance-line .label {
    color: var(--light-text);
}

.summary-finance-details .finance-line .amount {
    font-weight: 600;
    color: var(--text-color);
}

.summary-grand-total-wrapper {
    background: var(--background-color);
    margin-top: 2rem;
    padding: 25px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-grand-total-wrapper .total-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.summary-grand-total-wrapper .total-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.summary-footer-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--light-text);
    margin-top: 2rem;
    font-style: italic;
}

body.dark-mode .luxury-summary-container {
    background: linear-gradient(160deg, #222 0%, var(--background-color) 100%);
    border-color: #333;
}

body.dark-mode .summary-grand-total-wrapper {
    background: #111;
    border-color: #333;
}

.checkout-step h4 {
    color: var(--text-color);
}

.luxury-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.btn-utility-luxury {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-utility-luxury::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-utility-luxury:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.luxury-form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-icon {
    position: absolute;
    top: 18px;
    left: 18px;
    color: var(--light-text);
    transition: color 0.3s ease, opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 2;
}

.form-input {
    width: 100%;
    padding: 18px 18px 18px 50px; 
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1.1rem;
    font-family: var(--font-family-primary);
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(62, 90, 125, 0.1);
}

.form-label {
    position: absolute;
    top: 18px;
    left: 50px;
    color: var(--light-text);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: var(--background-color);
    padding: 0 5px;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: 45px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

textarea.form-input {
    padding-top: 28px;
    padding-bottom: 8px;
}

textarea.form-input + .form-label {
    top: 18px;
}

textarea.form-input:focus + .form-label,
textarea.form-input:not(:placeholder-shown) + .form-label {
    top: -10px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .luxury-step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.definitive-shipping-hub {
    position: relative;
    padding: 10px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.selection-highlight-slider {
    position: absolute;
    left: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: top 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.definitive-shipping-option {
    position: relative;
    z-index: 2;
    padding: 20px 25px;
    cursor: pointer;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.definitive-shipping-option:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.definitive-shipping-option input[type="radio"] {
    display: none;
}

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

.logo-and-details {
    display: flex;
    align-items: center;
    gap: 20px;
}

.shipping-logo-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.shipping-logo-wrapper img {
    max-width: 80%;
    height: auto;
}

.shipping-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.4s ease;
}

.shipping-service {
    font-size: 0.9rem;
    color: var(--light-text);
    transition: color 0.4s ease;
}

.shipping-estimate {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.4s ease;
}

.shipping-estimate i {
    color: var(--light-text);
    font-size: 1.1rem;
    transition: color 0.4s ease;
}

.definitive-shipping-option input[type="radio"]:checked ~ .shipping-content .shipping-name,
.definitive-shipping-option input[type="radio"]:checked ~ .shipping-content .shipping-estimate {
    color: var(--primary-dark-hover);
}

.definitive-shipping-option input[type="radio"]:checked ~ .shipping-content .shipping-service,
.definitive-shipping-option input[type="radio"]:checked ~ .shipping-content .shipping-estimate i {
    color: var(--primary-color);
}


body.dark-mode .definitive-shipping-hub {
    background-color: #111;
    border-color: #333;
}

body.dark-mode .selection-highlight-slider {
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body.dark-mode .definitive-shipping-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .shipping-logo-wrapper {
    background-color: #f0f0f0;
}

.shipping-estimate {
    width: 150px; 
    text-align: right;
}

.estimate-placeholder {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--accent-color);
    text-align: right;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.shipping-content {
    grid-template-columns: auto 1fr auto;
    display: grid;
    gap: 20px;
    width: 100%;
}

.remove-from-cart-btn {
    background: transparent; 
    border: 1px solid var(--border-color); 
    color: var(--light-text); 
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.remove-from-cart-btn:hover {
    background-color: #e74c3c;
    color: #fff; 
    border-color: #e74c3c;
    transform: scale(1.1) rotate(15deg);
}

#order-history-list {
    display: flex;
    flex-direction: column;
    gap: 2rem; 
}

.ultra-luxury-order {
    background-color: var(--surface-color);
    border-radius: var(--border-radius-base);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 280px 1fr; 
    box-shadow: 0 4px 15px var(--shadow-extra-light);
    transition: box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.ultra-luxury-order:hover {
    transform: scale(1.015);
    box-shadow: 0 15px 45px var(--shadow-medium), 0 0 20px rgba(201, 176, 131, 0.1);
}

body.dark-mode .ultra-luxury-order:hover {
     box-shadow: 0 15px 45px var(--shadow-strong), 0 0 25px rgba(201, 176, 131, 0.2);
}

.order-identity-panel {
    background: var(--background-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.identity-label {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.order-receipt-id {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    word-break: break-all;
}

.order-date {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.5;
}

.order-content-panel {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.transaction-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.grand-total-display {
    text-align: right;
}

.grand-total-display .total-label {
    font-size: 0.9rem;
    color: var(--light-text);
    display: block;
}

.grand-total-display .total-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
}

.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-tag.delivered {
    background-color: #e8f5e9;
    color: #388e3c;
}

body.dark-mode .status-tag.delivered {
    background-color: rgba(165, 214, 167, 0.15);
    color: #a5d6a7;
}

.ultra-fine-separator {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 0;
}

.collection-item-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.collection-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.collection-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.collection-item-info {
    flex-grow: 1;
    line-height: 1.4;
}

.collection-item-info .item-name {
    font-weight: 600;
    margin: 0;
}

.collection-item-info .item-meta {
    font-size: 0.9rem;
    color: var(--light-text);
    margin: 0;
}

.collection-item .item-price {
    font-weight: 600;
}

.order-actions-ultra {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: auto; 
}

.order-actions-ultra .btn {
    font-size: 0.95rem;
    padding: 12px 24px;
}

@media (max-width: 992px) {
    .ultra-luxury-order {
        grid-template-columns: 1fr; 
    }
    .order-identity-panel {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .transaction-summary {
        flex-direction: column;
        align-items: flex-start;
    }
    .grand-total-display {
        text-align: left;
        margin-top: 1rem;
    }
    .order-actions-ultra {
        flex-direction: column;
    }
    .order-actions-ultra .btn {
        width: 100%;
    }
}

#favorit h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
}

.favorite-luxury-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem; 
    max-width: 1100px;
    margin: 0 auto;
}

.favorite-card-luxury {
    display: grid;
    grid-template-columns: 320px 1fr; 
    background: var(--surface-color);
    border-radius: var(--border-radius-base);
    box-shadow: 0 15px 40px var(--shadow-light);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.favorite-card-luxury:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 55px var(--shadow-medium);
    border-color: var(--accent-color);
}

.favorite-card-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.favorite-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.favorite-card-luxury:hover .favorite-card-image img {
    transform: scale(1.1);
}

.favorite-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, var(--surface-color) 100%);
    transition: background 0.4s ease;
}

body.dark-mode .favorite-card-image-overlay {
    background: linear-gradient(to right, transparent 60%, var(--surface-color) 100%);
}


.favorite-card-content {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
}

.favorite-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.favorite-card-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    margin: 0;
}

.favorite-card-description {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.7;
    flex-grow: 1; 
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.favorite-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; 
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.favorite-card-footer .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-remove-favorite {
    background: transparent;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.btn-remove-favorite:hover {
    color: #e74c3c;
    transform: scale(1.2) rotate(90deg);
}

.btn-add-to-cart-fav {
    padding: 14px 28px;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .favorite-card-luxury {
        grid-template-columns: 250px 1fr;
    }
    .favorite-card-content {
        padding: 2rem;
    }
    .favorite-card-header h3 {
        font-size: 1.8rem;
    }
    .favorite-card-footer .price {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .favorite-card-luxury {
        grid-template-columns: 1fr; 
    }

    .favorite-card-image {
        height: 300px; 
    }

    .favorite-card-image-overlay {
        background: linear-gradient(to top, var(--surface-color) 0%, transparent 50%);
    }

    .favorite-card-content {
        padding: 1.5rem;
    }

    .favorite-card-header h3 {
        font-size: 1.6rem;
    }

    .favorite-card-description {
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }

    .favorite-card-footer .price {
        font-size: 1.5rem;
    }

    .btn-add-to-cart-fav {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

#order-history-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
}

@keyframes card-enter-animation {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ultra-luxury-order {
    background-color: var(--surface-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 25px -15px var(--shadow-strong);
    position: relative;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    
    opacity: 0;
    animation: card-enter-animation 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.ultra-luxury-order:nth-child(1) { animation-delay: 0.2s; }
.ultra-luxury-order:nth-child(2) { animation-delay: 0.3s; }
.ultra-luxury-order:nth-child(3) { animation-delay: 0.4s; }

.ultra-luxury-order:hover,
.ultra-luxury-order.expanded {
    box-shadow: 0 15px 45px -15px var(--shadow-deep);
    border-color: var(--accent-color);
}

.order-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
}

.order-identity {
    flex-grow: 1;
}

.order-receipt-id {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.order-date {
    font-size: 0.9rem;
    color: var(--light-text);
    margin: 0.25rem 0 0 0;
}

.order-summary-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0; 
}

.grand-total-display {
    text-align: right;
}

.grand-total-display .total-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--light-text);
}

.grand-total-display .total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.status-tag.delivered {
    background-color: #e8f5e9;
    color: #388e3c;
}

body.dark-mode .status-tag.delivered {
    background-color: rgba(165, 214, 167, 0.15);
    color: #a5d6a7;
}

.expand-chevron {
    font-size: 1.2rem;
    color: var(--light-text);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.ultra-luxury-order.expanded .expand-chevron {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.order-expandable-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease-out 0.2s,
                padding 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ultra-luxury-order.expanded .order-expandable-content {
    max-height: 100vh; 
    opacity: 1;
}

.order-content-panel {
    padding: 0 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ultra-fine-separator {
    border: none;
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 0;
}

.content-title {
    margin: 0;
    padding-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

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

@media (max-width: 768px) {
    .order-summary-header {
        flex-wrap: wrap;
        padding: 1rem 1.5rem;
    }
    .order-identity {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }
    .order-summary-info {
        flex-grow: 1;
        justify-content: space-between;
    }
    .order-content-panel {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

#dark-mode-toggle.btn-utility {
    position: relative;  
    overflow: hidden;    
}

#dark-mode-toggle .theme-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#dark-mode-toggle .moon-icon {
    transform: translate(-50%, -50%); 
}
#dark-mode-toggle .sun-icon {
    transform: translate(150%, -50%); 
}

body.dark-mode #dark-mode-toggle .moon-icon {
    transform: translate(-250%, -50%); 
    opacity: 0; 
}
body.dark-mode #dark-mode-toggle .sun-icon {
    transform: translate(-50%, -50%); 
    opacity: 1;
}

#dark-mode-toggle .sun-icon {
    transform: translate(150%, -50%); 
    opacity: 0; 
}

#dark-mode-toggle .moon-icon {
    transform: translate(-50%, -50%); 
    opacity: 1; 
}

#quick-view-modal .modal-content {
    background: radial-gradient(circle at center, #f5f5f5 0%, #e9e9e9 100%);
    max-width: 1150px;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.15), 0 0 0 1px #e0e0e0;
    animation: dropInPremium 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes dropInPremium {
    from { transform: scale(0.92) translateY(-50px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

body.dark-mode #quick-view-modal .modal-content {
    background: radial-gradient(circle at center, #2a2a2a 0%, #1a1a1a 100%);
    border-color: #333;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.3), 0 0 0 1px #333;
}

#quick-view-modal .modal-body {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
}

#quick-view-modal .modal-body > .modal-image-gallery {
    flex: 6; 
    min-width: 0; 
}

#quick-view-modal .modal-body > .modal-product-info {
    flex: 5;
    min-width: 0; 
}

#quick-view-modal .modal-body > img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
    position: sticky; 
    top: 3rem;
}

#quick-view-modal .modal-product-info {
    text-align: left;
    display: flex;
    flex-direction: column;
}

#quick-view-modal #modal-product-name {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-color);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

#quick-view-modal .price#modal-product-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0.75rem 0 1.5rem 0;
    letter-spacing: -1px;
}

body.dark-mode #quick-view-modal .price#modal-product-price {
    color: var(--accent-color);
}

#quick-view-modal #modal-product-description {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.7;
    margin: 1.5rem 0;
    border-left: 3px solid var(--border-color);
    padding-left: 1.5rem;
}

#quick-view-modal .size-options::before {
    content: 'PILIH UKURAN';
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

#quick-view-modal .size-options {
    justify-content: flex-start;
    gap: 0.75rem;
    margin: 0.5rem 0 2rem 0;
}

#quick-view-modal .size-option {
    font-size: 1rem;
    font-weight: 500;
    padding: 0;
    width: 60px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    background-color: var(--surface-color);
    transition: all 0.2s ease-out;
}

#quick-view-modal .size-option:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

#quick-view-modal .size-option.selected {
    background: var(--primary-color);
    color: var(--primary-btn-text-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px -5px var(--shadow-strong);
    transform: scale(1.1);
    z-index: 2;
}


#quick-view-modal .modal-buttons-group {
    margin-top: auto;
    width: 100%;
    display: flex; 
    gap: 1rem;    
    align-items: stretch; 
}

#quick-view-modal .btn-primary#modal-add-to-cart-btn {
    flex-grow: 1; 
    padding: 18px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 10px;
}

#quick-view-modal .add-to-favorite {
    flex-shrink: 0; 
    flex-basis: 60px; 
    font-size: 1.5rem;
    padding: 0;
    border-radius: 10px; 
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#quick-view-modal .add-to-favorite:hover {
    border-color: var(--primary-color);
    background-color: var(--background-color);
}

#quick-view-modal .add-to-favorite.favorited {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

#quick-view-modal.show .modal-body > img,
#quick-view-modal.show #modal-product-name,
#quick-view-modal.show .price#modal-product-price,
#quick-view-modal.show #modal-product-description,
#quick-view-modal.show .size-options,
#quick-view-modal.show .modal-buttons-group,
#quick-view-modal.show .modal-utility-buttons {
    animation: fadeInSlideUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

#quick-view-modal.show .modal-body > img { animation-delay: 0.2s; }
#quick-view-modal.show #modal-product-name { animation-delay: 0.4s; }
#quick-view-modal.show .price#modal-product-price { animation-delay: 0.45s; }
#quick-view-modal.show #modal-product-description { animation-delay: 0.5s; }
#quick-view-modal.show .size-options { animation-delay: 0.6s; }
#quick-view-modal.show .modal-buttons-group { animation-delay: 0.7s; }
#quick-view-modal.show .modal-utility-buttons { animation-delay: 0.75s; }

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

.return-product-selection {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    padding: 10px;
    background-color: var(--background-color);
}

.return-product-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.return-product-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.return-product-item label:hover {
    background-color: var(--surface-color);
}

.return-product-item input[type="checkbox"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.return-product-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 15px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius-base);
    border: 1px solid var(--border-color);
}

.file-upload-input {
    display: none;
}

.file-upload-label {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-label:hover {
    background-color: var(--background-color);
    border-color: var(--primary-color);
}

.file-name-display {
    margin-left: 15px;
    font-style: italic;
    color: var(--light-text);
}

.order-actions-ultra .btn:disabled {
    background-color: var(--skeleton-bg);
    color: var(--light-text);
    cursor: not-allowed;
    opacity: 0.7;
    border-color: var(--border-color);
}

body.dark-mode .order-actions-ultra .btn:disabled {
    background-color: var(--surface-color);
    color: var(--light-text);
}

.policy-note-sm {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: var(--background-color);
    border-radius: var(--border-radius-base);
    font-size: 0.9rem;
    color: var(--light-text);
    border: 1px dashed var(--border-color);
}
.policy-note-sm i {
    color: var(--primary-color);
    margin-right: 8px;
}

#ulasan h2 {
    text-align: center;
    margin-bottom: 3.5rem;
}

.all-reviews-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.review-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.review-card-product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-base);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.review-card-content {
    flex-grow: 1;
}

.review-card-product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0 0 1rem 0;
}

.review-card .review-item {
    padding: 0;
    border: none;
}


#return-confirmation-modal h3 {
    text-align: center; 
}

.confirmation-icon {
    font-size: 3rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 1rem;
}

.confirmation-message {
    font-size: 1.2rem;
    color: var(--text-color);
    text-align: center;
    line-height: 1.6;
    max-width: 450px;    
    margin-left: auto;     
    margin-right: auto;    
}

.confirmation-question {
    font-size: 1rem;
    color: var(--light-text);
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
}

.form-icon.hidden {
    opacity: 0;
    transform: translateX(-15px);
}

.sidebar-submenu .submenu-header {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.5rem 1.2rem 0.5rem 1.2rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.sidebar-submenu .submenu-header:first-of-type {
    margin-top: 0;
    border-top: none;
}


.live-chat-content {
    max-width: 800px;
    width: 90vw;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.live-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    margin: -20px -20px 0 -20px;
}

.live-chat-header h3 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-chat-header .close-button {
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: auto;
    height: auto;
}

.live-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.chat-tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chat-tab-btn:hover {
    background: #e9ecef;
    color: var(--primary-color);
}

.chat-tab-btn.active {
    background: white;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.chat-content {
    flex: 1;
    overflow: hidden;
}

.chat-tab-content {
    display: none;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
}

.chat-tab-content.active {
    display: block;
}


.faq-search {
    position: relative;
    margin-bottom: 20px;
}

.faq-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.faq-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}


.faq-list {
    max-height: 400px;
    overflow-y: auto;
}

.faq-item-chat {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-chat:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question-chat {
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.faq-question-chat:hover {
    background: #e9ecef;
}

.faq-question-chat i:first-child {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.faq-question-chat i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.faq-item-chat.active .faq-question-chat i:last-child {
    transform: rotate(180deg);
}

.faq-answer-chat {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item-chat.active .faq-answer-chat {
    padding: 20px;
    max-height: 200px;
}

.faq-answer-chat p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}


.faq-not-found {
    text-align: center;
    padding: 40px 20px;
}

.not-found-content i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

.not-found-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
}


.admin-contact-info {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    margin-bottom: 25px;
}

.admin-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 2rem;
}

.admin-contact-info h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.admin-contact-info p {
    margin: 0;
    color: #666;
}


.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.whatsapp-option .contact-icon {
    background: #25D366;
}

.email-option .contact-icon {
    background: #EA4335;
}

.contact-details {
    flex: 1;
}

.contact-details h5 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
}

.contact-details p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 0.9rem;
}


.quick-contact-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.quick-contact-form h5 {
    margin: 0 0 20px 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    text-align: center;
}

.quick-contact-form .form-group {
    margin-bottom: 15px;
}

.quick-contact-form input,
.quick-contact-form select,
.quick-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.quick-contact-form input:focus,
.quick-contact-form select:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quick-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.quick-contact-form button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
}


@media (max-width: 768px) {
    .live-chat-content {
        width: 95vw;
        max-height: 85vh;
    }
    
    .chat-tab-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .contact-options {
        gap: 10px;
    }
    
    .contact-option {
        padding: 15px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .admin-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}


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

.faq-item-chat {
    animation: fadeInUp 0.3s ease;
}


.chat-tab-content::-webkit-scrollbar,
.faq-list::-webkit-scrollbar {
    width: 6px;
}

.chat-tab-content::-webkit-scrollbar-track,
.faq-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-tab-content::-webkit-scrollbar-thumb,
.faq-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.chat-tab-content::-webkit-scrollbar-thumb:hover,
.faq-list::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

#live-chat-modal {
    align-items: flex-start;
    padding-top: 30vh;      
}


.empty-state-container {
    display: none;              
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    margin-top: 2rem;
    text-align: center;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-base);
    background-color: rgba(0, 0, 0, 0.02);
}


body.single-section-view .empty-state-container {
    min-height: 80vh;
    padding: 40px 20px;
    margin: 0;
    border: none;
    background-color: transparent;
}


.empty-state-icon {
    font-size: 5rem; 
    color: var(--light-text);
    opacity: 0.5;
    margin-bottom: 2rem;
    line-height: 1;
    transition: transform 0.5s ease, color 0.5s ease;
}

.empty-state-container:hover .empty-state-icon {
    transform: scale(1.1) rotate(-5deg);
    color: var(--accent-color);
}


.empty-state-text {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 400;
    margin: 0; 
    max-width: 450px;
    font-style: italic;
}

.product-actions {
    grid-template-columns: 1fr auto auto auto;
}

.compare-btn {
    grid-column: 4 / 5; 
    grid-row: 2;
    background-color: var(--background-color);
    color: var(--light-text);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-extra-light);
}

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

.compare-btn:hover:not(.selected) i {
    transform: rotate(-15deg) scale(1.2);
}

.compare-btn:hover {
    background-color: #eaf1f7;
    color: var(--primary-dark-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.compare-btn.selected {
    background-color: var(--accent-color);
    border-color: var(--accent-dark-hover);
    color: white;
    box-shadow: 0 6px 15px rgba(201, 176, 131, 0.4);
}

.compare-btn.selected i {
    color: white;
}

.comparison-tray {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--surface-color);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    border-top: 2px solid var(--accent-color);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 1rem 2rem;
}

.comparison-tray.show {
    transform: translateY(0);
}

.comparison-tray-content {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.comparison-items {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-grow: 1;
}

.comparison-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--background-color);
    padding: 0.5rem;
    border-radius: var(--border-radius-base);
    border: 1px solid var(--border-color);
}

.comparison-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.comparison-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-comparison-item {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #e74c3c;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.remove-comparison-item:hover {
    transform: scale(1.15);
}

.comparison-actions {
    display: flex;
    gap: 1rem;
}

#comparison-modal .modal-content {
    max-width: 1300px;
    width: 95%;
}

.comparison-table-container {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; 
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
    vertical-align: middle;
}

.comparison-table th {
    background-color: var(--background-color);
}


.comparison-table .product-header {
    font-size: 1.1rem;
    font-weight: 600;
}

.comparison-table .product-header img {
    max-width: 150px;
    height: auto;
    border-radius: var(--border-radius-base);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}


.comparison-table .attribute-header {
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
    background-color: var(--background-color);
    width: 15%;
}

.comparison-table .rating-cell {
    color: #ffca28;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .comparison-tray-content {
        flex-direction: column;
        gap: 1rem;
    }
    .comparison-items {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.a11y-panel {
    position: fixed;

   
    top: 50%;
    left: 50%;

    
    transform: translate(-50%, -50%) scale(0.9);


    width: 320px; 
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    box-shadow: 0 10px 40px var(--shadow-strong);
    padding: 1.5rem;
    z-index: 1003;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.a11y-panel.open {
    opacity: 1;
    visibility: visible;
   
    transform: translate(-50%, -50%) scale(1);
}

.a11y-panel h4 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-color);
}

.a11y-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.a11y-label {
    font-weight: 500;
    color: var(--light-text);
}

.a11y-controls button {
    font-weight: bold;
    border: 1px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-color);
    padding: 5px 12px;
    cursor: pointer;
}

.a11y-controls button:first-child { border-radius: 5px 0 0 5px; }
.a11y-controls button:last-child { border-radius: 0 5px 5px 0; }


.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: var(--accent-color); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }


body.high-contrast {
    --text-color: #000000;
    --light-text: #1a1a1a;
    --background-color: #FFFFFF;
    --surface-color: #F0F0F0;
    --border-color: #555555;
    --primary-color: #000000;
    --primary-light: #333333;
    --accent-color: #0056b3;
}


.a11y-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.a11y-panel-header h4 {
    margin: 0;
}

.a11y-panel-close-btn {
    background: transparent;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.a11y-panel-close-btn:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}



.sorting-controls-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2.5rem;
}

.custom-select-wrapper {
    position: relative;
    width: 290px; 
    font-family: var(--font-family-primary);
}

.original-select {
    display: none; 
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14px 22px;
    background: linear-gradient(145deg, var(--surface-color), var(--background-color));
    border: 1px solid var(--border-color);
    border-radius: 12px; 
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 5px 10px -5px var(--shadow-medium), 
                inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

.custom-select-wrapper.open .custom-select-trigger,
.custom-select-trigger:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px -5px var(--shadow-strong), 
                0 0 0 3px rgba(201, 176, 131, 0.2),
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.custom-select-trigger span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--light-text);
    margin-right: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.custom-select-trigger strong {
    font-weight: 600;
    color: var(--text-color);
}

.custom-select-trigger .fa-chevron-down {
    margin-left: auto;
    color: var(--light-text);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.custom-select-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    
    background-color: rgba(249, 247, 245, 0.8); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    
    border: 1px solid rgba(220, 214, 203, 0.5); 
    border-radius: 12px;
    box-shadow: 0 20px 50px -15px var(--shadow-deep);
    z-index: 10;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.custom-select-wrapper.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.custom-select-option {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
    position: relative;
}

.custom-select-option:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.custom-select-option.selected {
    color: var(--primary-color);
    font-weight: 700;
}


.custom-select-option.selected::before {
    content: '\f00c'; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 12px;
    color: var(--accent-color);
}


body.dark-mode .custom-select-trigger {
    background: linear-gradient(145deg, #2E2E2E, #1B1B1B);
    border-color: #444;
    box-shadow: 0 5px 15px -5px rgba(0,0,0,0.3), inset 0 1px 2px rgba(0,0,0,0.3);
}

body.dark-mode .custom-select-options {
    background-color: rgba(46, 46, 46, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(100, 100, 100, 0.5);
}

body.dark-mode .custom-select-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


body.readable-font {
    --font-family-primary: 'Georgia', 'Times New Roman', serif;
}
body.readable-font h1, 
body.readable-font h2, 
body.readable-font h3, 
body.readable-font h4 {
    font-family: 'Georgia', serif; 
}

body.underline-links a:not(.btn) {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
body.underline-links a:hover:not(.btn) {
    text-decoration-thickness: 2px;
}


body.reduce-motion * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important; 
    scroll-behavior: auto !important; 
}


#reading-guide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px; 
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    z-index: 9998;
    pointer-events: none; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

body.reading-guide-active #reading-guide {
    opacity: 0.6;
    visibility: visible;
}

#logout-menu-item {
    display: none;
}


#loyalty-points h2 {
    text-align: center;
    margin-bottom: 3.5rem;
}

.loyalty-info-card {
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    box-shadow: 0 10px 30px var(--shadow-light);
    padding: 2.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    animation: fadeInStep 0.6s forwards;
}

.loyalty-current-points {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.loyalty-current-points i {
    font-size: 0.9em;
    color: var(--accent-color);
}

.loyalty-next-tier {
    font-size: 1.1rem;
    color: var(--light-text);
}

.loyalty-tiers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 2rem;
}

.loyalty-tier-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    box-shadow: 0 5px 15px var(--shadow-extra-light);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loyalty-tier-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: var(--primary-light);
}

.loyalty-tier-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.loyalty-tier-card .points-threshold {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.loyalty-tier-card .tier-status {
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 1rem;
}

.tier-status.locked {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.tier-status.unlocked {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.loyalty-tier-card .unlocked-message {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--light-text);
    margin-top: 1rem;
}

.loyalty-tier-card.locked-card::before {
    content: '\f023'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.8);
    font-size: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loyalty-tier-card.locked-card:hover::before {
    opacity: 1;
}

.loyalty-tier-card.locked-card {
    filter: grayscale(80%) brightness(0.8);
    cursor: not-allowed;
}

.loyalty-tier-card.unlocked-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(201, 176, 131, 0.4);
    border-color: var(--primary-color);
}

.loyalty-tier-card.unlocked-card h3,
.loyalty-tier-card.unlocked-card .tier-status,
.loyalty-tier-card.unlocked-card .unlocked-message {
    color: white;
}

.loyalty-tier-card.unlocked-card .points-threshold {
    color: #ffeb3b; 
}

body.dark-mode .loyalty-info-card {
    background: linear-gradient(135deg, #2E2E2E 0%, #1B1B1B 100%);
    border-color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .loyalty-tier-card {
    background-color: #1E1E1E;
    border-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .loyalty-tier-card.unlocked-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 20px 50px rgba(201, 176, 131, 0.4);
}


body.loyalty-tier-500 #hero,
body.loyalty-tier-500 section,
body.loyalty-tier-500 footer,
body.loyalty-tier-500 header {

    box-shadow: 0 0 20px rgba(201, 176, 131, 0.2);
}

body.loyalty-tier-1000 #hero,
body.loyalty-tier-1000 section,
body.loyalty-tier-1000 footer,
body.loyalty-tier-1000 header {

    box-shadow: 0 0 30px rgba(201, 176, 131, 0.4), inset 0 0 10px rgba(201, 176, 131, 0.1);
    background-blend-mode: overlay, normal, luminosity;
    background-image: linear-gradient(rgba(240, 244, 247, 0.8), rgba(240, 244, 247, 0.8)),
                      url('AA.jpg'),
                      linear-gradient(rgba(201, 176, 131, 0.05), transparent);
}

body.dark-mode.loyalty-tier-1000 #hero,
body.dark-mode.loyalty-tier-1000 section,
body.dark-mode.loyalty-tier-1000 footer,
body.dark-mode.loyalty-tier-1000 header {
    background-image: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)),
                      url('AA.jpg'),
                      linear-gradient(rgba(201, 176, 131, 0.1), transparent);
}


body.loyalty-tier-1500 #hero,
body.loyalty-tier-1500 section,
body.loyalty-tier-1500 footer,
body.loyalty-tier-1500 header {

    box-shadow: 0 0 40px rgba(201, 176, 131, 0.6), inset 0 0 20px rgba(201, 176, 131, 0.2);
    background-image: linear-gradient(rgba(240, 244, 247, 0.7), rgba(240, 244, 247, 0.7)),
                      url('AA.jpg'),
                      url('gold-texture.png'); 
    background-blend-mode: overlay, normal, multiply;
    animation: subtleGoldShimmer 10s infinite alternate;
}

body.dark-mode.loyalty-tier-1500 #hero,
body.dark-mode.loyalty-tier-1500 section,
body.dark-mode.loyalty-tier-1500 footer,
body.dark-mode.loyalty-tier-1500 header {
    background-image: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.7)),
                      url('AA.jpg'),
                      url('gold-texture-dark.png'); 
}

@keyframes subtleGoldShimmer {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.product-card .product-image-container {
    position: relative; 
    overflow: hidden; 
    border-bottom: 1px solid var(--border-color);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
   
}

.product-card .product-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; 
    width: 50%; 
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg); 
    pointer-events: none; 
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out; 
    opacity: 0;
    z-index: 3; 
}

.product-card:hover .product-image-container::after {
    transform: translateX(200%) skewX(-20deg); 
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); 
}

body.dark-mode .product-card .product-image-container::after {
    
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
}

.product-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); 
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease-out; 
    z-index: 1; 
}


.product-card:hover::before {
    width: 300px; 
    height: 300px;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

body.dark-mode .product-card::before {
    background: rgba(255, 255, 255, 0.05); 
}


@keyframes border-light-premium-sweep-super-thin {
    0% { 
        box-shadow:
            0 0 0 0px rgba(255,255,255,0),
            -1px -1px 3px 1px var(--accent-color),
            0 0 10px 3px rgba(201, 176, 131, 0.08),
            1px 1px 0 0 transparent,
            -1px 1px 0 0 transparent,
            1px -1px 0 0 transparent;
    }
    25% { 
        box-shadow:
            0 0 0 0px rgba(255,255,255,0),
            1px -1px 3px 1px var(--accent-color), 
            0 0 10px 3px rgba(201, 176, 131, 0.08),
            -1px 1px 0 0 transparent,
            1px 1px 0 0 transparent,
            -1px -1px 0 0 transparent;
    }
    50% { 
        box-shadow:
            0 0 0 0px rgba(255,255,255,0),
            1px 1px 3px 1px var(--accent-color),
            0 0 10px 3px rgba(201, 176, 131, 0.08),
            -1px -1px 0 0 transparent,
            -1px 1px 0 0 transparent,
            1px -1px 0 0 transparent;
    }
    75% { 
        box-shadow:
            0 0 0 0px rgba(255,255,255,0),
            -1px 1px 3px 1px var(--accent-color), 
            0 0 10px 3px rgba(201, 176, 131, 0.08),
            1px -1px 0 0 transparent,
            1px 1px 0 0 transparent,
            -1px 1px 0 0 transparent;
    }
    100% { 
        box-shadow:
            0 0 0 0px rgba(255,255,255,0),
            -1px -1px 3px 1px var(--accent-color), 
            0 0 10px 3px rgba(201, 176, 131, 0.08),
            1px 1px 0 0 transparent,
            -1px 1px 0 0 transparent,
            1px -1px 0 0 transparent;
    }
}

.product-card {
    position: relative;
    overflow: hidden; 
    border: 1px solid var(--border-color); 
    border-radius: var(--border-radius-base); 
    transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
    z-index: 1; 

    animation: border-light-premium-sweep-super-thin 6s infinite ease-in-out; 
}

.product-card::before,
.product-card::after {
    content: none !important;
    display: none !important; 
}

.product-card:hover {
    animation-play-state: paused;
    transform: translateY(-10px) scale(1.03); 
    box-shadow: 0 25px 55px var(--shadow-strong), 0 0 20px var(--shadow-extra-light),
                0 0 8px 2px var(--accent-color); 
    border-color: var(--accent-color) !important;
}

body.dark-mode .product-card {
    animation: border-light-premium-sweep-super-thin-dark 6s infinite ease-in-out;
}

@keyframes border-light-premium-sweep-super-thin-dark {
    0% {
        box-shadow:
            0 0 0 0px rgba(0,0,0,0),
            -1px -1px 3px 1px var(--primary-color), 
            0 0 10px 3px rgba(62, 90, 125, 0.08), 
            1px 1px 0 0 transparent, 
            -1px 1px 0 0 transparent,
            1px -1px 0 0 transparent;
    }
    25% { 
        box-shadow:
            0 0 0 0px rgba(0,0,0,0),
            1px -1px 3px 1px var(--primary-color), 
            0 0 10px 3px rgba(62, 90, 125, 0.08),
            -1px 1px 0 0 transparent,
            1px 1px 0 0 transparent,
            -1px -1px 0 0 transparent;
    }
    50% {
        box-shadow:
            0 0 0 0px rgba(0,0,0,0),
            1px 1px 3px 1px var(--primary-color),
            0 0 10px 3px rgba(62, 90, 125, 0.08),
            -1px -1px 0 0 transparent,
            -1px 1px 0 0 transparent,
            1px -1px 0 0 transparent;
    }
    75% { 
        box-shadow:
            0 0 0 0px rgba(0,0,0,0),
            -1px 1px 3px 1px var(--primary-color), 
            0 0 10px 3px rgba(62, 90, 125, 0.08),
            1px -1px 0 0 transparent,
            1px 1px 0 0 transparent,
            -1px 1px 0 0 transparent;
    }
    100% {
        box-shadow:
            0 0 0 0px rgba(0,0,0,0),
            -1px -1px 3px 1px var(--primary-color),
            0 0 10px 3px rgba(62, 90, 125, 0.08),
            1px 1px 0 0 transparent,
            -1px 1px 0 0 transparent,
            1px -1px 0 0 transparent;
    }
}

body.dark-mode .product-card:hover {
    box-shadow: 0 25px 55px var(--shadow-deep), 0 0 30px rgba(201, 176, 131, 0.2),
                0 0 8px 2px var(--primary-color);
    border-color: var(--primary-color) !important; 
}

body.dark-mode .product-card:hover {
    box-shadow: 0 25px 55px var(--shadow-deep), 0 0 30px rgba(201, 176, 131, 0.2),
                0 0 8px 2px var(--primary-color);
    border-color: var(--primary-color) !important; 
}

#specs-modal .modal-content {
    max-width: 850px;
}

#specs-modal h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-dark-hover);
}

#specs-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 1rem;
    text-align: left;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem;
    background-color: var(--background-color);
    border-radius: var(--border-radius-base);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-light);
}

.spec-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--primary-btn-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

body.dark-mode .spec-icon {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.spec-details h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
}

.spec-details p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-text);
}

body.dark-mode .product-card:hover {
    box-shadow: 0 25px 55px var(--shadow-deep), 0 0 30px rgba(201, 176, 131, 0.2),
                0 0 8px 2px var(--primary-color);
    border-color: var(--primary-color) !important; 
}

#review-filter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.25rem;
    background-color: var(--background-color);
    border-radius: var(--border-radius-base);
    border: 1px solid var(--border-color);
}

.rating-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.rating-filter-btn {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-filter-btn:hover {
    background-color: var(--primary-light);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.rating-filter-btn.active {
    background-color: var(--primary-color);
    color: var(--primary-btn-text-color);
    border-color: var(--primary-dark-hover);
    box-shadow: 0 5px 15px var(--shadow-light);
    transform: translateY(-2px);
}

.rating-filter-btn .fa-star {
    color: #ffca28;
}

.auth-nav-item a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.auth-modal-content {
    max-width: 500px;
    padding: 2.5rem;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.auth-tab-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.auth-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.auth-tab-content {
    display: none;
}

.auth-tab-content.active {
    display: block;
    animation: fadeInStep 0.5s forwards;
}

.auth-tab-content h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.auth-tab-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-tab-content .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 16px;
}

.auth-error-msg {
    color: #e74c3c;
    text-align: center;
    font-weight: 500;
    min-height: 1.2em;
    display: none;
}

#auth-nav-item .user-menu {
    position: relative;
    cursor: pointer;
}

#auth-nav-item .user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    box-shadow: 0 8px 20px var(--shadow-light);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
}

#auth-nav-item .user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-color);
    white-space: nowrap;
}

.user-dropdown a:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
}

.forgot-password-icon.warning {
    color: #e74c3c; 
}

.warning-box {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: var(--border-radius-base);
    padding: 1rem;
    margin: 1.5rem 0;
}

.warning-box strong {
    color: #c0392b;
    display: block;
    margin-bottom: 0.5rem;
}

.warning-box p {
    font-size: 0.9rem;
    color: #721c24;
    margin: 0;
}

body.dark-mode .warning-box {
     background-color: rgba(231, 76, 60, 0.15);
     border-color: rgba(231, 76, 60, 0.4);
}

body.dark-mode .warning-box strong,
body.dark-mode .warning-box p {
    color: #f5c6cb;
}

.profile-modal-content {
    max-width: 900px; 
    width: 95%;
    padding: 0;
    border: 1px solid var(--border-color);
    background-color: var(--background-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.profile-header-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--primary-btn-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 15px -5px var(--shadow-strong);
}

body.dark-mode .profile-header-icon {
    background: linear-gradient(145deg, var(--accent-dark-hover), var(--accent-color));
    color: #1E1E1E;
}

.profile-header-text {
    text-align: left;
}

.profile-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.profile-subtitle {
    font-size: 1rem;
    color: var(--light-text);
    margin: 0.25rem 0 0 0;
}

.profile-body {
    padding: 2.5rem;
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

.profile-info-section,
.profile-security-section {
    padding: 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.profile-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    text-align: left;
    position: relative;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 1.5rem 0;
}

.profile-action-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .profile-body {
        grid-template-columns: 1fr auto 1fr; 
        gap: 2.5rem;
    }
    .profile-divider {
        width: 1px;
        height: auto;
        align-self: stretch; 
        margin: 0;
    }
}


@media (max-width: 767px) {
    .profile-modal-content {
        max-width: 100%;
    }
    .profile-header {
        padding: 1.5rem;
        gap: 1rem;
    }
    .profile-header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .profile-title {
        font-size: 1.5rem;
    }
    .profile-body {
        grid-template-columns: 1fr; 
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .profile-divider {
        order: 2; 
    }
    .profile-security-section {
        order: 3;
    }
}

#arsip .archive-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 600px;
    margin: -2.5rem auto 4.5rem auto;
}

#archive-list {
    display: block; 
    max-width: 900px; 
    margin: 0 auto;
}

.archive-year-divider {
    text-align: center;
    margin: 4rem 0 3rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.archive-year-divider::before,
.archive-year-divider::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.archive-card {
    display: flex;
    gap: 2.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px; 
    box-shadow: 0 4px 15px -10px var(--shadow-strong), 0 0 0 1px transparent;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.archive-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -20px var(--shadow-deep), 0 0 0 1px var(--border-color);
}

.archive-card.is-owned {
    background: linear-gradient(135deg, var(--surface-color) 0%, #fff9f0 100%);
    box-shadow: 0 15px 40px -20px rgba(201, 176, 83, 0.5);
}

.archive-card-image-container {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px -5px var(--shadow-medium);
}

.archive-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.5);
    transition: all 0.6s ease;
}

.archive-card:hover .archive-card-image,
.archive-card.is-owned .archive-card-image {
    filter: saturate(1);
    transform: scale(1.1);
}

.archive-card-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.archive-card-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.archive-card-description {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.7;
    margin: 0;
}

.owned-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--primary-btn-text-color);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px -5px rgba(201, 176, 83, 0.7);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .archive-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .archive-card-image-container {
        width: 100%;
        height: 300px;
    }
    .archive-card-name {
        font-size: 1.5rem;
    }
}

#sold-out-container .sold-out-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#sold-out-container .sold-out-item-link:hover {
    background-color: var(--background-color);
    text-decoration: none;
}

body.dark-mode #sold-out-container .sold-out-item-link:hover {
    background-color: var(--skeleton-highlight);
}

#sold-out-container .sold-out-item-link img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    filter: grayscale(100%); 
}

#sold-out-container .sold-out-item-link span {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.7;
}

.product-actions .btn:disabled {
    background-color: var(--skeleton-bg) !important;
    color: var(--light-text) !important;
    border-color: var(--border-color) !important;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none !important;
    transform: none !important;
}

.product-actions .btn:disabled i {
    color: var(--light-text) !important;
}

#koleksi-habis {
    background: none;
    padding-top: 5rem;
    padding-bottom: 5rem;
    animation: none; 
}

#koleksi-habis h2 {
    color: var(--text-color);
    text-shadow: none;
    font-size: 3rem;
}

#koleksi-habis .sold-out-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-text); 
    text-shadow: none;
    max-width: 650px;
    margin: -2.5rem auto 4.5rem auto;
    opacity: 1;
}

#sold-out-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; 
    max-width: 900px;
    margin: 4rem auto;
}

.sold-out-card {
    display: flex;
    gap: 2.5rem;
    background: linear-gradient(145deg, var(--surface-color), var(--background-color));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 15px 40px -20px var(--shadow-strong);
    padding: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sold-out-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.sold-out-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -15px var(--shadow-deep);
    border-color: var(--accent-color);
}

.sold-out-card-image-wrapper {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px -10px var(--shadow-strong);
}

.sold-out-card-image-wrapper::before {
    display: none;
}

.sold-out-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(85%); 
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sold-out-card:hover .sold-out-card-image {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.sold-out-card-info {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.sold-out-card-status {
    background: var(--primary-dark-hover);
    color: var(--primary-btn-text-color); 
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.sold-out-card-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.sold-out-card-description {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: auto;
}

.sold-out-card-meta {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--light-text);
}


.sold-out-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--surface-color);
    border-radius: var(--border-radius-base);
    border-top: 2px solid var(--accent-color);
    margin: 0 auto;
    max-width: 800px;
}

#koleksi-habis .sold-out-cta h3 {
    color: var(--text-color);
}

#koleksi-habis .sold-out-cta p {
    color: var(--light-text);
}

@media (max-width: 768px) {
    .sold-out-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .sold-out-card-image-wrapper {
        width: 100%;
        height: 350px;
    }
    .sold-out-card-name {
        font-size: 1.5rem;
    }
}

#koleksi-habis .sold-out-cta h3,
#koleksi-habis .sold-out-cta p {
    text-align: center;
}

.follow-us-modal-content {
    max-width: 550px;
    text-align: center;
    padding: 3rem;
}

.follow-us-modal-content h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.follow-us-modal-content p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
}

.follow-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.follow-us-link-card {
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
}

.follow-us-link-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    text-decoration: none;
}

.follow-us-link-card.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.follow-us-link-card.tiktok {
    background: linear-gradient(45deg, #00f2ea, #000000, #ff0050);
}

.article-list {
    gap: 0.75rem;
}

.article-link {
    background: linear-gradient(165deg, var(--surface-color) 0%, var(--background-color) 100%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02), 
                0 5px 10px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.article-link:hover {
    transform: scale(1.01);
    border-color: rgba(0,0,0,0.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.04), 
                0 10px 20px rgba(0,0,0,0.06);
    text-decoration: none;
}

body.dark-mode .article-link:hover {
    border-color: var(--accent-color);
}

.article-link::before {
    content: '\f15c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--accent-color);
    background-color: var(--surface-color);
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.article-link:hover::before {
    background-color: var(--text-color);
    color: var(--surface-color);
}

.article-link-content h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.article-link-content p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--light-text);
}

.article-link i.fa-chevron-right {
    font-size: 0.8rem;
    color: var(--border-color);
    margin-left: auto;
    background-color: var(--background-color);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.article-link:hover i.fa-chevron-right {
    background-color: var(--accent-color);
    color: white;
}

.article-modal .modal-content {
    max-width: 520px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    padding: 2rem 2.5rem;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.3);
}

body.dark-mode .article-modal .modal-content {
    background-color: #161616;
    border-color: #2a2a2a;
}

.article-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
}

.article-content {
    line-height: 1.65;
}

.article-content h2 {
    font-size: 1.6rem;
    margin: 0.25rem 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.article-content h2::before {
    content: 'LUXULIVER EDITORIAL';
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.article-content h4 {
    font-size: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.article-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: left;
}

.article-content p:first-of-type::first-letter {
    font-size: 3rem;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.article-content hr {
    margin: 2.5rem 0;
}

.article-content hr::after {
    padding: 0 0.75rem;
    font-size: 0.8rem;
}

.article-content table {
    margin: 1.5rem 0;
    font-size: 0.85rem;
}

.article-content th, .article-content td {
    padding: 0.6rem 0.8rem;
}

.sidebar-menu > li > a > i:first-child {
    display: none;
}

.modal-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 3rem;
}

#modal-main-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.modal-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.75rem;
}

.thumbnail-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.thumbnail-img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.thumbnail-img.active {
    border-color: var(--primary-color);
    opacity: 1;
}

#photo-gallery-modal .modal-content {
    max-width: 1200px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px;
}

.photo-item {
    background-color: var(--background-color);
    border-radius: var(--border-radius-base);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px var(--shadow-light);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px var(--shadow-medium);
}

.photo-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.photo-item h4 {
    margin: 0;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.follow-us-link-card.x {
    background: #000000;
}

.footer-section.social-media a:hover .fa-x-twitter {
    color: #555555;
}

.product-info .price.has-promo {
    color: var(--light-text);
    text-decoration: line-through;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.product-info .promo-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 1rem;
    animation: pulse-promo 1.5s infinite ease-in-out;
}

@keyframes pulse-promo {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.shipping-discount-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.shipping-discount-header i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.shipping-discount-header h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.shipping-discount-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin: 0;
}

.shipping-discount-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.shipping-discount-card {
    padding: 2rem;
    border-radius: var(--border-radius-base);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shipping-discount-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.4);
}

.shipping-discount-card .icon-wrapper {
    font-size: 2.5rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.shipping-discount-card .details h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.shipping-discount-card .details p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.price.has-promo {
    color: var(--light-text);
    text-decoration: line-through;
    font-weight: 400; 
}

.promo-price {
    font-weight: 800;
    color: #e74c3c; 
    animation: pulse-promo 1.5s infinite ease-in-out;
}

.product-info .price.has-promo {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}
.product-info .promo-price {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-product-info .price.has-promo {
    font-size: 1.5rem;
    margin-right: 1rem; 
}
.modal-product-info .promo-price {
    font-size: 2.5rem;
}

body.tour-active {
    overflow: hidden; 
}

#tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    backdrop-filter: blur(5px) brightness(0.9);
    -webkit-backdrop-filter: blur(5px) brightness(0.9);
    background-color: rgba(240, 235, 227, 0.4);
}

body.dark-mode #tour-overlay {
    background-color: rgba(18, 18, 18, 0.5);
}

@keyframes tour-ping {
    0% {
        box-shadow: 0 0 0 0px rgba(201, 176, 131, 0.7), 0 0 0 9999px rgba(0, 0, 0, 0.6);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(201, 176, 131, 0), 0 0 0 9999px rgba(0, 0, 0, 0.6);
    }
}

#tour-highlight-box {
    position: absolute;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

#tour-overlay.show #tour-highlight-box {
    animation: tour-ping 1.5s ease-out;
}

#tour-tooltip {
    position: absolute;
    background: linear-gradient(160deg, var(--surface-color) 0%, var(--background-color) 100%);
    color: var(--text-color);
    border-radius: 12px;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.3);
    width: 340px;
    max-width: calc(100vw - 20px);
    z-index: 10001;
    border: 1px solid var(--border-color);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(15px) scale(0.98);
    display: flex;
    flex-direction: column;
}

#tour-tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#tour-tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
#tour-tooltip[data-placement^='top']::before { top: 100%; left: 50%; transform: translateX(-50%); border-width: 8px 8px 0 8px; border-top-color: var(--border-color); }
#tour-tooltip[data-placement^='bottom']::before { bottom: 100%; left: 50%; transform: translateX(-50%); border-width: 0 8px 8px 8px; border-bottom-color: var(--border-color); }
#tour-tooltip[data-placement^='left']::before { left: 100%; top: 50%; transform: translateY(-50%); border-width: 8px 0 8px 8px; border-left-color: var(--border-color); }
#tour-tooltip[data-placement^='right']::before { right: 100%; top: 50%; transform: translateY(-50%); border-width: 8px 8px 8px 0; border-right-color: var(--border-color); }


#tour-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(160deg, var(--background-color) 0%, var(--surface-color) 100%);
    border-bottom: 1px solid var(--border-color);
}
#tour-header h4 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-color);
}

#tour-tooltip-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--light-text);
    margin: 0;
    padding: 1.25rem 1.5rem;
}

#tour-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--background-color);
    border-top: 1px solid var(--border-color);
}

#tour-step-counter {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-text);
}

.tour-nav-buttons {
    display: flex;
    gap: 0.75rem;
}

#tour-navigation .btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
}

#tour-skip-btn {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.1rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
#tour-skip-btn:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

body.dark-mode #tour-tooltip {
    border-color: #333;
}
body.dark-mode #tour-header,
body.dark-mode #tour-navigation {
    background-color: #111;
    border-color: #333;
}

@media (max-width: 992px) {

    header nav {
        display: flex !important;
    }
    
    #sidebar-toggle-btn {
        display: block;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    }

    .cart-item {
        grid-template-columns: auto 1fr auto auto !important;
        text-align: left !important;
    }
    .cart-item img {
        margin-bottom: 0 !important;
    }
    .cart-item .item-details {
        text-align: left !important;
    }

    #quick-view-modal .modal-body {
        flex-direction: row !important;
    }
    #quick-view-modal .modal-body > .modal-image-gallery {
        flex-basis: 40% !important;
        max-width: 40% !important;
    }
    #quick-view-modal .modal-product-info {
        flex-basis: 60% !important;
        text-align: left !important;
    }

    footer .container .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        text-align: left !important;
    }
    
    .favorite-card-luxury {
        grid-template-columns: 320px 1fr !important;
    }
}

.thank-you-content {
    max-width: 750px;
    text-align: center;
    padding: 4rem 3rem;
    border: 1px solid var(--accent-color);
    background: radial-gradient(circle, var(--surface-color) 0%, var(--background-color) 100%);
    box-shadow: 0 20px 60px -10px var(--shadow-deep), 0 0 0 5px var(--surface-color);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--primary-btn-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem auto;
    animation: pop-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.thank-you-content h3,
.thank-you-content p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.7s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.thank-you-content h3 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    animation-delay: 0.2s;
}

.thank-you-content .main-message {
    font-size: 1.2rem;
    color: var(--light-text);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    animation-delay: 0.4s;
}

.thank-you-content .next-step-message {
    font-size: 1rem;
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: var(--border-radius-base);
    border: 1px dashed var(--border-color);
    margin: 2rem auto;
    animation-delay: 0.6s;
}

.thank-you-content .closing-message {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    animation-delay: 0.8s;
}

.thank-you-content .modal-actions {
    animation-delay: 1s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.7s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

 #order-map-section { background: var(--surface-color); padding: 4rem 0; }
#interactive-map-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
}
.map-image { width: 100%; height: auto; }
.map-notification {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    animation: pop-in-out 5s ease-in-out forwards;
}
.map-notification img { width: 40px; height: 40px; border-radius: 5px; }
@keyframes pop-in-out {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    10%, 90% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.focus-btn {
    position: fixed;
    bottom: 45px;
    left: 45px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--primary-btn-text-color);
    border: none;
    border-radius: 50%;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 998;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden; 
}

.focus-btn:hover {
    transform: translateY(-10px) scale(1.1);
}

.focus-btn .fa-eye-slash {
    display: none; 
}

body.focus-mode-active .focus-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark-hover));
}

body.focus-mode-active .focus-btn .fa-eye {
    display: none; 
}
body.focus-mode-active .focus-btn .fa-eye-slash {
    display: block;
}

body.focus-mode-active #hero,
body.focus-mode-active #search-section,
body.focus-mode-active #personalized-recommendations,
body.focus-mode-active .curated-collection,
body.focus-mode-active #order-map-section,
body.focus-mode-active #recently-viewed-homepage,
body.focus-mode-active .section-divider,
body.focus-mode-active footer {
    transition: all 0.5s ease;
    opacity: 0;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    pointer-events: none; 
}

@media (max-width: 768px) {
    .focus-btn {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 35px;
        left: 35px;
    }
}


 #theme-controls-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.theme-control {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.theme-control label {
    font-weight: 500;
    color: var(--light-text);
}
.theme-control input[type="color"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 50px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
}
.theme-control input[type="color"]::-webkit-color-swatch {
    border-radius: 6px;
    border: none;
}
.theme-control input[type="color"]::-moz-color-swatch {
    border-radius: 6px;
    border: none;
}
.theme-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    padding-top: 40px;
}

.bundle-grid .product-card .product-image-container {
    overflow: hidden;
    background-color: #ffffff; 
    border-radius: var(--border-radius-base);
}

.bundle-grid .product-card .product-image-container img {
    width: 100%;
    height: auto; 
    display: block; 
    transition: transform 0.4s ease;
}

.bundle-grid .product-card:hover .product-image-container img {
    transform: scale(1.05);
}

#penawaran-paket {
    padding-left: 40px;
    padding-right: 40px;
}

.pk-step {
    display: none;
    animation: fadeInStep 0.5s forwards;
}
.pk-step.active {
    display: block;
}
.pk-type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.pk-type-btn {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px var(--shadow-light);
}
.pk-type-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px var(--shadow-medium);
    border-color: var(--primary-color);
}
.pk-type-btn i {
    font-size: 2.5rem;
    color: var(--accent-color);
}
.pk-type-btn span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}
.pk-type-btn strong {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}
.pk-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.pk-price-display {
    font-size: 1.5rem;
    color: var(--text-color);
}
.pk-price-display strong {
    font-weight: 700;
    color: var(--primary-color);
}

#pk-product-selection-grid {
    max-height: 55vh;
    overflow-y: auto;
    padding: 1.5rem;
    margin: 1.5rem -1.5rem;
    background-color: var(--background-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.pk-product-card {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px -10px var(--shadow-strong);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid transparent;
}

.pk-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px -10px var(--shadow-deep);
    border-color: var(--accent-color);
}

.pk-image-container {
    position: relative;
    aspect-ratio: 1 / 1.1; 
}

.pk-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.pk-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    opacity: 0.8;
}

.pk-product-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 2;
    color: #fff;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.pk-product-card:hover .pk-product-card-info {
    transform: translateY(0);
    opacity: 1;
}

.pk-product-card-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.pk-product-card-info .pk-product-design {
    font-size: 0.9rem;
    text-transform: capitalize;
    font-weight: 400;
    opacity: 0.8;
}

.pk-selection-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--primary-btn-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 3;
    transform: scale(0) rotate(-90deg);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.pk-product-card.selected {
    pointer-events: none;
    border-color: var(--primary-color);
}

.pk-product-card.selected .pk-image-container::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
}

.pk-product-card.selected .pk-product-card-info {
    transform: translateY(0);
    opacity: 1;
}

.pk-product-card.selected .pk-selection-badge {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

#pk-size-modal-content {
    text-align: center;
    padding: 1rem;
}

.pk-size-product-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-base);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.pk-size-product-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.pk-size-modal-prompt {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.pk-size-options-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.pk-size-option-btn {
    background-color: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.pk-size-option-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    background-color: var(--background-color);
}

.pk-size-option-btn.selected {
    background: var(--primary-color);
    color: var(--primary-btn-text-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow-strong);
}

.pk-size-confirm-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
}

.promo-info-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #f5f7fa, #e6e9f0);
    color: #4a5568;
    padding: 1.25rem 2rem;
    border-radius: var(--border-radius-base);
    margin: -1.5rem auto 3rem auto;
    max-width: 800px;
    border: 1px solid #dae1e7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.promo-info-banner i {
    font-size: 2rem;
    color: var(--primary-color);
}

.promo-info-banner p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
}

body.dark-mode .promo-info-banner {
    background: linear-gradient(135deg, #2D3748, #1A202C);
    color: #E2E8F0;
    border-color: #4A5568;
}

body.dark-mode .promo-info-banner i {
    color: var(--accent-color);
}

#personalized-recommendations .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.recommendation-link {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: var(--border-radius-base);
    overflow: hidden;
    box-shadow: 0 8px 20px var(--shadow-light);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    aspect-ratio: 4 / 5;
}

.recommendation-link:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px var(--shadow-medium);
    text-decoration: none;
}

.recommendation-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recommendation-link:hover img {
    transform: scale(1.1);
}

.recommendation-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
}

.recommendation-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.recommendation-link:hover .recommendation-name {
    transform: translateY(0);
}

.product-card.highlighted {
    transition: all 0.5s ease-in-out !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 0 5px var(--surface-color), 0 0 35px 10px var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    z-index: 10;
}

.flash-sale-timer {
    background-color: #e74c3c; 
    color: white;
    padding: 0.5rem 1rem;
    margin: 1rem auto;
    border-radius: 50px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    animation: pulse-danger 2s infinite;
}

.flash-sale-timer span {
    margin-right: 0.5em;
}

.flash-sale-timer strong {
    font-weight: 700;
    letter-spacing: 1px;
}

@keyframes pulse-danger {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.sidebar-menu li a.sidebar-filter,
.sidebar-menu li .submenu-header {
    display: none;
}

.collection-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 0;
    margin-bottom: 3.5rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.live-filter-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    flex-grow: 1; 
}

.filter-select, .sorting-controls-container .custom-select-wrapper {
    flex: 1 1 200px; 
    min-width: 200px;
}

@media (max-width: 1024px) {
    .collection-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .live-filter-container, .sorting-controls-container {
       width: 100%;
    }
    
    .filter-select, .sorting-controls-container .custom-select-wrapper {
        width: 100%;
    }
}

.guest-hidden {
    display: none !important;
}

.design-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem; 
}

.design-filter-btn {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 50px; 
    padding: 10px 22px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem; 
    box-shadow: 0 4px 10px -5px var(--shadow-medium);
}

.design-filter-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px -5px var(--shadow-strong);
}

.design-filter-btn.active {
    color: var(--primary-btn-text-color);
    box-shadow: 0 6px 15px -5px var(--shadow-deep);
    transform: translateY(-2px) scale(1.02);
    border-color: transparent;
}

.design-filter-btn::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1em;
}

.design-filter-btn[data-design="all"]::before {
    content: '\f009'; 
}
.design-filter-btn[data-design="all"].active {
    background: var(--primary-color);
}

.design-filter-btn[data-design="abstrak"]::before {
    content: '\f1fc';
}
.design-filter-btn[data-design="abstrak"].active {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
}

.design-filter-btn[data-design="classy"]::before {
    content: '\f3a5';
}
.design-filter-btn[data-design="classy"].active {
    background: linear-gradient(135deg, #c9a35d, #e0c38c);
    color: #3d2c0a;
}

.design-filter-btn[data-design="basic"]::before {
    content: '\f553'; 
}
.design-filter-btn[data-design="basic"].active {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
}

.footer-toggle {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
}

.footer-toggle h3 {
    margin-bottom: 0;
}

.footer-toggle .fa-chevron-down {
    color: var(--accent-color);
    transition: transform 0.4s ease;
    font-size: 1rem;
}

.footer-panel {
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
    padding-top: 0;
}

.footer-collapsible.active .footer-panel {
    max-height: 200px; 
    padding-top: 1.5rem;
}

.footer-collapsible.active .footer-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.checkout-step[data-step="3"] {
    perspective: 1500px;
}

.step3-grid-layout {
    display: grid;
    grid-template-columns: 1fr 420px; 
    gap: 3.5rem;
    align-items: flex-start;
}

.checkout-step[data-step="3"] h4 {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
    position: relative;
}

.checkout-step[data-step="3"] h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--accent-color);
}

#payment-method {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    background: linear-gradient(145deg, var(--surface-color), var(--background-color));
    height: 120px;
    position: relative;
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.03), 
        0 15px 40px -10px rgba(0,0,0,0.08); 
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.radio-tile:hover {
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) scale(1.08);
    box-shadow: 
        0 8px 15px rgba(0,0,0,0.05),
        0 25px 50px -10px rgba(0,0,0,0.15);
    border-color: var(--primary-light);
}

.radio-option input[type="radio"]:checked + .radio-tile {
    border: 2px solid var(--accent-color);
    box-shadow: 
        0 0 0 3px var(--surface-color),
        0 0 0 5px var(--accent-color),
        0 15px 40px -10px rgba(198, 168, 116, 0.3);
    transform: perspective(1000px) scale(1.05);
}

.radio-tile img {
    max-height: 40px;
    max-width: 90%;
    object-fit: contain;
    filter: saturate(0.8) contrast(0.9);
    opacity: 0.85;
    transition: all 0.4s ease;
    transform: translateZ(20px); 
}

.radio-tile:hover img,
.radio-option input[type="radio"]:checked + .radio-tile img {
    filter: none;
    opacity: 1;
    transform: translateZ(40px) scale(1.05); 
}

.radio-tile .radio-tile-name {
    display: none;
}

.radio-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--surface-color);
    border: 2px solid var(--border-color);
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-check::after {
    content: '';
    width: 6px;
    height: 12px;
    border: solid var(--primary-btn-text-color);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 0.2s ease 0.2s;
}

.radio-option input[type="radio"]:checked + .radio-tile .radio-check {
    transform: scale(1);
    opacity: 1;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.radio-option input[type="radio"]:checked + .radio-tile .radio-check::after {
    opacity: 1;
}

.order-summary-final {
    position: sticky;
    top: 120px;
}

@media (max-width: 992px) {
    .step3-grid-layout {
        grid-template-columns: 1fr;
    }
    #payment-method {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .order-summary-final {
        position: static;
    }
    .radio-tile:hover {
        transform: translateY(-5px) scale(1.05); 
    }
}

.luxury-shipping-hub {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.radio-option-luxury input[type="radio"] {
    display: none;
}

.shipping-card-luxury {
    --mouse-x: 50%;
    --mouse-y: 50%;
    position: relative;
    padding: 1.5rem 2rem;
    border-radius: 18px;
    cursor: pointer;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 35px -15px var(--shadow-strong);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden; 
}

.shipping-card-luxury::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(
        250px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.dark-mode .shipping-card-luxury::before {
     background: radial-gradient(
        250px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.1),
        transparent
    );
}

.radio-option-luxury:hover .shipping-card-luxury::before {
    opacity: 1;
}

.radio-option-luxury:hover .shipping-card-luxury {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -15px var(--shadow-deep);
}

.radio-option-luxury input[type="radio"]:checked + .shipping-card-luxury {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-color), 0 15px 40px -15px rgba(198, 168, 116, 0.4);
}

.shipping-card-content {
    position: relative;
    z-index: 2; 
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.shipping-card-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 15px -5px var(--shadow-medium);
    flex-shrink: 0;
}

.shipping-card-logo img {
    max-width: 70%;
    height: auto;
}

.shipping-card-details {
    flex-grow: 1;
}

.shipping-card-details .shipping-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.shipping-card-details .shipping-service {
    font-size: 0.9rem;
    color: var(--light-text);
}

.shipping-card-estimate {
    text-align: right;
}

.shipping-card-estimate .dynamic-estimate {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    transition: opacity 0.3s ease;
}

.shipping-card-estimate i {
    display: none; 
}

.recommendation-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--accent-color);
    color: var(--primary-btn-text-color);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 15px -5px rgba(198, 168, 116, 0.5);
    z-index: 3;
}

.selection-checkmark {
    position: absolute;
    bottom: -30px; 
    right: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.selection-checkmark::after {
    content: '\f00c'; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-btn-text-color);
    font-size: 1.5rem;
    transform: translate(-18px, -18px); 
}

.radio-option-luxury input[type="radio"]:checked + .shipping-card-luxury .selection-checkmark {
    transform: scale(1);
    opacity: 1;
}

@keyframes breathing-glow {
    0% { box-shadow: 0 0 0 3px var(--accent-color), 0 15px 40px -15px rgba(198, 168, 116, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(198, 168, 116, 0.5), 0 15px 45px -15px rgba(198, 168, 116, 0.5); }
    100% { box-shadow: 0 0 0 3px var(--accent-color), 0 15px 40px -15px rgba(198, 168, 116, 0.4); }
}

.radio-option-luxury input[type="radio"]:checked + .shipping-card-luxury {
    animation: breathing-glow 2.5s infinite ease-in-out;
}

body.dark-mode .shipping-card-luxury {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
}

.checkout-step[data-step="1"] {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

body.dark-mode .checkout-step[data-step="1"] {
    background-color: rgba(0, 0, 0, 0.1);
}

.luxury-step-header h4 {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    text-align: left;
}

.luxury-form-group {
    position: relative;
    margin-bottom: 2.5rem; 
}

.form-input {
    width: 100%;
    padding: 20px 20px 20px 55px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.04); 
    transition: all 0.4s ease;
}

.form-input:focus {
    outline: none;
}

.luxury-form-group::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.form-input:focus + .form-label + .form-icon + .luxury-form-group::after,
.luxury-form-group:has(.form-input:focus)::after { 
    transform: scaleX(1);
}

.form-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--light-text);
    transition: all 0.4s ease;
}

.form-input:focus ~ .form-icon {
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.form-label {
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--surface-color);
    padding: 0 8px;
    color: var(--light-text);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: 45px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
}

textarea.form-input {
    padding-top: 28px;
    min-height: 160px;
}

textarea.form-input + .form-label {
    top: 25px;
}

textarea.form-input:focus + .form-label,
textarea.form-input:not(:placeholder-shown) + .form-label {
    top: -10px;
}

body.dark-mode .form-input {
    background-color: var(--background-color);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

body.dark-mode .form-label {
    background-color: var(--background-color);
}

.luxury-summary-container {
    background: linear-gradient(160deg, #fdfdfd 0%, #f4f4f4 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 60px -20px var(--shadow-deep);
    padding: 2.5rem;
    position: sticky;
    top: 120px;
}

body.dark-mode .luxury-summary-container {
    background: linear-gradient(160deg, #1e1e1e 0%, var(--background-color) 100%);
    border-color: #333;
}

.luxury-summary-header {
    text-align: center;
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0 0 2rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.luxury-summary-header::after { 
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.summary-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.summary-customer-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.summary-detail-item {
    display: flex;
    justify-content: space-between;
}

.summary-detail-item .label {
    color: var(--light-text);
}

.summary-detail-item .value {
    color: var(--text-color);
    font-weight: 600;
    text-align: right;
}

.summary-product-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.summary-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.summary-product-item .image-container {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.summary-product-item .details .name {
    font-weight: 600;
    font-size: 1rem;
}

.summary-product-item .details .qty-size {
    font-size: 0.85rem;
    color: var(--light-text);
}

.summary-product-item .price {
    margin-left: auto;
    font-weight: 600;
    font-size: 1rem;
}

.summary-finance-details {
    padding: 1.5rem 0;
    margin-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 1rem;
}

.summary-finance-details .finance-line .label {
    color: var(--light-text);
}

.summary-finance-details .finance-line .amount {
    font-weight: 600;
}

.summary-grand-total-wrapper {
    background: var(--background-color);
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.summary-grand-total-wrapper .total-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-text);
    display: block;
    margin-bottom: 0.5rem;
}

.summary-grand-total-wrapper .total-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.summary-footer-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 2rem;
    font-style: italic;
}

.summary-footer-note strong {
    color: var(--text-color);
}

#search-section {
    padding: 3rem 0; 
    margin-top: 3rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

.search-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
}

.search-bar input[type="text"] {
    width: 100%;
    padding: 18px 25px 18px 55px; 
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    background-color: var(--surface-color);
    box-shadow: 0 5px 20px -5px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-bar input[type="text"]::placeholder {
    color: var(--light-text);
    opacity: 0.8;
}

.search-input-wrapper::before {
    content: '\f002'; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
    font-size: 1.1rem;
    z-index: 2;
    transition: color 0.4s ease, transform 0.4s ease;
}

.search-bar input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-color);
    animation: breathing-glow-search 2.5s infinite ease-in-out;
}

.search-bar .search-input-wrapper:focus-within::before {
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

#search-button {
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

@keyframes breathing-glow-search {
    0% {
        box-shadow: 0 0 10px 0 rgba(198, 168, 116, 0.2), 0 5px 20px -5px var(--shadow-light);
    }
    50% {
        box-shadow: 0 0 25px 8px rgba(198, 168, 116, 0.4), 0 8px 25px -5px var(--shadow-medium);
    }
    100% {
        box-shadow: 0 0 10px 0 rgba(198, 168, 116, 0.2), 0 5px 20px -5px var(--shadow-light);
    }
}

body.dark-mode .search-bar input[type="text"] {
    box-shadow: 0 5px 20px -5px rgba(0,0,0,0.2);
}

body.dark-mode .search-bar input[type="text"]:focus {
     animation-name: breathing-glow-search-dark;
}

@keyframes breathing-glow-search-dark {
    0% {
        box-shadow: 0 0 10px 0 rgba(198, 168, 116, 0.25), 0 5px 20px -5px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 0 25px 8px rgba(198, 168, 116, 0.45), 0 8px 25px -5px rgba(0,0,0,0.3);
    }
    100% {
        box-shadow: 0 0 10px 0 rgba(198, 168, 116, 0.25), 0 5px 20px -5px rgba(0,0,0,0.2);
    }
}

@media (max-width: 768px) {
    .search-bar {
        flex-direction: column;
    }
    .search-bar input[type="text"] {
        border-radius: 12px;
    }
    #search-button {
        border-radius: 12px;
    }
}

.shop-status-banner-closed {
    display: flex;
    align-items: center;
    gap: 0.75rem; 
    padding: 0.75rem 1.5rem; 
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 10px; 
    max-width: 700px; 
    margin: 1.5rem auto 2.5rem auto; 
    text-align: left;
}

.shop-status-banner-closed i {
    font-size: 1.2rem;
}

.shop-status-banner-closed p {
    margin: 0; 
    font-size: 0.95rem;
    font-weight: 500;
}

body.dark-mode .shop-status-banner-closed {
    background-color: #5c3437;
    border-color: #6a444a;
    color: #ffc2c5;
}

.footer-section.payment-shipping h3 {
    font-size: 1.7rem;
    margin-bottom: 0;
}

.footer-icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.footer-icon-grid img {
    height: 70px; 
    max-width: 90px;
    object-fit: contain;
    background-color: white; 
    padding: 5px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    filter: grayscale(100%); 
    opacity: 0.7; 
    transition: all 0.3s ease; 
}

.footer-icon-grid img:hover {
    filter: grayscale(0%);
    opacity: 1; 
    transform: scale(1.1); 
}