/*
Theme Name: Galileo Cigar Shop
Theme URI: 
Author: Bejo
Author URI: instagram.com/xzqllh
Description: Galileo Cigar Shop Theme.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.0
Text Domain: galileo-cigar-shop
*/

/*--------------------------------------------------------------
# Box Sizing Reset
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

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

a {
    color: var(--accent-orange);
    text-decoration: none;
}

a:hover {
    color: #e69500;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

:root {
    --accent-orange: #FFA500;
}

/* Global button, link, etc. */
.button, button, input[type="submit"], .floating-cart-button {
    background: var(--accent-orange) !important;
    color: #fff !important;
    border: none;
    border-radius: 7px;
    transition: background 0.2s;
}
.button:hover, button:hover, input[type="submit"]:hover, .floating-cart-button:hover {
    background: #e69500 !important;
    color: #fff !important;
}

/* Dropdown (select) accent */
select {
    border: 1.5px solid #ddd;
    color: #222;
    background: #fafbfc;
    transition: border 0.2s;
}
select:focus {
    border: 1.5px solid var(--accent-orange);
    outline: none;
    color: #111;
}

/* Custom select for modal variation tetap pakai style sebelumnya */
#variation-modal select {
    border: 1.5px solid #ddd;
    color: #222;
    background: #fafbfc;
}
#variation-modal select:focus {
    border: 1.5px solid var(--accent-orange);
    color: #111;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
    background-color: #1a1a1a;
    color: #fff;
}

.site-header a {
    color: #fff;
}

.top-bar {
    background-color: #111;
    padding: 10px 0;
    font-size: 0.9em;
}

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

.top-bar-right a {
    margin-left: 15px;
}

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

.site-branding .site-title {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    text-transform: uppercase;
    font-weight: bold;
}

.menu-toggle {
    display: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 40px 0;
    font-size: 0.9em;
}

.site-footer h6 {
    color: #fff;
    font-size: 1.1em;
    text-transform: uppercase;
}

.site-footer a {
    color: #aaa;
}

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

