/*
Theme Name: DSC_WC
Theme URI: https://dhakasupplier.com/dsc_wc
Author: Mamunur Rahman
Author URI: https://dhakasupplier.com/
Description: Modern WooCommerce Theme for DSC
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dsc_wc
*/

/* ==========================================================
   1. ROOT VARIABLES
========================================================== */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;

    --secondary: #0f172a;

    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;

    --text: #1e293b;
    --muted: #64748b;

    --bg: #f8fafc;
    --white: #ffffff;

    --border: #e2e8f0;

    --shadow-sm: 0 2px 6px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);

    --radius: 14px;

    --transition: all 0.25s ease;
}

/* ==========================================================
   2. RESET
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;

    background: var(--bg);
    color: var(--text);

    font-size: 16px;
    line-height: 1.7;

    overflow-x: hidden;
}

/* ==========================================================
   3. TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    color: var(--secondary);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: #1d4ed8;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-top: 0;
    color: black;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* ==========================================================
   4. LAYOUT
========================================================== */

.container {
    width: min(92%, 1320px);
    margin-inline: auto;
}

.site-main {
    padding: 70px 0;
}

/* ==========================================================
   5. HEADER
========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;

    background: rgba(255,255,255,0.85);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.4);

    box-shadow: var(--shadow-sm);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 80px;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.header-navigation-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-navigation ul {
    list-style: none;

    display: flex;
    align-items: center;
    gap: 28px;

    margin: 0;
    padding: 0;
}

.main-navigation li a {
    color: white;

    font-weight: 600;
    font-size: 0.96rem;

    position: relative;
}

.main-navigation li a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: var(--primary);

    transition: var(--transition);
}

.main-navigation li a:hover::after {
    width: 100%;
}

/* ==========================================================
   6. HEADER CART
========================================================== */

.header-cart a {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;

    border-radius: 999px;

    background: white !important;
    color: black;

    font-size: 0.9rem;
    font-weight: 600;

    transition: var(--transition);
}

.header-cart a:hover {
    background: var(--primary);

    transform: translateY(-2px);
}

.cart-contents-count {
    width: 24px;
    height: 24px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--warning);
    color: var(--secondary);

    font-size: 0.75rem;
    font-weight: 700;
}

.cart-contents {
    background-color: white !important;
}

.custom-logo {
    width: 60px !important;
    border-radius: 25% !important;
}

/* ==========================================================
   7. HERO SECTION
========================================================== */

.hero-banner {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #2563eb 0%,
            #1e3a8a 100%
        );

    color: var(--white);

    padding: 120px 20px;

    border-radius: 28px;

    text-align: center;

    margin-bottom: 80px;

    box-shadow: var(--shadow-lg);
}

.hero-banner::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(255,255,255,0.2),
            transparent 30%
        );
}

.hero-banner h1 {
    color: var(--white);

    margin-bottom: 20px;

    position: relative;
    z-index: 2;
}

.hero-banner p {
    color: rgba(255,255,255,0.85);

    max-width: 720px;

    margin-inline: auto;
    margin-bottom: 35px;

    font-size: 1.1rem;

    position: relative;
    z-index: 2;
}

/* ==========================================================
   8. BUTTONS
========================================================== */
.btn,
.button,
button,
input[type="submit"] {
  border: none;
  display: flex  !important;
  width: fit-content  !important;
  margin: 0 auto  !important; 
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background-color: #0a7548 !important;
  color: var(--white) !important;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.header-cart
{

}


.btn:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--primary-hover);

    transform: translateY(-2px);

    box-shadow: var(--shadow-md);
}

/* ==========================================================
   9. SHOP SIDEBAR
========================================================== */

.shop-categories-list .nav-link {
    display: flex;
    align-items: center;

    padding: 12px 16px;

    border-radius: 10px;

    color: var(--text);

    transition: var(--transition);
}

.shop-categories-list .nav-link:hover {
    background: rgba(37,99,235,0.08);

    color: var(--primary);

    transform: translateX(4px);
}

