/**
 * WooCommerce Styles for MOTA Boxing Theme
 *
 * @package MOTA_Boxing
 */

/* ===== HIDE WOOCOMMERCE DEFAULT STAR RATING ===== */
/* We use custom star-rating-selector instead */
p.stars,
.stars,
.stars a,
.stars span,
.comment-form p.stars,
.comment-form .stars,
#commentform p.stars,
#commentform .stars,
.woocommerce p.stars,
.woocommerce .stars,
.woocommerce-Reviews p.stars,
#review_form_wrapper p.stars,
.review-form-wrapper p.stars,
.comment-form-rating p.stars,
.comment-form-rating .stars {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    opacity: 0 !important;
}

/* ===== PRODUCT CARDS ===== */
.products .product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.products .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.product-card-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.product-card-badge.sale {
    background: var(--primary);
    color: var(--white);
}

.product-card-badge.new {
    background: var(--accent);
    color: var(--black);
}

.product-card-content {
    padding: 16px;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--gray-900);
    line-height: 1.3;
}

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

.product-card-price {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}

.product-card-price del {
    color: var(--gray-500);
    font-weight: 400;
    font-size: 0.875rem;
    margin-right: 8px;
}

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

.product-card-colors {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.product-card-colors .color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--gray-300);
}

/* Add to Cart Button */
.product-card .add_to_cart_button,
.product-card .btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
}

.product-card .add_to_cart_button:hover,
.product-card .btn-primary:hover {
    background: var(--primary);
}

.product-card .added_to_cart {
    display: none;
}

/* ===== CATALOG PAGE ===== */
.catalog-header {
    position: relative;
    padding: 80px 0 60px;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}

.catalog-header-bg {
    position: absolute;
    inset: 0;
    background: url('../images/catalog-bg.jpg') center/cover;
    opacity: 0.2;
}

.catalog-header .container {
    position: relative;
    z-index: 1;
}

.catalog-header-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.catalog-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

/* Catalog Top Bar */
.catalog-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.catalog-top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-toggle:hover {
    border-color: var(--black);
}

.filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
}

.catalog-count {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.catalog-count strong {
    color: var(--black);
}

.catalog-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    padding: 8px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover,
.view-btn.active {
    color: var(--black);
    border-color: var(--gray-300);
    background: var(--gray-100);
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-sort label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.catalog-sort .orderby {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: var(--white);
    cursor: pointer;
}

/* Products Grid */
.products-grid,
.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.products-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Catalog Layout */
.catalog-layout {
    display: flex;
    gap: 30px;
}

.products-grid-wrapper {
    flex: 1;
    min-width: 0;
}

/* ===== FILTERS SIDEBAR ===== */
.filters-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
    max-height: calc(100vh - var(--header-height) - 40px);
    overflow-y: auto;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.filters-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.filter-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.filter-group {
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

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

.filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
}

.filter-group-header span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-arrow {
    transition: transform 0.3s ease;
}

.filter-group[data-expanded="false"] .filter-arrow {
    transform: rotate(-90deg);
}

.filter-group[data-expanded="false"] .filter-group-content {
    display: none;
}

.filter-group-content {
    margin-top: 16px;
}

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

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.875rem;
}

.filter-option input[type="checkbox"] {
    display: none;
}

.filter-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.filter-option input:checked + .filter-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}

.filter-option input:checked + .filter-checkbox::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-label {
    flex: 1;
    color: var(--gray-700);
}

.filter-count {
    color: var(--gray-500);
    font-size: 0.75rem;
}

/* Size Filter */
.filter-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-size-option {
    cursor: pointer;
}

.filter-size-option input {
    display: none;
}

.filter-size-option span {
    display: block;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-size-option:hover span,
.filter-size-option input:checked + span {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

/* Color Filter */
.filter-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 1px var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.filter-color:hover,
.filter-color.active {
    box-shadow: 0 0 0 2px var(--black);
}

/* Price Range */
.price-range {
    padding: 10px 0;
}

.price-range-slider {
    position: relative;
    height: 6px;
    margin-bottom: 20px;
}

.price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: var(--shadow-sm);
}

.price-slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
}

