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

:root {
    --primary-color: #000000;
    --primary-hover: #333333;
    --secondary-color: #666666;
    --text-dark: #1a1a1a;
    --text-light: #6b6b6b;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Shopify Navigation */
.shopify-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

/* Admin Dropdown Menu */
.admin-dropdown-container {
    position: relative;
}

.admin-dropdown-toggle {
    cursor: pointer;
}

.admin-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 250px;
    z-index: 1000;
}

.admin-dropdown-menu.active {
    display: block;
}

.admin-dropdown-menu li {
    margin: 0;
}

.admin-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 0.9rem;
}

.admin-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-login-link {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: none;
    margin-right: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.admin-login-link:hover {
    color: var(--text-dark);
    background: var(--bg-light);
    transform: translateY(-1px);
}

.admin-login-link span {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .admin-login-link {
        font-size: 0.75rem;
        margin-right: 0.5rem;
        padding: 0.4rem 0.5rem;
    }
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    width: 200px;
    transition: var(--transition);
}

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

.search-icon {
    position: absolute;
    right: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    pointer-events: none;
}

.cart-icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
    transition: var(--transition);
}

.cart-icon-btn:hover {
    opacity: 0.7;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 8rem 2rem 6rem;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

/* Falling Stars Animation */
.falling-stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.falling-star {
    position: absolute;
    font-size: 1.5rem;
    animation: fallDown linear infinite;
    opacity: 0.8;
}

.falling-star.star-blue {
    color: #4A90E2;
    filter: drop-shadow(0 0 3px rgba(74, 144, 226, 0.6));
}

.falling-star.star-purple {
    color: #9B59B6;
    filter: drop-shadow(0 0 3px rgba(155, 89, 182, 0.6));
}

.falling-star.star-pink {
    color: #FF69B4;
    filter: drop-shadow(0 0 3px rgba(255, 105, 180, 0.6));
}

.falling-star.star-yellow {
    color: #FFD700;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.6));
}

@keyframes fallDown {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(600px) rotate(360deg);
        opacity: 0;
    }
}

/* Individual star animations with different delays and speeds */
.falling-star:nth-child(1) {
    left: 10%;
    animation-duration: 3s;
    animation-delay: 0s;
}

.falling-star:nth-child(2) {
    left: 25%;
    animation-duration: 4s;
    animation-delay: 0.5s;
}

.falling-star:nth-child(3) {
    left: 40%;
    animation-duration: 3.5s;
    animation-delay: 1s;
}

.falling-star:nth-child(4) {
    left: 55%;
    animation-duration: 4.5s;
    animation-delay: 0.3s;
}

.falling-star:nth-child(5) {
    left: 70%;
    animation-duration: 3.2s;
    animation-delay: 1.5s;
}

.falling-star:nth-child(6) {
    left: 85%;
    animation-duration: 4s;
    animation-delay: 0.8s;
}

.falling-star:nth-child(7) {
    left: 15%;
    animation-duration: 3.8s;
    animation-delay: 2s;
}

.falling-star:nth-child(8) {
    left: 30%;
    animation-duration: 4.2s;
    animation-delay: 1.2s;
}

.falling-star:nth-child(9) {
    left: 45%;
    animation-duration: 3.5s;
    animation-delay: 2.5s;
}

.falling-star:nth-child(10) {
    left: 60%;
    animation-duration: 4s;
    animation-delay: 1.8s;
}

.falling-star:nth-child(11) {
    left: 75%;
    animation-duration: 3.6s;
    animation-delay: 0.6s;
}

.falling-star:nth-child(12) {
    left: 90%;
    animation-duration: 4.3s;
    animation-delay: 2.2s;
}

.hero-banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-banner-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.hero-banner-title span {
    display: block;
}

#hero-title-welcome {
    font-family: 'Comic Sans MS', cursive;
}

#hero-title-brand {
    font-weight: 700;
}