.shop-categories-list .active-cat {
    background: var(--primary);
    color: var(--white) !important;

    font-weight: 600;
}






/* ==========================================================
   13. PRODUCT CONTENT
========================================================== */

.custom-shop-card .woocommerce-loop-product__title {
    font-size: 1rem !important;

    line-height: 1.5 !important;

    font-weight: 700 !important;

    color: var(--secondary);

    margin-bottom: 12px !important;

    min-height: 50px;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.custom-shop-card .price {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-wrap: wrap;

    margin-bottom: 18px !important;

    font-size: 1.2rem !important;

    font-weight: 800 !important;

    color: var(--success) !important;
}

.custom-shop-card .price del {
    color: var(--muted) !important;

    font-size: 0.95rem !important;

    font-weight: 500 !important;
}

.custom-shop-card .price ins {
    text-decoration: none !important;
}

/* ==========================================================
   14. SALE BADGE
========================================================== */

.custom-shop-card span.onsale {
    position: absolute !important;

    top: 18px !important;
    left: 18px !important;

    z-index: 5;

    min-height: auto !important;
    min-width: auto !important;

    padding: 8px 14px !important;

    border-radius: 999px !important;

    background: var(--danger) !important;

    color: var(--white) !important;

    font-size: 0.72rem !important;

    font-weight: 700 !important;

    text-transform: uppercase;

    letter-spacing: 0.4px;
}

.woocommerce ul.products li.product .onsale {
    width: 80px !important;
    height: 40px !important;
}

/* ==========================================================
   15. STAR RATING
========================================================== */

.custom-shop-card .star-rating {
    color: var(--warning) !important;

    margin-bottom: 12px !important;

    font-size: 0.88rem !important;
}

/* ==========================================================
   16. SINGLE PRODUCT PAGE
========================================================== */

.single-product-layout .product_title {
    font-size: clamp(2rem, 5vw, 3rem) !important;

    margin-bottom: 20px !important;
}

.single-product-layout .summary .price {
    font-size: 2rem !important;

    color: var(--success) !important;

    font-weight: 800 !important;

    margin-bottom: 25px !important;
}

.product-gallery-wrapper .woocommerce-product-gallery__wrapper {
    border-radius: 24px;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-sm);
}

.single-product-layout .quantity .qty {
    width: 80px !important;

    height: 50px !important;

    border-radius: 10px !important;

    border: 1px solid var(--border) !important;

    font-size: 1rem;

    text-align: center;
}

.single-product-layout button.single_add_to_cart_button {
    background: var(--primary) !important;

    padding: 14px 28px !important;

    border-radius: 12px !important;

    font-size: 1rem !important;

    font-weight: 700 !important;
}

/* ==========================================================
   17. TABS
========================================================== */

.single-product-layout ul.tabs {
    display: flex !important;

    gap: 12px;

    padding: 0 !important;

    margin-bottom: 30px !important;

    border: none !important;

    list-style: none !important;
}

.single-product-layout ul.tabs li {
    border: none !important;

    background: transparent !important;

    margin: 0 !important;
}

.single-product-layout ul.tabs li a {
    display: inline-block;

    padding: 12px 22px;

    border-radius: 999px;

    background: #eef2ff;

    color: var(--secondary);

    font-weight: 600;
}

.single-product-layout ul.tabs li.active a {
    background: var(--primary);

    color: var(--white);
}

/* ==========================================================
   18. SORTING + FILTER
========================================================== */

.woo-result-count-ordering {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 30px;

    flex-wrap: wrap;
}

.woocommerce-ordering select {
    padding: 12px 16px;

    border-radius: 12px;

    border: 1px solid var(--border);

    background: var(--white);

    font-size: 0.95rem;
}

/* ==========================================================
   19. FOOTER
========================================================== */

.site-footer {
    margin-top: 100px;

    background: var(--secondary);

    color: rgba(255,255,255,0.7);

    padding: 80px 0 40px;

    position: relative;
}

.site-footer::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(255,255,255,0.3),
            transparent
        );
}

.site-footer p {
    margin: 0;
}

.footer-text {
    color: white !important;
}