.price-slider-range {
    position: absolute;
    height: 6px;
    background: var(--primary);
    border-radius: 3px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-input {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: var(--gray-100);
    border-radius: 6px;
    gap: 4px;
}

.price-input span {
    color: var(--gray-500);
}

.price-input input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.875rem;
}

.price-separator {
    color: var(--gray-400);
}

/* Filter Footer */
.filters-footer {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.filter-clear-btn,
.filter-apply-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-clear-btn {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.filter-clear-btn:hover {
    border-color: var(--black);
    color: var(--black);
}

.filter-apply-btn {
    background: var(--primary);
    border: none;
    color: var(--white);
}

.filter-apply-btn:hover {
    background: var(--primary-dark);
}

/* ===== SINGLE PRODUCT PAGE (FujiSports/Gameness Style) ===== */
.pdp-section { 
    padding: 20px 0 60px; 
    position: relative;
    overflow: hidden;
}

.pdp-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.pdp-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Gallery - FujiSports/Gameness Style */
.pdp-gallery {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 16px;
    position: sticky;
    top: 100px;
}

/* When no thumbnails exist */
.pdp-gallery:not(:has(.pdp-thumb)) {
    grid-template-columns: 1fr;
}

.pdp-thumbnails-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 600px;
    overflow-y: auto;
}

/* Hide empty thumbnails container */
.pdp-thumbnails-vertical:empty {
    display: none;
}

/* When no thumbnails (single image) */
.pdp-gallery.no-thumbs {
    grid-template-columns: 1fr;
}

.pdp-thumbnails-vertical::-webkit-scrollbar { width: 4px; }
.pdp-thumbnails-vertical::-webkit-scrollbar-track { background: var(--gray-100); }
.pdp-thumbnails-vertical::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 2px; }

.pdp-thumb {
    width: 80px;
    height: 100px;
    background: var(--gray-100);
    cursor: pointer;
    border: 2px solid transparent;
    padding: 4px;
    transition: var(--transition);
    overflow: hidden;
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-thumb:hover { border-color: var(--gray-400); }
.pdp-thumb.active { border-color: var(--black); }

.pdp-gallery-main { position: relative; }

.pdp-main-image {
    background: var(--gray-100);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.pdp-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pdp-main-image:hover img { transform: scale(1.02); }

.pdp-zoom-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    transition: var(--transition);
    z-index: 2;
}

.pdp-zoom-btn:hover { background: var(--black); color: var(--white); }

.pdp-gallery-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.pdp-gallery-prev, .pdp-gallery-next {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    color: var(--gray-700);
    transition: var(--transition);
}

.pdp-gallery-prev:hover, .pdp-gallery-next:hover { 
    background: var(--black); 
    color: var(--white); 
    border-color: var(--black); 
}

/* Product Info - Right Side */
.pdp-info { 
    padding: 10px 0 0 20px;
    overflow: visible;
}

/* Reviews Top (FujiSports style) */
.pdp-reviews-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pdp-stars { display: flex; gap: 2px; }

.pdp-reviews-link {
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: underline;
}

.pdp-reviews-link:hover { color: var(--primary); }

/* Header & Badge */
.pdp-header { margin-bottom: 16px; }

.pdp-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pdp-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Meta Info */
.pdp-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 13px;
}

.pdp-sku { color: var(--gray-600); }

