/*
Theme Name: CleanDelivery
Description: Mobile app theme
Version: 1.1
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: #f5f5f5;
    padding-top: 60px;
}

/* APP CONTAINER */
.cd-app-content {
    width: 100%;
    padding: 16px;
    min-height: calc(100vh - 60px);
}

/* HEADER */
.cd-mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cd-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cd-hamburger {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}

.cd-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
}

.cd-logo a {
    font-size: 18px;
    font-weight: 700;
    color: #720eec;
    text-decoration: none;
}

.cd-header-right {
    display: flex;
    gap: 16px;
}

.cd-header-search,
.cd-header-cart {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    position: relative;
    color: #333;
    text-decoration: none;
    display: flex;
}

.cd-cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: linear-gradient(135deg, #78d5e1, #9be198);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* MENU */
.cd-mobile-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 60px);
    background: white;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    transition: left 0.3s;
    z-index: 999;
}

.cd-mobile-menu.active { left: 0; }

.cd-mobile-menu nav ul {
    list-style: none;
}

.cd-mobile-menu nav ul li {
    border-bottom: 1px solid #f0f0f0;
}

.cd-mobile-menu nav ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
}

.cd-mobile-menu nav ul li a:hover,
.cd-mobile-menu nav ul li a.active {
    background: #f5f5f5;
    color: #78d5e1;
}

.cd-mobile-menu nav ul li a svg {
    flex-shrink: 0;
}

