.shop-page {
    padding: 60px 0 100px;
    min-height: 100vh;
    /* overflow-x: hidden eliminado: rompe position:sticky en navegadores
       basados en Blink/WebKit. El overflow del contenido se controla
       por .container con width + box-sizing. */
}

.shop-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}

.shop-page .shop-header {
    text-align: center;
    margin-bottom: 30px;
}

.shop-page .shop-title {
    letter-spacing: 4px;
    margin: 0;
    padding: 20px 0 0;
}

/* Category Filters */
.shop-page .category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.shop-page .category-filter-btn {
    padding: 8px 20px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #eee;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-page .category-filter-btn:hover {
    background: #eee;
    border-color: #ddd;
}

.shop-page .category-filter-btn.active {
  background: #111331;
  color: #fff;
  border-color: #111331;
}

.shop-page .shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.shop-page .shop-toolbar .filters {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shop-page .filter-select {
    appearance: none;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    padding: 10px 35px 10px 15px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s ease;
}

.shop-page .filter-select:hover,
.shop-page .filter-select:focus {
    border-color: #aaa;
    outline: none;
}

.shop-page .results-count {
    font-size: 14px;
    color: #666;
}

.shop-products .products-grid,
.shop-page .products-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.shop-products .product-card,
.shop-page .product-card {
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.shop-products .product-card:hover,
.shop-page .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.shop-products .product-card__link,
.shop-page .product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.shop-products .product-card__image,
.shop-page .product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 4px;
}

.shop-page .product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.shop-page .product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    color: #fff;
}

.shop-page .product-card__badge.sale {
    background-color: #c09578;
}

.shop-page .product-card__badge.out-of-stock {
    background-color: #999;
}

.shop-page .product-card__info {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.shop-page .product-card__title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.4;
}

.shop-page .product-card__price {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    display: block;
}

.shop-page .product-card__price del {
    color: #999;
    font-weight: 400;
    margin-right: 8px;
    font-size: 13px;
}

.shop-page .product-card__price ins {
    text-decoration: none;
}

.shop-page .load-more-container {
    text-align: center;
    padding: 20px 0;
}

.shop-page .load-more-btn {
  background-color: #111331;
  color: #ffffff;
    border: none;
    padding: 14px 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.shop-page .load-more-btn:hover {
    background-color: #c09578;
}

.shop-page .load-more-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.shop-page .load-more-btn.loading {
    background-color: #c09578;
    position: relative;
    color: transparent;
}

.shop-page .load-more-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #c09578;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.shop-page .no-products-found {
    text-align: center;
    padding: 80px 0;
}

.shop-page .no-products-found p {
    font-size: 16px;
    color: #666;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

@media (max-width: 768px) {
    .shop-page {
        padding: 40px 0 60px;
    }

    .shop-page .container {
        padding: 0 20px;
    }

    .shop-page .shop-header {
        margin-bottom: 30px;
    }

    .shop-page .shop-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

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

    .shop-sidebar {
        width: 100%;
        position: static;
        max-height: none;
        margin-bottom: 30px;
    }

    .my-account-grid {
        flex-direction: column;
    }

    .my-account-sidebar {
        width: 100%;
    }
}

/* ============================================
   SHOP LAYOUT — sidebar + main content
   ============================================ */

.shop-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.shop-layout--with-sidebar {
    padding-top: 10px;
}

.shop-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height, 100px) + 10px);
    max-height: calc(100vh - var(--header-height, 100px) - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
    align-self: flex-start;
}

.shop-sidebar::-webkit-scrollbar {
    width: 4px;
}

.shop-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.shop-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

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

.shop-products .products-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* ============================================
   MY ACCOUNT PAGE
   ============================================ */

.my-account-page {
    padding: 60px 0 100px;
    min-height: 80vh;
    background: #fafafa;
}

.my-account-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.my-account-header {
    text-align: center;
    margin-bottom: 40px;
}

.my-account-greeting {
    font-size: 32px;
    font-weight: 300;
    color: #222;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.my-account-subtitle {
    font-size: 14px;
    color: #666;
}

