:root {
    --primary-purple: #652e92;
    --light-purple: #b296c8;
    --dark-purple: #462066;
    --accent-gold: #d4af37;
    --light-gold: #f4e8c1;
    --white: #ffffff;
    --off-white: #faf9f7;
    --text-dark: #2d2d2d;
    --text-gray: #666666;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--off-white) 0%, #f0e6f5 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}
.header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    padding: 12px 15px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-circle {
    width: 40px; height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-gold);
    font-size: 1.3rem;
    color: var(--primary-purple);
    font-weight: 800;
    flex-shrink: 0;
}
.brand-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
}
.brand-text p {
    font-size: 0.65rem;
    opacity: 0.9;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.search-section {
    flex: 1;
    max-width: none;
    position: relative;
    margin: 0 5px;
}
.search-box {
    width: 100%;
    padding: 8px 12px 8px 35px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 0.85rem;
    outline: none;
}
.search-box::placeholder {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}
.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}
.header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.cart-section {
    position: relative;
    cursor: pointer;
    padding: 5px;
}
.cart-icon {
    font-size: 1.3rem;
    color: var(--white);
}
.cart-count {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--accent-gold);
    color: white;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    display: none;
}
.admin-btn {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 6px 10px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.7rem;
}
.main-content {
    margin-top: 70px;
    padding: 15px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}
.sort-dropdown {
    padding: 8px 12px;
    border: 1px solid var(--primary-purple);
    border-radius: 20px;
    background: white;
    color: var(--primary-purple);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}