.cd-menu-badge {
    margin-left: auto;
    background: linear-gradient(135deg, #78d5e1, #9be198);
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cd-menu-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 998;
}

.cd-menu-overlay.active { display: block; }

/* WOOCOMMERCE */
.woocommerce .woocommerce-products-header__title {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1a3a4a;
    font-weight: 700;
}

.woocommerce .woocommerce-result-count {
    font-size: 14px;
    color: rgba(26, 58, 74, 0.7);
    margin-bottom: 16px;
}

.woocommerce .woocommerce-ordering {
    margin-bottom: 20px;
}

.woocommerce .woocommerce-ordering select,
.woocommerce select.orderby {
    padding: 12px 16px;
    border: 2px solid rgba(120, 213, 225, 0.3);
    border-radius: 12px;
    background: white;
    color: #1a3a4a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2378d5e1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.woocommerce .woocommerce-ordering select:focus,
.woocommerce select.orderby:focus {
    border-color: #78d5e1;
    box-shadow: 0 0 0 3px rgba(120, 213, 225, 0.1);
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    list-style: none;
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: white;
    border: 2px solid;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.woocommerce-message {
    border-color: #78d5e1;
    background: linear-gradient(135deg, rgba(120, 213, 225, 0.05) 0%, rgba(155, 225, 152, 0.05) 100%);
}

.woocommerce-info {
    border-color: #78d5e1;
}

.woocommerce-error {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.woocommerce-message::before,
.woocommerce-info::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #78d5e1;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.woocommerce-message a.button,
.woocommerce-message a.wc-forward {
    margin-left: auto;
    padding: 8px 16px;
    background: linear-gradient(135deg, #78d5e1, #9be198);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(120, 213, 225, 0.3);
}

.woocommerce-message a.button:hover,
.woocommerce-message a.wc-forward:hover {
    background: linear-gradient(135deg, #5eb9c5, #7dc77c);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(120, 213, 225, 0.4);
}

.woocommerce ul.products li.product {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 12px 12px 8px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1a3a4a;
    margin: 0;
}

.woocommerce ul.products li.product .price {
    padding: 0 12px 8px 12px;
    color: #78d5e1;
    font-weight: 700;
    font-size: 16px;
}

/* Loop Cart Buttons - Hide old button */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product a.added_to_cart {
    display: none !important;
}

/* Loop Cart Buttons Container */
.cd-loop-cart-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0 10px 10px 10px;
}

.cd-loop-add-single,
.cd-loop-add-bulk {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    background: white;
    border: 2px solid #78d5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(120, 213, 225, 0.15);
    aspect-ratio: 1;
    min-height: 0;
}

.cd-loop-add-bulk {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 165, 0, 0.05));
}

.cd-loop-icon {
    font-size: 20px;
    line-height: 1;
}

.cd-loop-count {
    font-size: 12px;
    font-weight: 700;
    color: #1a3a4a;
    line-height: 1;
}

.cd-loop-add-single:hover,
.cd-loop-add-bulk:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(120, 213, 225, 0.3);
}

.cd-loop-add-single:hover {
    border-color: #5eb9c5;
    background: linear-gradient(135deg, rgba(120, 213, 225, 0.1), rgba(155, 225, 152, 0.1));
}

.cd-loop-add-bulk:hover {
    border-color: #FFA500;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 165, 0, 0.12));
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

.cd-loop-add-single:active,
.cd-loop-add-bulk:active {
    transform: translateY(0) scale(0.97);
}

.cd-loop-add-single.added,
.cd-loop-add-bulk.added {
    background: linear-gradient(135deg, rgba(120, 213, 225, 0.15), rgba(155, 225, 152, 0.15)) !important;
    border-color: #9be198 !important;
}

/* SINGLE PRODUCT */
.woocommerce div.product div.images {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px auto;
}

.woocommerce div.product div.images img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.woocommerce div.product .product_title {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a4a;
    margin: 0 0 12px 0;
}

.woocommerce div.product p.price {
    color: #78d5e1;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.woocommerce div.product .product-earnings {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(120, 213, 225, 0.05);
    border-radius: 8px;
}

.woocommerce div.product .product-earnings .earning-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(26, 58, 74, 0.7);
}

.woocommerce div.product .product-earnings .earning-icon {
    font-size: 16px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: rgba(26, 58, 74, 0.8);
}

.woocommerce div.product form.cart {
    margin-bottom: 24px;
}

.woocommerce div.product form.cart .quantity {
    margin-bottom: 12px;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(120, 213, 225, 0.3);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1a3a4a;
    text-align: center;
    transition: all 0.2s;
}

.woocommerce div.product form.cart .quantity input.qty:focus {
    outline: none;
    border-color: #78d5e1;
    box-shadow: 0 0 0 3px rgba(120, 213, 225, 0.1);
}

/* Add to Cart Buttons Container */
.cd-add-to-cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.cd-quantity-selector {
    display: none;
}

.cd-cart-action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Round Gaming Buttons */
.cd-add-single,
.cd-add-bulk {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px !important;
    background: white;
    border: 3px solid #78d5e1 !important;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(120, 213, 225, 0.2);
    position: relative;
    overflow: visible;
    width: 100% !important;
    min-height: 110px;
    text-align: center;
    line-height: 1;
}

.cd-add-single {
    background: linear-gradient(135deg, rgba(120, 213, 225, 0.05), rgba(155, 225, 152, 0.05));
}

.cd-add-bulk {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.08));
    border-color: #FFD700 !important;
}

.cd-btn-icon {
    font-size: 36px;
    line-height: 1;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 4px;
}

.cd-btn-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.cd-btn-count {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a4a;
    line-height: 1;
}

.cd-btn-text {
    font-size: 11px;
    font-weight: 600;
    color: rgba(26, 58, 74, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cd-add-single:hover,
.cd-add-bulk:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 28px rgba(120, 213, 225, 0.4);
}

.cd-add-single:hover {
    border-color: #5eb9c5 !important;
    background: linear-gradient(135deg, rgba(120, 213, 225, 0.15), rgba(155, 225, 152, 0.15));
}

.cd-add-bulk:hover {
    border-color: #FFA500 !important;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.15));
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.cd-add-single:hover .cd-btn-icon,
.cd-add-bulk:hover .cd-btn-icon {
    transform: scale(1.15);
    animation: iconBounce 0.6s ease infinite;
}

.cd-add-single:active,
.cd-add-bulk:active {
    transform: translateY(0) scale(0.98);
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1.15) translateY(0); }
    50% { transform: scale(1.15) translateY(-4px); }
}