.pdp-stock {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.pdp-stock.in-stock { color: #22C55E; }
.pdp-stock.out-of-stock { color: var(--primary); }

/* Price Block (FujiSports style) */
.pdp-price-block { margin-bottom: 20px; }

.pdp-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pdp-price-current {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.pdp-price-original {
    font-size: 18px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.pdp-price-discount {
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.pdp-price-note {
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 6px;
}

.pdp-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 24px 0;
}

/* Variant Groups */
.pdp-variant-group { margin-bottom: 24px; }

.pdp-variant-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.pdp-variant-label { font-weight: 600; }
.pdp-variant-value { color: var(--gray-600); }

.pdp-size-chart-link {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-600);
    font-size: 13px;
}

.pdp-size-chart-link:hover { color: var(--primary); }

/* Color Options */
.pdp-color-options { display: flex; gap: 10px; flex-wrap: wrap; }

.pdp-color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    padding: 3px;
    transition: var(--transition);
    background: transparent;
}

.pdp-color-swatch {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color);
}

.pdp-color-btn:hover { border-color: var(--gray-400); }
.pdp-color-btn.active { border-color: var(--black); border-width: 2px; }
.pdp-color-btn[title="White"] .pdp-color-swatch { box-shadow: inset 0 0 0 1px var(--gray-300); }

/* Size Options (FujiSports style) */
.pdp-size-options { display: flex; gap: 10px; flex-wrap: wrap; }

.pdp-size-btn {
    min-width: 60px;
    padding: 12px 18px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.pdp-size-btn:hover { border-color: var(--black); color: var(--black); }
.pdp-size-btn.active { background: var(--black); border-color: var(--black); color: var(--white); }

.pdp-size-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
    pointer-events: none;
}

/* Actions - Quantity & Add to Cart */
.pdp-actions { margin-bottom: 24px; }

.pdp-quantity {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.pdp-quantity-label { font-size: 14px; font-weight: 600; }

.pdp-quantity-selector {
    display: flex;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    overflow: hidden;
}

.pdp-qty-btn {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    transition: var(--transition);
}

.pdp-qty-btn:hover { background: var(--gray-200); color: var(--black); }

.pdp-qty-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    font-size: 16px;
    font-weight: 600;
}

.pdp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.pdp-cart-buttons { 
    display: flex; 
    gap: 12px;
    max-width: 100%;
}

.pdp-add-to-cart {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
}

.pdp-add-to-cart:hover { background: var(--primary); }

.pdp-wishlist-btn {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.pdp-wishlist-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Active/Wishlisted state - Red heart */
.pdp-wishlist-btn.active { 
    background: #FFFFFF; 
    border-color: #E11D48; 
    color: #E11D48; 
}
.pdp-wishlist-btn.active svg {
    fill: #E11D48;
    stroke: #E11D48;
}
.pdp-wishlist-btn.active:hover {
    background: #E11D48;
    color: #FFFFFF;
}
.pdp-wishlist-btn.active:hover svg {
    fill: #FFFFFF;
    stroke: #FFFFFF;
}

/* Trust Blocks (FujiSports style) */
.pdp-trust-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-top: 24px;
}

.pdp-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pdp-trust-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.pdp-trust-content h5 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.pdp-trust-content p {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.4;
    margin: 0;
}

/* Product Tabs */
.pdp-tabs-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.pdp-tabs-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.pdp-tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 30px;
}

.pdp-tabs-btn {
    padding: 16px 32px;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.pdp-tabs-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pdp-tabs-btn:hover { color: var(--black); }
.pdp-tabs-btn.active { color: var(--black); }
.pdp-tabs-btn.active::after { transform: scaleX(1); }

.pdp-tab-panel {
    display: none;
}

.pdp-tab-panel.active {
    display: block;
}

.pdp-tab-panel p {
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 16px;
}

/* Product Specs Table */
.product-specs {
    margin-top: 40px;
}

.product-specs h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.product-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs-table tr:nth-child(even) {
    background: var(--gray-100);
}

.product-specs-table th,
.product-specs-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.product-specs-table th {
    font-weight: 600;
    width: 40%;
    color: var(--gray-700);
}

/* Related Products Section */
.pdp-related-section { 
    padding: 60px 0; 
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.pdp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.pdp-section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
    display: inline-block;
}

.pdp-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.pdp-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gray-600);
}

.pdp-view-all:hover { color: var(--primary); }

/* PDP Related Products Carousel */
.pdp-carousel { position: relative; }