/* ==========================================================
   20. UTILITIES
========================================================== */

.text-center {
    text-align: center;
}

.rounded {
    border-radius: var(--radius);
}

.shadow {
    box-shadow: var(--shadow-md);
}

/* ==========================================================
   21. RESPONSIVE DESIGN
========================================================== */

@media (max-width: 992px) {
    .site-header-inner {
        flex-direction: column;
        gap: 18px;
        padding: 18px 0;
    }

    .header-navigation-wrapper {
        flex-direction: column;
        gap: 18px;
    }

    .col-lg-10 ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-banner {
        padding: 90px 25px;
    }
}

@media (max-width: 768px) {
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .woo-result-count-ordering {
        flex-direction: column;
        align-items: stretch;
    }

    .single-product-layout ul.tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        padding: 70px 20px;
        border-radius: 18px;
    }

    .product-image-container {
        height: 240px;
    }

    .site-main {
        padding: 50px 0;
    }
}

@media (max-width: 400px) {
    .woocommerce ul.products {
        gap: 10px;
    }

    .dsc-product-info {
        padding: 10px;
    }
}

/* =========================================================
   22. DSC WC SHOP PAGE CUSTOM STYLES
   ========================================================= */

:root {
    --dsc-primary: #111827;
    --dsc-secondary: #6b7280;
    --dsc-border: #e5e7eb;
    --dsc-light: #f8fafc;
    --dsc-white: #ffffff;
    --dsc-dark: #0f172a;
    --dsc-radius: 16px;
    --dsc-shadow: 0 8px 30px rgba(15, 23, 42, 0.07);
}

/* Global Section Adjustments */

.dsc-shop-page {
    background: #fff;
    color: var(--dsc-dark);
}

.dsc-section {
    padding: 55px 0;
}

.dsc-section-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dsc-dark);
}

.dsc-section-subtitle {
    margin: 9px 0 0;
    color: var(--dsc-secondary);
    font-size: 15px;
}

.dsc-section-heading {
    margin-bottom: 28px;
}

/* Hero Component */

.dsc-hero {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            110deg,
            rgba(15, 23, 42, 0.96),
            rgba(30, 41, 59, 0.88)
        );
    color: #fff;
}

.dsc-hero-inner {
    position: relative;
    z-index: 2;
}

.dsc-hero-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.dsc-hero-content .img-fluid {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.dsc-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: 13px;
    font-weight: 700;
}

.dsc-hero-title {
    margin: 0 0 17px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.03;
    font-weight: 900;
    letter-spacing: -2px;
}

.dsc-hero-text {
    max-width: 560px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.7;
}

.dsc-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dsc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 700;
    transition: all .2s ease;
}

.dsc-btn-primary {
    background: #fff;
    color: #111827 !important;
}

.dsc-btn-primary:hover {
    transform: translateY(-2px);
    color: #111827 !important;
}

.dsc-btn-outline {
    border: 1px solid rgba(255,255,255,.3);
    color: #fff !important;
    background: rgba(255,255,255,.05);
}

.dsc-btn-outline:hover {
    background: rgba(255,255,255,.12);
    color: #fff !important;
}

.dsc-hero-product {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.dsc-hero-product img {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 25px 30px rgba(0,0,0,.25));
    border-radius: 15%;
}

/* Trust Bar */

.dsc-trust-bar {
    border-bottom: 1px solid var(--dsc-border);
    background: #fff;
}

.dsc-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 82px;
}

.dsc-trust-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--dsc-primary);
    font-size: 20px;
}

.dsc-trust-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
}

.dsc-trust-text {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--dsc-secondary);
}

/* Category Cards */

.dsc-category-card {
    display: block;
    height: 100%;
    padding: 22px;
    border: 1px solid var(--dsc-border);
    border-radius: var(--dsc-radius);
    background: #fff;
    text-decoration: none !important;
    color: var(--dsc-dark) !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.025);
    transition: all .25s ease;
}

.dsc-category-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: var(--dsc-shadow);
}

.dsc-category-image {
    height: 150px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
}