.footer-widgets {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-widgets .widget-area {
    width: 30%;
}

.footer-widgets ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-info {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

/*--------------------------------------------------------------
# Front Page Hero Slider
--------------------------------------------------------------*/
.hero-slider {
    background-color: #111;
    color: #fff;
    width: 100%;
}

.hero-slider .swiper,
.hero-slider .swiper-slide {
    height: 500px;
    min-height: 320px;
    max-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.slide-content h2 {
    font-size: 3.5em;
    font-weight: bold;
    margin: 0 0 10px;
    line-height: 1.2;
}

.slide-content .price {
    font-size: 2.5em;
    font-weight: bold;
    color: #00a9e0;
    display: block;
    margin-bottom: 20px;
}

.slide-content .button {
    background-color: #00a9e0;
    color: #fff;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
}

.slide-content .button:hover {
    background-color: #008db8;
    text-decoration: none;
}

/* Hero Slider Overlay */
.hero-slider .swiper-slide {
    position: relative;
}
.hero-slider .swiper-slide::before {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero-slider .slide-content {
    position: relative;
    z-index: 2;
}
.hero-slider .slide-content h2,
.hero-slider .slide-content .price,
.hero-slider .slide-content .button {
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.hero-slider .slide-content .price {
    color: #FFA500 !important;
}
/* Swiper Pagination Dots & Arrows Orange */
.hero-slider .swiper-pagination-bullet {
    background: #FFA500 !important;
    opacity: 0.7;
}
.hero-slider .swiper-pagination-bullet-active {
    background: #FFA500 !important;
    opacity: 1;
}
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #FFA500 !important;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features-section {
    background-color: #f7f7f7;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.features-section .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.feature-box {
    padding: 0 15px;
    margin-bottom: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
    text-align: center;
}

.feature-box .feature-icon {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 48px;
    max-height: 48px;
}

.feature-box h4 {
    margin: 0 0 5px;
    font-size: 1.2em;
    color: #333;
    font-weight: 600;
}

.feature-box p {
    margin: 0;
    color: #777;
    font-size: 0.9em;
}

/*--------------------------------------------------------------
# Product Categories Section
--------------------------------------------------------------*/
.product-categories-section {
    padding: 60px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.category-item {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #fff;
    overflow: hidden;
    cursor: pointer; 
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

.category-item h4 {
    position: relative;
    margin: 0;
    font-size: 1.5em;
    text-transform: uppercase;
    z-index: 2;
    transition: transform 0.3s ease;
}

.category-item:hover h4 {
    transform: translateY(-10px);
}

/*--------------------------------------------------------------
# Bestsellers / Products Section
--------------------------------------------------------------*/
.bestsellers-section {
    padding: 60px 0;
    text-align: center;
}

.section-title h6 {
    color: #777;
    font-size: 1em;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0;
}

.section-title h2 {
    font-size: 2.8em;
    margin: 0 0 40px;
    color: #1a1a1a;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: left;
    align-items: stretch;
}

.product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.product .price {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
}

.add-to-cart-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin:auto;
}

.add-to-custom-cart-button {
    width: 100%;
    min-width: 100px;
    font-size: 1em;
    margin:auto;
}

/* Star Rating - Basic placeholder styling */
.star-rating {
    font-family: 'FontAwesome'; /* Assuming FontAwesome is available */
    color: #f5b300;
    letter-spacing: 2px;
}

.star-rating[aria-label*="5.00"]::before {
    content: "\f005\f005\f005\f005\f005"; /* 5 stars */
}

.star-rating[aria-label*="4.00"]::before {
    content: "\f005\f005\f005\f005\f006"; /* 4 full, 1 empty */
}

/* Add your own custom CSS here. */
.whatsapp-button-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.quantity-input {
    width: 60px;
    text-align: center;
    margin-right: 10px;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: bold;
}

.whatsapp-button:hover {
    background-color: #1EBE57;
    color: white;
}

.add-to-cart-container .quantity {
    margin: 0 10px 0 0;
}

.add-to-cart-container .input-text.qty {
    width: 50px;
    height: 40px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.add-to-cart-container .add_to_cart_button {
    font-size: 1.25em;
    background-color: #2c3e50;
    color: white;
    border-radius: 4px;
    line-height: 1.5;
}

.add-to-cart-container .add_to_cart_button:hover {
    background-color: #34495e;
}

.add-to-cart-container .custom-qty-input {
    margin-bottom: 8px;
    width: 60px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px;
}

.add-to-cart-container .add-to-custom-cart-button {
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
}


/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .slide-content h2 {
        font-size: 2.8em;
    }

    .section-title h2 {
        font-size: 2.4em;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* Tablet & Large Phones */
@media (max-width: 768px) {
    .main-navigation {
        position: relative;
        width: 100%;
    }

    .top-bar .container,
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-right {
        margin-top: 10px;
    }
    
    .site-branding {
        margin-bottom: 20px;
    }

    .main-navigation ul {
        display: none; /* Hide desktop menu */
        flex-direction: column;
        width: 100%;
        background-color: #1a1a1a;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
    }

    .main-navigation.toggled ul {
        display: flex; /* Show dropdown menu */
    }

    .main-navigation li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #333;
    }
    
    .main-navigation a {
        padding: 15px;
        display: block;
    }
    
    .menu-toggle {
        display: block; /* Show hamburger menu button */
        background: none;
        border: 1px solid white;
        color: white;
        padding: 10px;
        cursor: pointer;
        font-size: 1em;
        margin: 0 auto;
    }

    .features-section .container {
        flex-direction: column;
    }

    .feature-box {
        margin-bottom: 20px;
    }

    .footer-widgets {
        flex-direction: column;
        text-align: center;
    }

    .footer-widgets .widget-area {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .site-branding .site-title {
        font-size: 2em;
    }

    .slide-content {
        padding: 0 10px;
    }

    .slide-content h2 {
        font-size: 2.2em;
    }

    .slide-content .price {
        font-size: 2em;
    }

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

    .whatsapp-button-container {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-input {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/*--------------------------------------------------------------
# Floating Action Buttons
--------------------------------------------------------------*/
.floating-cart-button,
.floating-home-btn,
.floating-catalog-btn {
    position: fixed;
    right: 0;
    background-color: #FFA500;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 8px 0 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    z-index: 1000;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, top 0.3s ease;
}

.floating-cart-button:hover,
.floating-home-btn:hover,
.floating-catalog-btn:hover {
    background-color: #E69500;
    color: white !important;
}

.floating-home-btn {
    top: calc(50% - 70px); /* 60px button height + 10px gap */
    transform: translateY(-50%);
}

.floating-cart-button {
    top: 50%;
    transform: translateY(-50%);
}

.floating-catalog-btn {
    top: calc(50% + 70px);
    transform: translateY(-50%);
}

/* Setting the icon color to black to match the cart icon */
.floating-action-btn svg {
    width: 28px;
    height: 28px;
    stroke: #222;
}

.cart-item-count {
    position: absolute;
    top: -5px;
    right: 2px;
    color: #e62e2e;
    background-color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-sizing: border-box;
    z-index: 2;
}
.cart-item-count:empty {
    display: none;
}



.product .price {
    margin-top: 0; /* Hapus jarak atas dari harga */
}

/*--------------------------------------------------------------
# Custom Cart Modal
--------------------------------------------------------------*/
.custom-cart-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent body scroll when modal is open */
    background-color: rgba(0,0,0,0.6);
}

.custom-cart-modal.show {
    display: block;
}

/* Animation Triggers */
.custom-cart-modal.show .modal-content,
#variation-modal.show .modal-content {
    animation: modalSlideUp 0.35s cubic-bezier(.4,1.4,.6,1) both;
}

.custom-cart-modal.closing .modal-content,
#variation-modal.closing .modal-content {
    animation: modalSlideDown 0.3s cubic-bezier(.4,1.4,.6,1) both;
}

@keyframes modalSlideUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes modalSlideDown {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
}

#variation-modal .modal-content,
.custom-cart-modal .modal-content {
    width: 30%;
    max-width: 700px;
    min-width: 500px;
    height: auto;
    max-height: 90vh;
    margin: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
    padding: 20px 15px 15px 15px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 0;
    top: auto;
    z-index: 9999;
    overflow-y: auto;
    background: #fff;
    border: none;
}


.close-modal {
    color: #aaa;
    position: absolute;
    top: 14px;
    right: 22px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 800;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
}

#custom-cart-items .cart-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

#custom-cart-items .item-details {
    flex-grow: 1;
}

#custom-cart-items .item-name {
    font-weight: bold;
}

.cart-summary {
    text-align: right;
    font-size: 1.2em;
    margin-top: 20px;
}

.customer-details-form {
    margin-top: 15px;
}

.customer-details-form h3,
.customer-details-form h4 {
    margin-bottom: 15px;
}

.customer-details-form input,
.customer-details-form select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    display: block;
    border: 1px solid #ddd;
}

.customer-details-form input:focus,
.customer-details-form select:focus {
    border: 1.5px solid #FFA500;
    outline: none;
}

.customer-details-form .rt-rw {
    display: flex;
    gap: 10px;
}

.customer-details-form .rt-rw input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Remove-item button (cart) */
#custom-cart-items .remove-item {
    color: #222 !important;
    font-size: 1.7em;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-left: 10px;
    padding: 0;
}
#custom-cart-items .remove-item:hover {
    background: #e0e0e0;
    color: #FFA500 !important;
}

#place-order-whatsapp {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin: 20px 0 20px 0;
    background-color: #25D366;
    border-color: #25D366;
    color: #ffffff !important;
    font-weight: bold;
}

#place-order-whatsapp:hover {
    background-color: #1EBE57;
    color: #888 !important;
}