.results-count {
    font-size: 0.8rem;
    color: var(--text-gray);
}
.category-dropdown-mobile {
    display: block;
    margin-bottom: 20px;
    position: relative;
    z-index: 100;
}
.category-dropdown-toggle {
    width: 100%;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(101, 46, 146, 0.25);
    transition: all 0.3s ease;
}
.category-dropdown-toggle:active { transform: scale(0.98); }
.category-dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}
.category-dropdown-toggle.open .fa-chevron-down {
    transform: rotate(180deg);
}
.category-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(101, 46, 146, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 0;
}
.category-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 400px;
    overflow-y: auto;
}
.category-dropdown-item {
    width: 100%;
    padding: 14px 18px;
    background: white;
    border: none;
    border-bottom: 1px solid rgba(101, 46, 146, 0.08);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.category-dropdown-item:last-child { border-bottom: none; }
.category-dropdown-item:active { background: var(--off-white); }
.category-dropdown-item.active {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
}
.category-dropdown-item.active::before {
    content: '✓';
    font-weight: 700;
}
.categories-desktop {
    display: none;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.categories-desktop .category-btn {
    padding: 10px 20px;
    border: 1.5px solid var(--light-purple);
    background: var(--white);
    color: var(--primary-purple);
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(101, 46, 146, 0.06);
    font-family: 'Montserrat', sans-serif;
}
.categories-desktop .category-btn:hover {
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}
.categories-desktop .category-btn.active {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    border-color: var(--dark-purple);
    box-shadow: 0 3px 12px rgba(101, 46, 146, 0.35);
}
@media (min-width: 768px) {
    .category-dropdown-mobile { display: none; }
    .categories-desktop { display: flex; }
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeInUp 0.5s ease both;
}
.product-card:active { transform: scale(0.98); }
.product-image {
    height: 140px;
    background: linear-gradient(135deg, #f5f0f7 0%, #e8e0ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.product-image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge {
    position: absolute;
    top: 8px; right: 8px;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    z-index: 2;
}
.badge-hot { background: #e74c3c; }
.badge-new { background: #27ae60; }
.badge-bestseller { background: var(--accent-gold); }
.wishlist-btn {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}
.wishlist-btn i {
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.wishlist-btn.active i { color: #e74c3c; }
.wishlist-btn:active { transform: scale(0.9); }
.quick-view-btn {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(101, 46, 146, 0.9);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.product-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-category {
    color: var(--primary-purple);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.product-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
}
.product-description {
    display: none;
}
.product-price {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 6px;
    margin-top: auto;
}
.stock-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
}
.stock-high { background: #d4edda; color: #155724; }
.stock-low { background: #fff3cd; color: #856404; }
.stock-out { background: #f8d7da; color: #721c24; }
.social-proof {
    font-size: 0.65rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 600;
}
.add-to-cart-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.add-to-cart-btn.added { background: var(--success); }
.add-to-cart-btn:disabled {
    background: var(--text-gray);
    cursor: not-allowed;
}
.product-detail-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-detail-overlay.active {
    display: flex;
    opacity: 1;
}
.product-detail-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.product-detail-overlay.active .product-detail-modal { transform: scale(1); }
.detail-close {
    position: absolute;
    top: 15px; right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.detail-image {
    height: 250px;
    background: linear-gradient(135deg, #f5f0f7 0%, #e8e0ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.detail-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.detail-content { padding: 25px; }
.detail-category {
    color: var(--primary-purple);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.detail-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}
.detail-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 15px;
}
.detail-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.detail-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--off-white);
    border-radius: 12px;
}
.meta-item { text-align: center; }
.meta-label {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.meta-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}
.detail-actions {
    display: flex;
    gap: 12px;
}
.detail-add-cart {
    flex: 1;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.detail-wishlist {
    width: 50px; height: 50px;
    border: 2px solid var(--light-purple);
    background: white;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.detail-wishlist.active {
    background: #ffebee;
    border-color: #e74c3c;
    color: #e74c3c;
}
.related-section {
    padding: 20px 25px;
    border-top: 1px solid var(--light-purple);
}
.related-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.related-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.related-item {
    flex-shrink: 0;
    width: 120px;
    cursor: pointer;
}
.related-image {
    height: 100px;
    background: var(--off-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
}
.related-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.related-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-purple);
}
.load-more-container {
    text-align: center;
    margin: 30px 0 40px 0;
    padding: 0 15px;
}
.load-more-btn {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(101, 46, 146, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.load-more-btn:active { transform: scale(0.95); }
.load-more-btn:disabled {
    background: var(--text-gray);
    cursor: not-allowed;
    opacity: 0.6;
}
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}
.no-results i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--light-purple);
}
.reset-btn {
    padding: 12px 25px;
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px; height: 50px;
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(101, 46, 146, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:active { transform: scale(0.9); }
.cart-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cart-overlay.active {
    display: block;
    opacity: 1;
}
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}
.cart-sidebar.active { right: 0; }
.cart-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 0;
}
.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 5px;
}
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    -webkit-overflow-scrolling: touch;
}
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}
.cart-empty i {
    font-size: 3rem;
    color: var(--light-purple);
    margin-bottom: 15px;
}
.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--off-white);
    border-radius: 10px;
    margin-bottom: 12px;
    position: relative;
}
.cart-item-image {
    width: 60px; height: 60px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.cart-item-details {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-item-price {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.85rem;
}
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.qty-btn {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid var(--primary-purple);
    background: white;
    color: var(--primary-purple);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-value {
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}
.remove-item {
    position: absolute;
    top: 8px; right: 8px;
    background: var(--danger);
    color: white;
    border: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-footer {
    padding: 18px;
    background: var(--off-white);
    border-top: 1px solid var(--light-purple);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-purple);
}
.checkout-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8941f 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}
.checkout-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.checkout-overlay.active {
    display: flex;
    opacity: 1;
}
.checkout-modal {
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.checkout-overlay.active .checkout-modal {
    transform: translateY(0);
}
.checkout-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
}
.checkout-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin: 0;
}
.checkout-body { padding: 20px; }
.checkout-summary {
    background: var(--off-white);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.checkout-summary h3 {
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-size: 1rem;
}
.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--light-purple);
    font-size: 0.85rem;
}
.checkout-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid var(--primary-purple);
}
.customer-form { margin-bottom: 20px; }
.form-row { display: flex; gap: 10px; }
.form-row .form-group { flex: 1; }
.form-group { margin-bottom: 15px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
}
.form-group label .optional {
    font-weight: 400;
    color: var(--text-gray);
    font-size: 0.75rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-purple);
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(101, 46, 146, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 60px;
}
.form-group .hint {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 4px;
}
.payment-options h3 {
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-size: 1rem;
}
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--light-purple);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.payment-option.selected {
    border-color: var(--primary-purple);
    background: rgba(101, 46, 146, 0.05);
}
.payment-option i {
    font-size: 1.5rem;
    color: var(--primary-purple);
}
.payment-option div h4 {
    margin: 0 0 3px 0;
    font-size: 0.95rem;
}
.payment-option div p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-gray);
}
.bank-details {
    display: none;
    background: var(--off-white);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid var(--accent-gold);
}
.bank-details.active { display: block; }
.bank-details h4 {
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.bank-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--light-purple);
    font-size: 0.85rem;
}
.copy-btn {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.75rem;
}
.finalize-btns {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.finalize-btns button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}
.btn-bank {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8941f 100%);
    color: white;
}
.btn-cancel {
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-gray);
}
.login-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(101, 46, 146, 0.95);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-overlay.active { display: flex; }
.login-box {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    width: 100%;
    max-width: 350px;
}
.login-box h2 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 1.4rem;
}
.login-box input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 2px solid var(--light-purple);
    border-radius: 10px;
    font-size: 1rem;
}
.login-box button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
}
.login-cancel {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--text-gray);
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
}
.admin-panel {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-purple);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    z-index: 1500;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    gap: 10px;
    align-items: center;
}
.admin-panel.active { display: flex; }
.admin-panel button {
    background: var(--accent-gold);
    color: var(--dark-purple);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
}
.admin-edit .product-name,
.admin-edit .product-price,
.admin-edit .product-description {
    border: 2px dashed var(--accent-gold);
    padding: 2px 5px;
    border-radius: 5px;
    background: rgba(212, 175, 55, 0.1);
    cursor: text;
}
.admin-edit-btn {
    display: none;
    position: absolute;
    top: 5px; left: 5px;
    background: var(--accent-gold);
    color: white;
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    z-index: 10;
}
.admin-mode .admin-edit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.add-product-form {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.add-product-form.active { display: block; }
.add-product-form h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}
.add-product-form .form-group { margin-bottom: 12px; }
.add-product-form input,
.add-product-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--light-purple);
    border-radius: 8px;
    font-size: 0.9rem;
}
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.form-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.btn-save { background: var(--success); color: white; }
.btn-cancel-form { background: var(--text-gray); color: white; }
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--success);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 4000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.footer {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    color: white;
    padding: 30px 15px 20px;
    text-align: center;
    margin-top: 30px;
    position: relative;
}
.footer-brand { margin-bottom: 15px; }
.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 5px;
}
.footer-brand p {
    font-size: 0.8rem;
    opacity: 0.9;
}
.footer-contact {
    margin: 15px 0;
    font-size: 0.85rem;
    line-height: 1.8;
}
.footer-contact i {
    margin-right: 6px;
    color: var(--accent-gold);
}
.footer-tagline {
    margin-top: 15px;
    font-size: 0.75rem;
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
}
/* ===== VIBRANTREVOLVE FOOTER SECTION ===== */
.dev-footer-section {
    background: #111111;
    padding: 40px 20px 30px;
    text-align: center;
}