.dsc-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dsc-category-placeholder {
    font-size: 42px;
    color: #94a3b8;
}

.dsc-category-name {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.dsc-category-count {
    margin-top: 4px;
    color: var(--dsc-secondary);
    font-size: 13px;
}

/* Product Cards - Custom Grid Component */

.dsc-product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--dsc-border);
    border-radius: var(--dsc-radius);
    background: #fff;
    transition: all .25s ease;
}

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

.dsc-product-image {
    position: relative;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
}

.dsc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform .3s ease;
    border-radius: 15%;
}

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

.dsc-product-body {
    padding: 18px;
}

.dsc-product-title {
    display: block;
    margin: 0 0 8px;
    color: var(--dsc-dark) !important;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 750;
    text-decoration: none !important;
}

.dsc-product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--dsc-dark);
}

.dsc-product-price del {
    margin-right: 5px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

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

.dsc-product-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 15px;
    border-radius: 9px;
    background: green;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s ease;
}

.dsc-product-button:hover {
    background: #334155;
    color: #fff !important;
}

.dsc-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 15px;
    background: #fb0303;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Carousel Control Styles */

.dsc-carousel {
    position: relative;
}

.dsc-carousel .carousel-control-prev,
.dsc-carousel .carousel-control-next {
    width: 42px;
    height: 42px;
    top: -67px;
    bottom: auto;
    opacity: 1;
    border: 1px solid var(--dsc-border);
    border-radius: 50%;
    background: #fff;
    color: var(--dsc-dark);
}

.dsc-carousel .carousel-control-prev {
    left: auto;
    right: 52px;
}

.dsc-carousel .carousel-control-next {
    right: 0;
}

.dsc-carousel .carousel-control-prev-icon,
.dsc-carousel .carousel-control-next-icon {
    width: 15px;
    height: 15px;
    filter: invert(1);
}

/* Promo Component */

.dsc-promo {
    position: relative;
    overflow: hidden;
    padding: 55px 45px;
    border-radius: 22px;
    background: #0f172a;
    color: #fff;
}

.dsc-promo h2 {
    margin: 0 0 12px;
    font-size: 34px;
    font-weight: 850;
}

.dsc-promo p {
    max-width: 620px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.7);
}

/* Shop Layout & Sidebar */

.dsc-shop-area {
    padding: 45px 0 70px;
    background: #f8fafc;
}

.dsc-shop-sidebar {
    position: sticky;
    top: 25px;
}

.dsc-sidebar-box {
    padding: 20px;
    border: 1px solid var(--dsc-border);
    border-radius: var(--dsc-radius);
    background: #fff;
}

.dsc-sidebar-title {
    margin: 0 0 15px;
    font-size: 17px;
    font-weight: 800;
}

.dsc-category-search {
    position: relative;
    margin-bottom: 18px;
}

.dsc-category-search input {
    width: 100%;
    min-height: 43px;
    padding: 0 40px 0 13px;
    border: 1px solid var(--dsc-border);
    border-radius: 999px;
    outline: none;
    font-size: 13px;
}

.dsc-category-search i {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    color: #94a3b8;
}

.dsc-sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dsc-sidebar-list li {
    margin: 0;
    padding: 0;
}

.dsc-sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 14px;
    text-decoration: none;
}

.dsc-sidebar-list a:hover,
.dsc-sidebar-list .active a {
    color: var(--dsc-dark);
    font-weight: 700;
}

.dsc-sidebar-count {
    color: #94a3b8;
    font-size: 12px;
}

.dsc-shop-header {
    margin-bottom: 22px;
}

.dsc-shop-header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 850;
    color: var(--dsc-dark);
}

.dsc-shop-description {
    margin-top: 7px;
    color: var(--dsc-secondary);
    font-size: 14px;
}

/* WooCommerce Product Loop Override */

.dsc-shop-content ul.products {
    display: grid !important;
    grid-template-columns: repeat(
        var(--dsc-products-columns, 4),
        minmax(0, 1fr)
    ) !important;
    gap: 18px;
    margin: 0 !important;
    padding: 0 !important;
}