.custom-qty-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    gap: 4px;
}
.custom-qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px;
}
.qty-btn {
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background 0.2s;
}
.qty-btn:hover {
    background: #e0e0e0;
}

/* --- Variation Modal Customization --- */
#variation-modal h2 {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 18px;
    color: #222;
    text-align: center;
    letter-spacing: 0.5px;
    margin-top: 0;
}
#variation-modal label {
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 6px;
    color: #444;
    display: block;
}
#variation-modal select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-bottom: 16px;
    font-size: 1em;
    background: #fafbfc;
    transition: border 0.2s;
}
#variation-modal select:focus {
    border: 1.5px solid #FFA500;
    outline: none;
}
#variation-modal .custom-qty-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 18px;
}
#variation-modal .custom-qty-input {
    width: 54px;
    text-align: center;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    padding: 7px 0;
    font-size: 1.1em;
    background: #f9f9f9;
    margin: 0 4px;
}
#variation-modal .qty-btn {
    background: #FFA500;
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(255,165,0,0.08);
}
#variation-modal .qty-btn:hover {
    background: #e69500;
}
#variation-modal #confirm-variation-btn.button {
    width: 100%;
    padding: 13px;
    font-size: 1.1em;
    background: #222;
    color: #fff;
    border-radius: 7px;
    border: none;
    margin-top: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: background 0.2s;
}
#variation-modal #confirm-variation-btn.button:hover {
    background: #FFA500;
    color: #fff;
}
#variation-modal .close-variation-modal {
    color: #aaa;
    position: absolute;
    top: 14px;
    right: 22px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
