/* Container */
.watch-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}


/* Shop Section */
.watch-shop-section {
    padding: 2rem 0;
}

.watch-shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .watch-shop-layout {
        grid-template-columns: 250px 1fr;
    }
}

@media (min-width: 1024px) {
    .watch-shop-layout {
        grid-template-columns: 280px 1fr;
    }
}

/* Sidebar */
.watch-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.watch-sidebar-block {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.watch-sidebar-title {
    margin-bottom: 1.25rem;
}

.watch-sidebar-title h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* Categories List */
.watch-categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.watch-category-link {
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.625rem 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
}

.watch-category-link:hover,
.watch-category-link.active {
    color: #ffffff;
    background-color: var(--primary-color);
    padding-left: 1rem;
}

/* Filter Price */
.watch-filter-price {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.watch-price-range {
    height: 0.375rem;
    background-color: #e5e7eb;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.watch-price-range .ui-slider-range {
    background: var(--primary-color);
}

.watch-price-range .ui-slider-handle {
    border-color: var(--primary-color);
}

.watch-price-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.watch-price-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.watch-price-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.watch-price-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.watch-price-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.watch-price-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.watch-filter-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
}

.watch-filter-btn:hover {
    background-color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Main Content */
.watch-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Products Grid */
.watch-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .watch-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .watch-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Card */
.watch-product-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.watch-product-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.watch-discount-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    z-index: 10;
}

.watch-product-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    background-color: var(--bg-light);
    padding: 1rem;
    overflow: hidden;
}

.watch-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.watch-product-card:hover .watch-product-img {
    transform: scale(1.05);
}

.watch-product-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.watch-product-card:hover .watch-product-overlay {
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.watch-product-actions {
    display: flex;
    gap: 0.5rem;
}

.watch-action-form {
    display: inline;
}

.watch-action-btn {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.watch-action-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.watch-action-btn i,
.watch-action-btn span {
    font-size: 0.875rem;
}

/* Product Info */
.watch-product-info {
    padding: 1rem;
}

.watch-product-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    height: 2.3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.watch-product-link {
    color: var(--text-dark);
    text-decoration: none;
}

.watch-product-link:hover {
    color: var(--primary-color);
}

.watch-product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.watch-price-current {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
}

.watch-price-old {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.watch-add-cart-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.watch-add-cart-btn:hover {
    background-color: var(--text-dark);
}

/* Pagination */
.watch-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.watch-page-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.375rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    text-decoration: none;
}

.watch-page-link:hover,
.watch-page-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .watch-sidebar {
        margin-bottom: 1.5rem;
    }

    .watch-sidebar-block {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .watch-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .watch-products-grid {
        gap: 0.75rem;
    }

    .watch-product-info {
        padding: 0.75rem;
    }

    .watch-product-name {
        font-size: 0.8125rem;
    }

    .watch-price-current {
        font-size: 1rem;
    }

    .watch-add-cart-btn {
        font-size: 0.8125rem;
        padding: 0.5rem;
    }

    .watch-page-link {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8125rem;
    }
}

/* ==================== EMPTY STATE ==================== */
.watch-empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.watch-empty-icon {
    width: 100px;
    height: 100px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-size: 3rem;
    animation: watch-float 3s ease-in-out infinite;
}

@keyframes watch-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.watch-empty-state h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.watch-empty-state p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 400px;
    line-height: 1.6;
}

.watch-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.watch-btn-back:hover {
    background-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.watch-btn-back i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.watch-btn-back:hover i {
    transform: translateX(-4px);
}
/* Sidebar Toggle Mobile */
.watch-sidebar-toggle-wrapper {
    display: none;
    margin-bottom: 1.5rem;
}

.watch-sidebar-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.watch-sidebar-toggle:hover {
    background-color: var(--text-dark);
    transform: translateY(-2px);
}

.watch-sidebar-mobile-header {
    display: none;
}

@media (max-width: 768px) {
    .watch-sidebar-toggle-wrapper {
        display: block;
    }

    .watch-sidebar-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .watch-sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .watch-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 10001;
        overflow-y: auto;
        padding: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
    }

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

    .watch-sidebar-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid #e5e7eb;
        background-color: #f9fafb;
    }

    .watch-sidebar-mobile-header h4 {
        margin: 0;
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--text-dark);
    }

    .watch-sidebar-close {
        background: none;
        border: none;
        font-size: 1.25rem;
        color: #6b7280;
        cursor: pointer;
    }

    .watch-sidebar-block {
        border: none;
        border-radius: 0;
        border-bottom: 1px solid #f3f4f6;
    }
}
/* Compact Toolbar Toggle - Enhanced Styling */
.watch-sidebar-toggle-mini {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(201, 33, 39, 0.2);
}

.watch-sidebar-toggle-mini:hover {
    background-color: var(--text-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.watch-sidebar-toggle-mini:active {
    transform: scale(0.95);
}
@media (max-width: 768px) {
    .watch-sidebar-toggle-mini {
        display: flex;
    }

    .watch-shop-toolbar {
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 20px 15px;
        background-color: #ffffff;
        border-radius: 12px;
        border: 1px solid #f1f5f9;
        margin-bottom: 2rem;
    }

    .watch-toolbar-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .watch-product-sort {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .sort-select {
        min-width: 250px;
    }
}