.my-account-tabs {
    display: none;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.my-account-tabs .tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.my-account-tabs .tab-btn.active {
  background: #111331;
  border-color: #111331;
  color: #fff;
}

.my-account-tabs .tab-btn i {
    font-size: 14px;
}

.my-account-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.my-account-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.user-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.user-card .user-avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.user-card .user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-card .user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-card .user-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card .user-email {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-account-nav {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.my-account-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.my-account-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.my-account-nav li:last-child {
    border-bottom: none;
}

.my-account-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.my-account-nav li a:hover {
    background: #fafafa;
    color: #222;
}

.my-account-nav li.active a {
  background: #111331;
  color: #fff;
}

.my-account-nav li a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.my-account-nav li a .badge {
    margin-left: auto;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.my-account-nav li.active a .badge {
    background: #fff;
    color: #222;
}

/* Main Content */
.my-account-content {
    flex: 1;
    min-width: 0;
}

.content-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Dashboard */
.welcome-message {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.welcome-message a {
    color: #222;
    text-decoration: underline;
}

.welcome-message a:hover {
    color: #e74c3c;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #222;
}

.stat-card .stat-info {
    flex: 1;
}

.stat-card .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

.stat-card .stat-label {
    font-size: 13px;
    color: #666;
}

.stat-card .stat-link {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
    color: #666;
    text-decoration: underline;
}

.stat-card .stat-link:hover {
    color: #e74c3c;
}

/* Recent Orders */
.recent-orders .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.recent-orders .section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.view-all-link {
    font-size: 14px;
    color: #666;
    text-decoration: underline;
}

.view-all-link:hover {
    color: #e74c3c;
}

.orders-list {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

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

.order-item .order-id {
    font-weight: 600;
    color: #222;
    min-width: 80px;
}

.order-item .order-date {
    font-size: 13px;
    color: #666;
    min-width: 120px;
}

.order-item .order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.order-item .order-status.completed,
.order-item .order-status.processing {
    background: #e8f5e9;
    color: #2e7d32;
}

.order-item .order-status.pending {
    background: #fff3e0;
    color: #ef6c00;
}

.order-item .order-status.cancelled,
.order-item .order-status.failed {
    background: #ffebee;
    color: #c62828;
}

.order-item .order-total {
    font-weight: 600;
    color: #222;
    min-width: 100px;
    text-align: right;
}

.order-item .order-actions {
    min-width: 60px;
    text-align: right;
}

.order-item .btn-view {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
}

.order-item .btn-view:hover {
    color: #e74c3c;
}

/* Addresses */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.address-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 24px;
}

.address-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.address-card .address-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 60px;
}

.address-card .btn-edit {
  display: inline-block;
  padding: 8px 20px;
  background: #111331;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.address-card .btn-edit:hover {
  background: #c09578;
}

/* WooCommerce Overrides */
.my-account-content .woocommerce-MyAccount-navigation {
    display: none;
}

.my-account-content .woocommerce-MyAccount-content {
    width: 100%;
    padding: 0;
}

.my-account-content .woocommerce-account .woocommerce-MyAccount-content {
    padding: 0;
}

.my-account-content .woocommerce {
    width: 100%;
}

/* Orders Table */
.my-account-content .woocommerce-orders-table {
    font-size: 14px;
}

.my-account-content .woocommerce-orders-table th,
.my-account-content .woocommerce-orders-table td {
    padding: 12px 10px;
}

.my-account-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
}

.my-account-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:hover {
  background: #111331;
  color: #fff;
}

/* Account Form */
.my-account-content .woocommerce-EditAccountForm {
    max-width: 600px;
}

.my-account-content .woocommerce-EditAccountForm fieldset {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.my-account-content .woocommerce-EditAccountForm fieldset legend {
    font-weight: 600;
    color: #222;
    padding: 0 10px;
}

.my-account-content .woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px;
}

.my-account-content .woocommerce-EditAccountForm .form-row label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.my-account-content .woocommerce-EditAccountForm .form-row input,
.my-account-content .woocommerce-EditAccountForm .form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.my-account-content .woocommerce-EditAccountForm .form-row input:focus,
.my-account-content .woocommerce-EditAccountForm .form-row textarea:focus {
    outline: none;
    border-color: #222;
}

.my-account-content .woocommerce-EditAccountForm button.button {
  padding: 14px 30px;
  background: #111331;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.my-account-content .woocommerce-EditAccountForm button.button:hover {
  background: #c09578;
}

/* Address Form */
.my-account-content .u-columns col2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.my-account-content .u-column1,
.my-account-content .u-column2 {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 8px;
}

.my-account-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
}

.my-account-content .address-form .form-row {
    margin-bottom: 15px;
}

.my-account-content .address-form label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.my-account-content .address-form input,
.my-account-content .address-form select,
.my-account-content .address-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.my-account-content .address-form button.button {
  padding: 12px 24px;
  background: #111331;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.my-account-content .address-form button.button:hover {
  background: #c09578;
}

/* Empty States — notification styles handled by my-account.css */

/* Downloads */
.my-account-content .woocommerce-downloads-table {
    font-size: 14px;
}

.my-account-content .woocommerce-downloads-table th,
.my-account-content .woocommerce-downloads-table td {
    padding: 12px 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .my-account-page {
        padding: 40px 0 60px;
    }

    .my-account-tabs {
        display: flex;
    }

    .my-account-grid {
        flex-direction: column;
    }

    .my-account-sidebar {
        display: none;
        width: 100%;
        position: static;
    }

    .my-account-sidebar.active {
        display: block;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .addresses-grid {
        grid-template-columns: 1fr;
    }

    .order-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .order-item .order-id,
    .order-item .order-date,
    .order-item .order-status,
    .order-item .order-total,
    .order-item .order-actions {
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .my-account-greeting {
        font-size: 24px;
    }

    .content-section {
        padding: 20px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card .stat-value {
        font-size: 20px;
    }
}

/* Guest Message */
.my-account-guest {
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
}

.my-account-guest .guest-message {
    background: #fff;
    border-radius: 12px;
    padding: 60px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.my-account-guest .guest-message i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.my-account-guest .guest-message h2 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.my-account-guest .guest-message p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.my-account-guest .guest-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.my-account-guest .btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.my-account-guest .btn--primary {
  background: #111331;
  color: #fff;
}

.my-account-guest .btn--primary:hover {
  background: #c09578;
}

.my-account-guest .btn--secondary {
    background: #fff;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.my-account-guest .btn--secondary:hover {
    background: #f5f5f5;
}

/* ===================================================================
   Enhanced Shop Page Features
   =================================================================== */

/* Toolbar Enhancements */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.shop-toolbar__left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shop-toolbar__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Price Filter Active Tag */
.price-filter-active {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
}

/* View Toggles */
.view-toggles {
    display: flex;
    gap: 5px;
}

.view-toggle {
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #999;
}

.view-toggle:not(.active) {
    background: transparent;
    border-color: #eee;
    color: #999;
}

.view-toggle:hover {
  background: #111331;
  border-color: #111331;
  color: #fff;
}

.view-toggle.active {
  background: #111331;
  border-color: #111331;
  color: #fff;
}

.view-toggle--grid.active {
  background: #111331;
  border-color: #111331;
  color: #fff;
}

/* Products Grid Enhancements */
.products-grid--3-cols { grid-template-columns: repeat(3, 1fr); }
.products-grid--4-cols { grid-template-columns: repeat(4, 1fr); }
.products-grid--5-cols { grid-template-columns: repeat(5, 1fr); }

/* Product Card Category Label */
.product-card__category {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 5px;
}

/* Secondary Image on Hover */
.product-card__img--secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

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

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

/* Product Card Excerpt */
.product-card__excerpt {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.products-grid.view-list .product-card__excerpt {
    max-height: 80px;
    opacity: 1;
    display: block;
}

/* Product Card Actions */
.product-card__actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
}

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

.product-card__actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-card__actions button:hover {
  background: #111331;
  border-color: #111331;
  color: #fff;
}

/* Product Card Actions hover states handled by .product-card__actions rules above */

/* Empty State Enhancement */
.no-products-found {
    text-align: center;
    padding: 80px 20px;
}

.no-products-found__icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-products-found__title {
    font-size: 24px;
    font-weight: 400;
    color: #222;
    margin-bottom: 10px;
}

.no-products-found__text {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.no-products-found__btn {
  display: inline-block;
  padding: 14px 30px;
  background: #111331;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.no-products-found__btn:hover {
  background: #c09578;
}

/* Pagination Enhancement */
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.woocommerce-pagination .page-numbers {
    display: inline-flex;
    gap: 5px;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #eee;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-pagination a:hover {
    background: #f5f5f5;
}

.woocommerce-pagination .current {
  background: #111331;
  border-color: #111331;
  color: #fff;
}

.woocommerce-pagination .prev,
.woocommerce-pagination .next {
    font-size: 12px;
}

/* List View Mode */
.products-grid.view-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.products-grid.view-list .product-card {
    display: grid;
    grid-template-columns: 1fr;
}

.products-grid.view-list .product-card__link {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.products-grid.view-list .product-card__image {
    position: relative;
}

.products-grid.view-list .product-card__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    border-top: none;
    border-left: 1px solid #eee;
    padding-left: 20px;
}

.products-grid.view-list .product-card__title {
    font-size: 20px;
}

.products-grid.view-list .product-card__excerpt {
    max-height: 80px;
    opacity: 1;
}

.products-grid.view-list .product-card__actions {
    position: static;
    transform: none;
    opacity: 1;
    margin-top: 15px;
}

@media (max-width: 1024px) {
    .products-grid--5-cols {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .shop-toolbar__left,
    .shop-toolbar__right {
        width: 100%;
        justify-content: space-between;
    }
    
    .products-grid--4-cols,
    .products-grid--5-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid.view-list .product-card__link {
        grid-template-columns: 1fr;
    }

    .products-grid.view-list .product-card__info {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid--3-cols,
    .products-grid--4-cols,
    .products-grid--5-cols {
        grid-template-columns: 1fr;
    }
}

/* ===================================================================
   SHOP SIDEBAR — Premium Filter UI
   =================================================================== */

.shop-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.shop-sidebar .sidebar-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.shop-sidebar .sidebar-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-sidebar .sidebar-section:last-child {
    margin-bottom: 0;
}

.shop-sidebar .sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Category List */
.shop-sidebar .category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-sidebar .category-list li {
    margin-bottom: 0;
}

.shop-sidebar .category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
}

.shop-sidebar .category-list a:hover {
    color: #222;
    background: #f9f9f9;
}

.shop-sidebar .category-list a.active {
    color: #222;
    font-weight: 500;
    background: #f5f5f5;
}

.shop-sidebar .category-list .count {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 10px;
    line-height: 1;
    white-space: nowrap;
}

.shop-sidebar .category-list a:hover .count {
    background: #eee;
    color: #666;
}

.shop-sidebar .category-list a.active .count {
  background: #111331;
  color: #fff;
}

/* Price Filter Form */
.shop-sidebar .price-filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-sidebar .price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-sidebar .price-input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: all 0.2s ease;
    height: 44px;
    box-sizing: border-box;
}

.shop-sidebar .price-input::placeholder {
    color: #aaa;
}

.shop-sidebar .price-input:focus {
    outline: none;
    border-color: #222;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.08);
}

.shop-sidebar .price-separator {
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}

.shop-sidebar .price-filter-btn {
  width: 100%;
  padding: 14px 20px;
  background: #111331;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  height: 44px;
}

.shop-sidebar .price-filter-btn:hover {
  background: #c09578;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 19, 49, 0.2);
}

.shop-sidebar .price-filter-btn:active {
    transform: translateY(0);
}

/* Special Offers / Filter List */
.shop-sidebar .filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-sidebar .filter-list li {
    margin-bottom: 0;
}

.shop-sidebar .filter-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
}

.shop-sidebar .filter-list a:hover {
    color: #222;
    background: #f9f9f9;
}

.shop-sidebar .filter-list a.active {
    color: #222;
    font-weight: 500;
    background: #f5f5f5;
}

.shop-sidebar .filter-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #222;
    flex-shrink: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    appearance: none;
    background: #fafafa;
    position: relative;
    transition: all 0.2s ease;
}

.shop-sidebar .filter-list input[type="checkbox"]:checked {
  background: #111331;
  border-color: #111331;
}

.shop-sidebar .filter-list input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.shop-sidebar .filter-list input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.shop-sidebar .filter-list span {
    flex: 1;
}

/* Clear Filters Button */
.shop-sidebar .clear-filters {
    padding-top: 8px;
}

.shop-sidebar .clear-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.shop-sidebar .clear-filters-btn:hover {
    background: #fff5f5;
    color: #c62828;
    border-color: #ffcdd2;
}

.shop-sidebar .clear-filters-btn i {
    font-size: 12px;
}

/* Sidebar Responsive */
@media (max-width: 768px) {
    .shop-sidebar {
        padding: 20px;
        border-radius: 0;
        max-height: none;
    }

    .shop-sidebar .sidebar-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .shop-sidebar .sidebar-title {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .shop-sidebar .category-list a,
    .shop-sidebar .filter-list a {
        padding: 12px 0;
        font-size: 14px;
    }

    .shop-sidebar .price-input {
        padding: 10px 12px;
        height: 42px;
    }

    .shop-sidebar .price-filter-btn {
        height: 42px;
        font-size: 12px;
    }

    .shop-sidebar .clear-filters-btn {
        width: 100%;
        justify-content: center;
    }
}
