.shop-page {
    background: #f7f6fb;
}

.shop-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.2);
    margin-bottom: 18px;
}

.shop-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    background: #eef2ff;
    color: #1e3a8a;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
}

.filter-clear {
    color: #2563eb;
    font-weight: 600;
}

.shop-product-card {
    border-radius: 16px !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08) !important;
}

.product-media-link {
    display: block;
}

.product-media-link img {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.shop-product-card:hover .product-media-link img {
    transform: scale(1.03);
}

.shop-empty {
    color: #94a3b8;
}

.widget .is-active {
    color: #2563eb;
    font-weight: 600;
}

.shop-search .form-control {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.mini-cart-remove {
    position: absolute;
    top: 12px;
    left: 12px;
}

.mini-cart-remove .remove_from_cart_button {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mini-cart-remove .remove_from_cart_button:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #b91c1c;
    transform: scale(1.05);
}

.woocommerce-mini-cart-item {
    position: relative;
    padding-left: 44px;
}

.product-detail-page {
    background: #f7f6fb;
}

.product-media-card,
.product-info-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.product-title {
    color: #0f172a;
    font-weight: 800;
}

.product-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #0f172a;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 12px;
}

.product-meta .meta-link {
    color: #2563eb;
    font-weight: 600;
}

.product-price {
    color: #0f172a;
}

.product-description {
    color: #334155;
    line-height: 1.9;
}

.product-cta {
    flex-wrap: wrap;
}

.product-cta-btn {
    min-width: 200px;
}

.qty-control {
    background: #f8fafc;
    border-color: #e2e8f0 !important;
}

.qty-input {
    width: 80px;
    background: transparent;
}

@media (max-width: 991px) {
    .shop-filters {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Product card hover clean-up */
.ot-product.product-grid.shop-product-card {
    overflow: hidden;
}

.ot-product.product-grid.shop-product-card .product-hover-content {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ot-product.product-grid.shop-product-card .product-hover-content .box-title {
    margin-bottom: 0;
    line-height: 1.4;
}

.ot-product.product-grid.shop-product-card .product-hover-content .price {
    margin-top: 0;
}

.ot-product.product-grid.shop-product-card .product-hover-content .ot-btn {
    width: 100%;
    justify-content: center;
    border-radius: 999px;
}

.ot-product.product-grid.shop-product-card .actions {
    gap: 10px;
}

.ot-product.product-grid.shop-product-card .actions .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.ot-product.product-grid.shop-product-card .product-content {
    padding: 14px 16px 18px;
}

/* List view clean layout */
.ot-product.product-list.shop-product-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    padding: 18px;
    align-items: center;
}

.ot-product.product-list.shop-product-card .product-img {
    margin: 0;
}

.ot-product.product-list.shop-product-card .product-media-link img {
    border-radius: 16px;
    height: 140px;
    object-fit: cover;
}

.ot-product.product-list.shop-product-card .product-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ot-product.product-list.shop-product-card .price {
    font-size: 16px;
}

.ot-product.product-list.shop-product-card .btn-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ot-product.product-list.shop-product-card .btn-wrap .ot-btn {
    border-radius: 999px;
    padding: 10px 18px;
}

.ot-product.product-list.shop-product-card .actions .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .ot-product.product-list.shop-product-card {
        grid-template-columns: 1fr;
    }

    .ot-product.product-list.shop-product-card .product-media-link img {
        height: 200px;
    }
}

/* Shop page extras (inline styles extracted) */
.filter-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-switch:hover {
    border-color: #d9e1ea;
    background: #f6f8fb;
}

.filter-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-switch .switch {
    width: 40px;
    height: 22px;
    background: #dfe6ee;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.filter-switch .switch::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.filter-switch input:checked + .switch {
    background: #1a4fb3;
}

.filter-switch input:checked + .switch::after {
    transform: translateX(-18px);
}

.my-orders-table thead th {
    color: #111 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}

.tracking-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.5px;
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
}

.order-status--paid {
    background: #e7f8ee;
    color: #0f6a2f;
    border-color: #c5efd6;
}

.order-status--pending {
    background: #fff4d6;
    color: #8a5b00;
    border-color: #ffe2a3;
}

.order-status--reserved {
    background: #eef2f6;
    color: #425466;
    border-color: #d9e1ea;
}

.order-status--canceled {
    background: #fdeaea;
    color: #9b1c1c;
    border-color: #f8c7c7;
}

.order-status--sent {
    background: #e7f6ff;
    color: #0b5f8a;
    border-color: #c5e9ff;
}

.order-status--delivered {
    background: #e9f0ff;
    color: #1a4fb3;
    border-color: #cddcff;
}

.order-item-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.cart-delete-icon {
    width: 64px;
    height: 64px;
}

.cart-delete-icon__symbol {
    font-size: 26px;
}