.pdp-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pdp-carousel-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.pdp-carousel-btn.prev { left: -22px; }
.pdp-carousel-btn.next { right: -22px; }

.pdp-carousel-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.pdp-carousel-track .product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdp-carousel-track .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* Recently Viewed Section */
.recently-viewed {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active { opacity: 1; visibility: visible; }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 { font-size: 18px; margin: 0; }

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-500);
    line-height: 1;
}

.modal-close:hover { color: var(--black); }

.modal-body { padding: 24px; overflow-y: auto; max-height: calc(90vh - 100px); }

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
}

.size-chart-table th, 
.size-chart-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.size-chart-table th { background: var(--gray-100); font-weight: 600; }

/* Product Tabs */
.woocommerce-tabs {
    margin-top: 60px;
}

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

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

.woocommerce-tabs .tabs li a {
    display: block;
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray-500);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

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

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

/* Related Products */
.related.products,
.upsells.products {
    margin-top: 80px;
}

.related.products > h2,
.upsells.products > h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 32px;
}

/* ===== PAGINATION ===== */
.woocommerce-pagination {
    margin-top: 40px;
}

.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition);
}

.woocommerce-pagination ul li a:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.woocommerce-pagination ul li span.current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ===== CART DRAWER ===== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.cart-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--gray-200);
}

.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.cart-drawer-footer .btn {
    width: 100%;
    margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .products-grid,
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .pdp-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pdp-gallery {
        position: static;
    }

    .catalog-layout {
        flex-direction: column;
    }

    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        z-index: 1001;
        transition: left 0.3s ease;
    }

    .filters-sidebar.active {
        left: 0;
    }

    .filter-close {
        display: block;
    }
}

@media (max-width: 768px) {
    .products-grid,
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .catalog-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .pdp-trust-blocks {
        grid-template-columns: 1fr;
    }

    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .product-card-content {
        padding: 12px;
    }

    .product-card-title {
        font-size: 0.875rem;
    }

    .product-card-price {
        font-size: 1rem;
    }
}

/* ===== BEM PRODUCT CARD STYLES ===== */
/* These match the content-product.php template */

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Product Card Image */
.product-card__image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--gray-100);
}

.product-card__img-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.product-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.product-card__img--hover {
    opacity: 0;
}

.product-card:hover .product-card__img:not(.product-card__img--hover) {
    opacity: 0;
}

.product-card:hover .product-card__img--hover {
    opacity: 1;
}

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

/* Badges */
.product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.product-card__badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.product-card__badge--sale {
    background: #DC143C !important;
    color: #FFFFFF !important;
}

.product-card__badge--new {
    background: #FFD700 !important;
    color: #000000 !important;
}

.product-card__badge--bestseller {
    background: #000000 !important;
    color: #FFFFFF !important;
}

.product-card__badge--outofstock {
    background: #6C757D !important;
    color: #FFFFFF !important;
}

/* Quick Actions */
.product-card__actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateY(0);
}

.product-card__quick-add,
.product-card__quick-add.btn,
.product-card__quick-add.btn-primary {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 16px !important;
    background: #FFD700 !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: var(--font-heading) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
}

.product-card__quick-add:hover,
.product-card__quick-add.btn:hover,
.product-card__quick-add.btn-primary:hover {
    background: #000000 !important;
    color: #FFFFFF !important;
}

.product-card__quick-add svg {
    display: none !important;
}

/* Wishlist Button - Always visible */
.product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    opacity: 1;
    transition: all 0.3s ease;
}

.product-card__wishlist:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.product-card__wishlist:hover svg {
    stroke: var(--white);
}

/* Active/Wishlisted state - Red heart for clear indication */
.product-card__wishlist.active {
    opacity: 1 !important;
    background: #FFFFFF;
    border-color: #E11D48;
    color: #E11D48;
}

.product-card__wishlist.active svg {
    fill: #E11D48;
    stroke: #E11D48;
    animation: heartPulse 0.3s ease-out;
}