.dsc-shop-content ul.products::before,
.dsc-shop-content ul.products::after {
    display: none !important;
}

.dsc-shop-content ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--dsc-border) !important;
    border-radius: var(--dsc-radius) !important;
    background: #fff !important;
    transition: all .25s ease;
}

.dsc-shop-content ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--dsc-shadow);
}

.dsc-shop-content ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
}

.dsc-shop-content ul.products li.product img {
    width: 100%;
    height: 250px;
    margin: 0 !important;
    padding: 16px;
    object-fit: contain;
    background: #f8fafc;
    transition: transform .3s ease;
}

.dsc-shop-content ul.products li.product:hover img {
    transform: scale(1.035);
}

/* Responsive WooCommerce shop grid */
@media (max-width: 991.98px) {
    .dsc-shop-content ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    .dsc-shop-content ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    .dsc-shop-content ul.products li.product img {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .dsc-shop-content ul.products {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .dsc-shop-content ul.products li.product img {
        height: auto;
        max-height: 320px;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }
}

.dsc-shop-content ul.products li.product .woocommerce-loop-product__title {
    margin: 15px 15px 7px !important;
    padding: 0 !important;
    color: var(--dsc-dark);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 750;
}

.dsc-shop-content ul.products li.product .price {
    margin: 0 15px 12px !important;
    color: var(--dsc-dark) !important;
    font-size: 16px !important;
    font-weight: 800;
}

.dsc-shop-content ul.products li.product .price del {
    color: #94a3b8;
    font-size: 13px;
}

.dsc-shop-content ul.products li.product .price ins {
    text-decoration: none;
}

.dsc-shop-content ul.products li.product .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 30px);
    min-height: 42px;
    margin: 0 15px 15px !important;
    border: 0;
    border-radius: 9px;
    background: var(--dsc-primary);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    transition: all .2s ease;
}

.dsc-shop-content ul.products li.product .button:hover {
    background: #334155;
    color: #fff !important;
}

.dsc-shop-content ul.products li.product .onsale {
    top: 12px !important;
    left: 12px !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    background: #dc2626 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}


/* ================================================
main menu items css
===============================================  */


/* =========================================================
   SAYMA FASHION
   PREMIUM MODERN NAVIGATION
   ========================================================= */

.main-navigation {
    position: relative;
    width: 100%;
    z-index: 999;
}

/* Main Menu */
.main-navigation > ul,
.main-navigation ul.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    list-style: none;
    margin: 0;
    padding: 0;
}

/* All Menu Items */
.main-navigation ul li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: green;
  border-radius: 15px;
}

/* =========================================================
   MAIN MENU LINK
   ========================================================= */

.main-navigation > ul > li > a,
.main-navigation ul.menu > li > a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 10px 17px;

    color: #ffffff !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;
    white-space: nowrap;

    border-radius: 10px;

    transition:
        color .25s ease,
        background-color .25s ease,
        transform .25s ease;
}

/* Hover */
.main-navigation > ul > li > a:hover,
.main-navigation ul.menu > li > a:hover {
    color: #a61b1b;
    background: #fff5f5;
    transform: translateY(-1px);
}


/* =========================================================
   ACTIVE MENU
   ========================================================= */

.main-navigation > ul > li.current-menu-item > a,
.main-navigation > ul > li.current_page_item > a,
.main-navigation > ul > li.current-menu-ancestor > a,
.main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.menu > li.current_page_item > a,
.main-navigation ul.menu > li.current-menu-ancestor > a {
    color: #a61b1b;
    background: #fff5f5;
    font-weight: 700;
}


/* =========================================================
   PREMIUM ACTIVE UNDERLINE
   ========================================================= */

.main-navigation > ul > li > a::after,
.main-navigation ul.menu > li > a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 4px;

    width: 0;
    height: 2px;

    background: #a61b1b;
    border-radius: 50px;

    transform: translateX(-50%);

    transition: width .3s ease;
}