.dev-footer-section .dev-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--accent-gold);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.dev-footer-section .dev-rights {
    font-size: 0.75rem;
    color: #555555;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

.dev-footer-section .dev-subtitle {
    font-size: 0.85rem;
    color: #888888;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.dev-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1a5c3a;
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dev-cta-btn:hover {
    background: #236b45;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 92, 58, 0.4);
}

.dev-cta-btn i {
    font-size: 1.1rem;
}

/* ===== VIBRANTREVOLVE CONTACT POPUP ===== */
.dev-contact-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 6000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dev-contact-overlay.active {
    display: flex;
    opacity: 1;
}

.dev-contact-modal {
    background: #1a1a1a;
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
}

.dev-contact-overlay.active .dev-contact-modal {
    transform: scale(1);
}

.dev-contact-header {
    padding: 28px 24px 20px;
    text-align: center;
    position: relative;
}

.dev-contact-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 6px;
    font-weight: 400;
}

.dev-contact-header p {
    font-size: 0.85rem;
    color: #888888;
}

.dev-contact-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #888;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.dev-contact-close:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

.dev-contact-body {
    padding: 0 24px 28px;
}

.dev-contact-body > p {
    text-align: center;
    color: #aaaaaa;
    font-size: 0.85rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.dev-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dev-contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}

.dev-contact-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.12);
}

.dev-contact-link.whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
}

.dev-contact-link.email-link:hover {
    background: rgba(234, 67, 53, 0.1);
    border-color: rgba(234, 67, 53, 0.3);
}

.dev-contact-link i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.dev-contact-link.whatsapp-link i {
    color: #25d366;
}

.dev-contact-link.email-link i {
    color: #ea4335;
}

.dev-contact-link .contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dev-contact-link .contact-text span:first-child {
    font-size: 0.75rem;
    color: #888;
    font-weight: 400;
}

.dev-contact-link .contact-text span:last-child {
    font-size: 0.95rem;
    font-weight: 600;
}
@media (min-width: 768px) {
    html { font-size: 18px; }
    .header { padding: 15px 30px; }
    .logo-circle { width: 50px; height: 50px; font-size: 1.5rem; }
    .brand-text h1 { font-size: 1.4rem; }
    .main-content { margin-top: 80px; padding: 30px; }
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .product-image { height: 180px; }
    .product-description {
        display: block;
        font-size: 0.8rem;
        color: var(--text-gray);
        margin-bottom: 10px;
        line-height: 1.4;
    }
    .checkout-overlay { align-items: center; }
    .checkout-modal {
        border-radius: 20px;
        max-width: 550px;
        max-height: 85vh;
        transform: translateY(20px);
        opacity: 0;
    }
    .checkout-overlay.active .checkout-modal {
        transform: translateY(0);
        opacity: 1;
    }
}
@media (min-width: 1024px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
}