.product-card__wishlist.active:hover {
    background: #E11D48;
    color: #FFFFFF;
    border-color: #E11D48;
}

.product-card__wishlist.active:hover svg {
    fill: #FFFFFF;
    stroke: #FFFFFF;
}

/* Heart pulse animation */
@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Product Info */
.product-card__info {
    padding: 16px;
}

.product-card__category {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

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

.product-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--gray-900);
    line-height: 1.3;
    text-transform: uppercase;
}

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

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

/* Rating */
.product-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.product-card__rating .star-rating {
    display: flex;
    gap: 2px;
    color: var(--accent);
}

.product-card__rating .star--empty {
    color: var(--gray-300);
}

.product-card__rating-count {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Price */
.product-card__price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-card__price-current {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.product-card__price-old {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-decoration: line-through;
}

/* Color Swatches */
.product-card__colors {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.product-card__colors-count {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-right: 8px;
}

.product-card__color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.product-card__color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--black);
}

.product-card__color-swatch.active {
    box-shadow: 0 0 0 2px var(--black);
}

.product-card__color-more {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-left: 4px;
}

/* ===== TRENDING SECTION GRID FIX ===== */
.trending-products-grid .product-card {
    width: 100%;
}

/* ===== CAROUSEL ITEMS ===== */
.carousel-item .product-card {
    width: 100%;
}

/* ===== ENSURE WOOCOMMERCE UL.PRODUCTS DISPLAYS AS GRID ===== */
ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.products li.product {
    margin: 0;
    padding: 0;
    float: none;
    width: 100%;
}

@media (max-width: 1200px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-card__info {
        padding: 12px;
    }
    
    .product-card__title {
        font-size: 0.875rem;
    }
    
    .product-card__price-current {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .product-card__quick-add span {
        display: none;
    }
    
    .product-card__quick-add {
        padding: 10px;
        justify-content: center;
    }
}

/* ===== PDP RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .pdp-main {
        gap: 40px;
    }
    
    .pdp-carousel-track {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .pdp-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pdp-gallery {
        display: flex;
        flex-direction: column-reverse;
        gap: 16px;
        position: static;
    }
    
    .pdp-thumbnails-vertical {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .pdp-thumb {
        width: 60px;
        height: 75px;
        flex-shrink: 0;
    }
    
    .pdp-info {
        padding: 0;
    }
    
    .pdp-carousel-track {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pdp-carousel-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .pdp-section {
        padding: 16px 0 40px;
    }
    
    .pdp-main-image {
        aspect-ratio: 1;
    }
    
    .pdp-thumb {
        width: 50px;
        height: 62px;
    }
    
    .pdp-title {
        font-size: 1.5rem;
    }
    
    .pdp-price-current {
        font-size: 26px;
    }
    
    .pdp-trust-blocks {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .pdp-carousel-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .pdp-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .pdp-tabs-btn {
        padding: 14px 20px;
        font-size: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .pdp-thumbnails-vertical {
        gap: 6px;
    }
    
    .pdp-thumb {
        width: 45px;
        height: 56px;
    }
    
    .pdp-title {
        font-size: 1.35rem;
    }
    
    .pdp-meta {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
    }
    
    .pdp-price-current {
        font-size: 24px;
    }
    
    .pdp-price-discount {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .pdp-size-options {
        gap: 8px;
    }
    
    .pdp-size-btn {
        min-width: 45px;
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .pdp-color-btn {
        width: 32px;
        height: 32px;
    }
    
    .pdp-quantity {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pdp-quantity-selector {
        width: 100%;
    }
    
    .pdp-qty-btn {
        width: 40px;
        height: 40px;
    }
    
    .pdp-qty-input {
        flex: 1;
    }
    
    .pdp-cart-buttons {
        flex-direction: column;
    }
    
    .pdp-add-to-cart {
        width: 100%;
        padding: 14px 24px;
    }
    
    .pdp-wishlist-btn {
        width: 100%;
        height: 50px;
        flex: 1;
    }
    
    .pdp-trust-item {
        padding: 12px;
        background: var(--white);
        border-radius: 8px;
    }
    
    .pdp-carousel-track {
        gap: 12px;
    }
}

/* ===== NOTIFICATIONS ===== */
.mota-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--gray-900);
    color: var(--white);
    padding: 16px 48px 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    font-size: 14px;
    font-weight: 500;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 360px;
}