#variation-modal .close-variation-modal:hover {
    color: #222;
}
@media (max-width: 600px) {
    #variation-modal .modal-content,
    .custom-cart-modal .modal-content {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        left: 0;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transform: none;
    }

    .cart-modal-footer {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.07);
        padding: 14px 0 10px 0;
        z-index: 10;
        margin-top: 18px;
    }

    .feature-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 10px;
    }
    .feature-box .feature-icon {
        margin-bottom: 8px;
    }

    .hero-slider .swiper,
    .hero-slider .swiper-slide {
        height: 200px;
        min-height: 120px;
    }

    .feature-box h4,
    .feature-text h4 {
        font-size: 1em;
    }

    .slide-content h2 {
        font-size: 1.5em;
    }
    .slide-content .price {
        font-size: 1.1em;
    }
    .slide-content .button {
        font-size: 0.95em;
        padding: 10px 18px;
    }

    #custom-cart-items .remove-item {
        width: 25px;
        height: 25px;
        min-width: 25px;
        min-height: 25px;
        font-size: 1.5em;
    }

    @keyframes modalSlideUp {
        from {
            transform: translateY(100%);
            opacity: 0.7;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    @keyframes modalSlideDown {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(100%);
            opacity: 0;
        }
    }
}

.header-top-bar {
    background: #222;
    color: #fff;
    height: 120px;
    padding: 0;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.site-logo img, .custom-logo {
    max-height: 120px;
    width: auto;
    height: auto;
}
.header-contact {
    font-size: 1em;
    margin-left: 18px;
    color: #fff;
}
.header-contact a { color: #fff; text-decoration: underline; }
.header-search-cart {
    display: flex;
    align-items: center;
    gap: 18px;
}
.header-cart-btn {
    background: #FFA500;
    color: #222;
    border-radius: 7px;
    padding: 8px 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    text-decoration: none;
    font-size: 1.08em;
    transition: background 0.2s;
}
.header-cart-btn:hover {
    background: #E69500;
    color: #222;
}
.cart-count-badge {
    background: #fff;
    color: #e62e2e;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
}
.cart-total-price {
    font-size: 1em;
    margin-left: 4px;
    color: #222;
}
.hamburger-menu {
    display: none !important;
}
.search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 24px;
    padding: 2px 12px;
    min-width: 220px;
    max-width: 320px;
    width: 100%;
    margin-right: 8px;
}
.search-field {
    border: none;
    outline: none;
    background: transparent;
    font-size: 1em;
    padding: 8px 0 8px 0;
    width: 100%;
    color: #222;
}
.search-submit {
    background: transparent;
    border: none;
    padding: 0 0 0 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.search-submit svg {
    display: block;
    width: 22px;
    height: 22px;
}
@media (max-width: 600px) {
    .header-top-bar {
        background: #222;
        padding-bottom: 10px;
    }
    .header-flex {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        position: relative;
        padding: 10px 0 0 0;
        min-height: 80px;
    }
    .site-logo {
        display: block !important;
        min-width: 70px;
        max-width: 70px;
        margin: 0 0 0 8px !important;
        text-align: left;
        height: 70px;
        display: flex;
        align-items: center;
    }
    .site-logo img, .custom-logo {
        max-height: 70px !important;
        width: auto !important;
        margin-bottom: 0 !important;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
    .header-search-cart {
        display: flex !important;
        align-items: center;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        gap: 0;
    }
    .header-cart-btn {
        display: none !important;
    }
    .hamburger-menu {
        display: flex !important;
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        align-items: center;
        background: none;
        border: none;
    }
    .hamburger-menu svg {
        width: 32px !important;
        height: 32px !important;
    }
}

.main-navigation .container {
    display: flex;
    justify-content: center;
}

.nav-menu {
    justify-content: center;
}

#mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(255,255,255,0.8);
    z-index: 99999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}
#mobile-menu-overlay.active {
    display: flex;
    animation: modalSlideUp 0.32s cubic-bezier(.4,1.4,.6,1) both;
    opacity: 1;
    pointer-events: auto;
}
#mobile-menu-overlay.closing {
    display: flex;
    animation: modalSlideDown 0.28s cubic-bezier(.4,1.4,.6,1) both;
    opacity: 0;
    pointer-events: none;
}
.mobile-menu-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100vw;
    position: relative;
}
.mobile-menu-search {
    margin-bottom: 24px;
    width: 90vw;
    max-width: 340px;
}
.mobile-nav-menu .nav-menu,
.mobile-nav-menu .nav-menu li {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.mobile-nav-menu .nav-menu {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 1.2em;
    gap: 0;
    margin: 0;
    padding: 0;
}

.mobile-menu-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1002;
    display: block;
    background: #fff;
    color: #222;
    border: 2px solid #eee;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s;
}
.mobile-menu-close-btn:hover {
    background: #eee;
    color: var(--accent-orange);
}