.main-navigation > ul > li:hover > a::after,
.main-navigation > ul > li.current-menu-item > a::after,
.main-navigation > ul > li.current_page_item > a::after,
.main-navigation > ul > li.current-menu-ancestor > a::after {
    width: 24px;
}


/* =========================================================
   DROPDOWN ARROW
   ========================================================= */

.main-navigation
ul li.menu-item-has-children > a::before {

    content: "⌄";

    margin-right: 7px;

    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    color: #6b7280;

    transform: translateY(-1px);

    transition:
        color .25s ease,
        transform .25s ease;
}

.main-navigation
ul li.menu-item-has-children:hover > a::before {

    color: #a61b1b;
    transform: translateY(1px);
}


/* =========================================================
   DROPDOWN MENU
   ========================================================= */

.main-navigation ul ul {
    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    min-width: 225px;

    display: block;

    margin: 0;
    padding: 8px;

    background: rgba(255,255,255,.98);

    border: 1px solid #eeeeee;
    border-radius: 14px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.10),
        0 4px 12px rgba(0,0,0,.05);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;

    z-index: 99999;
}


/* Show dropdown */

.main-navigation ul li:hover > ul,
.main-navigation ul li:focus-within > ul,
.main-navigation ul li.focus > ul {

    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   DROPDOWN ITEMS
   ========================================================= */

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul li a {

    display: flex;
    align-items: center;

    width: 100%;

    padding: 11px 13px;

    color: #374151;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.4;

    text-decoration: none;

    border-radius: 9px;

    transition:
        color .2s ease,
        background-color .2s ease,
        padding-left .2s ease;
}


/* Dropdown hover */

.main-navigation ul ul li a:hover {

    color: #a61b1b;

    background: #fff5f5;

    padding-left: 17px;
}


/* Remove underline from dropdown */

.main-navigation ul ul li a::after {
    display: none !important;
}


/* Remove arrow spacing problem */

.main-navigation ul ul li.menu-item-has-children > a::before {
    margin-right: auto;
    order: 2;
}


/* =========================================================
   SECOND LEVEL DROPDOWN
   ========================================================= */

.main-navigation ul ul ul {

    top: -8px;
    left: calc(100% + 8px);

    transform: translateX(10px);

}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li:focus-within > ul {

    transform: translateX(0);

}


/* =========================================================
   NAVIGATION SEPARATOR
   ========================================================= */

.main-navigation > ul > li:not(:last-child)::before,
.main-navigation ul.menu > li:not(:last-child)::before {

    content: "";

    position: absolute;

    right: -2px;
    top: 50%;

    width: 1px;
    height: 16px;

    background: #eeeeee;

    transform: translateY(-50%);

    opacity: .7;
}


/* =========================================================
   SHOP / CTA MENU ITEM
   Add class "menu-highlight" to a menu item
   if you want special styling.
   ========================================================= */

.main-navigation li.menu-highlight > a {

    color: #ffffff !important;

    background: #a61b1b !important;

    padding-left: 20px;
    padding-right: 20px;

    border-radius: 10px;

    box-shadow:
        0 5px 15px rgba(166,27,27,.18);
}

.main-navigation li.menu-highlight > a:hover {

    color: #ffffff !important;

    background: #8f1616 !important;

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 991px) {

    .main-navigation {
        width: 100%;
    }

    .main-navigation > ul,
    .main-navigation ul.menu {

        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        width: 100%;

        gap: 3px;

        padding: 10px;

        background: #ffffff;

        border: 1px solid #eeeeee;
        border-radius: 14px;

        box-shadow:
            0 10px 30px rgba(0,0,0,.06);
    }


    /* Mobile top-level link */

    .main-navigation > ul > li > a,
    .main-navigation ul.menu > li > a {

        display: flex;

        width: 100%;

        min-height: 48px;

        justify-content: flex-start;

        padding: 12px 15px;

        font-size: 15px;

        border-radius: 9px;
    }


    /* Disable desktop separator */

    .main-navigation > ul > li:not(:last-child)::before,
    .main-navigation ul.menu > li:not(:last-child)::before {

        display: none;
    }


    /* Disable underline */

    .main-navigation > ul > li > a::after,
    .main-navigation ul.menu > li > a::after {

        display: none;
    }


    /* Mobile dropdown */

    .main-navigation ul ul {

        position: static;

        width: 100%;
        min-width: 100%;

        display: none;

        margin: 0;

        padding: 5px 0 5px 15px;

        background: #fafafa;

        border: 0;

        border-radius: 8px;

        box-shadow: none;

        opacity: 1;
        visibility: visible;

        transform: none;
    }


    /* Show submenu on hover/focus */

    .main-navigation li:hover > ul,
    .main-navigation li:focus-within > ul,
    .main-navigation li.focus > ul {

        display: block;

        transform: none;
    }


    /* Nested mobile menu */

    .main-navigation ul ul ul {

        position: static;

        display: block;

        padding-left: 12px;

        transform: none;
    }


    /* Dropdown links */

    .main-navigation ul ul li a {

        padding: 10px 13px;

        font-size: 14px;
    }


    /* Highlight */

    .main-navigation li.menu-highlight > a {

        justify-content: center;

        margin-top: 5px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .main-navigation > ul,
    .main-navigation ul.menu {

        padding: 8px;

        border-radius: 12px;
    }

    .main-navigation > ul > li > a,
    .main-navigation ul.menu > li > a {

        min-height: 46px;

        padding: 11px 13px;

        font-size: 14px;
    }

}


/* =========================================================
   WooCommerce My Account - Modern Beautiful Design
   ========================================================= */

/* Main wrapper */
.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ---------------------------------------------------------
   LEFT SIDEBAR
   --------------------------------------------------------- */

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 260px;
    flex: 0 0 260px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 4px 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all .25s ease;
}

/* Icons */
.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
    font-family: "Arial", sans-serif;
    width: 22px;
    text-align: center;
    font-size: 16px;
    opacity: .8;
}