.mota-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.mota-notification--success {
    background: #10B981;
}

.mota-notification--error {
    background: var(--primary);
}

.mota-notification--info {
    background: #3B82F6;
}

.mota-notification__close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.mota-notification__close:hover {
    color: var(--white);
}

/* Wishlist button loading state */
.mota-wishlist-btn.loading,
.product-card__wishlist.loading,
.pdp-wishlist-btn.loading {
    opacity: 0.5;
    pointer-events: none;
}

.mota-wishlist-btn.loading svg,
.product-card__wishlist.loading svg,
.pdp-wishlist-btn.loading svg {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (max-width: 768px) {
    .mota-notification {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

/* ===== MY ACCOUNT PAGES ===== */

/* Account Page Container */
.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Hide default page title on login page */
.woocommerce-account:not(.logged-in) .entry-title,
.woocommerce-account:not(.logged-in) h1.entry-title {
    display: none;
}

/* Account Page Title (when logged in) */
.woocommerce-account.logged-in .entry-title,
.woocommerce-account.logged-in h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 40px;
    text-align: center;
    color: var(--black);
}

/* ===== LOGIN / REGISTER FORMS ===== */

/* Centered Single Form Layout */
.mota-account-forms--centered {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    padding: 40px 24px;
}

/* Form Wrapper Boxes */
.mota-login-form-wrapper,
.mota-register-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 48px 56px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 480px;
}

/* Account Forms Container (legacy) */
.mota-account-forms {
    max-width: 1100px;
    margin: 0 auto;
}

/* Form Titles */
.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2,
.mota-login-form-wrapper h2,
.mota-register-form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary);
    color: var(--black);
    text-align: center;
}

/* Form Container Styling - reset for nested forms */
.woocommerce-form-login,
.woocommerce-form-register {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    width: 100%;
    flex-grow: 1;
}

/* Form Rows */
.woocommerce-form-login .woocommerce-form-row,
.woocommerce-form-register .woocommerce-form-row,
.woocommerce-form .form-row {
    margin-bottom: 24px;
    width: 100%;
}

.woocommerce-form-login .form-row-wide,
.woocommerce-form-register .form-row-wide {
    width: 100%;
}

/* Labels */
.woocommerce-form-login label,
.woocommerce-form-register label,
.woocommerce-form label {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.woocommerce-form label .required {
    color: var(--primary);
}

/* Input Fields */
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"],
.woocommerce-form input[type="text"],
.woocommerce-form input[type="email"],
.woocommerce-form input[type="password"],
.woocommerce-form input[type="tel"],
.woocommerce-form select,
.woocommerce-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--black);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus,
.woocommerce-form input:focus,
.woocommerce-form select:focus,
.woocommerce-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Remember Me Checkbox */
.woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.woocommerce-form-login__rememberme span {
    font-size: 14px;
    color: var(--gray-600);
}