@media (min-width: 601px) {
    #mobile-menu-overlay { display: none !important; }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.modal-header h2 {
    margin: 0;
    font-size: 1.4em;
    font-weight: bold;
}
.modal-header .close-modal {
    position: static;
    margin-left: 16px;
    font-size: 1.5em;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-header .close-modal:hover {
    color: #222;
}

/* Custom Cart Modal Header (samakan dengan variation-modal) */
#custom-cart-modal .close-modal {
    color: #aaa;
    position: absolute;
    top: 14px;
    right: 22px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
#custom-cart-modal .close-modal:hover {
    color: #222;
}
#custom-cart-modal h2 {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding-top: 18px;
    padding-bottom: 10px;
    margin-top: 0;
}

.site-main-title {
    font-family: 'Dancing Script', cursive !important;
    font-weight: 700;
    font-size: 3em;
    margin:0;
    font-weight:bold;
    letter-spacing:1px;
    color: #FFA500;
}

/* Floating Scroll To Top Button */
.floating-scrolltop-button {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #FFA500;
    color: white;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 2em;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: background-color 0.2s, opacity 0.2s;
    opacity: 0.85;
    cursor: pointer;
}
.floating-scrolltop-button:hover {
    background-color: #E69500;
    opacity: 1;
}
.floating-scrolltop-button svg {
    width: 28px;
    height: 28px;
    display: block;
}

@media (min-width: 601px) and (max-width: 765px) {
    .header-flex {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        position: relative;
        padding: 12px 0 0 0;
        min-height: 90px;
    }
    .site-logo {
        display: block !important;
        min-width: 80px;
        max-width: 80px;
        margin: 0 0 15px 10px !important;
        text-align: left;
        height: 80px;
        display: flex;
        align-items: center;
    }
    .site-logo img, .custom-logo {
        max-height: 80px !important;
        width: auto !important;
        margin-bottom: 0 !important;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
    .site-title-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        flex: 1;
        text-align: left !important;
        margin-top: 0;
        margin-bottom: 0;
        width: auto;
        max-width: 60vw;
        min-width: 0;
        height: 80px;
        padding: 0 0 0 10px;
        box-sizing: border-box;
    }
    .site-main-title {
        font-size: 2em !important;
        margin-bottom: 4px !important;
        text-align: left !important;
        line-height: 1.1;
        word-break: break-word;
        font-weight: bold;
        display: block;
    }
    .site-subtitle {
        font-size: 0.95em !important;
        margin-top: 0 !important;
        text-align: left !important;
        letter-spacing: 1.2px;
        word-break: break-word;
        padding: 0;
        display: block;
    }
    .header-search-cart {
        display: flex !important;
        align-items: center;
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        gap: 10px;
    }
    .header-cart-btn {
        display: flex !important;
        align-items: center;
    }
    .hamburger-menu {
        display: flex !important;
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        align-items: center;
        background: none;
        border: none;
    }
    .hamburger-menu svg {
        width: 32px !important;
        height: 32px !important;
    }
}