/* Individual icons */
.woocommerce-account .woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "⌂";
}

.woocommerce-account .woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "▣";
}

.woocommerce-account .woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--downloads a::before {
    content: "↓";
}

.woocommerce-account .woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "⌖";
}

.woocommerce-account .woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "♙";
}

.woocommerce-account .woocommerce-MyAccount-navigation
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "↪";
}

/* Hover */
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: #f3f7ff;
    color: #1769e0;
    transform: translateX(3px);
}

/* Active */
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: linear-gradient(135deg, #1769e0, #4f8df7);
    color: #fff;
    box-shadow: 0 7px 18px rgba(23, 105, 224, .25);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
    opacity: 1;
}


/* ---------------------------------------------------------
   RIGHT CONTENT
   --------------------------------------------------------- */

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
    color: #333;
    line-height: 1.7;
}

/* Dashboard welcome */
.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
    font-size: 17px;
    color: #555;
    margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-child strong {
    color: #1769e0;
}


/* ---------------------------------------------------------
   HEADINGS
   --------------------------------------------------------- */

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: #222;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}


/* ---------------------------------------------------------
   TABLES
   --------------------------------------------------------- */

.woocommerce-account table.shop_table {
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.woocommerce-account table.shop_table th {
    background: #f5f7fb;
    color: #333;
    font-weight: 700;
    padding: 15px;
    border: 0;
}

.woocommerce-account table.shop_table td {
    padding: 15px;
    border: 0;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.woocommerce-account table.shop_table tr:last-child td {
    border-bottom: 0;
}

.woocommerce-account table.shop_table tbody tr {
    transition: background .2s ease;
}

.woocommerce-account table.shop_table tbody tr:hover {
    background: #f9fbff;
}


/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.woocommerce-account .button,
.woocommerce-account button.button,
.woocommerce-account input.button {
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #1769e0, #4f8df7) !important;
    color: #fff !important;
    padding: 12px 22px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all .25s ease !important;
    box-shadow: 0 5px 15px rgba(23, 105, 224, .18);
}

.woocommerce-account .button:hover,
.woocommerce-account button.button:hover,
.woocommerce-account input.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 105, 224, .28);
}