/* Submit Buttons */
.woocommerce-form-login button[type="submit"],
.woocommerce-form-register button[type="submit"],
.woocommerce-form button[type="submit"],
.woocommerce-Button--primary,
.woocommerce button.button {
    width: 100%;
    padding: 16px 32px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.woocommerce-form-login button[type="submit"]:hover,
.woocommerce-form-register button[type="submit"]:hover,
.woocommerce-form button[type="submit"]:hover,
.woocommerce-Button--primary:hover,
.woocommerce button.button:hover {
    background: var(--black);
    transform: translateY(-2px);
}

/* Lost Password Link */
.woocommerce-LostPassword {
    margin-top: 20px;
    text-align: center;
}

.woocommerce-LostPassword a {
    color: var(--gray-600);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.woocommerce-LostPassword a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== LOGGED IN ACCOUNT DASHBOARD ===== */
.woocommerce-MyAccount-navigation {
    background: var(--gray-900);
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 40px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.woocommerce-MyAccount-navigation ul li {
    flex: 1;
    min-width: 120px;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    color: var(--gray-400);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    transition: all 0.2s;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--primary);
    color: var(--white);
}

/* Account Content Area */
.woocommerce-MyAccount-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px;
    min-height: 300px;
}

.woocommerce-MyAccount-content > p:first-child {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.woocommerce-MyAccount-content strong {
    color: var(--black);
}

.woocommerce-MyAccount-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-MyAccount-content a:hover {
    text-decoration: underline;
}

/* ===== ORDERS TABLE ===== */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.woocommerce-orders-table thead {
    background: var(--gray-100);
}

.woocommerce-orders-table th {
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    text-align: left;
    border-bottom: 2px solid var(--gray-200);
}

.woocommerce-orders-table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    color: var(--gray-700);
}

.woocommerce-orders-table tr:hover td {
    background: var(--gray-50);
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    font-weight: 700;
    color: var(--black);
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
    display: inline-block;
    padding: 8px 16px;
    background: var(--black);
    color: var(--white);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 8px;
    margin-bottom: 4px;
    transition: background 0.2s;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:hover {
    background: var(--primary);
    text-decoration: none;
}

/* Order Status Badges */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
    font-weight: 600;
    text-transform: capitalize;
}

/* No Orders Message */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info {
    background: var(--gray-100);
    border: none;
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--gray-700);
    margin-bottom: 24px;
}

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

/* ===== ADDRESS FORMS ===== */
.woocommerce-address-fields {
    margin-top: 20px;
}

.woocommerce-address-fields .form-row {
    margin-bottom: 20px;
}

.woocommerce-address-fields .form-row-first,
.woocommerce-address-fields .form-row-last {
    width: 48%;
    display: inline-block;
}

.woocommerce-address-fields .form-row-first {
    margin-right: 4%;
}

.woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.woocommerce-Addresses .woocommerce-Address {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 24px;
}

.woocommerce-Addresses .woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.woocommerce-Addresses .woocommerce-Address-title h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.woocommerce-Addresses .woocommerce-Address-title a {
    font-size: 13px;
}

.woocommerce-Addresses address {
    font-style: normal;
    line-height: 1.8;
    color: var(--gray-600);
}

/* ===== PRIVACY POLICY TEXT ===== */
.woocommerce-privacy-policy-text,
.woocommerce-form-register .woocommerce-privacy-policy-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-500);
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--gray-300);
}

.woocommerce-privacy-policy-text p {
    margin: 0;
}