#custom-cart-modal .modal-header {
  position: static;
  top: auto;
  background: none;
  z-index: auto;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  display: block;
  align-items: unset;
  justify-content: unset;
  box-shadow: none;
}
#custom-cart-modal .modal-header h2 {
  margin: 0 0 18px 0;
  font-size: 1.4em;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #222;
}
#custom-cart-items {
  margin-top: 0;
}

/* --- Tokopedia-style Single Product Layout --- */
@media (min-width: 1024px) {
  .tokped-single-product-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
  }
  .tokped-product-gallery {
    flex: 0 0 400px;
    max-width: 400px;
    width: 100%;
    margin-right: 0;
  }
  .tokped-product-info {
    flex: 1 1 0;
    max-width: 520px;
    width: 100%;
    margin-right: 0;
  }
  .tokped-order-box {
    flex: 0 0 320px;
    max-width: 320px;
    width: 100%;
    margin-left: 0;
    position: sticky;
    top: 40px;
    align-self: flex-start;
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 24px 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .tokped-order-box-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .tokped-order-product-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 4px;
  }
  .tokped-order-product-price {
    font-size: 1.5em;
    color: #FFA500;
    font-weight: bold;
    margin-bottom: 4px;
  }
  .tokped-order-product-stock {
    font-size: 0.95em;
    color: #222;
    margin-bottom: 8px;
  }
  .tokped-order-product-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  .tokped-order-product-qty .custom-qty-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px;
    font-size: 1.1em;
  }
  .tokped-variation-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .tokped-variation-thumb-btn {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 2px;
    cursor: pointer;
    transition: border 0.2s;
    display: inline-block;
    background: #fff;
  }
  .tokped-variation-thumb-btn.active,
  .tokped-variation-thumb-btn:focus {
    border: 2px solid #FFA500;
  }
  .tokped-variation-thumb-btn:hover {
    border: 2px solid #FFA500;
  }
  .tokped-variation-thumb-btn img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
  }
  .variation-gallery-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
  }
  .variation-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #eee;
    transition: border 0.2s;
    display: inline-block;
  }
  .variation-thumb.active,
  .variation-thumb:focus {
    border: 2px solid #FFA500;
  }
  .variation-thumb:hover {
    border: 2px solid #FFA500;
  }
}
@media (max-width: 1023px) {
  .tokped-single-product-layout {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .tokped-product-gallery,
  .tokped-product-info {
    max-width: 100%;
    flex-basis: auto; /* Allow items to grow/shrink naturally */
  }
}

@media (max-width: 767px) {
  .tokped-single-product-layout {
    padding: 0 15px;
    gap: 24px;
  }
  .product_title.entry-title {
    font-size: 1.6em;
  }
  .tokped-product-range-price {
    font-size: 1.3em !important;
  }
  .tokped-variation-box {
    font-size: 0.95em;
    padding: 8px 14px;
  }
}

/* Harga utama single product */
.tokped-product-main-price {
  color: #111;
  font-weight: bold;
  font-size: 2em;
  line-height: 1.1;
  margin-bottom: 10px;
}

/* Selector varian horizontal ala modal */
.tokped-variation-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tokped-variation-thumb-btn {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 2px;
  cursor: pointer;
  transition: border 0.2s;
  display: inline-block;
  background: #fff;
}
.tokped-variation-thumb-btn.active,
.tokped-variation-thumb-btn:focus {
  border: 2px solid #FFA500;
}
.tokped-variation-thumb-btn img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Qty ala modal */
.tokped-product-qty.custom-qty-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.tokped-product-qty .custom-qty-input {
  width: 54px;
  text-align: center;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  padding: 7px 0;
  font-size: 1.1em;
  background: #f9f9f9;
  margin: 0 4px;
}
.tokped-product-qty .qty-btn {
  background: #FFA500;
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(255,165,0,0.08);
}
.tokped-product-qty .qty-btn:hover {
  background: #e69500;
}

/* Harga di modal (popup) */
#variation-modal-price {
  font-weight: bold;
  font-size: 1.3em;
  color: #FFA500;
  margin: 8px 0 12px 0;
}