/* Success state */
.cd-add-single.added,
.cd-add-bulk.added {
    background: linear-gradient(135deg, rgba(120, 213, 225, 0.2), rgba(155, 225, 152, 0.2)) !important;
    border-color: #9be198 !important;
}

.cd-add-single.added .cd-btn-text,
.cd-add-bulk.added .cd-btn-text {
    color: #9be198;
}

/* Old button style - hide */
.woocommerce div.product form.cart button.single_add_to_cart_button:not(.cd-add-single):not(.cd-add-bulk) {
    display: none !important;
}

/* Show our custom buttons */
.cd-add-single,
.cd-add-bulk {
    display: flex !important;
}

/* Remove any default WooCommerce ::after icons */
.cd-add-single::after,
.cd-add-bulk::after,
.cd-btn-label::after,
.cd-btn-text::after,
.cd-btn-count::after {
    display: none !important;
    content: none !important;
}

/* Coin Icon for Price */
.cd-coin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
}

.cd-coin-icon::before {
    content: 'C';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* PRODUCT TABS */
.woocommerce div.product .woocommerce-tabs {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    gap: 8px;
    border-bottom: 2px solid rgba(120, 213, 225, 0.2);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 20px;
    color: rgba(26, 58, 74, 0.6);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #78d5e1;
    background: rgba(120, 213, 225, 0.1);
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 0;
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a4a;
    margin: 0 0 16px 0;
}

.woocommerce div.product .woocommerce-tabs .panel p {
    line-height: 1.8;
    color: rgba(26, 58, 74, 0.8);
    margin-bottom: 12px;
}

/* MY ACCOUNT NAVIGATION */
.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 16px;
    background: linear-gradient(135deg, #78d5e1, #9be198);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(120, 213, 225, 0.25);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, #5eb9c5, #7dc77c);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(120, 213, 225, 0.4);
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* VENDORS GRID */
.cd-vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.cd-vendor-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.cd-vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cd-vendor-card a {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: #333;
}

.cd-vendor-card .vendor-logo,
.cd-vendor-card .vendor-logo-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.cd-vendor-card .vendor-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cd-vendor-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    text-align: center;
}

.cd-vendor-card .vendor-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.4;
}

.cd-vendor-card .vendor-location {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-bottom: 8px;
}

