/* WooCommerce Styles */

/* === General WooCommerce === */
.woocommerce-main,
.woocommerce-page {
    padding: 40px 0 80px;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

.woocommerce-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Shop Page Layout === */
.shop-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* === Filters Sidebar === */
.filters-sidebar {
    background: white;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.filters-sidebar h2 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.filter-group h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
    transition: color 0.2s;
}

.checkbox-label:hover {
    color: var(--primary-color);
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label .count {
    color: var(--text-light);
    font-size: 12px;
    margin-left: auto;
}

.checkbox-label.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Price Inputs */
.price-inputs {
    display: flex;
    gap: 10px;
}

.price-input-wrapper {
    flex: 1;
    position: relative;
}

.price-input-wrapper input {
    width: 100%;
    padding: 12px 35px 12px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.price-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.price-input-wrapper .price-currency {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 14px;
    pointer-events: none;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.filter-buttons .btn {
    padding: 12px 20px;
    font-size: 14px;
}

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

/* No Products Found */
.no-products-found {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}

.no-products-found i {
    font-size: 60px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.no-products-found h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.no-products-found p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* === Products Section === */
.products-section {
    min-width: 0;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.result-count {
    color: var(--text-light);
    font-size: 14px;
}

.shop-ordering select {
    padding: 10px 35px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

/* === Shop Page === */
.woocommerce-page {
    padding: 40px 0 80px;
    background: var(--bg-light);
}

.woocommerce-products-header {
    margin-bottom: 40px;
}

.woocommerce-result-count {
    color: var(--text-light);
    font-size: 14px;
}

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

.woocommerce-ordering select {
    padding: 12px 40px 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* === Product Card === */
.woocommerce ul.products li.product {
    margin: 0;
    padding: 0;
    float: none;
    width: auto;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img,
.woocommerce ul.products li.product:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: var(--transition);
}

.product-title:hover {
    color: var(--primary-color);
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-price del {
    color: var(--text-light);
    font-size: 16px;
    margin-right: 10px;
}

.product-price ins {
    text-decoration: none;
}

.add-to-cart {
    margin-top: auto;
}

/* === Single Product === */
.single-product .site-main,
.single-product-page.site-main,
.single-product-page {
    padding: 40px 0 80px;
    background: var(--bg-light);
}

.single-product-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-product-content,
.product-detail,
.woocommerce div.product {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 50px;
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    align-items: start;
}

.woocommerce-breadcrumb {
    grid-column: 1 / -1;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: var(--primary-color);
}

.product-gallery-section,
.woocommerce div.product div.images {
    width: 100%;
}

.product-summary-section,
.woocommerce div.product div.summary {
    width: 100%;
}

.woocommerce-product-gallery,
.product-gallery {
    position: relative;
}

.woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: var(--bg-light);
}

/* Single Product Title */
.woocommerce div.product .product_title,
.single-product-content .product_title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--text-dark);
}

/* Single Product Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.single-product-content .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.woocommerce div.product p.price del {
    color: var(--text-light);
    font-size: 18px;
}

/* Short Description */
.woocommerce-product-details__short-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Quantity Input */
.woocommerce div.product form.cart {
    margin-bottom: 25px;
}

.woocommerce div.product form.cart div.quantity {
    margin-right: 15px;
}

.woocommerce .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.woocommerce .quantity .qty {
    width: 60px;
    height: 48px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button Single */
.woocommerce div.product form.cart .button,
.single_add_to_cart_button {
    padding: 15px 40px !important;
    font-size: 16px !important;
    height: 48px;
}

/* Product Meta */
.woocommerce div.product_meta {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

.woocommerce div.product_meta > span {
    display: block;
    margin-bottom: 8px;
}

.woocommerce div.product_meta a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Product Features */
.product-features {
    margin-top: 30px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 8px;
}

.product-features .feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.product-features .feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-features .feature:first-child {
    padding-top: 0;
}

.product-features .feature i {
    color: var(--primary-color);
    font-size: 18px;
    width: 24px;
    flex-shrink: 0;
}

.product-features .feature span {
    font-size: 14px;
    color: var(--text-dark);
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 10;
}

.flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.flex-control-thumbs li {
    width: 80px;
    height: 80px;
}

.flex-control-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.flex-control-thumbs img:hover,
.flex-control-thumbs img.flex-active {
    border-color: var(--primary-color);
}

.summary.entry-summary {
    padding: 20px 0;
}

.summary .product_title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.summary .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.summary .woocommerce-product-details__short-description {
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.8;
}

/* === Variations === */
.flavor-variations-form .variations {
    margin-bottom: 30px;
}

.variation-row {
    margin-bottom: 20px;
}

.variation-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flavor-variation-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    transition: var(--transition);
}

.flavor-variation-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.variation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.variant-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    min-width: 60px;
}

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

.variant-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.single_variation_wrap .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.single_add_to_cart_button {
    width: 100%;
    padding: 18px 32px !important;
    font-size: 16px !important;
}

/* === Cart Page === */
.flavor-cart-page {
    padding: 20px 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.cart-items-section {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.cart-items-list {
    padding: 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: var(--transition);
}

.cart-item:hover {
    background: var(--bg-light);
}

.cart-item:last-of-type {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.cart-item-name a {
    color: var(--text-dark);
    transition: var(--transition);
}

.cart-item-name a:hover {
    color: var(--primary-color);
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cart-item-subtotal {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.remove-item {
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.remove-item:hover {
    color: #e74c3c;
}

.cart-actions {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* === Cart Summary === */
.cart-summary {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    padding: 28px;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.summary-details {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.summary-row span:first-child {
    color: var(--text-light);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 2px solid var(--border-color);
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}

.summary-total span:last-child {
    color: var(--primary-color);
}

.wc-proceed-to-checkout .checkout-button {
    width: 100%;
    display: block;
    text-align: center;
}

.cart-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.info-item i {
    color: var(--success-color);
    font-size: 16px;
    width: 20px;
}

/* === Checkout Page === */
.flavor-checkout-page {
    padding: 20px 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.checkout-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-section {
    background: white;
    border-radius: 8px;
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.checkout-section h2 {
    font-size: 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.checkout-section h2 i {
    color: var(--primary-color);
}

.order-summary {
    background: white;
    border-radius: 8px;
    padding: 28px;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-light);
}

.secure-note i {
    color: var(--success-color);
}

/* === Thank You Page === */
.flavor-thankyou-page {
    padding: 60px 0;
    text-align: center;
}

.thankyou-card {
    background: white;
    border-radius: 12px;
    padding: 60px 50px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.thankyou-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px 12px 0 0;
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b894, #00cec9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon i {
    font-size: 48px;
    color: white;
}

.thankyou-card h1 {
    font-size: 32px;
    margin-bottom: 16px;
}

.thankyou-message {
    color: var(--text-light);
    margin-bottom: 24px;
}

.order-number {
    background: var(--bg-light);
    padding: 16px 32px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 30px;
}

.order-number strong {
    display: block;
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 4px;
}

.order-details {
    text-align: left;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
}

.order-details h3 {
    margin-bottom: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.detail-row:last-child {
    border-bottom: none;
}

.thankyou-note {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

.thankyou-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.contact-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

.contact-info a {
    color: var(--primary-color);
}

/* === My Account === */
.flavor-account-page {
    padding: 20px 0;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.account-sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.user-info {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.user-avatar {
    margin-bottom: 16px;
}

.user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.user-email {
    font-size: 14px;
    opacity: 0.9;
}

.account-nav .woocommerce-MyAccount-navigation ul {
    padding: 16px 0;
}

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

.account-nav .woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.account-nav .woocommerce-MyAccount-navigation li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.account-nav .woocommerce-MyAccount-navigation li.is-active a {
    background: rgba(233, 30, 99, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.account-content {
    background: white;
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    min-height: 400px;
}

/* === Dashboard === */
.account-dashboard h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.dashboard-welcome {
    margin-bottom: 40px;
}

.dashboard-welcome p {
    color: var(--text-light);
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-card {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    color: var(--text-dark);
}

.dashboard-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--primary-color);
}

.dashboard-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.dashboard-card p {
    font-size: 13px;
    color: var(--text-light);
}

.recent-orders h3 {
    margin-bottom: 20px;
}

.order-card-mini {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
}

.order-info {
    flex: 1;
}

.order-number {
    font-weight: 600;
    display: block;
}

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

.order-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.order-status.status-processing {
    background: #fff3cd;
    color: #856404;
}

.order-status.status-completed {
    background: #d4edda;
    color: #155724;
}

.order-status.status-on-hold {
    background: #e2e3e5;
    color: #383d41;
}

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

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* === Products Grid === */
.woocommerce ul.products,
ul.products,
.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Product Card Fix */
.woocommerce ul.products li.product,
ul.products li.product,
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover,
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Product Image */
.product-card .product-image,
.woocommerce ul.products li.product .product-image {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.product-card .product-image img,
.woocommerce ul.products li.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

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

/* Product Badge */
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--accent-color), #ff8f00);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    left: 12px;
    right: auto;
}

/* Product Info */
.product-card .product-info,
.woocommerce ul.products li.product .product-info {
    padding: 20px;
}

.product-card .product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-title a {
    color: inherit;
    text-decoration: none;
}

.product-card .product-title a:hover {
    color: var(--primary-color);
}

.product-card .product-price,
.woocommerce ul.products li.product .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-card .product-price del,
.woocommerce ul.products li.product .price del {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
    margin-right: 8px;
}

.product-card .product-price ins,
.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* Add to Cart Button */
.product-card .add-to-cart,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

.product-card .add-to-cart:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.product-card .add-to-cart i {
    font-size: 14px;
}

/* === Empty Cart === */
.woocommerce-cart .woocommerce-cart-form,
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
}

.cart-empty .woocommerce-info {
    border: none;
    background: none;
}

.return-to-shop .button {
    margin-top: 20px;
}

/* === WooCommerce Notices === */
.woocommerce-message,
.woocommerce-info {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.woocommerce-error {
    background: #fff5f5;
    border-left: 4px solid #e74c3c;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none;
}

/* === Mini Cart === */
.mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.mini-cart-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.widget_shopping_cart_content {
    max-height: 300px;
    overflow-y: auto;
}

.woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 30px;
    color: var(--text-light);
}

/* === Responsive === */
/* === Related Products === */
.related.products,
.upsells.products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related.products > h2,
.upsells.products > h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.related.products > h2::after,
.upsells.products > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* === Tabs === */
.woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 40px;
}

.woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    gap: 5px;
    border-bottom: 2px solid var(--border-color);
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 25px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.woocommerce-tabs .panel {
    padding: 20px 0;
}

.woocommerce-tabs .panel h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

/* === Reviews === */
.woocommerce-Reviews {
    margin-top: 20px;
}

.woocommerce #reviews #comments ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce #reviews #comments ol.commentlist li {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 15px;
}

.woocommerce #review_form #respond {
    margin-top: 30px;
}

.woocommerce #review_form #respond .comment-form-rating {
    margin-bottom: 20px;
}

.woocommerce #review_form #respond .stars {
    display: flex;
    gap: 5px;
}

.woocommerce #review_form #respond .stars a {
    color: #ffc107;
    font-size: 20px;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .shop-page-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .cart-layout,
    .checkout-layout,
    .account-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-summary,
    .order-summary,
    .account-sidebar {
        position: static;
    }
    
    .product-detail,
    .woocommerce div.product,
    .single-product-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .woocommerce ul.products,
    ul.products,
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products,
    ul.products,
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .woocommerce-tabs ul.tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .woocommerce ul.products,
    ul.products,
    .products {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 16px;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
    }
    
    .thankyou-card {
        padding: 40px 24px;
    }
    
    .thankyou-actions {
        flex-direction: column;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .shop-controls {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .woocommerce div.product .product_title {
        font-size: 22px;
    }
    
    .woocommerce div.product p.price {
        font-size: 24px;
    }
}