/* Selector variasi custom (tanpa gambar, hanya text) */
.tokped-variation-attr-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tokped-variation-box {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
  background: #fff;
  font-weight: 500;
  user-select: none;
  font-size: 1.1em;
  color: #222;
  outline: none;
}
.tokped-variation-box.active,
.tokped-variation-box:focus {
  border: 2px solid #FFA500;
  background: #FFF8E1;
}
.tokped-variation-box:hover {
  border: 2px solid #FFA500;
}
.tokped-price-placeholder {
  color: #aaa;
  font-size: 1em;
  font-weight: 500;
}
#tokped-add-to-cart-btn[style*="pointer-events: none"] {
  background: #FFA500 !important;
  color: #fff !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
#tokped-add-to-cart-btn {
  background: #FFA500 !important;
  color: #fff !important;
  border: none;
  border-radius: 7px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.2s;
  margin-top: 12px;
  width: 100%;
  padding: 12px 0;
}
#tokped-add-to-cart-btn:hover:not([style*="pointer-events: none"]) {
  background: #e69500 !important;
  color: #fff !important;
}

.variation-display-section:last-child {
  margin-bottom: 24px;
}

/* --- Single Product Page Gallery Fix --- */
.main-image-wrapper {
    aspect-ratio: 1 / 1;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden; /* Ensures image respects the border radius */
    margin-bottom: 18px; /* Space between main image and thumbs */
}

#main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hide WooCommerce Tabs to simplify layout */
.woocommerce-tabs {
  display: none !important;
}

/*--------------------------------------------------------------
# Related Products Layout Fix
--------------------------------------------------------------*/
.single-product .related.products {
    padding-top: 3em;
    clear: both;
    max-width: 1200px;
    margin: 3em auto;
    padding: 0 20px;
}

.single-product .related.products ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
}

.single-product .related.products ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

/*--------------------------------------------------------------
# Custom Breadcrumb Styling
--------------------------------------------------------------*/
.woocommerce-breadcrumb {
    padding: 12px 20px;
    background-color: #f8f9fa; /* A very light grey */
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 2.5em;
    font-size: 1.4em;
    color: #212529; /* Dark color for the current page text */
    font-weight: 600;
    line-height: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.woocommerce-breadcrumb .delimiter {
    color: #ced4da; /* Very light grey for separators */
    font-weight: 600;
    margin: 0 0.5em;
    font-size:1.4em;
}

.woocommerce-breadcrumb a {
    color: #495057; /* Softer color for links */
    font-weight: 600;
    font-size:1.2em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover {
    color: var(--accent-orange); /* Highlight on hover */
}


/* Responsive adjustments for breadcrumbs */
@media (max-width: 767px) {
  .woocommerce-breadcrumb {
    padding: 10px 15px;
    font-size: 1.4em;
    margin-bottom: 2em;
    word-break: break-word;
  }
}

/* Responsive layout for Single Product Page */
@media (max-width: 1023px) {
  .tokped-single-product-layout {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .tokped-product-gallery,
  .tokped-product-info {
    max-width: 100%;
    flex-basis: auto; /* Allow items to grow/shrink naturally */
  }
}

/*--------------------------------------------------------------
# Sticky Header (JS-based)
--------------------------------------------------------------*/
.header-top-bar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Adjust for WP Admin Bar when logged in */
body.admin-bar .header-top-bar.is-sticky {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header-top-bar.is-sticky {
        top: 46px;
    }
}

/*--------------------------------------------------------------
# Age Gate Modal
--------------------------------------------------------------*/
.age-gate-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.age-gate-modal.show {
    display: flex;
}

.age-gate-modal-content {
    background-color: #1a1a1a;
    color: #fff;
    margin: auto;
    padding: 30px 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.age-gate-modal-content h2 {
    color: #FFA500;
    margin-top: 0;
    font-size: 2em;
}

.age-gate-modal-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.age-gate-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.age-gate-btn {
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.age-gate-btn:hover {
    transform: scale(1.05);
}

.age-gate-btn.confirm {
    background-color: #FFA500;
    color: #111;
}

.age-gate-btn.exit {
    background-color: #e62e2e !important;
    color: #fff;
}

/*--------------------------------------------------------------
# Main Menu Modal
--------------------------------------------------------------*/
#main-menu-modal .modal-content {
    max-width: 450px;
    margin: 10% auto; /* Position it a bit lower than center */
}

@media (max-width: 600px) {
    #main-menu-modal .modal-content {
        max-width: 90vw;
        margin: 5vh auto;
    }
}

#main-menu-modal .modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#main-menu-modal .modal-header h2 {
    font-size: 1.5em;
}

.main-menu-modal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu-modal-links li a {
    display: block;
    padding: 18px 15px;
    font-size: 1.3em;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    border-radius: 8px;
}

.main-menu-modal-links li a:hover {
    background-color: #f5f5f5;
    color: var(--accent-orange);
}

/* Product image frame for consistent aspect ratio */
.product-image-frame {
    width: 100%;
    aspect-ratio: 1/1;
    background: #fff;
    border-radius: 8px 8px 8px 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.product-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
} 

.woocommerce-Price-amount {
    color:black;
}

.product h3 {
    justify-content: center;
    text-align: center;
}

.page-title {
    justify-content: center;
    text-align:center;
    text-transform:uppercase;
    font-size:2em;
}

.site-footer, footer, #colophon {
    flex-shrink: 0;
}

/* --- Sticky Footer Solution --- */
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#primary {
    flex: 1 0 auto;
}
.site-footer {
    flex-shrink: 0;
}

