/* Shop Page Styles */

/* Shop Hero Section */
.shop-hero {
    background: #028476;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.shop-hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.shop-hero-title {
    font-size: 48px;
    font-weight: 200;
    color: white;
    margin-bottom: 15px;
    letter-spacing: -2px;
    line-height: 1.2;
}

.shop-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 30px;
}

.shop-trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.shop-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.shop-badge svg {
    width: 20px;
    height: 20px;
}

/* Shop Content Section */
.shop-content {
    background: white;
    padding: 60px 0 80px;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Shop Search Bar */
.shop-search-bar {
    margin-bottom: 30px;
}

.shop-search-form {
    width: 100%;
}

.shop-search-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    max-width: 700px;
    margin: 0 auto;
}

.shop-search-input-wrapper:focus-within {
    border-color: #028476;
    box-shadow: 0 4px 16px rgba(2, 132, 118, 0.15);
}

.shop-search-icon {
    color: #999;
    margin-right: 12px;
    flex-shrink: 0;
}

.shop-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 15px;
    font-size: 16px;
    background: transparent;
    color: #2c2c2c;
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, sans-serif;
}

.shop-search-input::placeholder {
    color: #999;
}

.shop-search-submit {
    background: #028476;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 118, 0.2);
    flex-shrink: 0;
}

.shop-search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 118, 0.3);
}

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

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.shop-toolbar-right {
    display: flex;
    align-items: center;
}

.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: #f5f9f7;
    border: 1px solid #e8e8e8;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #028476;
    transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
    background: #e8f3ed;
    border-color: #028476;
}

.filter-toggle-btn svg {
    width: 18px;
    height: 18px;
}

.shop-category-label {
    font-size: 14px;
    color: #666;
    font-weight: 300;
}

.shop-category-label strong {
    color: #028476;
    font-weight: 500;
}

.shop-result-count {
    font-size: 14px;
    color: #666;
    font-weight: 300;
}

/* Sorting Dropdown */
.woocommerce-ordering {
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-ordering select {
    padding: 10px 18px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    font-size: 14px;
    color: #555;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus {
    border-color: #028476;
    outline: none;
}

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

/* Shop Sidebar */
.shop-sidebar {
    background: #f5f9f7;
    border-radius: 10px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.shop-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shop-sidebar-header h3 {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

.sidebar-close {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.sidebar-close:hover {
    color: #028476;
}

/* Sidebar Widgets */
.shop-sidebar .widget {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.shop-sidebar .widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.shop-sidebar .widget .widget-title,
.shop-sidebar .widget h2 {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar .widget ul li {
    margin-bottom: 10px;
}

.shop-sidebar .widget ul li a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-sidebar .widget ul li a:hover {
    color: #028476;
}

.shop-sidebar .widget ul li.current-cat > a,
.shop-sidebar .widget ul li.chosen a {
    color: #028476;
    font-weight: 500;
}

/* Price Filter */
.shop-sidebar .price_slider_wrapper {
    margin-top: 15px;
}

.shop-sidebar .price_slider {
    margin-bottom: 15px;
}

.shop-sidebar .price_slider_amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.shop-sidebar .price_label {
    font-size: 14px;
    color: #555;
    font-weight: 400;
}

.shop-sidebar .button {
    background: #028476;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-sidebar .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.2);
}

/* Products Grid */
.shop-products {
    width: 100%;
}

/* Override WooCommerce default product list styles */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
    display: none !important;
    content: none !important;
}

/* Product Card */
.shop-product-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.shop-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(45, 90, 61, 0.12);
    border-color: #e8e8e8;
}

.shop-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product Image */
.shop-product-image {
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #f5f9f7 100%);
    padding: 20px !important;
    text-align: center;
    height: 300px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-product-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
}

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

.shop-product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #028476;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.shop-product-badge.sale {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
}

/* Product Info */
.shop-product-info,
.woocommerce ul.products li.product .shop-product-info,
.shop-product-card .shop-product-info {
    padding: 0 20px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    font-weight: 500 !important;
}

.shop-product-category {
    font-size: 11px;
    color: #028476;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.shop-product-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.shop-product-card:hover .shop-product-title {
    color: #028476;
}

.shop-product-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.shop-product-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.shop-product-benefits li {
    font-size: 13px;
    color: #555;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.shop-product-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #028476;
    font-weight: 600;
}

.shop-product-price {
    font-size: 28px;
    font-weight: 700;
    color: #028476;
    margin-bottom: 0;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.shop-product-price .amount {
    color: #028476;
    font-weight: 700;
}

.shop-product-price del {
    font-size: 18px;
    color: #999;
    margin-right: 8px;
}

.shop-product-price ins {
    text-decoration: none;
    color: #028476;
}

.shop-product-price .woocommerce-Price-amount {
    font-weight: 400;
    color: #1a1a1a;
}

.shop-product-trust {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.shop-product-trust svg {
    width: 14px;
    height: 14px;
    stroke: #028476;
}

/* Product Footer */
.shop-product-footer {
    padding: 20px 25px 25px;
}

.shop-product-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: #028476 !important;
    color: white !important;
    text-align: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none !important;
    box-shadow: 0 2px 8px rgba(2, 132, 118, 0.2);
}

.shop-product-cta svg {
    width: 18px;
    height: 18px;
    stroke: white !important;
    transition: transform 0.3s ease;
}

.shop-product-cta span {
    color: white !important;
}

.shop-product-card:hover .shop-product-cta {
    background: #026d61 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 118, 0.35);
}

.shop-product-card:hover .shop-product-cta svg {
    transform: translateX(4px);
}

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

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

.woocommerce-pagination ul li {
    display: inline-block;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: block;
    padding: 12px 18px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-pagination ul li a:hover {
    background: #f5f9f7;
    border-color: #028476;
    color: #028476;
}

.woocommerce-pagination ul li span.current {
    background: #028476;
    color: white;
    border-color: #028476;
}

/* No Products Found */
.shop-no-products {
    text-align: center;
    padding: 80px 40px;
}

.shop-no-products svg {
    margin-bottom: 20px;
}

.shop-no-products h2 {
    font-size: 28px;
    font-weight: 200;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.shop-no-products p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100vh;
        z-index: 1000;
        overflow-y: auto;
        border-radius: 0;
        padding: 30px;
    }

    .shop-sidebar.active {
        display: block;
    }

    .shop-sidebar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .sidebar-close {
        display: block;
    }

    .filter-toggle-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .shop-hero-title {
        font-size: 36px;
    }

    .shop-hero-subtitle {
        font-size: 16px;
    }

    .shop-trust-badges {
        gap: 15px;
    }

    .shop-badge {
        font-size: 12px;
    }

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

    .shop-search-input-wrapper {
        max-width: 100%;
        padding: 6px 10px;
    }

    .shop-search-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .shop-search-submit {
        padding: 10px 24px;
        font-size: 14px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar-left,
    .shop-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shop-sidebar {
        width: 100%;
        max-width: 320px;
    }

    .shop-product-title {
        font-size: 18px;
    }

    .shop-product-price {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .shop-hero {
        padding: 40px 0;
    }

    .shop-hero-title {
        font-size: 28px;
    }

    .shop-trust-badges {
        flex-direction: column;
        gap: 10px;
    }

    .shop-product-info {
        padding: 20px;
    }

    .shop-product-footer {
        padding: 0 20px 20px;
    }

    .shop-product-image {
        padding: 10px;
        height: 280px;
    }

    .shop-product-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
    }
}