/* ---------------------------------------------------------
   FORMS
   --------------------------------------------------------- */

.woocommerce-account form .form-row {
    margin-bottom: 18px;
}

.woocommerce-account form label {
    display: block;
    margin-bottom: 7px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.woocommerce-account form input.input-text,
.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="password"],
.woocommerce-account form input[type="tel"],
.woocommerce-account form select,
.woocommerce-account form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
    color: #333;
    outline: none;
    transition: all .2s ease;
}

.woocommerce-account form input:focus,
.woocommerce-account form select:focus,
.woocommerce-account form textarea:focus {
    border-color: #1769e0;
    box-shadow: 0 0 0 4px rgba(23, 105, 224, .08);
}


/* ---------------------------------------------------------
   NOTICES
   --------------------------------------------------------- */

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
    border: 0;
    border-radius: 12px;
    padding: 15px 18px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.woocommerce-account .woocommerce-message {
    background: #eefaf3;
    color: #176b3a;
}

.woocommerce-account .woocommerce-info {
    background: #eef5ff;
    color: #17549c;
}

.woocommerce-account .woocommerce-error {
    background: #fff0f0;
    color: #a32626;
}


/* ---------------------------------------------------------
   LOGIN / REGISTER
   --------------------------------------------------------- */

.woocommerce-account .u-columns {
    display: flex;
    gap: 30px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    flex: 1;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    border: 1px solid #e8e8e8 !important;
    border-radius: 16px !important;
    padding: 25px !important;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
}


/* ---------------------------------------------------------
   CHECKBOX
   --------------------------------------------------------- */

.woocommerce-account input[type="checkbox"] {
    accent-color: #1769e0;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .woocommerce-account .woocommerce {
        flex-direction: column;
        padding: 0 15px;
        margin: 25px auto;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        flex: none;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li {
        margin: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
        box-sizing: border-box;
        padding: 22px;
    }

    .woocommerce-account .u-columns {
        flex-direction: column;
    }
}


@media (max-width: 550px) {

    .woocommerce-account .woocommerce {
        margin: 15px auto;
        padding: 0 10px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        border-radius: 14px;
        padding: 8px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li a {
        padding: 11px 13px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 18px 15px;
        border-radius: 14px;
    }

    .woocommerce-account table.shop_table {
        font-size: 13px;
    }

    .woocommerce-account table.shop_table th,
    .woocommerce-account table.shop_table td {
        padding: 10px 7px;
    }

    .woocommerce-account .button,
    .woocommerce-account button.button,
    .woocommerce-account input.button {
        width: 100%;
        text-align: center;
    }
}





/* =========================================================
   BOOTSTRAP 5 CATEGORY SCROLL
========================================================= */

.dsc-category-scroll {
    height: 420px;
    max-height: 420px;

    scrollbar-width: none;
}

.dsc-category-scroll::-webkit-scrollbar {
    display: none;
}


/* Vertical navigation */

.dsc-category-vr-nav {
    width: 14px;
    height: 420px;
}

.dsc-vr-arrow {
    width: 14px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 9px;
    color: #6c757d;

    cursor: pointer;
}

.dsc-vr-arrow:hover {
    color: #212529;
}

.dsc-vr-arrow.disabled {
    opacity: .25;
    pointer-events: none;
}

.dsc-vr-track {
    width: 5px;
    cursor: pointer;
}

.dsc-vr-thumb {
    width: 5px;
    height: 50px;

    cursor: grab;
}


/* Category hover */

#dscCategoryList li a {
    color: #212529;
    transition: background-color .15s ease;
}

#dscCategoryList li a:hover {
    background-color: #f8f9fa;
}

#dscCategoryList li.active > a {
    background-color: #212529;
    color: #fff;
}

#dscCategoryList li.active .badge {
    background-color: rgba(255,255,255,.9) !important;
    color: #212529 !important;
}


/* Mobile */

@media (max-width: 767.98px) {

    .dsc-category-scroll,
    .dsc-category-vr-nav {
        height: 300px;
        max-height: 300px;
    }

}