/* Custom category filter checkboxes for shop filter */
.shop-filter-form .category-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px 8px 0;
}
.shop-filter-form .category-checkbox input[type="checkbox"] {
    display: none;
}
.shop-filter-form .category-checkbox-label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: orange;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border 0.2s, background 0.2s, color 0.2s;
    font-size: 1em;
    outline: none;
    user-select: none;
    text-transform: uppercase;
}
.shop-filter-form .category-checkbox input[type="checkbox"]:checked + .category-checkbox-label {
    border: 3px solid #111;
    background: orange;
    color: #333;
}
.shop-filter-form .category-checkbox-label:hover {
    background: #e69500;
}
.shop-filter-form .category-checkbox-label:active,
.shop-filter-form .category-checkbox-label:focus {
    outline: 2px solid #111;
}

.category-btn {
    background: orange;
    color: #222;
    font-weight: 600;
    border-radius: 8px;
    border: 3px solid transparent;
    padding: 6px 12px;
    margin: 0 8px 8px 0;
    text-transform: uppercase;
    font-size: 1em;
    cursor: pointer;
    transition: border 0.2s, background 0.2s, color 0.2s;
    outline: none;
    user-select: none;
    display: inline-block;
}
.category-btn:hover {
    background: #e69500;
}
.category-btn.active {
    border: 3px solid #111;
    background: orange;
    color: #333;
}

#sidebar {
    display:none !important;
}

/* Minimalist Footer with Icon Links */
.minimal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 0 18px 0;
}
.footer-logo {
  margin-bottom: 4px;
}
.footer-title {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 6px;
  text-align: center;
}
.footer-icon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 1em;
}
.footer-icon-link a, .footer-icon-link {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 500;
}
.footer-icon-link a:hover { color: #e69500; }
.footer-sep { color: #bbb; margin: 0 8px; }
.footer-item-icon { height: 22px; width: auto; vertical-align: middle; margin-right: 6px; }
@media (max-width: 600px) {
  .minimal-footer { padding: 18px 0 10px 0; gap: 7px; }
  .footer-title { font-size: 1em; }
  .footer-icon-links { gap: 10px; font-size: 0.98em; }
  .footer-logo img { max-height: 40px; }
  .footer-item-icon { height: 18px; }
}

/* FIX: Mencegah scrollbar menutupi border-radius di modal keranjang */
#custom-cart-items {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -15px; /* Menetralkan padding container */
    margin-right: -15px; /* Menetralkan padding container */
}