/* Password will be sent note */
.mota-password-note,
.woocommerce-form-register > p:not(.form-row):not(.woocommerce-privacy-policy-text) {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 16px 20px;
    border-radius: 8px;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.mota-password-note svg {
    flex-shrink: 0;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ===== ACCOUNT DETAILS FORM ===== */
.woocommerce-EditAccountForm {
    max-width: 600px;
}

.woocommerce-EditAccountForm fieldset {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
}

.woocommerce-EditAccountForm legend {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 10px;
    color: var(--gray-700);
}

/* ===== LOST PASSWORD / RESET ===== */
.woocommerce-ResetPassword {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.woocommerce-ResetPassword p {
    margin-bottom: 24px;
    color: var(--gray-600);
}

/* ===== NOTICES ===== */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    list-style: none;
    padding: 16px 24px;
    margin: 0 0 24px;
    border-radius: 8px;
    font-size: 14px;
}

.woocommerce-error {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    color: #991b1b;
}

.woocommerce-message {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    color: #166534;
}

.woocommerce-info {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    color: #1e40af;
}

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
    margin: 0;
    padding: 0;
}

/* ===== PASSWORD STRENGTH METER ===== */
.woocommerce-password-strength {
    padding: 10px 16px;
    margin-top: 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.woocommerce-password-strength.short {
    background: #fef2f2;
    color: #dc2626;
}

.woocommerce-password-strength.bad {
    background: #fef3c7;
    color: #d97706;
}

.woocommerce-password-strength.good {
    background: #ecfccb;
    color: #65a30d;
}

.woocommerce-password-strength.strong {
    background: #dcfce7;
    color: #16a34a;
}

/* ===== RESPONSIVE ACCOUNT PAGES ===== */
@media (max-width: 992px) {
    .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }
    
    .woocommerce-MyAccount-navigation ul li {
        min-width: 100%;
    }
    
    .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .mota-account-forms--centered {
        padding: 24px 16px;
        min-height: auto;
    }
    
    .mota-login-form-wrapper,
    .mota-register-form-wrapper {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .mota-form-switch {
        margin-top: 24px;
        padding-top: 24px;
    }
    
    .mota-login-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        padding: 40px 16px;
    }
    
    .woocommerce-account .entry-title,
    .woocommerce-account h1 {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
    
    .woocommerce-form-login,
    .woocommerce-form-register {
        padding: 24px;
    }
    
    .woocommerce-form-login h2,
    .woocommerce-form-register h2 {
        font-size: 1.25rem;
    }
    
    .woocommerce-MyAccount-content {
        padding: 24px;
    }
    
    .woocommerce-orders-table {
        display: block;
        overflow-x: auto;
    }
    
    .woocommerce-address-fields .form-row-first,
    .woocommerce-address-fields .form-row-last {
        width: 100%;
        margin-right: 0;
    }
    
    .woocommerce-Addresses .woocommerce-Address {
        padding: 20px;
    }
}

/* ===== HIDE SIDEBAR ON ACCOUNT PAGES ===== */
.woocommerce-account .sidebar,
.woocommerce-account #secondary {
    display: none;
}

/* Full width content on account pages */
.woocommerce-account #primary,
.woocommerce-account .content-area {
    width: 100%;
    max-width: 100%;
}

/* ===== MOTA ACCOUNT FORMS ===== */
.mota-account-forms {
    max-width: 500px;
    margin: 0 auto;
}

.mota-account-forms .u-columns {
    max-width: 900px;
}

.mota-login-form-wrapper,
.mota-register-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Register Prompt (when registration is disabled) */
.mota-register-prompt {
    margin-top: 30px;
    padding-top: 30px;
}

.mota-register-prompt__divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.mota-register-prompt__divider::before,
.mota-register-prompt__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-300);
}

.mota-register-prompt__divider span {
    padding: 0 16px;
    color: var(--gray-500);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mota-register-prompt__content {
    text-align: center;
}

.mota-register-prompt__content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 15px;
}

.mota-register-prompt__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: var(--gray-900);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.mota-register-prompt__btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.mota-register-prompt__btn svg {
    flex-shrink: 0;
}

/* Password Note */
.mota-password-note {
    background: var(--gray-100);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* Register Benefits */
.mota-register-benefits {
    margin-top: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
}

.mota-register-benefits h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: var(--gray-700);
}

.mota-register-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.mota-register-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-600);
}

.mota-register-benefits li svg {
    color: var(--primary);
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .mota-register-benefits ul {
        grid-template-columns: 1fr;
    }
}

/* Login Options Row */
.mota-login-options {
    margin-bottom: 20px !important;
}

/* Login Row - Remember me + Forgot password */
.mota-login-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.mota-forgot-password {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.mota-forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Form Switch (Login/Register toggle) */
.mota-form-switch {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.mota-form-switch p {
    font-size: 15px;
    color: var(--gray-600);
    margin: 0 0 16px 0;
}

.mota-form-switch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid var(--black);
    border-radius: 8px;
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mota-form-switch__btn:hover {
    background: var(--black);
    color: var(--white);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mota-login-form-wrapper,
    .mota-register-form-wrapper {
        padding: 24px;
    }
    
    .mota-register-prompt {
        margin-top: 24px;
        padding-top: 24px;
    }
}