.hero-banner-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* Sections */
.section-heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.featured-section {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.collections-section {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

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

.text-center {
    text-align: center;
}

/* Shopify Product Grid */
.shopify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.sales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.sale-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.sale-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Sale Page Styles */
.sale-page-header {
    padding: 6rem 2rem 4rem;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.themed-falling-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.themed-falling-element {
    position: absolute;
    font-size: 1.5rem;
    animation: themedFall linear infinite;
    opacity: 0.8;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

@keyframes themedFall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(500px) rotate(360deg);
        opacity: 0;
    }
}

.shopify-product {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    transition: var(--transition);
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.shopify-product:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: var(--bg-light);
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: var(--transition);
}

.product-image.large {
    font-size: 6rem;
}

.shopify-product:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.25rem 1rem;
    text-align: center;
}

.product-title {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-price {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.shopify-product .btn {
    margin: 0 1rem 1rem;
    width: calc(100% - 2rem);
}

/* Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.collection-card {
    text-decoration: none;
    color: inherit;
    background: var(--bg-white);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.collection-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.collection-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.collection-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Products Page */
.products-page-header {
    padding: 6rem 2rem 3rem;
    background: var(--bg-light);
    margin-top: 70px;
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.products-section {
    padding: 3rem 2rem;
}

.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

.filters-sidebar {
    background: var(--bg-white);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.filters-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.filter-option input[type="checkbox"] {
    cursor: pointer;
}

.products-main {
    flex: 1;
}

#products-grid {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    background: var(--bg-white);
    cursor: pointer;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
}

.cart-drawer.active {
    pointer-events: all;
}

.cart-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer.active .cart-drawer-overlay {
    opacity: 1;
}

.cart-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active .cart-drawer-content {
    transform: translateX(0);
}

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

.cart-drawer-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.cart-empty p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cart-item-drawer {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--border-color);
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    margin-left: auto;
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-white);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Footer */
.shopify-footer {
    background: var(--bg-light);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .search-input {
        width: 150px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-banner {
        padding: 6rem 1rem 4rem;
    }

    .shopify-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .cart-drawer-content {
        max-width: 100%;
    }
}

/* Customize Page */
.customize-section {
    padding: 3rem 2rem;
}

.customize-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.customize-preview {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-preview-container {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.product-preview-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.default-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.customize-options {
    max-width: 500px;
}

.customize-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-white);
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.upload-content p {
    color: var(--text-dark);
    margin: 0.25rem 0;
}

.product-details {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-details h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-price-large {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.customize-actions {
    display: flex;
    flex-direction: column;
}

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

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-white);
}

.checkbox-option:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.checkbox-option input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-option input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: var(--primary-color);
}

.checkbox-option:has(input[type="checkbox"]:checked) {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

/* Admin Login Styles */
.admin-login-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-login-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

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

/* Stripe Card Element Styling */
.stripe-card-element {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-white);
    transition: border-color 0.3s ease;
}

.stripe-card-element:focus-within {
    border-color: var(--primary-color);
    outline: none;
}

.stripe-card-element .StripeElement {
    padding: 0;
}

.admin-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.admin-badge span {
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 968px) {
    .customize-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .customize-preview {
        position: static;
    }
}

/* Admin Panel Styles */
.admin-section {
    padding: 3rem 2rem;
}

.admin-header {
    margin-bottom: 3rem;
}

.admin-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

#font-drop-zone {
    user-select: none;
}

#font-drop-zone:hover {
    border-color: var(--primary-color) !important;
    background: #f8f8f8 !important;
}

#font-drop-zone.drag-over {
    border-color: var(--primary-color) !important;
    background: #f0f0f0 !important;
    transform: scale(1.02) !important;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.upload-area-small {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-light);
}

.upload-area-small:hover {
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.upload-content-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-content-small span {
    font-size: 2rem;
}

.upload-content-small p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.products-admin-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-admin-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    gap: 2rem;
}

.product-admin-preview {
    display: flex;
    gap: 1.5rem;
    flex: 1;
}

.product-admin-image-wrapper {
    width: 100px;
    height: 100px;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-admin-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-admin-emoji {
    font-size: 3rem;
}

.product-admin-info {
    flex: 1;
}

.product-admin-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-admin-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-admin-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-admin-category {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: capitalize;
}

.product-admin-actions {
    display: flex;
    gap: 0.75rem;
    position: relative;
    z-index: 10;
}

.product-admin-actions button,
.product-admin-actions a {
    position: relative;
    z-index: 11;
    cursor: pointer;
    pointer-events: auto;
}

.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.admin-modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 8px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .product-admin-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-admin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Category Admin Styles */
.categories-admin-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-admin-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    gap: 1rem;
}

.category-admin-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-name-input {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    flex: 1;
}

.category-id-display {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: monospace;
}

.category-admin-actions {
    display: flex;
    gap: 0.5rem;
}

/* Order Admin Styles */
.orders-admin-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.order-admin-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    background: var(--bg-light);
}

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

.order-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.order-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.order-total {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.order-section {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.order-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.order-section p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.order-items li {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

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

.order-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.order-item-emoji {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-items li div {
    flex: 1;
}

.order-items li strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.order-items li p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.order-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.contact-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-buttons a {
    text-decoration: none;
}

/* Checkout Styles */
.checkout-section {
    padding: 3rem 2rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-summary {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

#checkout-items {
    margin-bottom: 1.5rem;
}

.checkout-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

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

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

.checkout-item-emoji {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-info h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.checkout-item-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.checkout-item-price {
    font-weight: 600;
    color: var(--text-dark);
}

.checkout-total {
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.total-row.total-final {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    color: var(--primary-color);
}

.checkout-form-container {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.checkout-form h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

@media (max-width: 968px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .order-details {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
} 