.cd-vendor-card .vendor-link {
    display: block;
    text-align: center;
    color: #78d5e1;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

/* WOOCOMMERCE FORMS */
.woocommerce form .form-row {
    margin-bottom: 16px;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.woocommerce form .form-row input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row input[type="password"]:focus {
    outline: none;
    border-color: #78d5e1;
    box-shadow: 0 0 0 3px rgba(120, 213, 225, 0.2);
}

/* Password Change Fieldset */
.woocommerce form fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.woocommerce form fieldset legend {
    font-size: 18px;
    font-weight: 700;
    padding: 0 8px;
    color: #333;
}

/* Addresses Overview */
.woocommerce-Addresses {
    display: grid;
    gap: 20px;
}

.woocommerce-Address {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.woocommerce-Address-title h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #333;
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.6;
    color: #666;
    margin-bottom: 16px;
}

.woocommerce-Address .woocommerce-button,
.woocommerce-Address a.edit {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #78d5e1, #9be198);
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(120, 213, 225, 0.3);
}

.woocommerce-Address .woocommerce-button:hover,
.woocommerce-Address a.edit:hover {
    background: linear-gradient(135deg, #5eb9c5, #7dc77c);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(120, 213, 225, 0.4);
}

.woocommerce-Addresses-title h2 {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .woocommerce-Addresses .woocommerce-Address {
        display: inline-block;
        width: 48%;
        margin-right: 2%;
    }
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 100%;
}

.woocommerce form button[type="submit"],
.woocommerce form .button {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #78d5e1, #9be198);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(120, 213, 225, 0.3);
    margin-top: 8px;
}

.woocommerce form button[type="submit"]:hover,
.woocommerce form .button:hover {
    background: linear-gradient(135deg, #5eb9c5, #7dc77c);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(120, 213, 225, 0.4);
}

.woocommerce-form-login,
.woocommerce-EditAccountForm {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .woocommerce form .form-row-first {
        width: 48%;
        float: left;
    }
    
    .woocommerce form .form-row-last {
        width: 48%;
        float: right;
    }
    
    .woocommerce form .clear {
        clear: both;
    }
}

/* Empty Cart Styling */
.cd-cart-empty-wrapper {
    text-align: center;
    padding: 32px 20px;
    /* background: linear-gradient(135deg, #f0f9ff 0%, #e0f7fa 100%); */
    border-radius: 12px;
    margin: 20px 0 24px 0;
    box-shadow: 0 2px 12px rgba(120, 213, 225, 0.12);
}

.cd-cart-empty-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.cd-sad-face {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Eyes */
.cd-sad-face::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #1a3a4a;
    border-radius: 50%;
    top: 16px;
    left: 13px;
    box-shadow: 18px 0 0 #1a3a4a;
}

/* Sad mouth */
.cd-sad-face::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 10px;
    border: 2px solid #1a3a4a;
    border-top: none;
    border-radius: 0 0 20px 20px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
}

.cd-cart-empty-wrapper .cart-empty {
    font-size: 16px;
    font-weight: 600;
    color: #1a3a4a;
    margin: 0 0 16px 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.cd-cart-empty-wrapper .cart-empty::before {
    display: none;
}

.cd-cart-empty-wrapper .return-to-shop {
    margin: 16px 0 0 0;
}

.cd-cart-empty-wrapper .return-to-shop a.button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #78d5e1, #9be198);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(120, 213, 225, 0.25);
}

.cd-cart-empty-wrapper .return-to-shop a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 213, 225, 0.4);
}

/* New in Store Section */
.woocommerce-cart h2 {
    font-size: 24px;
    color: #1a3a4a;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 700;
}

/* Product Grid in Cart */
.woocommerce-cart ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
    list-style: none;
}

.woocommerce-cart ul.products li.product {
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-cart ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(120, 213, 225, 0.2);
}

.woocommerce-cart ul.products li.product a {
    text-decoration: none;
}

.woocommerce-cart ul.products li.product img,
.woocommerce-cart ul.products li.product .attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: auto !important;
    max-width: 100px !important;
    max-height: 100px !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 8px auto;
    display: block;
}

.woocommerce-cart ul.products li.product h2,
.woocommerce-cart ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px;
    font-weight: 600;
    color: #1a3a4a;
    margin-bottom: 4px;
    text-align: center;
    line-height: 1.3;
}

.woocommerce-cart ul.products li.product .price {
    font-size: 14px;
    font-weight: 700;
    color: #78d5e1;
    text-align: center;
    display: block;
    margin-top: 4px;
}

/* WooCommerce Blocks Product Grid */
.wc-block-grid__products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}

.wc-block-grid__product {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.wc-block-grid__product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(120, 213, 225, 0.2);
}

.wc-block-grid__product-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wc-block-grid__product-image {
    margin-bottom: 6px;
    text-align: center;
    flex-shrink: 0;
}

.wc-block-grid__product-image img {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

.wc-block-grid__product-title {
    font-size: 12px;
    font-weight: 600;
    color: #1a3a4a;
    margin-bottom: 4px;
    text-align: center;
    line-height: 1.3;
}

.wc-block-grid__product-price {
    font-size: 14px;
    font-weight: 700;
    color: #78d5e1;
    text-align: center;
    margin: 4px 0 8px 0;
}

.wc-block-grid__product-add-to-cart {
    margin: 8px 0 0 0;
}

.wc-block-grid__product-add-to-cart a {
    display: block;
    padding: 8px 12px;
    background: linear-gradient(135deg, #78d5e1, #9be198);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wc-block-grid__product-add-to-cart a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(120, 213, 225, 0.3);
}

/* Hide WordPress Separator Dots */
.wp-block-separator.is-style-dots {
    display: none !important;
}
