/* ==========================================================================

   PersianShop Theme Main Stylesheet

   Exact modern colors, spacing, typography, and micro-interactions

   ========================================================================== */



/* Enable Cross-Document View Transitions (Smooth Page Navigation in Chrome/Edge) */

@view-transition {

    navigation: auto;

}



:root {

    --dk-red: #ef4056;

    --dk-red-dark: #e6123d;

    --dk-red-light: #fef0f2;

    --dk-green: #029a49;

    --dk-green-light: #e8f8f0;

    --dk-blue: #19bfd3;

    

    --dk-text-title: #0c0c0c;

    --dk-text-body: #3f4064;

    --dk-text-muted: #767790;

    --dk-text-hint: #81858b;

    --dk-text-light: #a1a3a8;

    

    --dk-bg-main: #f0f0f1;

    --dk-bg-card: #ffffff;

    --dk-border: #f1f2f4;

    --dk-border-dark: #e0e0e2;



    --ps-primary: var(--dk-red, #ef394e);

    --ps-primary-hover: var(--dk-red-dark, #d82e42);

    --ps-secondary: var(--dk-blue, #19bfd3);

    --ps-success: var(--dk-green, #029a49);

    --ps-accent-amber: #f59e0b;

    --ps-warning: #f59e0b;

    --ps-text-title: var(--dk-text-title, #0f172a);

    --ps-text-body: var(--dk-text-body, #334155);

    --ps-text-muted: var(--dk-text-muted, #64748b);

    --ps-border: var(--dk-border, #e2e8f0);

    --ps-bg-light: #f8fafc;

    --ps-card-bg: var(--dk-bg-card, #ffffff);

    --ps-btn-primary: var(--dk-btn-primary, var(--dk-red, #ef394e));

    

    --dk-radius-xs: 4px;

    --dk-radius-sm: 8px;

    --dk-radius-md: 12px;

    --dk-radius-lg: 16px;

    --dk-radius-full: 9999px;

    

    --dk-font: "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    --dk-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

    --dk-shadow-md: 0 4px 12px 0 rgba(0, 0, 0, 0.08);

    --dk-shadow-lg: 0 10px 24px 0 rgba(0, 0, 0, 0.12);

}



/* Global Reset & Base */

*, *::before, *::after {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



body {

    direction: rtl;

    text-align: right;

    font-family: var(--dk-font);

    font-size: 14px;

    line-height: 1.6;

    color: var(--dk-text-body);

    background-color: #fff;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    font-feature-settings: "ss01";

}



a {

    color: inherit;

    text-decoration: none;

    transition: all 0.2s ease;

}



img {

    max-width: 100%;

    height: auto;

    display: block;

}



button, input {

    font-family: inherit;

}



.dk-container {

    width: 100%;

    max-width: 1336px;

    margin: 0 auto;

    padding: 0 16px;

}



/* ==========================================================================

   Header Component

   ========================================================================== */

.dk-header {

    background: #fff;

    border-bottom: 1px solid var(--dk-border-dark);

    position: sticky;

    top: 0;

    z-index: 1000;

}



.dk-top-banner {

    background: #111;

    color: #fff;

    text-align: center;

    padding: 8px 16px;

    font-size: 12px;

    font-weight: 500;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

}



.dk-top-banner a {

    color: #ffde59;

    font-weight: 700;

    text-decoration: underline;

}



.dk-header-main {

    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 76px;

    gap: 24px;

}



.dk-header-right {

    display: flex;

    align-items: center;

    gap: 20px;

    flex-shrink: 0;

}



.dk-logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}



.dk-logo svg, .dk-logo img {

    height: 32px;

    width: auto;

}



.dk-logo-text {

    font-size: 26px;

    font-weight: 900;

    color: var(--dk-red);

    letter-spacing: -0.5px;

    display: flex;

    align-items: center;

    gap: 4px;

}



.dk-logo-smile {

    width: 20px;

    height: 8px;

    background: var(--dk-red);

    border-radius: 0 0 10px 10px;

    display: inline-block;

}



.dk-search-box {

    flex: 1;

    max-width: 620px;

    position: relative;

}



.dk-search-box form {

    display: flex;

    position: relative;

    width: 100%;

}



.dk-search-input {

    width: 100%;

    max-width: 100%;

    height: 44px;

    background-color: var(--dk-bg-main);

    border: 1px solid transparent;

    border-radius: var(--dk-radius-sm);

    padding: 0 44px 0 16px;

    font-size: 13px;

    color: var(--dk-text-title);

    outline: none;

    transition: all 0.2s ease;

    box-sizing: border-box !important;

    -webkit-appearance: none;

    -moz-appearance: none;

    appearance: none;

}



.dk-search-input:focus {

    background-color: #fff;

    border-color: var(--dk-border-dark);

    box-shadow: var(--dk-shadow-sm);

}



.dk-search-icon {

    position: absolute;

    right: 14px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--dk-text-hint);

    pointer-events: none;

    display: flex;

    align-items: center;

}



.dk-header-actions {

    display: flex;

    align-items: center;

    gap: 16px;

}



.dk-auth-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    border: 1px solid var(--dk-border-dark);

    border-radius: var(--dk-radius-sm);

    font-size: 12px;

    font-weight: 700;

    color: var(--dk-text-title);

    background: #fff;

    transition: all 0.2s ease;

}



.dk-auth-btn:hover {

    background: #fdfdfd;

    border-color: #c4c4c8;

    color: var(--dk-text-title);

}



.dk-divider-v {

    width: 1px;

    height: 24px;

    background-color: var(--dk-border-dark);

}



.dk-cart-btn {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    color: var(--dk-text-title);

    border-radius: var(--dk-radius-sm);

    transition: background 0.2s;

}



.dk-cart-btn:hover {

    background: var(--dk-bg-main);

}



.dk-cart-badge {

    position: absolute;

    top: 4px;

    left: 4px;

    background: var(--dk-red);

    color: #fff;

    font-size: 11px;

    font-weight: 700;

    min-width: 18px;

    height: 18px;

    border-radius: var(--dk-radius-full);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 4px;

    border: 2px solid #fff;

}



/* Sub-Navigation Row */

.dk-header-nav {

    border-top: 1px solid var(--dk-border);

    display: flex;

    align-items: center;

    justify-content: space-between;

    height: 42px;

    font-size: 13px;

    position: relative;

}



.dk-nav-list {

    display: flex;

    align-items: center;

    list-style: none;

    gap: 20px;

    margin: 0;

    padding: 0;

    flex-wrap: nowrap;

}



.dk-nav-item {

    display: inline-flex;

    align-items: center;

    white-space: nowrap;

    list-style: none;

}



.dk-nav-category-trigger {

    font-weight: 700;

    color: var(--dk-text-title);

    display: flex;

    align-items: center;

    gap: 8px;

    padding-left: 12px;

    border-left: 1px solid var(--dk-border-dark);

    cursor: pointer;

}



.dk-nav-item a {

    display: flex;

    align-items: center;

    gap: 6px;

    color: var(--dk-text-muted);

    font-weight: 500;

    padding: 10px 0;

    position: relative;

}



.dk-nav-item a:hover {

    color: var(--dk-text-title);

}



.dk-nav-item.highlight a {

    color: var(--dk-text-title);

    font-weight: 600;

}



.dk-nav-item.highlight a svg {

    color: var(--dk-red);

}



/* Location Selector Header Button */

.dk-location-btn {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    padding: 5px 13px;

    height: 32px;

    border-radius: 9999px;

    font-size: 12px;

    font-family: inherit;

    cursor: pointer;

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    color: #334155;

    outline: none;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);

    flex-shrink: 0;

    white-space: nowrap;

    user-select: none;

    line-height: 1;

}



.dk-location-btn:hover {

    background: #ffffff;

    border-color: #cbd5e1;

    color: #0f172a;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);

    transform: translateY(-1px);

}



.dk-location-btn:active {

    transform: translateY(0);

}



.dk-location-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: #f59e0b; /* Amber gold pin */

    flex-shrink: 0;

    line-height: 0;

}



.dk-location-icon svg {

    display: block;

}



.dk-location-text {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    white-space: nowrap;

    line-height: 1.2;

}



.dk-location-text .dk-loc-prefix {

    color: #64748b;

    font-weight: 500;

    font-size: 11.5px;

    letter-spacing: -0.2px;

}



.dk-location-text .dk-loc-city {

    color: #0f172a;

    font-weight: 700;

    font-size: 12px;

    max-width: 150px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    display: inline-block;

    vertical-align: middle;

}



.dk-location-chevron {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: #94a3b8;

    flex-shrink: 0;

    line-height: 0;

    transition: transform 0.2s ease, color 0.2s ease;

    margin-right: 1px;

}



.dk-location-btn:hover .dk-location-chevron {

    color: #ef394e;

    transform: translateX(-2px);

}



/* Mobile Drawer Location Selector */

.dk-drawer-location-wrap {

    padding: 12px 16px;

    background: #f8fafc;

    border-bottom: 1px solid #edf2f7;

}



.dk-drawer-location-btn {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 10px 14px;

    cursor: pointer;

    font-family: inherit;

    font-size: 12.5px;

    color: #334155;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);

    transition: all 0.2s ease;

}



.dk-drawer-location-btn:hover,

.dk-drawer-location-btn:active {

    border-color: #cbd5e1;

    background: #ffffff;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

}



.dk-drawer-location-btn .dk-location-text {

    flex: 1;

    text-align: right;

    display: flex;

    align-items: center;

    gap: 5px;

}





/* ==========================================================================

   Digikala Story Bar

   ========================================================================== */

.dk-story-section {

    padding: 20px 0 10px;

    margin: 0 auto;

    position: relative;

    overflow: hidden;

}



.dk-story-carousel {

    display: flex;

    align-items: flex-start;

    justify-content: center;

    gap: 24px;

    overflow-x: auto;

    padding: 6px 4px 10px;

    scrollbar-width: none; /* Firefox */

    -ms-overflow-style: none;

}



.dk-story-carousel::-webkit-scrollbar {

    display: none; /* Chrome, Safari, Opera */

}



@media (max-width: 992px) {

    .dk-story-section {

        overflow: visible !important;

    }

    .dk-story-carousel {

        justify-content: flex-start !important;

        padding-left: 16px !important;

        padding-right: 16px !important;

        overflow-x: auto !important;

        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch !important;

        touch-action: pan-x !important;

        width: 100% !important;

    }

}



.dk-story-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;

    cursor: pointer;

    text-align: center;

    width: 86px;

    text-decoration: none;

    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);

}



.dk-story-avatar {

    width: 76px;

    height: 76px;

    border-radius: 50%;

    padding: 2.5px;

    background: linear-gradient(135deg, #ef394e 0%, #ff7643 50%, #bc36e7 100%);

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.18);

}



.dk-story-item:hover .dk-story-avatar {

    transform: scale(1.08) translateY(-2px);

    box-shadow: 0 8px 20px rgba(239, 57, 78, 0.3);

}



.dk-story-inner {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    border: 2px solid #ffffff !important;

    overflow: hidden;

    background: #ffffff !important;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-story-inner img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 5px;

    box-sizing: border-box;

    display: block;

    border-radius: 50%;

    background: #ffffff;

}



.dk-story-vector-icon {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: transform 0.25s ease;

}



.dk-story-item:hover .dk-story-vector-icon svg {

    transform: scale(1.1);

}



.dk-story-vector-icon.dk-sv-mobile {

    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);

    color: #7c3aed;

}



.dk-story-vector-icon.dk-sv-fire {

    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);

    color: #ef4444;

}



.dk-story-vector-icon.dk-sv-laptop {

    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);

    color: #0284c7;

}



.dk-story-vector-icon.dk-sv-supermarket {

    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);

    color: #16a34a;

}



.dk-story-vector-icon.dk-sv-fashion {

    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);

    color: #db2777;

}



.dk-story-vector-icon.dk-sv-home {

    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);

    color: #ea580c;

}



.dk-story-vector-icon.dk-sv-watch {

    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);

    color: #0d9488;

}



.dk-story-vector-icon.dk-sv-headphone {

    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);

    color: #9333ea;

}



.dk-story-vector-icon.dk-sv-generic {

    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);

    color: #475569;

}



.dk-story-title {

    font-size: 11.5px;

    font-weight: 600;

    color: #334155;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    width: 100%;

    line-height: 1.3;

    transition: color 0.2s ease;

}



.dk-story-item:hover .dk-story-title {

    color: #ef394e;

}



/* User-Provided Photo Match: Individual Colored Category Rings */

.dk-colored-rings .dk-story-carousel {

    display: flex;

    justify-content: center;

    gap: 18px;

    padding: 16px 0;

    overflow-x: auto;

    scrollbar-width: none;

}

.dk-colored-rings .dk-story-carousel::-webkit-scrollbar {

    display: none;

}

@media (max-width: 992px) {

    .dk-story-section .dk-container {

        padding: 0 !important;

        max-width: 100% !important;

        overflow: visible !important;

    }

    .dk-colored-rings .dk-story-carousel {

        justify-content: flex-start !important;

        padding: 12px 16px 16px !important;

        gap: 16px !important;

        overflow-x: auto !important;

        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch !important;

        touch-action: pan-x !important;

        width: 100% !important;

    }

    .dk-story-item {

        flex: 0 0 76px !important;

        width: 76px !important;

    }

    .dk-story-avatar {

        width: 68px !important;

        height: 68px !important;

    }

}



.dk-story-item.ring-purple .dk-story-avatar {

    background: #7048e8;

    box-shadow: 0 4px 14px rgba(112, 72, 232, 0.22);

}

.dk-story-item.ring-purple .dk-story-inner {

    border: 2px solid #7048e8;

    background: #f3f0ff;

}

.dk-story-item.ring-purple .dk-story-vector-icon {

    background: #f3f0ff;

    color: #7048e8;

}



.dk-story-item.ring-blue .dk-story-avatar {

    background: #1971c2;

    box-shadow: 0 4px 14px rgba(25, 113, 194, 0.22);

}

.dk-story-item.ring-blue .dk-story-inner {

    border: 2px solid #1971c2;

    background: #e7f5ff;

}

.dk-story-item.ring-blue .dk-story-vector-icon {

    background: #e7f5ff;

    color: #1971c2;

}



.dk-story-item.ring-indigo .dk-story-avatar {

    background: #3b5bdb;

    box-shadow: 0 4px 14px rgba(59, 91, 219, 0.22);

}

.dk-story-item.ring-indigo .dk-story-inner {

    border: 2px solid #3b5bdb;

    background: #edf2ff;

}

.dk-story-item.ring-indigo .dk-story-vector-icon {

    background: #edf2ff;

    color: #3b5bdb;

}



.dk-story-item.ring-teal .dk-story-avatar {

    background: #0ca678;

    box-shadow: 0 4px 14px rgba(12, 166, 120, 0.22);

}

.dk-story-item.ring-teal .dk-story-inner {

    border: 2px solid #0ca678;

    background: #e6fcf5;

}

.dk-story-item.ring-teal .dk-story-vector-icon {

    background: #e6fcf5;

    color: #0ca678;

}



.dk-story-item.ring-magenta .dk-story-avatar {

    background: #ae3ec9;

    box-shadow: 0 4px 14px rgba(174, 62, 201, 0.22);

}

.dk-story-item.ring-magenta .dk-story-inner {

    border: 2px solid #ae3ec9;

    background: #f8f0fc;

}

.dk-story-item.ring-magenta .dk-story-vector-icon {

    background: #f8f0fc;

    color: #ae3ec9;

}



.dk-story-item.ring-orange .dk-story-avatar {

    background: #fa5252;

    box-shadow: 0 4px 14px rgba(250, 82, 82, 0.22);

}

.dk-story-item.ring-orange .dk-story-inner {

    border: 2px solid #fa5252;

    background: #fff5f5;

}

.dk-story-item.ring-orange .dk-story-vector-icon {

    background: #fff5f5;

    color: #fa5252;

}



.dk-story-item.ring-deepblue .dk-story-avatar {

    background: #4263eb;

    box-shadow: 0 4px 14px rgba(66, 99, 235, 0.22);

}

.dk-story-item.ring-deepblue .dk-story-inner {

    border: 2px solid #4263eb;

    background: #edf2ff;

}

.dk-story-item.ring-deepblue .dk-story-vector-icon {

    background: #edf2ff;

    color: #4263eb;

}



/* ==========================================================================

   Digikala Main Hero Slider

   ========================================================================== */

.dk-hero-slider {

    margin: 16px 0;

    border-radius: var(--dk-radius-lg);

    overflow: hidden;

    position: relative;

}



.dk-hero-slider .swiper-slide {

    height: 400px;

    position: relative;

}



@media (max-width: 768px) {

    .dk-hero-slider .swiper-slide {

        height: 220px;

    }

}



.dk-hero-slider .swiper-slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: var(--dk-radius-lg);

}



.dk-hero-slider .swiper-button-next,

.dk-hero-slider .swiper-button-prev {

    width: 44px;

    height: 44px;

    background: rgba(255, 255, 255, 0.85);

    border-radius: 50%;

    box-shadow: var(--dk-shadow-md);

    color: var(--dk-text-title);

    transition: all 0.2s;

}



.dk-hero-slider .swiper-button-next:after,

.dk-hero-slider .swiper-button-prev:after {

    font-size: 16px;

    font-weight: bold;

}



.dk-hero-slider .swiper-button-next:hover,

.dk-hero-slider .swiper-button-prev:hover {

    background: #fff;

    transform: scale(1.08);

}



.dk-hero-slider .swiper-pagination-bullet {

    background: rgba(255, 255, 255, 0.7);

    opacity: 1;

    width: 7px;

    height: 7px;

    transition: all 0.3s ease;

}



.dk-hero-slider .swiper-pagination-bullet-active {

    width: 22px;

    border-radius: 4px;

    background: #fff;

}



/* ==========================================================================

   Digikala 8 Fast-Access Services

   ========================================================================== */

.dk-services-grid {

    display: flex;

    align-items: center;

    justify-content: space-around;

    padding: 24px 0;

    gap: 12px;

    flex-wrap: wrap;

}



.dk-service-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    text-align: center;

    width: 90px;

    cursor: pointer;

    transition: transform 0.2s;

}



.dk-service-item:hover {

    transform: translateY(-3px);

}



.dk-service-icon {

    width: 54px;

    height: 54px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}



.dk-service-icon img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 2px;

}



.dk-service-title {

    font-size: 11px;

    font-weight: 600;

    color: var(--dk-text-title);

    white-space: nowrap;

}



@media (max-width: 768px) {

    .dk-services-grid {

        display: grid !important;

        grid-template-columns: repeat(4, 1fr) !important;

        gap: 16px 6px !important;

        padding: 14px 4px !important;

    }

    .dk-service-item {

        width: 100% !important;

        gap: 6px !important;

    }

    .dk-service-icon {

        width: 48px !important;

        height: 48px !important;

        margin: 0 auto !important;

    }

    .dk-service-icon img {

        width: 100% !important;

        height: 100% !important;

        object-fit: contain !important;

    }

    .dk-service-title {

        font-size: 11px !important;

        line-height: 1.25 !important;

        text-align: center !important;

        white-space: normal !important;

    }

}



/* ==========================================================================

   Incredible Offers Carousel (پیشنهاد شگفت‌انگیز)

   ========================================================================== */

.dk-incredible-box {

    background: linear-gradient(260deg, #ef4056 0%, #e6123d 100%);

    border-radius: var(--dk-radius-lg);

    padding: 20px 20px 20px 10px;

    margin: 30px 0;

    position: relative;

    overflow: hidden;

}



.dk-incredible-inner {

    display: flex;

    align-items: stretch;

    gap: 10px;

}



.dk-incredible-banner-slide {

    width: 170px;

    flex-shrink: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: #fff;

    padding: 10px;

}



.dk-incredible-title {

    font-size: 20px;

    font-weight: 800;

    line-height: 1.3;

    margin-bottom: 12px;

    text-align: center;

}



.dk-incredible-icon {

    width: 90px;

    height: 90px;

    margin-bottom: 14px;

}



.dk-countdown-timer {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-bottom: 16px;

    direction: ltr;

}



.dk-countdown-box {

    background: #fff;

    color: var(--dk-text-title);

    font-size: 14px;

    font-weight: 700;

    width: 32px;

    height: 32px;

    border-radius: var(--dk-radius-xs);

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-countdown-colon {

    color: #fff;

    font-weight: 800;

}



.dk-incredible-link {

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    gap: 4px;

    transition: opacity 0.2s;

}



.dk-incredible-link:hover {

    opacity: 0.85;

}



.dk-incredible-slider-wrap {

    flex: 1;

    overflow: hidden;

    position: relative;

}



.dk-incredible-slider .swiper-slide {

    width: 190px;

    height: auto;

}



/* Product Card - Digikala Exact Style */

.dk-product-card {

    background: #fff;

    border-radius: var(--dk-radius-sm);

    padding: 14px;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: box-shadow 0.2s ease, transform 0.2s ease;

    border: 1px solid var(--dk-border);

}



.dk-product-card:hover {

    box-shadow: var(--dk-shadow-md);

}



.dk-product-thumb {

    width: 100%;

    height: 160px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

    position: relative;

    overflow: hidden;

}



.dk-product-thumb img {

    max-height: 150px;

    width: auto;

    object-fit: contain;

    transition: transform 0.3s ease;

}



.dk-product-card:hover .dk-product-thumb img {

    transform: scale(1.05);

}



.dk-product-title {

    font-size: 12px;

    font-weight: 600;

    color: var(--dk-text-body);

    line-height: 1.6;

    height: 40px;

    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    margin-bottom: 12px;

}



.dk-product-price-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 4px;

}



.dk-discount-badge {

    background: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: var(--dk-radius-full);

}



.dk-price-current {

    font-size: 15px;

    font-weight: 800;

    color: var(--dk-text-title);

    display: flex;

    align-items: baseline;

    gap: 4px;

}



.dk-price-currency {

    font-size: 10px;

    font-weight: 500;

    color: var(--dk-text-muted);

}



.dk-price-old {

    font-size: 12px;

    color: var(--dk-text-light);

    text-decoration: line-through;

    text-align: left;

    height: 18px;

}



/* ==========================================================================

   4-Promo Banners Grid (بنرهای ۴ تایی)

   ========================================================================== */

.dk-banners-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

    margin: 28px 0;

}



@media (max-width: 992px) {

    .dk-banners-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 576px) {

    .dk-banners-grid {

        grid-template-columns: 1fr;

    }

}



.dk-banner-card {

    border-radius: var(--dk-radius-lg);

    overflow: hidden;

    display: block;

    position: relative;

    box-shadow: var(--dk-shadow-sm);

    transition: transform 0.25s ease, box-shadow 0.25s ease;

}



.dk-banner-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--dk-shadow-md);

}



.dk-banner-card img {

    width: 100%;

    height: auto;

    object-fit: cover;

    display: block;

}



/* ==========================================================================

   Category Circles Grid (دسته‌بندی‌های وندارا)

   ========================================================================== */

.dk-categories-section {

    margin: 40px 0;

}



.dk-section-title {

    text-align: center;

    font-size: 22px;

    font-weight: 800;

    color: var(--dk-text-title);

    margin-bottom: 28px;

    position: relative;

}



.dk-categories-grid {

    display: grid;

    grid-template-columns: repeat(8, 1fr);

    gap: 20px;

}



@media (max-width: 1100px) {

    .dk-categories-grid {

        grid-template-columns: repeat(4, 1fr);

    }

}



@media (max-width: 576px) {

    .dk-categories-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



.dk-category-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

    text-align: center;

    cursor: pointer;

    transition: transform 0.2s;

}



.dk-category-item:hover {

    transform: translateY(-4px);

}



.dk-category-circle {

    width: 100px;

    height: 100px;

    border-radius: 50%;

    background: #fdf1f2;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    box-shadow: var(--dk-shadow-sm);

    transition: all 0.2s;

}



.dk-category-item:hover .dk-category-circle {

    box-shadow: var(--dk-shadow-md);

}



.dk-category-circle img {

    width: 70px;

    height: 70px;

    object-fit: contain;

}



.dk-category-name {

    font-size: 13px;

    font-weight: 600;

    color: var(--dk-text-title);

}



/* User-Provided Photo Match: Exclusive Digital Categories Section */

.dk-categories-section.dk-cat-exclusive {

    margin: 48px 0;

    text-align: center;

}



.dk-categories-section.dk-cat-exclusive .dk-cat-header-wrap {

    margin-bottom: 28px;

    position: relative;

    display: inline-block;

}



.dk-categories-section.dk-cat-exclusive .dk-section-title {

    font-size: 22px;

    font-weight: 800;

    color: #0f172a;

    margin: 0;

    letter-spacing: -0.3px;

    position: relative;

}



.dk-categories-section.dk-cat-exclusive .dk-section-title::after {

    content: "";

    display: block;

    width: 64px;

    height: 4px;

    background: #ef394e;

    border-radius: 999px;

    margin: 10px auto 0;

}



.dk-categories-section.dk-cat-exclusive .dk-categories-grid {

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 18px;

}



@media (max-width: 991px) {

    .dk-categories-section.dk-cat-exclusive .dk-categories-grid {

        grid-template-columns: repeat(3, 1fr);

        gap: 14px;

    }

}



@media (max-width: 768px) {

    .dk-categories-section.dk-cat-exclusive .dk-categories-grid {

        grid-template-columns: repeat(3, 1fr) !important;

        gap: 12px 8px !important;

    }

    .dk-categories-section.dk-cat-exclusive .dk-category-item {

        padding: 12px 6px 10px !important;

        gap: 8px !important;

        border-radius: 16px !important;

    }

    .dk-categories-section.dk-cat-exclusive .dk-category-circle {

        width: 68px !important;

        height: 68px !important;

        border: 2px solid #ffffff !important;

        border-radius: 50% !important;

        overflow: hidden !important;

        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;

    }

    .dk-categories-section.dk-cat-exclusive .dk-category-circle img {

        width: 100% !important;

        height: 100% !important;

        max-width: 100% !important;

        max-height: 100% !important;

        border-radius: 50% !important;

        object-fit: cover !important;

        display: block !important;

    }

    .dk-categories-section.dk-cat-exclusive .dk-category-name {

        font-size: 11.5px !important;

    }

}



.dk-categories-section.dk-cat-exclusive .dk-category-item {

    background: #fdfbf9;

    border: 1px solid #f1ece7;

    border-radius: 20px;

    padding: 22px 14px 18px;

    text-decoration: none;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);

    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

}



.dk-categories-section.dk-cat-exclusive .dk-category-item:hover {

    transform: translateY(-6px);

    background: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 16px 32px rgba(239, 57, 78, 0.12);

}



.dk-categories-section.dk-cat-exclusive .dk-category-circle {

    width: 88px;

    height: 88px;

    border-radius: 50%;

    background: #f8fafc;

    border: 3px solid #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);

    overflow: hidden;

    position: relative;

    transition: all 0.25s ease;

}



.dk-categories-section.dk-cat-exclusive .dk-category-item:hover .dk-category-circle {

    transform: scale(1.08);

    border-color: #ef394e;

    box-shadow: 0 8px 20px rgba(239, 57, 78, 0.22);

}



.dk-categories-section.dk-cat-exclusive .dk-category-circle img {

    width: 100%;

    height: 100%;

    max-width: 100%;

    max-height: 100%;

    border-radius: 50%;

    object-fit: cover;

    display: block;

    transition: transform 0.3s ease;

}



.dk-categories-section.dk-cat-exclusive .dk-category-name {

    font-size: 14px;

    font-weight: 700;

    color: #1e293b;

    transition: color 0.15s;

}



.dk-categories-section.dk-cat-exclusive .dk-category-item:hover .dk-category-name {

    color: #ef394e;

}



/* ==========================================================================

   Supermarket Fresh Box (شگفت‌انگیز سوپرمارکتی)

   ========================================================================== */

/* ==========================================================================

   Supermarket Fresh Box (شگفت‌انگیز سوپرمارکتی وندارا)

   ========================================================================== */

.dk-supermarket-box {

    background: #f0fdf4;

    border: 1px solid #bbf7d0;

    border-radius: var(--dk-radius-lg);

    padding: 24px;

    margin: 36px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

    flex-wrap: wrap;

}



.dk-supermarket-box.dk-supermarket-fresh-shelf {

    background: linear-gradient(135deg, #029a49 0%, #017838 100%);

    border: none;

    border-radius: 20px;

    padding: 16px 24px;

    margin: 28px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    box-shadow: 0 10px 25px rgba(2, 154, 73, 0.22);

    position: relative;

    overflow: hidden;

}



.dk-supermarket-fresh-shelf .dk-supermarket-lead {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 4px;

    flex-shrink: 0;

    min-width: 170px;

}



.dk-supermarket-fresh-shelf .dk-supermarket-badge {

    background: rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(4px);

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.35);

    padding: 6px 14px;

    border-radius: 24px;

    font-size: 13.5px;

    font-weight: 800;

    display: inline-flex;

    align-items: center;

    gap: 8px;

}



.dk-supermarket-fresh-shelf .dk-supermarket-text {

    font-size: 12.5px;

    font-weight: 600;

    color: #e2fbe8;

    margin-right: 4px;

}



.dk-supermarket-products-track {

    display: flex;

    align-items: center;

    gap: 14px;

    flex: 1;

    overflow-x: auto;

    scrollbar-width: none;

    padding: 4px 6px;

    justify-content: center;

}



.dk-supermarket-products-track::-webkit-scrollbar {

    display: none;

}



.dk-fresh-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-decoration: none;

    flex-shrink: 0;

    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);

}



.dk-fresh-item:hover {

    transform: translateY(-4px);

}



.dk-fresh-thumb-wrap {

    position: relative;

    width: 68px;

    height: 68px;

    border-radius: 50%;

    background: #ffffff;

    padding: 6px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);

}



.dk-fresh-thumb-wrap img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    border-radius: 50%;

}



.dk-fresh-badge {

    position: absolute;

    bottom: -3px;

    right: -2px;

    background: #029a49;

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    padding: 2px 7px;

    border-radius: 12px;

    border: 2px solid #ffffff;

    line-height: 1.2;

}



.dk-fresh-name {

    margin-top: 6px;

    font-size: 11px;

    font-weight: 600;

    color: #ffffff;

    max-width: 76px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    text-align: center;

}



.dk-supermarket-fresh-shelf .dk-supermarket-btn {

    background: #ffffff;

    color: #02833e;

    padding: 10px 18px;

    border-radius: 24px;

    font-size: 13px;

    font-weight: 800;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    flex-shrink: 0;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transition: all 0.2s;

    text-decoration: none;

}



.dk-supermarket-fresh-shelf .dk-supermarket-btn:hover {

    background: #eefcf3;

    color: #016831;

    transform: translateX(-3px);

}



/* Fast Services Vector Circle Badges */

.dk-service-vector {

    width: 52px;

    height: 52px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 8px auto;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);

}



.dk-service-item:hover .dk-service-vector {

    transform: translateY(-4px) scale(1.06);

}



/* 3D Visual Categories Circles */

.dk-category-circle {

    width: 90px;

    height: 90px;

    border-radius: 50%;

    background: #f8fafc;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 10px auto;

    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s;

    padding: 8px;

}



.dk-category-circle img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

}



.dk-category-item:hover .dk-category-circle {

    transform: translateY(-5px) scale(1.05);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

}



/* Brand Logos in Carousel */

.ps-brand-logo-wrap img {

    max-width: 90px;

    max-height: 44px;

    object-fit: contain;

    filter: grayscale(100%);

    opacity: 0.75;

    transition: all 0.25s ease;

}



.ps-brand-card:hover .ps-brand-logo-wrap img {

    filter: grayscale(0%);

    opacity: 1;

    transform: scale(1.08);

}



/* ==========================================================================

   Digikala Footer Component

   ========================================================================== */

.dk-footer {

    background: #fff;

    border-top: 1px solid var(--dk-border-dark);

    margin-top: 60px;

    padding-top: 32px;

    color: var(--dk-text-body);

}



.dk-footer-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 24px;

}



.dk-scroll-top-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 16px;

    border: 1px solid var(--dk-border-dark);

    border-radius: var(--dk-radius-sm);

    font-size: 12px;

    font-weight: 600;

    color: var(--dk-text-hint);

    cursor: pointer;

    background: #fff;

    transition: all 0.2s;

}



.dk-scroll-top-btn:hover {

    border-color: var(--ps-primary, #ef394e);

    color: var(--ps-primary, #ef394e);

}



.dk-footer-contact {

    display: flex;

    align-items: center;

    gap: 24px;

    font-size: 12px;

    color: var(--dk-text-muted);

    padding-bottom: 30px;

}



.dk-footer-features {

    display: flex;

    align-items: center;

    justify-content: space-around;

    padding: 30px 0;

    border-top: 1px solid var(--dk-border);

    border-bottom: 1px solid var(--dk-border);

    margin-bottom: 36px;

    flex-wrap: wrap;

    gap: 16px;

}



.dk-feature-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    text-align: center;

    color: var(--dk-text-title);

    font-size: 11px;

    font-weight: 600;

}



.dk-feature-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #81858b;

    margin: 0 auto;

}



.dk-feature-icon svg {

    width: 38px;

    height: 38px;

    max-width: 38px;

    max-height: 38px;

    stroke: currentColor;

    fill: none;

    display: block;

}



.dk-footer-columns {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    padding-bottom: 40px;

}



@media (max-width: 900px) {

    .dk-footer-columns {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 576px) {

    .dk-footer-columns {

        grid-template-columns: 1fr;

        gap: 24px;

    }

    .dk-footer-features {

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 18px;

        padding: 20px 0;

    }

    .dk-footer-contact {

        flex-direction: column;

        gap: 8px;

        text-align: center;

    }

}



.dk-footer-col-title {

    font-size: 14px;

    font-weight: 700;

    color: var(--dk-text-title);

    margin-bottom: 16px;

}



.dk-footer-col ul {

    list-style: none;

    margin: 0;

    padding: 0;

}



.dk-footer-col li {

    margin-bottom: 10px;

}



.dk-footer-col a {

    font-size: 12px;

    color: var(--dk-text-muted);

}



.dk-footer-col a:hover {

    color: var(--dk-red);

}



.dk-footer-bottom {

    background: var(--dk-bg-main);

    padding: 24px 0;

    text-align: center;

    font-size: 12px;

    color: var(--dk-text-hint);

    line-height: 1.8;

}



/* Incredible offers slide width & nav buttons */

.dk-incredible-swiper .swiper-slide {

    width: 185px !important;

    height: auto;

    flex-shrink: 0;

}



.dk-inc-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 36px;

    height: 36px;

    background: #fff;

    border-radius: 50%;

    box-shadow: var(--dk-shadow-md);

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 10;

    transition: all 0.2s;

}



.dk-inc-arrow:hover {

    background: #fdfdfd;

    transform: translateY(-50%) scale(1.1);

}



.dk-swiper-inc-prev {

    right: -10px;

}



.dk-swiper-inc-next {

    left: 10px;

}



.swiper-button-disabled {

    opacity: 0.35;

    cursor: not-allowed;

    pointer-events: none;

}



/* ==========================================================================

   Digikala Breadcrumbs

   ========================================================================== */

.dk-breadcrumb {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    font-size: 12px;

    color: var(--dk-text-hint);

    padding: 16px 0;

}



.dk-breadcrumb a:hover {

    color: var(--dk-red);

}



.dk-bc-sep {

    color: var(--dk-border-dark);

}



.dk-bc-current {

    color: var(--dk-text-muted);

    font-weight: 500;

}



.dk-divider-h {

    height: 1px;

    background: var(--dk-border);

    margin: 16px 0;

}



/* ==========================================================================

   PersianShop Single Product Page

   ========================================================================== */

.dk-product-page {

    padding-bottom: 60px;

}



.dk-product-main-grid {

    display: grid;

    grid-template-columns: 380px 1fr 320px;

    gap: 30px;

    align-items: start;

    background: #fff;

    border: 1px solid var(--dk-border);

    border-radius: var(--dk-radius-lg);

    padding: 24px;

    margin-bottom: 30px;

}



@media (max-width: 1200px) {

    .dk-product-main-grid {

        grid-template-columns: 340px 1fr;

    }

    .dk-product-buybox-col {

        grid-column: span 2;

    }

}



@media (max-width: 800px) {

    .dk-product-main-grid {

        grid-template-columns: 1fr;

    }

    .dk-product-buybox-col {

        grid-column: span 1;

    }

}



/* Gallery Column */

.dk-gallery-card {

    position: relative;

}



.dk-gallery-actions {

    position: absolute;

    top: 12px;

    right: 12px;

    display: flex;

    flex-direction: column;

    gap: 8px;

    z-index: 20;

}



.dk-action-icon-btn {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    border: 1px solid var(--dk-border);

    background: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--dk-text-hint);

    cursor: pointer;

    transition: all 0.2s;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);

}



.dk-action-icon-btn:hover {

    color: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    border-color: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    box-shadow: var(--dk-shadow-sm);

    transform: translateY(-1px);

}



.dk-gallery-main {

    width: 100%;

    height: 380px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 16px;

    position: relative;

    cursor: zoom-in;

    overflow: hidden;

    border-radius: 16px;

    border: 1px solid #f0f0f1;

    background: #fff;

    user-select: none;

}



.dk-gallery-main img {

    max-height: 340px;

    max-width: 90%;

    object-fit: contain;

    border-radius: var(--dk-radius-md);

    transition: transform 0.15s ease-out;

    transform-origin: center center;

    will-change: transform, transform-origin;

    pointer-events: none;

}



.dk-zoom-hint-badge {

    position: absolute;

    bottom: 12px;

    right: 12px;

    background: rgba(35, 37, 78, 0.75);

    backdrop-filter: blur(4px);

    color: #fff;

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 6px;

    opacity: 0;

    transform: translateY(6px);

    transition: all 0.25s ease;

    pointer-events: none;

    z-index: 10;

}



.dk-gallery-main:hover .dk-zoom-hint-badge {

    opacity: 1;

    transform: translateY(0);

}



.dk-gallery-thumbs-wrap {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    margin-top: 12px;

}



.dk-gallery-thumbs {

    display: flex !important;

    align-items: center !important;

    gap: 10px !important;

    overflow-x: auto !important;

    overflow-y: hidden !important;

    padding: 6px 4px !important;

    width: 100% !important;

    scrollbar-width: none !important;

    -ms-overflow-style: none !important;

    -webkit-overflow-scrolling: touch !important;

    cursor: grab;

    user-select: none;

    scroll-behavior: smooth;

}



.dk-gallery-thumbs.is-dragging {

    cursor: grabbing !important;

    scroll-behavior: auto !important;

}



.dk-gallery-thumbs::-webkit-scrollbar {

    display: none !important;

    width: 0 !important;

    height: 0 !important;

}



.dk-thumbs-nav-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 30px;

    height: 30px;

    border-radius: 50%;

    background: #ffffff;

    border: 1px solid #e0e0e2;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 6;

    transition: all 0.2s ease;

    color: #3f4064;

    opacity: 0;

    pointer-events: none;

}



.dk-gallery-thumbs-wrap:hover .dk-thumbs-nav-btn.is-visible {

    opacity: 1;

    pointer-events: auto;

}



.dk-thumbs-nav-btn:hover {

    background: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    color: #ffffff;

    border-color: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    box-shadow: 0 4px 12px rgba(var(--ps-btn-primary-rgb, var(--ps-primary-rgb, 239, 57, 78)), 0.35);

}



.dk-thumbs-prev { right: -12px; }

.dk-thumbs-next { left: -12px; }



.dk-thumb-item {

    width: 64px;

    height: 64px;

    border-radius: var(--dk-radius-sm);

    border: 1px solid var(--dk-border);

    padding: 4px;

    cursor: pointer;

    flex-shrink: 0;

    transition: all 0.2s;

}



.dk-thumb-item img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}



.dk-thumb-item.active, .dk-thumb-item:hover {

    border-color: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    box-shadow: 0 0 0 1px var(--ps-btn-primary, var(--ps-primary, #ef394e));

}



.dk-gallery-guarantees {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 24px;

    gap: 12px;

}



.dk-guarantee-pill {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 11px;

    font-weight: 600;

    color: var(--dk-text-title);

    background: var(--dk-bg-main);

    padding: 8px 12px;

    border-radius: var(--dk-radius-sm);

    flex: 1;

    justify-content: center;

}



/* Details Column */

.dk-single-title {

    font-size: 18px;

    font-weight: 700;

    color: var(--dk-text-title);

    line-height: 1.6;

    margin-bottom: 6px;

}



.dk-single-en-title {

    font-size: 12px;

    color: var(--dk-text-hint);

    margin-bottom: 14px;

    direction: ltr;

    text-align: right;

}



.dk-single-rating-bar {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    color: var(--dk-text-muted);

    flex-wrap: wrap;

    cursor: pointer;

    transition: opacity 0.15s ease;

}



.dk-single-rating-bar:hover {

    opacity: 0.85;

}



.dk-star-score {

    color: #f9bc00;

    font-weight: 700;

}



.dk-dot-sep {

    color: var(--dk-border-dark);

}



.dk-recommend-text {

    color: var(--dk-text-hint);

}



.dk-single-features-wrap {

    margin: 16px 0;

}



.dk-features-heading {

    font-size: 14px;

    font-weight: 700;

    color: var(--dk-text-title);

    margin-bottom: 12px;

}



.dk-features-list {

    list-style: none;

    margin: 0;

    padding: 0;

}



.dk-features-list li {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;

    color: var(--dk-text-body);

    margin-bottom: 8px;

}



.dk-feature-bullet {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--dk-border-dark);

    flex-shrink: 0;

}



.dk-return-notice-box {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    background: #fff8f8;

    border: 1px solid #ffd4d8;

    border-radius: var(--dk-radius-sm);

    padding: 12px 14px;

    font-size: 12px;

    color: #9c1c28;

    line-height: 1.6;

    margin-top: 20px;

}



/* Buy Box Column (Left in RTL) */

.dk-buy-box {

    background: #fdfdfd;

    border: 1px solid var(--dk-border-dark);

    border-radius: var(--dk-radius-lg);

    padding: 20px;

    box-shadow: var(--dk-shadow-sm);

}



.dk-buybox-heading {

    font-size: 15px;

    font-weight: 800;

    color: var(--dk-text-title);

    margin-bottom: 14px;

}



.dk-buybox-row {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 13px;

    color: var(--dk-text-body);

    margin-bottom: 12px;

}



.dk-seller-info strong {

    display: block;

    color: var(--dk-text-title);

    font-size: 13px;

}



.dk-seller-satisfaction {

    font-size: 11px;

    color: var(--dk-text-hint);

    display: flex;

    gap: 6px;

    margin-top: 2px;

}



.dk-buybox-price-wrap {

    margin: 20px 0 16px;

    text-align: left;

}



.dk-bb-old-row {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

    margin-bottom: 4px;

}



.dk-bb-old-price {

    font-size: 13px;

    color: var(--dk-text-light);

    text-decoration: line-through;

}



.dk-bb-current-row {

    display: flex;

    align-items: baseline;

    justify-content: flex-end;

    gap: 6px;

}



.dk-bb-amount {

    font-size: 22px;

    font-weight: 900;

    color: var(--dk-text-title);

}



.dk-bb-currency {

    font-size: 12px;

    font-weight: 600;

    color: var(--dk-text-muted);

}



.dk-btn-add-to-cart {

    width: 100%;

    height: 52px;

    background: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    background-image: linear-gradient(135deg, var(--ps-btn-primary, var(--ps-primary, #ef394e)) 0%, var(--ps-primary-hover, #d82b40) 100%);

    color: #fff !important;

    border: none;

    border-radius: 12px;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: -0.2px;

    cursor: pointer;

    box-shadow: 0 6px 20px rgba(var(--ps-primary-rgb, 239, 57, 78), 0.32);

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    position: relative;

    overflow: hidden;

    user-select: none;

    box-sizing: border-box;

}



.dk-btn-add-to-cart::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 50%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);

    transform: skewX(-20deg);

    transition: 0.6s ease;

    pointer-events: none;

}



.dk-btn-add-to-cart:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 24px rgba(var(--ps-primary-rgb, 239, 57, 78), 0.44);

    background: var(--ps-primary-hover, #d82b40);

    background-image: linear-gradient(135deg, var(--ps-primary-hover, #d82b40) 0%, var(--ps-btn-primary, var(--ps-primary, #ef394e)) 100%);

}



.dk-btn-add-to-cart:hover::before {

    left: 150%;

}



.dk-btn-add-to-cart svg {

    flex-shrink: 0;

    transition: transform 0.25s ease;

}



.dk-btn-add-to-cart:hover svg {

    transform: scale(1.15) translateX(-2px);

}



.dk-btn-add-to-cart:active {

    transform: translateY(0) scale(0.985);

    box-shadow: 0 3px 10px rgba(var(--ps-primary-rgb, 239, 57, 78), 0.3);

}



/* Tabs & Specifications */

.dk-product-tabs-section {

    background: #fff;

    border: 1px solid var(--dk-border);

    border-radius: var(--dk-radius-lg);

    padding: 24px;

}



.dk-tabs-nav {

    display: flex;

    gap: 24px;

    border-bottom: 1px solid var(--dk-border);

    margin-bottom: 24px;

}



.dk-tab-btn {

    background: none;

    border: none;

    padding: 12px 4px;

    font-size: 14px;

    font-weight: 600;

    color: var(--dk-text-hint);

    cursor: pointer;

    position: relative;

    transition: color 0.2s;

}



.dk-tab-btn.active {

    color: var(--dk-red);

    font-weight: 700;

}



.dk-tab-btn.active::after {

    content: "";

    position: absolute;

    bottom: -1px;

    right: 0;

    left: 0;

    height: 3px;

    background: var(--dk-red);

    border-radius: 3px 3px 0 0;

}



.dk-tab-content {

    display: none;

}



.dk-tab-content.active {

    display: block;

}



.dk-tab-title {

    font-size: 16px;

    font-weight: 800;

    color: var(--dk-text-title);

    margin-bottom: 18px;

}



.dk-specs-table {

    border: 1px solid var(--dk-border);

    border-radius: var(--dk-radius-sm);

    overflow: hidden;

}



.dk-spec-row {

    display: flex;

    border-bottom: 1px solid var(--dk-border);

}



.dk-spec-row:last-child {

    border-bottom: none;

}



.dk-spec-label {

    width: 220px;

    background: #fafafb;

    padding: 12px 18px;

    font-size: 13px;

    font-weight: 600;

    color: var(--dk-text-muted);

    border-left: 1px solid var(--dk-border);

    flex-shrink: 0;

}



.dk-spec-value {

    padding: 12px 18px;

    font-size: 13px;

    color: var(--dk-text-title);

    flex: 1;

}



.dk-desc-body {

    font-size: 14px;

    line-height: 2;

    color: var(--dk-text-body);

}



/* ==========================================================================

   PersianShop Shop / Archive Layout

   ========================================================================== */

/* ==========================================================================

   Modern 2026 Commerce Catalog & Shop Archive Styling

   ========================================================================== */

.dk-archive-page {

    padding-top: 10px;

    padding-bottom: 60px;

}



/* Modern Shop Hero Card */

.dk-shop-hero-card {

    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 24px 28px;

    margin-bottom: 24px;

    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);

}



.dk-shop-hero-info {

    margin-bottom: 18px;

}



.dk-shop-title-row {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 8px;

}



.dk-shop-page-title {

    font-size: 22px;

    font-weight: 800;

    color: #0f172a;

    margin: 0;

    letter-spacing: -0.3px;

}



.dk-shop-counter-badge {

    background: #f1f5f9;

    color: #475569;

    font-size: 13px;

    font-weight: 700;

    padding: 4px 12px;

    border-radius: 999px;

    border: 1px solid #e2e8f0;

}



.dk-shop-hero-subtitle {

    font-size: 13px;

    color: #64748b;

    margin: 0;

    line-height: 1.6;

}



/* Category Quick Chips & Interactive Scroll Carousel */

.dk-shop-cat-chips-wrapper {

    position: relative;

    display: flex;

    align-items: center;

    margin-top: 14px;

    margin-bottom: 6px;

    width: 100%;

}



.dk-shop-cat-chips-scroll {

    overflow-x: auto;

    overflow-y: hidden;

    scrollbar-width: none;

    -ms-overflow-style: none;

    padding: 8px 46px;

    width: 100%;

    cursor: grab;

    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    user-select: none;

    -webkit-user-select: none;

}



.dk-shop-cat-chips-scroll::-webkit-scrollbar {

    display: none;

}



.dk-shop-cat-chips-scroll.is-dragging {

    cursor: grabbing;

    scroll-behavior: auto;

}



.dk-shop-cat-chips-scroll.is-dragging .dk-cat-chip {

    pointer-events: none;

    user-select: none;

}



.dk-shop-cat-chips {

    display: flex;

    align-items: center;

    gap: 10px;

    width: max-content;

    padding: 2px 2px;

}



/* Arrow Navigation Buttons (Prev / Next) */

.dk-chips-nav-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    color: #334155;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 15;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    outline: none;

    padding: 0;

}



.dk-chips-btn-next {

    left: 4px;

}



.dk-chips-btn-prev {

    right: 4px;

}



.dk-chips-nav-btn:hover {

    background: var(--ps-primary, #ef394e);

    color: #ffffff;

    border-color: var(--ps-primary, #ef394e);

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);

    transform: translateY(-50%) scale(1.08);

}



.dk-chips-nav-btn:active {

    transform: translateY(-50%) scale(0.95);

}



.dk-chips-nav-btn.is-disabled {

    opacity: 0;

    pointer-events: none;

    visibility: hidden;

    transform: translateY(-50%) scale(0.7);

}



/* Subtle edge fade overlays indicating scrollable items */

.dk-shop-cat-chips-wrapper::before,

.dk-shop-cat-chips-wrapper::after {

    content: '';

    position: absolute;

    top: 0;

    bottom: 0;

    width: 56px;

    pointer-events: none;

    z-index: 8;

    transition: opacity 0.25s ease;

}



.dk-shop-cat-chips-wrapper::before {

    right: 0;

    background: linear-gradient(to left, #ffffff 40%, rgba(255, 255, 255, 0));

    opacity: 0;

    border-radius: 0 12px 12px 0;

}



.dk-shop-cat-chips-wrapper.can-scroll-prev::before {

    opacity: 1;

}



.dk-shop-cat-chips-wrapper::after {

    left: 0;

    background: linear-gradient(to right, #ffffff 40%, rgba(255, 255, 255, 0));

    opacity: 0;

    border-radius: 12px 0 0 12px;

}



.dk-shop-cat-chips-wrapper.can-scroll-next::after {

    opacity: 1;

}



.dk-cat-chip {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 16px;

    border-radius: 999px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    font-size: 13px;

    font-weight: 600;

    color: #334155;

    text-decoration: none;

    white-space: nowrap;

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    box-shadow: 0 1px 3px rgba(0,0,0,0.02);

}



.dk-cat-chip:hover {

    border-color: var(--ps-primary, #ef394e);

    color: var(--ps-primary, #ef394e);

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

}



.dk-cat-chip.is-active {

    background: #0f172a;

    border-color: #0f172a;

    color: #ffffff;

    font-weight: 700;

    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);

}



.dk-cat-chip.is-active .dk-chip-count {

    background: rgba(255, 255, 255, 0.2);

    color: #ffffff;

}



.dk-chip-icon {

    font-size: 14px;

}



.dk-chip-count {

    font-size: 11px;

    background: #f1f5f9;

    color: #64748b;

    padding: 2px 7px;

    border-radius: 999px;

}



@media (max-width: 768px) {

    .dk-shop-cat-chips-scroll {

        padding: 8px 12px;

    }

    .dk-chips-nav-btn {

        display: none !important;

    }

    .dk-shop-cat-chips-wrapper::before,

    .dk-shop-cat-chips-wrapper::after {

        display: none !important;

    }

}



/* Active Filter Tags Bar */

.dk-active-filters-bar {

    background: #f8fafc;

    border: 1px dashed #cbd5e1;

    border-radius: 14px;

    padding: 12px 18px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

}



.dk-active-filters-title {

    font-size: 12px;

    font-weight: 700;

    color: #475569;

}



.dk-active-chips-wrap {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

}



.dk-active-chip {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 4px 12px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 600;

    color: #0f172a;

}



.dk-active-chip button {

    background: transparent;

    border: none;

    color: #94a3b8;

    cursor: pointer;

    font-size: 14px;

    line-height: 1;

    padding: 0 2px;

    transition: color 0.15s;

}



.dk-active-chip button:hover {

    color: #ef394e;

}



.dk-btn-clear-all {

    margin-right: auto;

    background: transparent;

    border: none;

    font-size: 12px;

    font-weight: 700;

    color: #ef394e;

    cursor: pointer;

    text-decoration: underline;

    text-underline-offset: 3px;

}



/* Commerce Grid Layout */

.dk-archive-layout {

    display: grid;

    grid-template-columns: 290px 1fr;

    gap: 24px;

    align-items: start;

}



@media (max-width: 960px) {

    .dk-archive-layout {

        grid-template-columns: 1fr;

    }

}



/* Sidebar Styles */

.dk-sticky-sidebar-inner {

    position: sticky;

    top: 90px;

    display: flex;

    flex-direction: column;

    gap: 16px;

}



.dk-filter-card {

    background: #ffffff;

    border: 1px solid #eef0f3;

    border-radius: 18px;

    padding: 20px;

    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);

}



.dk-filter-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 16px;

}



.dk-filter-head-title {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #0f172a;

}



.dk-filter-head-title h3 {

    font-size: 15px;

    font-weight: 800;

    margin: 0;

    color: #0f172a;

}



.dk-filter-clear {

    font-size: 12px;

    color: #ef394e;

    font-weight: 700;

    text-decoration: none;

}



.dk-filter-search-box {

    margin-bottom: 14px;

}



.dk-filter-search-input-wrap {

    position: relative;

    display: flex;

    align-items: center;

}



.dk-filter-search-input-wrap svg {

    position: absolute;

    right: 12px;

    color: #94a3b8;

    pointer-events: none;

}



.dk-filter-search-input-wrap input {

    width: 100%;

    height: 40px;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 0 38px 0 12px;

    font-size: 12px;

    background: #f8fafc;

    color: #0f172a;

    outline: none;

    font-family: inherit;

    transition: all 0.2s ease;

}



.dk-filter-search-input-wrap input:focus {

    border-color: #ef394e;

    background: #ffffff;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.1);

}



/* Switches */

.dk-switch-group {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 0;

}



.dk-switch-label-wrap {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    font-weight: 600;

    color: #1e293b;

}



.dk-switch-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    display: inline-block;

}



.dk-switch-dot.dot-green { background-color: #10b981; }

.dk-switch-dot.dot-cyan { background-color: #00b4d8; }



.dk-express-label {

    display: flex;

    align-items: center;

    gap: 6px;

}



.dk-switch {

    position: relative;

    display: inline-block;

    width: 44px;

    height: 24px;

}



.dk-switch input {

    opacity: 0;

    width: 0;

    height: 0;

}



.dk-slider {

    position: absolute;

    cursor: pointer;

    top: 0; left: 0; right: 0; bottom: 0;

    background-color: #e2e8f0;

    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    border-radius: 24px;

}



.dk-slider:before {

    position: absolute;

    content: "";

    height: 18px;

    width: 18px;

    left: 3px;

    bottom: 3px;

    background-color: white;

    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    border-radius: 50%;

    box-shadow: 0 2px 4px rgba(0,0,0,0.15);

}



input:checked + .dk-slider {

    background-color: #ef394e;

}



input:checked + .dk-slider:before {

    transform: translateX(20px);

}



/* Price Section */

.dk-price-presets {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 14px;

}



.dk-preset-pill {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    padding: 5px 10px;

    font-size: 11px;

    font-weight: 600;

    color: #475569;

    cursor: pointer;

    font-family: inherit;

    transition: all 0.15s ease;

}



.dk-preset-pill:hover,

.dk-preset-pill.active {

    background: #0f172a;

    border-color: #0f172a;

    color: #ffffff;

}



.dk-price-filter-inputs {

    display: flex;

    flex-direction: column;

    gap: 10px;

}



.dk-price-input-row {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    font-weight: 600;

    color: #475569;

}



.dk-price-input-row input {

    flex: 1;

    height: 38px;

    padding: 0 10px;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    font-size: 12px;

    font-family: inherit;

    background: #f8fafc;

    color: #0f172a;

    outline: none;

    transition: border-color 0.2s;

}



.dk-price-input-row input:focus {

    border-color: #ef394e;

    background: #ffffff;

}



.dk-price-unit-txt {

    font-size: 11px;

    color: #94a3b8;

}



.dk-btn-filter-apply {

    width: 100%;

    height: 38px;

    background: var(--ps-btn-bg, var(--ps-primary, #ef394e));

    border: none;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 700;

    color: #ffffff;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(var(--ps-primary-rgb, 239, 57, 78), 0.25);

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    font-family: inherit;

    margin-top: 4px;

}



.dk-btn-filter-apply:hover {

    background: var(--ps-primary-dark, var(--ps-primary, #ef394e));

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(var(--ps-primary-rgb, 239, 57, 78), 0.35);

}



/* Category Filter List */

.dk-cat-filter-list {

    list-style: none;

    margin: 0;

    padding: 0;

}



.dk-cat-parent-item {

    margin-bottom: 8px;

}



.dk-cat-parent-link {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 13px;

    font-weight: 600;

    color: #334155;

    padding: 6px 8px;

    border-radius: 8px;

    text-decoration: none;

    transition: all 0.15s ease;

}



.dk-cat-parent-link:hover,

.dk-cat-parent-item.is-current > .dk-cat-parent-link {

    background: #f1f5f9;

    color: #ef394e;

}



.dk-cat-count {

    font-size: 11px;

    color: #94a3b8;

    background: #f8fafc;

    padding: 2px 7px;

    border-radius: 999px;

}



.dk-cat-child-list {

    list-style: none;

    margin: 4px 14px 8px 0;

    padding: 0;

    border-right: 2px solid #e2e8f0;

    padding-right: 10px;

}



.dk-cat-child-list li {

    margin-bottom: 4px;

}



.dk-cat-child-list a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 12px;

    color: #64748b;

    text-decoration: none;

    padding: 4px 6px;

    border-radius: 6px;

    transition: color 0.15s;

}



.dk-cat-child-list a:hover,

.dk-cat-child-list li.is-active-child a {

    color: #ef394e;

    font-weight: 700;

}



/* Brands Checkbox */

.dk-brand-checkboxes {

    display: flex;

    flex-direction: column;

    gap: 10px;

}



.dk-checkbox-item {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;

    color: #334155;

    cursor: pointer;

    user-select: none;

}



.dk-checkbox-item input {

    accent-color: #ef394e;

    width: 16px;

    height: 16px;

    cursor: pointer;

}



.dk-check-text {

    font-weight: 500;

}



/* Sidebar Trust Widget */

.dk-sidebar-trust-box {

    background: #ffffff;

    border: 1px solid #eef0f3;

    border-radius: 18px;

    padding: 18px;

    display: flex;

    flex-direction: column;

    gap: 14px;

    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);

}



.dk-trust-item {

    display: flex;

    align-items: center;

    gap: 12px;

}



.dk-trust-icon {

    width: 38px;

    height: 38px;

    border-radius: 10px;

    background: #f8fafc;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.dk-trust-text strong {

    display: block;

    font-size: 12px;

    font-weight: 700;

    color: #0f172a;

}



.dk-trust-text span {

    font-size: 11px;

    color: #64748b;

}



/* Modern Sorting Bar */

.dk-sort-bar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #ffffff;

    border: 1px solid #eef0f3;

    border-radius: 18px;

    padding: 10px 20px;

    margin-bottom: 20px;

    flex-wrap: wrap;

    gap: 14px;

    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.02);

}



.dk-sort-right {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

}



.dk-sort-label {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    font-weight: 800;

    color: #0f172a;

}



.dk-sort-tabs {

    list-style: none;

    display: flex;

    align-items: center;

    gap: 6px;

    margin: 0;

    padding: 0;

    flex-wrap: wrap;

}



.dk-sort-tabs a {

    font-size: 12px;

    font-weight: 600;

    color: #64748b;

    padding: 6px 12px;

    border-radius: 10px;

    text-decoration: none;

    transition: all 0.15s ease;

}



.dk-sort-tabs a:hover {

    color: #ef394e;

    background: #fff0f2;

}



.dk-sort-tabs a.active {

    background: #f1f5f9;

    color: #0f172a;

    font-weight: 800;

}



.dk-sort-left-tools {

    display: flex;

    align-items: center;

    gap: 16px;

}



.dk-view-mode-toggle {

    display: flex;

    align-items: center;

    gap: 4px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 3px;

}



.dk-view-btn {

    width: 32px;

    height: 32px;

    border-radius: 7px;

    border: none;

    background: transparent;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #64748b;

    cursor: pointer;

    transition: all 0.2s ease;

}



.dk-view-btn:hover {

    color: #0f172a;

}



.dk-view-btn.active {

    background: #ffffff;

    color: #0f172a;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

}



.dk-sort-count {

    font-size: 12px;

    font-weight: 700;

    color: #475569;

}



/* Catalog Grid & View Modes */

.dk-catalog-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}



.dk-catalog-grid.is-grid-large {

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

}



@media (max-width: 1200px) {

    .dk-catalog-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width: 768px) {

    .dk-catalog-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



/* Modern 2026 Product Card */

.dk-catalog-item {

    background: #ffffff;

    border: 1px solid #eef0f3;

    border-radius: 18px;

    padding: 16px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    position: relative;

    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);

}



.dk-catalog-item:hover {

    transform: translateY(-4px);

    border-color: #cbd5e1;

    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);

}



.dk-catalog-thumb {

    position: relative;

    width: 100%;

    height: 190px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background: #ffffff;

    margin-bottom: 12px;

    overflow: hidden;

}



.dk-catalog-img-link {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-catalog-thumb img {

    max-width: 100%;

    max-height: 165px;

    object-fit: contain;

    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);

}



.dk-catalog-item:hover .dk-catalog-thumb img {

    transform: scale(1.06);

}



/* Floating Badges */

.dk-catalog-floating-badges {

    position: absolute;

    top: 10px;

    right: 10px;

    display: flex;

    flex-direction: column;

    gap: 6px;

    z-index: 2;

    pointer-events: none;

}



.dk-discount-badge {

    background: var(--ps-primary, #ef394e);

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    padding: 3px 8px;

    border-radius: 999px;

    box-shadow: 0 3px 8px rgba(var(--ps-primary-rgb, 239, 57, 78), 0.3);

}



.dk-catalog-out-stock-badge {

    background: #64748b;

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    padding: 3px 8px;

    border-radius: 999px;

}



/* Hover Floating Actions */

.dk-catalog-hover-actions {

    position: absolute;

    top: 10px;

    left: 10px;

    display: flex;

    flex-direction: column;

    gap: 6px;

    z-index: 3;

    opacity: 0;

    transform: translateX(-6px);

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}



.dk-catalog-item:hover .dk-catalog-hover-actions {

    opacity: 1;

    transform: translateX(0);

}



.dk-catalog-hover-actions button,

.dk-card-action-compare {

    width: 34px;

    height: 34px;

    border-radius: 50%;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #475569;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

    transition: all 0.2s ease;

    margin: 0;

}



.dk-catalog-hover-actions button:hover,

.dk-card-action-compare:hover {

    background: #ef394e;

    border-color: #ef394e;

    color: #ffffff;

    transform: scale(1.08);

}



.dk-card-action-compare input {

    display: none;

}



/* Delivery Tag */

.dk-catalog-delivery-tag {

    display: flex;

    align-items: center;

    gap: 5px;

    font-size: 11px;

    font-weight: 700;

    color: #ef394e;

    margin-bottom: 8px;

}



.dk-express-icon {

    display: inline-flex;

}



/* Title */

.dk-catalog-title {

    font-size: 13px;

    font-weight: 700;

    color: #0f172a;

    line-height: 1.6;

    height: 42px;

    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    margin: 0 0 10px 0;

}



.dk-catalog-title a {

    color: #0f172a;

    text-decoration: none;

    transition: color 0.15s;

}



.dk-catalog-title a:hover {

    color: #ef394e;

}



/* Color Dots */

.dk-catalog-color-dots {

    display: flex;

    align-items: center;

    gap: 5px;

    margin-bottom: 8px;

}



.dk-color-dot {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    border: 1px solid rgba(0,0,0,0.12);

}



/* Meta Row (Rating & Installment) */

.dk-catalog-meta-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 12px;

}



.dk-catalog-rating {

    display: flex;

    align-items: center;

    gap: 3px;

    font-size: 11px;

    color: #475569;

}



.dk-catalog-star {

    color: #f59e0b;

    font-size: 12px;

}



.dk-rating-score {

    font-weight: 700;

}



.dk-rating-count {

    color: #94a3b8;

    font-size: 10px;

}



.dk-catalog-installment-tag span {

    font-size: 10px;

    font-weight: 700;

    color: #0284c7;

    background: #f0f9ff;

    border: 1px solid #bae6fd;

    padding: 2px 7px;

    border-radius: 999px;

}



/* Pricing & Instant Buy Action */

.dk-catalog-pricing-wrap {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    padding-top: 10px;

    border-top: 1px solid #f1f5f9;

}



.dk-catalog-pricing {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}



.dk-catalog-old-row {

    margin-bottom: 2px;

}



.dk-catalog-old-price {

    font-size: 11px;

    color: #94a3b8;

    text-decoration: line-through;

}



.dk-catalog-cur-row {

    display: flex;

    align-items: baseline;

    gap: 4px;

}



.dk-catalog-amount {

    font-size: 16px;

    font-weight: 800;

    color: #0f172a;

}



.dk-catalog-unit {

    font-size: 10px;

    font-weight: 600;

    color: #64748b;

}



.dk-catalog-unavailable-text {

    font-size: 13px;

    font-weight: 700;

    color: #94a3b8;

}



.dk-archive-quick-buy {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    height: 36px;

    padding: 0 12px;

    border-radius: 9px;

    background: #f1f5f9;

    border: 1px solid #e2e8f0;

    color: #0f172a;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    font-family: inherit;

    transition: all 0.2s ease;

}



.dk-archive-quick-buy:hover {

    background: #ef394e;

    border-color: #ef394e;

    color: #ffffff;

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.25);

}



.dk-archive-view-item {

    font-size: 12px;

    font-weight: 700;

    color: #64748b;

    text-decoration: none;

    padding: 6px 10px;

}



/* LIST VIEW MODE (Horizontal Rows) */

.dk-catalog-grid.is-list-view {

    grid-template-columns: 1fr;

    gap: 16px;

}



.dk-catalog-grid.is-list-view .dk-catalog-item {

    flex-direction: row;

    align-items: center;

    padding: 18px 24px;

    gap: 24px;

}



.dk-catalog-grid.is-list-view .dk-catalog-thumb {

    width: 140px;

    height: 140px;

    flex-shrink: 0;

    margin-bottom: 0;

}



.dk-catalog-grid.is-list-view .dk-catalog-content {

    flex: 1;

    display: flex;

    flex-direction: column;

}



.dk-catalog-grid.is-list-view .dk-catalog-title {

    height: auto;

    font-size: 15px;

    margin-bottom: 8px;

}



.dk-catalog-grid.is-list-view .dk-catalog-pricing-wrap {

    border-top: none;

    padding-top: 0;

    flex-direction: column;

    align-items: flex-end;

    gap: 12px;

    flex-shrink: 0;

}



/* Pagination */

.dk-pagination-wrap {

    margin-top: 40px;

    display: flex;

    justify-content: center;

}



.dk-pagination-wrap ul.page-numbers {

    list-style: none;

    display: flex;

    align-items: center;

    gap: 8px;

    margin: 0;

    padding: 0;

}



.dk-pagination-wrap .page-numbers li a,

.dk-pagination-wrap .page-numbers li span {

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 38px;

    height: 38px;

    padding: 0 10px;

    border-radius: 10px;

    border: 1px solid #e2e8f0;

    font-size: 13px;

    font-weight: 700;

    background: #ffffff;

    color: #475569;

    text-decoration: none;

    transition: all 0.15s ease;

}



.dk-pagination-wrap .page-numbers li a:hover {

    border-color: #ef394e;

    color: #ef394e;

}



.dk-pagination-wrap .page-numbers li span.current {

    background: #0f172a;

    color: #ffffff;

    border-color: #0f172a;

    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);

}



/* No Products Found State */

.dk-no-products {

    background: #ffffff;

    border: 1px dashed #cbd5e1;

    border-radius: 20px;

    padding: 48px 24px;

    text-align: center;

}



.dk-no-prod-icon {

    margin-bottom: 16px;

}



.dk-no-products h3 {

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 8px;

}



.dk-no-products p {

    font-size: 13px;

    color: #64748b;

    margin-bottom: 20px;

}



.dk-btn-reset-filters {

    display: inline-block;

    padding: 10px 22px;

    border-radius: 10px;

    background: #0f172a;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.2s;

}



.dk-btn-reset-filters:hover {

    background: #ef394e;

}



/* ==========================================================================

   PersianShop Login & Register Page

   ========================================================================== */

.dk-login-page-wrap {

    min-height: 80vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 16px;

}



.dk-login-card {

    width: 100%;

    max-width: 420px;

    background: #fff;

    border: 1px solid var(--dk-border-dark);

    border-radius: var(--dk-radius-lg);

    padding: 36px 32px;

    box-shadow: var(--dk-shadow-md);

    text-align: center;

}



.dk-login-logo {

    display: flex;

    justify-content: center;

    margin-bottom: 20px;

}



.dk-login-heading {

    font-size: 18px;

    font-weight: 800;

    color: var(--dk-text-title);

    margin-bottom: 8px;

}



.dk-login-sub {

    font-size: 13px;

    color: var(--dk-text-hint);

    line-height: 1.6;

    margin-bottom: 24px;

}



.dk-auth-tabs {

    display: flex;

    border-radius: var(--dk-radius-sm);

    background: var(--dk-bg-main);

    padding: 4px;

    margin-bottom: 24px;

}



.dk-auth-tab-btn {

    flex: 1;

    padding: 8px 0;

    background: none;

    border: none;

    font-size: 13px;

    font-weight: 700;

    color: var(--dk-text-hint);

    cursor: pointer;

    border-radius: var(--dk-radius-xs);

    transition: all 0.2s;

}



.dk-auth-tab-btn.active {

    background: #fff;

    color: var(--dk-text-title);

    box-shadow: var(--dk-shadow-sm);

}



.dk-auth-form-block {

    display: none;

    text-align: right;

}



.dk-auth-form-block.active {

    display: block;

}



.dk-form-row {

    margin-bottom: 16px;

    text-align: right;

}



.dk-form-row label {

    display: block;

    font-size: 12px;

    font-weight: 600;

    color: var(--dk-text-body);

    margin-bottom: 6px;

}



.dk-form-input {

    width: 100% !important;

    height: 44px;

    background: #fff;

    border: 1px solid var(--dk-border-dark);

    border-radius: var(--dk-radius-sm);

    padding: 0 14px;

    font-size: 13px;

    color: var(--dk-text-title);

    outline: none;

    transition: border-color 0.2s;

}



.dk-form-input:focus {

    border-color: var(--dk-red);

}



.dk-form-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 12px;

    margin-bottom: 20px;

}



.dk-remember-me {

    display: flex;

    align-items: center;

    gap: 6px;

    color: var(--dk-text-muted);

    cursor: pointer;

}



.dk-lost-password {

    color: var(--dk-blue);

}



.dk-btn-submit-red {

    width: 100% !important;

    height: 48px;

    background: var(--dk-red) !important;

    color: #fff !important;

    border: none !important;

    border-radius: var(--dk-radius-sm) !important;

    font-size: 14px !important;

    font-weight: 700 !important;

    cursor: pointer;

    transition: background 0.2s;

}



.dk-btn-submit-red:hover {

    background: var(--dk-red-dark) !important;

}



.dk-login-terms {

    font-size: 11px;

    color: var(--dk-text-hint);

    margin-top: 24px;

    line-height: 1.6;

}



.dk-login-terms a {

    color: var(--dk-blue);

    text-decoration: underline;

}



/* ==========================================================================

   NegarShop Mega Menu (PersianShop Style)

   ========================================================================== */

.dk-nav-category-trigger {

    position: relative;

    cursor: pointer;

    user-select: none;

}



.dk-mega-menu {

    display: none;

    position: absolute;

    top: 100%;

    right: 0;

    width: 1080px;

    background: #fff;

    border: 1px solid var(--dk-border-dark);

    border-top: none;

    border-radius: 0 0 var(--dk-radius-lg) var(--dk-radius-lg);

    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);

    z-index: 10000;

    overflow: hidden;

}



.dk-nav-category-trigger:hover .dk-mega-menu,

.dk-mega-menu.show {

    display: flex;

    animation: dkFadeDown 0.2s ease forwards;

}



@keyframes dkFadeDown {

    from {

        opacity: 0;

        transform: translateY(8px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.dk-mega-sidebar {

    width: 220px;

    background: #f9f9fa;

    border-left: 1px solid var(--dk-border);

    flex-shrink: 0;

    padding: 8px 0;

}



.dk-mega-tab-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 20px;

    font-size: 13px;

    font-weight: 600;

    color: var(--dk-text-body);

    cursor: pointer;

    transition: all 0.15s ease;

    border-right: 3px solid transparent;

}



.dk-mega-tab-item:hover,

.dk-mega-tab-item.active {

    background: #fff;

    color: var(--dk-red);

    font-weight: 700;

    border-right-color: var(--dk-red);

}



.dk-mega-content {

    flex: 1;

    padding: 24px 28px;

    background: #fff;

    min-height: 380px;

}



.dk-mega-panel {

    display: none;

}



.dk-mega-panel.active {

    display: block;

    animation: dkFadeIn 0.2s ease;

}



@keyframes dkFadeIn {

    from { opacity: 0; }

    to { opacity: 1; }

}



.dk-mega-panel-head {

    margin-bottom: 20px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--dk-border);

}



.dk-mega-all-link {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    font-weight: 700;

    color: var(--dk-blue);

    transition: color 0.2s;

}



.dk-mega-all-link:hover {

    color: #0fb2c5;

}



.dk-mega-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

}



.dk-mega-col-title {

    font-size: 13px;

    font-weight: 800;

    color: var(--dk-text-title);

    border-right: 3px solid var(--dk-red);

    padding-right: 8px;

    margin-bottom: 12px;

}



.dk-mega-col-title a:hover {

    color: var(--dk-red);

}



.dk-mega-col ul {

    list-style: none;

    margin: 0;

    padding: 0;

}



.dk-mega-col li {

    margin-bottom: 9px;

}



.dk-mega-col a {

    font-size: 12px;

    color: var(--dk-text-muted);

    transition: color 0.15s;

}



.dk-mega-col a:hover {

    color: var(--dk-red);

}



/* ==========================================================================

   Checkout Steps Progress Bar

   ========================================================================== */

.dk-checkout-steps {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    padding: 24px 0 32px;

}



.dk-step-item {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    font-weight: 600;

    color: var(--dk-text-hint);

}



.dk-step-item.active {

    color: var(--dk-red);

    font-weight: 700;

}



.dk-step-item.passed {

    color: var(--dk-green);

}



.dk-step-num {

    width: 26px;

    height: 26px;

    border-radius: 50%;

    border: 1px solid var(--dk-border-dark);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    background: #fff;

}



.dk-step-item.active .dk-step-num {

    background: var(--dk-red);

    border-color: var(--dk-red);

    color: #fff;

}



.dk-step-item.passed .dk-step-num {

    background: var(--dk-green-light);

    border-color: var(--dk-green);

    color: var(--dk-green);

    font-weight: 800;

}



.dk-step-line {

    width: 70px;

    height: 1px;

    background: var(--dk-border-dark);

}



.dk-step-line.active {

    background: var(--dk-green);

}



/* ==========================================================================

   Cart Page Styles

   ========================================================================== */

.dk-cart-page {

    padding-bottom: 60px;

}



.dk-cart-layout {

    display: grid;

    grid-template-columns: 1fr 340px;

    gap: 24px;

    align-items: start;

}



@media (max-width: 992px) {

    .dk-cart-layout {

        grid-template-columns: 1fr;

    }

}



.dk-cart-header-strip {

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #fff;

    border: 1px solid var(--dk-border);

    border-radius: var(--dk-radius-md);

    padding: 14px 20px;

    margin-bottom: 16px;

}



.dk-cart-header-strip h3 {

    font-size: 16px;

    font-weight: 800;

    color: var(--dk-text-title);

}



.dk-cart-count-badge {

    font-size: 12px;

    font-weight: 600;

    color: var(--dk-text-hint);

}



.dk-cart-item-card {

    position: relative;

    display: flex;

    gap: 20px;

    background: #fff;

    border: 1px solid var(--dk-border);

    border-radius: var(--dk-radius-md);

    padding: 20px;

    margin-bottom: 16px;

    transition: opacity 0.25s ease, filter 0.25s ease;

}



.dk-cart-item-card.is-loading {

    opacity: 0.55;

    pointer-events: none;

    filter: grayscale(15%);

}



@media (max-width: 576px) {

    .dk-cart-item-card {

        flex-direction: column;

    }

}



.dk-cart-item-right {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    flex-shrink: 0;

}



.dk-cart-item-thumb {

    width: 120px;

    height: 120px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--dk-border);

    border-radius: var(--dk-radius-sm);

    padding: 6px;

}



.dk-cart-item-thumb img {

    max-height: 100px;

    object-fit: contain;

}



.dk-cart-qty-wrap {

    position: relative;

    display: flex;

    align-items: center;

    border: 1px solid var(--dk-border-dark);

    border-radius: var(--dk-radius-sm);

    overflow: hidden;

    background: #fff;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;

}



/* Cart Quantity Loader Spinner */

.dk-cart-qty-wrap.is-loading {

    border-color: var(--dk-red, #ef4056);

    pointer-events: none;

}



.dk-cart-qty-wrap.is-loading::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(1px);

    z-index: 5;

    border-radius: inherit;

}



.dk-cart-qty-wrap.is-loading::after {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 16px;

    height: 16px;

    margin-top: -8px;

    margin-left: -8px;

    border: 2.5px solid rgba(239, 64, 86, 0.2);

    border-top-color: #ef4056;

    border-radius: 50%;

    animation: dkCartQtySpinner 0.65s linear infinite;

    z-index: 6;

}



@keyframes dkCartQtySpinner {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}



.dk-qty-btn {

    width: 32px;

    height: 32px;

    border: none;

    background: none;

    font-size: 16px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--dk-text-title);

    transition: background 0.15s;

}



.dk-qty-btn:hover {

    background: var(--dk-bg-main);

}



.dk-qty-input {

    width: 36px;

    height: 32px;

    border: none;

    border-left: 1px solid var(--dk-border-dark);

    border-right: 1px solid var(--dk-border-dark);

    text-align: center;

    font-size: 13px;

    font-weight: 700;

    outline: none;

}



.dk-cart-item-left {

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}



.dk-cart-item-title {

    font-size: 14px;

    font-weight: 700;

    color: var(--dk-text-title);

    line-height: 1.6;

    margin-bottom: 12px;

}



.dk-cart-item-meta {

    font-size: 12px;

    color: var(--dk-text-muted);

    display: flex;

    flex-direction: column;

    gap: 6px;

    margin-bottom: 16px;

}



.dk-ci-meta-row {

    display: flex;

    align-items: center;

    gap: 8px;

}



.dk-cart-item-price-block {

    display: flex;

    align-items: baseline;

    justify-content: flex-end;

    gap: 10px;

    margin-top: auto;

}



.dk-ci-old-price {

    font-size: 12px;

    color: var(--dk-text-light);

    text-decoration: line-through;

}



.dk-ci-cur-price {

    font-size: 18px;

    font-weight: 800;

    color: var(--dk-text-title);

}



.dk-ci-currency {

    font-size: 11px;

    font-weight: 500;

    color: var(--dk-text-muted);

    margin-right: 2px;

}



/* Empty Cart */

.dk-empty-cart-card {

    background: #fff;

    border: 1px solid var(--dk-border);

    border-radius: var(--dk-radius-lg);

    padding: 60px 24px;

    text-align: center;

    max-width: 600px;

    margin: 40px auto;

}



.dk-empty-cart-icon {

    margin-bottom: 20px;

}



.dk-empty-cart-title {

    font-size: 18px;

    font-weight: 800;

    color: var(--dk-text-title);

    margin-bottom: 8px;

}



.dk-empty-cart-desc {

    font-size: 13px;

    color: var(--dk-text-hint);

    margin-bottom: 24px;

}



.dk-btn-shop-now {

    display: inline-flex;

    padding: 12px 28px;

    background: var(--dk-red);

    color: #fff;

    border-radius: var(--dk-radius-sm);

    font-size: 14px;

    font-weight: 700;

    transition: background 0.2s;

}



.dk-btn-shop-now:hover {

    background: var(--dk-red-dark);

    color: #fff;

}



/* Invoice Sticky Card */

.dk-invoice-card {

    background: #fff;

    border: 1px solid var(--dk-border-dark);

    border-radius: var(--dk-radius-lg);

    padding: 24px;

    position: sticky;

    top: 100px;

    box-shadow: var(--dk-shadow-sm);

    transition: opacity 0.25s ease;

}



.dk-invoice-card.is-loading {

    opacity: 0.6;

    pointer-events: none;

}



.dk-invoice-title {

    font-size: 15px;

    font-weight: 800;

    color: var(--dk-text-title);

    margin-bottom: 18px;

}



.dk-invoice-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 13px;

    color: var(--dk-text-body);

    margin-bottom: 12px;

}



.dk-inv-discount {

    color: var(--dk-red);

    font-weight: 600;

}



.dk-shipping-free {

    color: var(--dk-green);

    font-weight: 700;

}



.dk-inv-total {

    margin: 16px 0;

}



.dk-inv-total-label {

    font-size: 14px;

    font-weight: 800;

    color: var(--dk-text-title);

}



.dk-inv-total-val {

    display: flex;

    align-items: baseline;

    gap: 4px;

}



.dk-total-num {

    font-size: 20px;

    font-weight: 900;

    color: var(--dk-text-title);

}



.dk-total-unit {

    font-size: 11px;

    color: var(--dk-text-muted);

}



.dk-btn-checkout-red,

.dk-btn-pay-red {

    width: 100%;

    height: 48px;

    background: var(--dk-red);

    color: #fff;

    border: none;

    border-radius: var(--dk-radius-sm);

    font-size: 14px;

    font-weight: 700;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: background 0.2s;

}



.dk-btn-checkout-red:hover,

.dk-btn-pay-red:hover {

    background: var(--dk-red-dark);

    color: #fff;

}



.dk-invoice-note {

    font-size: 11px;

    color: var(--dk-text-hint);

    line-height: 1.6;

    margin-top: 14px;

    border-top: 1px solid var(--dk-border);

    padding-top: 12px;

}



/* ==========================================================================

   Checkout Page Styles

   ========================================================================== */

.dk-checkout-page {

    padding-bottom: 60px;

}



.dk-checkout-layout {

    display: grid;

    grid-template-columns: 1fr 340px;

    gap: 24px;

    align-items: start;

}



@media (max-width: 992px) {

    .dk-checkout-layout {

        grid-template-columns: 1fr;

    }

}



.dk-checkout-card {

    background: #fff;

    border: 1px solid var(--dk-border);

    border-radius: var(--dk-radius-lg);

    padding: 24px;

    margin-bottom: 20px;

}



.dk-card-header {

    margin-bottom: 20px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--dk-border);

}



.dk-card-header-right {

    display: flex;

    align-items: center;

    gap: 10px;

}



.dk-card-step-badge {

    width: 24px;

    height: 24px;

    border-radius: 50%;

    background: var(--dk-red);

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-card-header h3 {

    font-size: 15px;

    font-weight: 800;

    color: var(--dk-text-title);

}



.dk-address-fields-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

}



@media (max-width: 576px) {

    .dk-address-fields-grid {

        grid-template-columns: 1fr;

    }

    .dk-form-group.fullwidth {

        grid-column: span 1 !important;

    }

}



.dk-form-group.fullwidth {

    grid-column: span 2;

}



.dk-form-group label {

    display: block;

    font-size: 12px;

    font-weight: 600;

    color: var(--dk-text-body);

    margin-bottom: 6px;

}



.dk-delivery-slots-wrap {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.dk-slot-card {

    display: flex;

    align-items: center;

    gap: 14px;

    border: 1px solid var(--dk-border-dark);

    border-radius: var(--dk-radius-sm);

    padding: 16px;

    cursor: pointer;

    transition: all 0.2s;

}



.dk-slot-card.active, .dk-slot-card:hover {

    border-color: var(--dk-red);

    background: #fffcfc;

}



.dk-slot-title {

    font-size: 13px;

    font-weight: 700;

    color: var(--dk-text-title);

    margin-bottom: 4px;

}



.dk-slot-time {

    font-size: 12px;

    color: var(--dk-text-hint);

}



.dk-payment-methods-wrap {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.dk-pay-method-card {

    display: flex;

    align-items: center;

    gap: 14px;

    border: 1px solid var(--dk-border-dark);

    border-radius: var(--dk-radius-sm);

    padding: 16px;

    cursor: pointer;

    transition: all 0.2s;

}



.dk-pay-method-card.active, .dk-pay-method-card:hover {

    border-color: var(--dk-red);

    background: #fffcfc;

}



.dk-pay-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex: 1;

}



.dk-pay-info strong {

    display: block;

    font-size: 13px;

    font-weight: 700;

    color: var(--dk-text-title);

    margin-bottom: 4px;

}



.dk-pay-info p {

    font-size: 11px;

    color: var(--dk-text-hint);

}



.dk-checkout-items-preview {

    display: flex;

    gap: 10px;

    overflow-x: auto;

    padding-bottom: 8px;

}



.dk-co-item-mini {

    width: 50px;

    height: 50px;

    border: 1px solid var(--dk-border);

    border-radius: var(--dk-radius-xs);

    position: relative;

    padding: 4px;

    flex-shrink: 0;

}



.dk-co-item-mini img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}



.dk-co-item-mini-qty {

    position: absolute;

    bottom: -4px;

    left: -4px;

    background: var(--dk-red);

    color: #fff;

    font-size: 10px;

    font-weight: 700;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-security-guarantees {

    margin-top: 18px;

    border-top: 1px solid var(--dk-border);

    padding-top: 14px;

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.dk-sec-item {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 11px;

    font-weight: 600;

    color: var(--dk-text-muted);

}



.dk-form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }



/* ==========================================================================

   Digikala Product Display Widgets (Grid, Carousel, Bestsellers)

   ========================================================================== */



/* 1. Section Headers */

.dk-section-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--dk-border);

}



.dk-section-title {

    font-size: 18px;

    font-weight: 800;

    color: var(--dk-text);

    margin: 0;

    position: relative;

}



.dk-section-title::after {

    content: '';

    position: absolute;

    bottom: -13px;

    right: 0;

    width: 60px;

    height: 3px;

    background: var(--dk-red);

    border-radius: 2px;

}



.dk-view-more-link {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    font-weight: 700;

    color: var(--dk-cyan);

    text-decoration: none;

    transition: color 0.2s;

}



.dk-view-more-link:hover {

    color: #008eb2;

}



/* 2. Product Grid */

.dk-products-grid {

    display: grid;

    gap: 1px;

    background: var(--dk-border);

    border: 1px solid var(--dk-border);

    border-radius: 16px;

    overflow: hidden;

}



.dk-products-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.dk-products-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.dk-products-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.dk-products-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }



@media (max-width: 1024px) {

    .dk-products-grid.cols-4,

    .dk-products-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }

}



@media (max-width: 768px) {

    .dk-products-grid.cols-3,

    .dk-products-grid.cols-4,

    .dk-products-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }

}



@media (max-width: 480px) {

    .dk-products-grid.cols-2,

    .dk-products-grid.cols-3,

    .dk-products-grid.cols-4,

    .dk-products-grid.cols-5 { grid-template-columns: 1fr; }

}



.dk-grid-item {

    background: #fff;

    transition: box-shadow 0.2s;

}



.dk-grid-item:hover {

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);

    position: relative;

    z-index: 2;

}



.dk-product-box {

    display: flex;

    flex-direction: column;

    height: 100%;

    padding: 18px 16px;

    text-decoration: none;

    color: inherit;

}



.dk-box-thumb {

    width: 100%;

    height: 200px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 14px;

}



.dk-box-thumb img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    transition: transform 0.25s ease;

}



.dk-grid-item:hover .dk-box-thumb img {

    transform: scale(1.04);

}



.dk-box-content {

    display: flex;

    flex-direction: column;

    flex-grow: 1;

}



.dk-box-badges {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 8px;

    font-size: 11px;

}



.dk-fast-delivery {

    display: flex;

    align-items: center;

    gap: 4px;

    color: var(--dk-red);

    font-weight: 700;

}



.dk-rating-score {

    display: flex;

    align-items: center;

    gap: 3px;

    font-size: 12px;

    font-weight: 700;

    color: var(--dk-text);

}



.dk-box-title {

    font-size: 13px;

    font-weight: 600;

    line-height: 22px;

    color: var(--dk-text);

    margin: 0 0 10px 0;

    overflow: hidden;

    text-overflow: ellipsis;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    min-height: 44px;

}



.dk-box-guarantee {

    font-size: 11px;

    color: var(--dk-text-hint);

    margin-bottom: 14px;

}



.dk-box-price-area {

    margin-top: auto;

    display: flex;

    flex-direction: column;

    gap: 4px;

}



.dk-price-top-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.dk-discount-tag {

    background: var(--dk-red);

    color: #fff;

    font-size: 12px;

    font-weight: 800;

    padding: 2px 8px;

    border-radius: 12px;

}



.dk-price-main {

    display: flex;

    align-items: baseline;

    gap: 4px;

}



.dk-price-num {

    font-size: 16px;

    font-weight: 800;

    color: var(--dk-text);

}



.dk-price-toman {

    font-size: 11px;

    font-weight: 600;

    color: var(--dk-text-muted);

}



.dk-price-strike {

    font-size: 12px;

    color: #c0c2c5;

    text-decoration: line-through;

    text-align: left;

    direction: ltr;

}



/* 3. Product Carousel */

.dk-product-carousel-box {

    background: #fff;

    border: 1px solid var(--dk-border);

    border-radius: 16px;

    padding: 20px;

    position: relative;

}



.dk-carousel-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 18px;

    padding-bottom: 14px;

    border-bottom: 1px solid #f0f0f1;

}



.dk-carousel-title-col {

    display: flex;

    align-items: center;

    gap: 12px;

}



.dk-carousel-icon-box {

    width: 36px;

    height: 36px;

    border-radius: 10px;

    background: #fff1f2;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-carousel-heading {

    font-size: 16px;

    font-weight: 800;

    color: var(--dk-text);

    margin: 0;

}



.dk-carousel-subheading {

    font-size: 12px;

    color: var(--dk-text-hint);

    margin: 2px 0 0 0;

}



.dk-carousel-view-all {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    font-weight: 700;

    color: var(--dk-cyan);

    text-decoration: none;

}



.dk-carousel-view-all:hover {

    color: #008eb2;

}



.dk-carousel-slider-container {

    position: relative;

}



.dk-c-arrow {

    position: absolute;

    top: 45%;

    transform: translateY(-50%);

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background: #fff;

    border: 1px solid var(--dk-border);

    box-shadow: 0 2px 8px rgba(0,0,0,0.1);

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 10;

    transition: all 0.2s;

}



.dk-c-arrow:hover {

    background: #fafafa;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

}



.dk-carousel-prev { right: -14px; }

.dk-carousel-next { left: -14px; }



.dk-carousel-card {

    display: flex;

    flex-direction: column;

    padding: 14px 16px;

    text-decoration: none;

    color: inherit;

    border-left: 1px solid #f0f0f1;

    height: 100%;

    transition: background 0.2s;

}



.dk-carousel-card:hover {

    background: #fafafa;

}



.dk-card-thumb {

    width: 100%;

    height: 170px;

    min-height: 170px;

    max-height: 170px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

    overflow: hidden;

    padding: 8px;

    box-sizing: border-box;

}



.dk-card-thumb img {

    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

    object-fit: contain;

    border-radius: 8px;

    transition: transform 0.25s ease;

    display: block;

}



.dk-carousel-card:hover .dk-card-thumb img {

    transform: scale(1.04);

}



.dk-card-title {

    font-size: 12.5px;

    font-weight: 600;

    line-height: 22px;

    color: var(--dk-text);

    margin: 0 0 10px 0;

    overflow: hidden;

    text-overflow: ellipsis;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    min-height: 44px;

    text-align: right;

}



.dk-card-price-block {

    margin-top: auto;

    display: flex;

    flex-direction: column;

    gap: 6px;

    width: 100%;

}



.dk-card-price-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    min-height: 22px;

}



.dk-discount-badge {

    background: var(--ps-primary, #ef394e);

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: 12px;

    line-height: 1.4;

    display: inline-block;

}



.dk-card-price-old {

    font-size: 11px;

    color: #c0c2c5;

    text-decoration: line-through;

    text-align: left;

    direction: ltr;

}



.dk-card-price-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

}



.dk-card-price-val {

    display: flex;

    align-items: baseline;

    gap: 4px;

}



.dk-c-num {

    font-size: 15px;

    font-weight: 800;

    color: var(--dk-text);

}



.dk-c-unit {

    font-size: 11px;

    font-weight: 600;

    color: var(--dk-text-muted);

}



/* 4. Digikala Bestsellers Ranked */

.dk-bestsellers-box {

    background: #fff;

    border: 1px solid var(--dk-border);

    border-radius: 16px;

    padding: 24px;

}



.dk-bestsellers-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;

    padding-bottom: 14px;

    border-bottom: 1px solid #f0f0f1;

}



.dk-bestsellers-title-wrap {

    display: flex;

    align-items: center;

    gap: 12px;

}



.dk-bestsellers-icon {

    width: 38px;

    height: 38px;

    border-radius: 12px;

    background: #fff5f5;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-bestsellers-title {

    font-size: 17px;

    font-weight: 800;

    color: var(--dk-text);

    margin: 0;

}



.dk-bestsellers-subtitle {

    font-size: 12px;

    color: var(--dk-text-hint);

    margin: 2px 0 0 0;

}



.dk-bestsellers-view-all {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    font-weight: 700;

    color: var(--dk-cyan);

    text-decoration: none;

}



.dk-bestsellers-view-all:hover {

    color: #008eb2;

}



.dk-bestsellers-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    grid-auto-flow: row;

    gap: 16px;

}



@media (max-width: 1100px) {

    .dk-bestsellers-grid { grid-template-columns: repeat(3, 1fr); }

}



@media (max-width: 768px) {

    .dk-bestsellers-grid { grid-template-columns: repeat(2, 1fr); }

}



@media (max-width: 520px) {

    .dk-bestsellers-grid { grid-template-columns: 1fr; }

}



.dk-ranked-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 12px;

    border-radius: 10px;

    text-decoration: none;

    color: inherit;

    border-bottom: 1px solid #f5f5f6;

    transition: background 0.2s;

}



.dk-ranked-item:hover {

    background: #f8fafc;

}



.dk-ranked-thumb {

    width: 80px;

    height: 80px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-ranked-thumb img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

}



.dk-rank-number {

    font-size: 26px;

    font-weight: 900;

    color: var(--dk-cyan);

    min-width: 24px;

    text-align: center;

    line-height: 1;

}



.dk-ranked-info {

    display: flex;

    flex-direction: column;

    gap: 6px;

    overflow: hidden;

}



.dk-ranked-title {

    font-size: 12px;

    font-weight: 600;

    line-height: 18px;

    color: var(--dk-text);

    margin: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

}



.dk-ranked-price {

    font-size: 13px;

    font-weight: 700;

    color: var(--dk-text-dark);

    display: flex;

    align-items: center;

    gap: 4px;

}



.dk-ranked-price small {

    font-size: 10px;

    font-weight: 500;

    color: var(--dk-text-muted);

}



/* ==========================================================================

   Digikala Single Product Interactive Enhancements

   ========================================================================== */



/* 1. Toast Notification */

.dk-toast {

    position: fixed;

    bottom: 30px;

    right: 30px;

    background: #23254e;

    color: #fff;

    padding: 12px 24px;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 700;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);

    z-index: 999999;

    transform: translateY(80px);

    opacity: 0;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    pointer-events: none;

}



.dk-toast.show {

    transform: translateY(0);

    opacity: 1;

    pointer-events: auto;

}



/* 2. Wishlist Button Active State */

.dk-action-icon-btn.dk-btn-wishlist.active {

    color: #ef394e;

}



.dk-action-icon-btn.dk-btn-wishlist.active svg {

    fill: #ef394e;

    stroke: #ef394e;

}



/* 3. Share Modal Popup */

.dk-modal-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(4px);

    z-index: 999999;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition: opacity 0.25s ease, visibility 0.25s ease;

}



.dk-modal-overlay.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}



.dk-modal-box {

    background: #fff;

    border-radius: 16px;

    width: 92%;

    max-width: 480px;

    padding: 24px;

    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);

    position: relative;

    transform: scale(0.92);

    transition: transform 0.25s ease;

}



.dk-modal-overlay.active .dk-modal-box {

    transform: scale(1);

}



.dk-modal-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid #f0f0f1;

    padding-bottom: 12px;

    margin-bottom: 16px;

}



.dk-modal-header h3 {

    margin: 0;

    font-size: 16px;

    font-weight: 800;

    color: #23254e;

}



.dk-modal-close {

    background: none;

    border: none;

    font-size: 18px;

    color: #81858b;

    cursor: pointer;

    padding: 4px 8px;

    border-radius: 6px;

    transition: background 0.2s;

}



.dk-modal-close:hover {

    background: #f0f0f1;

    color: #1e1e24;

}



.dk-modal-desc {

    font-size: 13px;

    color: #62666d;

    margin-bottom: 14px;

}



.dk-share-link-row {

    display: flex;

    gap: 8px;

}



.dk-share-link-row input {

    flex-grow: 1;

    border: 1px solid #e0e0e2;

    border-radius: 8px;

    padding: 10px 14px;

    direction: ltr;

    font-size: 12px;

    background: #f9f9f9;

    color: #23254e;

}



.dk-btn-copy {

    background: var(--dk-red);

    color: #fff;

    border: none;

    border-radius: 8px;

    padding: 0 18px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s;

    white-space: nowrap;

}



.dk-btn-copy:hover {

    background: var(--dk-red-dark);

}



/* 4. Color Selector */

.dk-color-selector-wrap {

    margin-bottom: 22px;

}



.dk-color-header {

    display: flex;

    gap: 8px;

    margin-bottom: 12px;

    font-size: 13px;

    font-weight: 700;

}



.dk-color-title {

    color: #81858b;

}



.dk-selected-color-name {

    color: #23254e;

}



.dk-color-options {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

}



.dk-color-pill {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 6px 14px;

    border: 1px solid #e0e0e2;

    border-radius: 20px;

    background: #fff;

    cursor: pointer;

    transition: all 0.2s ease;

    font-family: inherit;

}



.dk-color-pill:hover {

    border-color: #008eb2;

}



.dk-color-pill.active {

    border-color: #008eb2;

    box-shadow: 0 0 0 1px #008eb2;

    background: #f0faff;

}



.dk-color-circle {

    width: 18px;

    height: 18px;

    border-radius: 50%;

    border: 1px solid rgba(0, 0, 0, 0.15);

    flex-shrink: 0;

}



.dk-color-name {

    font-size: 12px;

    font-weight: 700;

    color: #3f4064;

}



.dk-color-check {

    display: none;

    color: #008eb2;

    margin-right: -2px;

}



.dk-color-pill.active .dk-color-check {

    display: inline-block;

}



/* 5. Four Guarantee Badges Under Gallery */

.dk-gallery-guarantees {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin-top: 18px;

}



.dk-guarantee-pill {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 12px;

    border: 1px solid #f0f0f1;

    border-radius: 10px;

    background: #fafafa;

    font-size: 11px;

    font-weight: 700;

    color: #62666d;

}



/* 6. Buy Box Extras */

.dk-club-row {

    color: #008eb2;

    font-weight: 700;

    font-size: 12px;

}



.dk-best-price-note {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    margin-top: 14px;

    font-size: 11px;

    font-weight: 700;

    color: #029a49;

}



/* 7. Rating Breakdown Card & Bars */

.dk-rating-summary-card {

    display: grid;

    grid-template-columns: 200px 1fr;

    gap: 30px;

    background: #fbfbfb;

    border: 1px solid #f0f0f1;

    border-radius: 14px;

    padding: 24px;

    margin-bottom: 30px;

}



@media (max-width: 768px) {

    .dk-rating-summary-card {

        grid-template-columns: 1fr;

        gap: 20px;

    }

}



.dk-rating-big-score {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-left: 1px solid #e0e0e2;

    padding-left: 24px;

    text-align: center;

}



@media (max-width: 768px) {

    .dk-rating-big-score {

        border-left: none;

        border-bottom: 1px solid #e0e0e2;

        padding-left: 0;

        padding-bottom: 20px;

    }

}



.dk-big-num {

    font-size: 42px;

    font-weight: 900;

    color: #23254e;

    line-height: 1;

}



.dk-from-five {

    font-size: 13px;

    color: #81858b;

    margin-top: 4px;

}



.dk-stars-visual {

    color: #f9bc00;

    font-size: 20px;

    margin: 8px 0;

    letter-spacing: 2px;

}



.dk-rating-big-score small {

    font-size: 11px;

    color: #81858b;

}



.dk-rating-bars {

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 12px;

}



.dk-bar-item {

    display: grid;

    grid-template-columns: 150px 1fr 35px;

    align-items: center;

    gap: 12px;

    font-size: 12px;

    font-weight: 600;

    color: #3f4064;

}



@media (max-width: 480px) {

    .dk-bar-item {

        grid-template-columns: 110px 1fr 30px;

    }

}



.dk-bar-track {

    height: 6px;

    background: #e0e0e2;

    border-radius: 3px;

    overflow: hidden;

}



.dk-bar-fill {

    height: 100%;

    background: #008eb2;

    border-radius: 3px;

}



/* 8. Sticky Bottom Buy Bar */

.dk-sticky-buy-bar {

    position: fixed;

    bottom: 0;

    left: 0;

    right: 0;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);

    border-top: 1px solid rgba(224, 224, 226, 0.85);

    z-index: 999;

    transform: translateY(100%);

    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;

    padding: 10px 0;

}



.dk-sticky-buy-bar.visible {

    transform: translateY(0);

}



/* Prevent collisions with floating buttons and toasts when sticky bar is visible */

body.has-sticky-bar-visible #ps-floating-support,

body.has-sticky-bar-visible #ps-back-to-top,

body.has-sticky-bar-visible .dk-back-to-top,

body.has-sticky-bar-visible .ps-sales-toast {

    bottom: 84px !important;

    transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;

}



@media (max-width: 768px) {

    body.has-sticky-bar-visible #ps-floating-support,

    body.has-sticky-bar-visible #ps-back-to-top,

    body.has-sticky-bar-visible .dk-back-to-top,

    body.has-sticky-bar-visible .ps-sales-toast {

        bottom: 74px !important;

    }

}



.dk-sticky-bar-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.dk-sticky-product-info {

    display: flex;

    align-items: center;

    gap: 14px;

}



.dk-sticky-product-info img {

    width: 48px;

    height: 48px;

    object-fit: contain;

    border-radius: 8px;

}



.dk-sticky-title {

    font-size: 13px;

    font-weight: 700;

    margin: 0;

    color: #23254e;

    max-width: 420px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



@media (max-width: 900px) {

    .dk-sticky-title {

        max-width: 200px;

    }

}



.dk-sticky-guarantee {

    font-size: 11px;

    color: #81858b;

    display: block;

    margin-top: 2px;

}



.dk-sticky-buy-action {

    display: flex;

    align-items: center;

    gap: 20px;

}



.dk-sticky-price-col {

    display: flex;

    align-items: center;

    gap: 8px;

}



.dk-sticky-price {

    font-size: 16px;

    font-weight: 800;

    color: #23254e;

    display: flex;

    align-items: baseline;

    gap: 4px;

}



.dk-sticky-price small {

    font-size: 11px;

    font-weight: 600;

    color: #81858b;

}



.dk-sticky-btn {

    min-width: 160px;

    height: 42px;

    border-radius: 8px;

}



/* ==========================================================================

   Interactive Modals: Lightbox, Price Chart, Compare, Add-to-List

   ========================================================================== */



/* 1. Main Image Zoom Hint */

.dk-gallery-main {

    position: relative;

    cursor: zoom-in;

}



.dk-zoom-hint-badge {

    position: absolute;

    bottom: 12px;

    right: 12px;

    background: rgba(35, 37, 78, 0.85);

    backdrop-filter: blur(4px);

    color: #fff;

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 6px;

    opacity: 0.95;

    transform: translateY(0);

    transition: all 0.25s ease;

    pointer-events: none;

    z-index: 10;

}



.dk-gallery-main:hover .dk-zoom-hint-badge {

    opacity: 1;

    background: rgba(var(--ps-btn-primary-rgb, var(--ps-primary-rgb, 239, 57, 78)), 0.92);

    box-shadow: 0 4px 14px rgba(var(--ps-btn-primary-rgb, var(--ps-primary-rgb, 239, 57, 78)), 0.4);

}



/* 2. Digikala Image Lightbox Modal with Zoom & Pan */

.dk-lightbox-overlay {

    background: rgba(15, 15, 25, 0.92);

    backdrop-filter: blur(10px);

    z-index: 9999999;

}



.dk-lightbox-container {

    background: #fff;

    border-radius: 20px;

    width: 92%;

    max-width: 880px;

    padding: 20px 24px;

    display: flex;

    flex-direction: column;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);

    position: relative;

    max-height: 92vh;

    transform: scale(0.96);

    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);

}



.dk-modal-overlay.active .dk-lightbox-container {

    transform: scale(1);

}



.dk-lightbox-top-bar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 14px;

    padding-bottom: 12px;

    border-bottom: 1px solid #f0f0f1;

}



.dk-lightbox-title-area {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #23254e;

}



.dk-lb-heading {

    font-size: 14px;

    font-weight: 800;

}



.dk-lightbox-counter {

    font-size: 12px;

    font-weight: 700;

    color: #81858b;

    background: #f0f0f1;

    padding: 3px 10px;

    border-radius: 12px;

}



.dk-lightbox-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}



.dk-lb-action-btn {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 14px;

    border: 1px solid #e0e0e2;

    border-radius: 20px;

    background: #fff;

    font-size: 12px;

    font-weight: 700;

    color: #3f4064;

    cursor: pointer;

    transition: all 0.2s;

}



.dk-lb-action-btn:hover {

    border-color: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    color: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    background: rgba(var(--ps-btn-primary-rgb, var(--ps-primary-rgb, 239, 57, 78)), 0.08);

}



.dk-lightbox-close {

    background: #f0f0f1;

    border: none;

    font-size: 16px;

    color: #62666d;

    cursor: pointer;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s;

}



.dk-lightbox-close:hover {

    background: #e0e0e2;

    color: #111;

}



.dk-lightbox-main-view {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 380px;

    height: 52vh;

    max-height: 540px;

    background: #fafafa;

    border: 1px solid #f0f0f1;

    border-radius: 14px;

    overflow: hidden;

}



.dk-lb-img-wrap {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: zoom-in;

    overflow: hidden;

    position: relative;

}



.dk-lb-img-wrap.zoomed {

    cursor: zoom-out;

}



.dk-lb-img-wrap img {

    max-width: 90%;

    max-height: 90%;

    object-fit: contain;

    transform-origin: center center;

    transition: transform 0.2s ease-out;

    user-select: none;

    pointer-events: none;

}



.dk-lb-zoom-tip {

    position: absolute;

    bottom: 12px;

    right: 16px;

    left: auto;

    transform: none;

    background: rgba(15, 23, 42, 0.75);

    backdrop-filter: blur(4px);

    color: #fff;

    padding: 5px 12px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 600;

    pointer-events: none;

    opacity: 0;

    transition: opacity 0.2s ease-in-out;

    z-index: 10;

}



.dk-lb-img-wrap:hover .dk-lb-zoom-tip {

    opacity: 0.9;

}



.dk-lb-nav-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 44px;

    height: 44px;

    border-radius: 50%;

    background: #fff;

    border: 1px solid #e0e0e2;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 10;

    transition: all 0.2s;

    color: #23254e;

}



.dk-lb-nav-btn:hover {

    background: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    border-color: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    color: #fff;

    box-shadow: 0 6px 20px rgba(var(--ps-btn-primary-rgb, var(--ps-primary-rgb, 239, 57, 78)), 0.35);

}



.dk-lb-prev { right: 14px; }

.dk-lb-next { left: 14px; }



.dk-lightbox-thumbs-bar {

    display: flex;

    gap: 12px;

    justify-content: center;

    margin-top: 16px;

    padding-top: 12px;

    border-top: 1px solid #f0f0f1;

    overflow-x: auto;

}



.dk-lb-thumb-item {

    width: 60px;

    height: 60px;

    border-radius: 10px;

    border: 2px solid transparent;

    padding: 4px;

    cursor: pointer;

    transition: all 0.2s;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fafafa;

    flex-shrink: 0;

}



.dk-lb-thumb-item:hover {

    border-color: #c0c2c5;

}



.dk-lb-thumb-item.active {

    border-color: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    background: #fff;

    box-shadow: 0 0 0 1px var(--ps-btn-primary, var(--ps-primary, #ef394e));

}



.dk-lb-thumb-item img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

}



/* 3. Price Chart Modal */

.dk-chart-modal-box {

    max-width: 640px;

    width: 95%;

}



.dk-modal-header-title {

    display: flex;

    align-items: center;

    gap: 10px;

}



.dk-modal-header-title h3 {

    margin: 0;

    font-size: 16px;

    font-weight: 800;

    color: #23254e;

}



.dk-chart-product-title {

    font-size: 12px;

    font-weight: 600;

    color: #81858b;

    margin-bottom: 16px;

    line-height: 1.6;

}



.dk-chart-period-tabs {

    display: flex;

    gap: 8px;

    margin-bottom: 16px;

}



.dk-period-btn {

    padding: 6px 14px;

    border: 1px solid #e0e0e2;

    border-radius: 20px;

    background: #fff;

    font-size: 12px;

    font-weight: 700;

    color: #62666d;

    cursor: pointer;

    transition: all 0.2s;

}



.dk-period-btn:hover {

    border-color: #ef394e;

    color: #ef394e;

}



.dk-period-btn.active {

    background: #ef394e;

    border-color: #ef394e;

    color: #fff;

}



.dk-chart-stats-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    background: #fbfbfb;

    border: 1px solid #f0f0f1;

    border-radius: 12px;

    padding: 14px;

    margin-bottom: 18px;

}



@media (max-width: 580px) {

    .dk-chart-stats-grid {

        grid-template-columns: 1fr;

    }

}



.dk-chart-stat-item {

    display: flex;

    flex-direction: column;

    gap: 4px;

    font-size: 11px;

    color: #81858b;

}



.dk-chart-stat-item strong {

    font-size: 14px;

    font-weight: 800;

    color: #23254e;

}



.dk-chart-canvas-wrap {

    position: relative;

    background: #fafafa;

    border-radius: 12px;

    padding: 12px 6px;

    border: 1px solid #f0f0f1;

}



.dk-svg-chart {

    width: 100%;

    height: auto;

    display: block;

}



.dk-chart-dot {

    cursor: pointer;

    transition: r 0.2s;

}



.dk-chart-dot:hover {

    r: 8;

}



.dk-chart-tooltip {

    position: absolute;

    top: 14px;

    right: 14px;

    background: #23254e;

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    padding: 6px 14px;

    border-radius: 8px;

    opacity: 0;

    transition: opacity 0.2s ease;

    pointer-events: none;

}



.dk-chart-tooltip.show {

    opacity: 1;

}



/* 4. Product Compare Modal */

.dk-compare-modal-box {

    max-width: 780px;

    width: 95%;

}



.dk-compare-table-wrap {

    overflow-x: auto;

}



.dk-compare-table {

    width: 100%;

    border-collapse: collapse;

    font-size: 12px;

}



.dk-compare-table th,

.dk-compare-table td {

    padding: 12px 14px;

    border: 1px solid #f0f0f1;

    vertical-align: top;

    text-align: right;

}



.dk-compare-table thead th {

    background: #fbfbfb;

}



.dk-compare-table .dk-highlight-col {

    background: #f7fcfe;

    border-left: 2px solid #008eb2;

    border-right: 2px solid #008eb2;

}



.dk-comp-prod-header {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 8px;

}



.dk-comp-prod-header img {

    width: 70px;

    height: 70px;

    object-fit: contain;

}



.dk-comp-prod-header h4 {

    font-size: 12px;

    font-weight: 700;

    margin: 0;

    color: #23254e;

    line-height: 1.5;

}



.dk-comp-price {

    font-size: 13px;

    font-weight: 800;

    color: #ef394e;

}



/* 5. Add To List Modal */

.dk-custom-lists-group {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-bottom: 18px;

}



.dk-list-choice-item {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 14px;

    border: 1px solid #f0f0f1;

    border-radius: 8px;

    cursor: pointer;

    transition: background 0.2s;

    font-size: 13px;

    font-weight: 600;

    color: #3f4064;

}



.dk-list-choice-item:hover {

    background: #fafafa;

}



.dk-new-list-row {

    display: flex;

    gap: 8px;

    margin-bottom: 20px;

}



.dk-new-list-row input {

    flex-grow: 1;

    border: 1px solid #e0e0e2;

    border-radius: 8px;

    padding: 8px 12px;

    font-size: 12px;

}



.dk-btn-secondary {

    background: #f0f0f1;

    border: 1px solid #e0e0e2;

    color: #3f4064;

    border-radius: 8px;

    padding: 0 14px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s;

    white-space: nowrap;

}



.dk-btn-secondary:hover {

    background: #e0e0e2;

}



.dk-modal-footer-action {

    border-top: 1px solid #f0f0f1;

    padding-top: 14px;

}



/* ==========================================================================

   PERSIANSHOP THEME: COMPLETE 100% RESPONSIVENESS SYSTEM

   Optimized for Mobile (360px - 576px), Tablet (768px - 992px), Desktop

   ========================================================================== */



/* 1. Global Box-Sizing & Viewport Overflow Protection */

html, body {

    overflow-x: hidden !important;

    width: 100%;

    max-width: 100vw;

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



*, *::before, *::after {

    box-sizing: border-box;

}



/* 2. Responsive Header & Navigation (Digikala Mobile Header) */

@media (max-width: 1024px) {

    /* Hide desktop sub-navigation completely on mobile and tablet */

    .dk-header-nav {

        display: none !important;

    }



    .dk-nav-list {

        display: none !important;

    }



    .dk-location-btn {

        display: none !important;

    }



    .dk-mega-menu {

        display: none !important;

    }



    /* Show Mobile Menu Trigger (Hamburger) */

    .dk-mobile-menu-trigger {

        display: flex !important;

    }



    /* Show Fixed Mobile Bottom Bar */

    .dk-mobile-bottom-bar {

        display: flex !important;

    }



    body {

        padding-bottom: 64px !important;

    }



    /* Header Main Row on Mobile / Tablet */

    .dk-header-main {

        height: auto !important;

        padding: 10px 0 !important;

        flex-wrap: wrap !important;

        justify-content: space-between !important;

        height: auto !important;

        gap: 8px !important;

    }



    .dk-header-right {

        order: 1 !important;

        flex: 0 0 auto !important;

        display: flex !important;

        align-items: center !important;

        gap: 12px !important;

    }



    .dk-header-actions {

        order: 2 !important;

        margin-right: auto !important;

        display: flex !important;

        align-items: center !important;

        gap: 12px !important;

    }



    .dk-auth-btn span {

        display: none !important;

    }



    .dk-auth-btn {

        padding: 8px 12px !important;

    }



    .dk-search-box {

        order: 3 !important;

        width: 100% !important;

        max-width: 100% !important;

        flex: 0 0 100% !important;

        margin: 6px 0 0 0 !important;

    }



    .dk-search-input {

        width: 100% !important;

        max-width: 100% !important;

        box-sizing: border-box !important;

        height: 42px !important;

        font-size: 12.5px !important;

        padding: 0 40px 0 12px !important;

    }



    .dk-search-icon {

        right: 12px !important;

    }

}



@media (max-width: 640px) {

    .dk-top-banner {

        font-size: 11px;

        padding: 6px 12px;

        gap: 8px;

    }



    /* Header Main 2-Row Digikala Mobile Layout */

    .dk-header-main {

        flex-wrap: wrap;

        padding: 10px 0;

        gap: 10px;

    }



    .dk-header-right {

        order: 1;

        flex: 0 0 auto;

        display: flex;

        align-items: center;

        gap: 8px;

    }



    .dk-logo-text {

        font-size: 21px;

    }



    .dk-header-actions {

        order: 2;

        gap: 10px;

    }



    .dk-auth-btn {

        padding: 7px 10px;

        font-size: 11px;

    }



    .dk-auth-btn span {

        display: none;

    }



    .dk-cart-btn {

        width: 38px;

        height: 38px;

    }



    .dk-search-box {

        order: 3;

        width: 100%;

        max-width: 100%;

        margin-top: 2px;

    }



    .dk-search-input {

        width: 100% !important;

        max-width: 100% !important;

        box-sizing: border-box !important;

        height: 40px !important;

        font-size: 12px !important;

        padding: 0 38px 0 12px !important;

    }



    .dk-search-icon {

        right: 10px;

    }



    .dk-mega-grid {

        grid-template-columns: 1fr !important;

        gap: 14px !important;

    }

}



/* 3. Single Product Page Responsiveness */

@media (max-width: 1024px) {

    .dk-product-main-grid {

        grid-template-columns: 360px 1fr !important;

        gap: 24px;

    }



    .dk-product-buybox-col {

        grid-column: span 2;

    }

}



@media (max-width: 768px) {

    .dk-product-main-grid {

        grid-template-columns: 1fr !important;

        gap: 20px;

    }



    .dk-product-buybox-col {

        grid-column: span 1;

    }



    /* Gallery Actions as Horizontal Row above preview on mobile */

    .dk-gallery-actions {

        position: static !important;

        flex-direction: row !important;

        justify-content: center !important;

        flex-wrap: wrap !important;

        gap: 10px !important;

        margin-bottom: 12px !important;

    }



    .dk-action-icon-btn {

        width: 38px;

        height: 38px;

    }



    .dk-gallery-main {

        height: 300px !important;

        margin-bottom: 12px !important;

    }



    .dk-gallery-main img {

        max-height: 270px !important;

    }



    .dk-gallery-thumbs {

        justify-content: flex-start !important;

        padding: 4px 2px !important;

    }



    .dk-thumb-item {

        width: 56px;

        height: 56px;

    }



    .dk-single-title {

        font-size: 16px !important;

        line-height: 1.6 !important;

    }



    .dk-single-en-title {

        font-size: 11px !important;

    }



    .dk-single-features-wrap {

        margin: 12px 0;

    }



    .dk-features-list li {

        font-size: 12px !important;

        gap: 8px;

    }



    /* Rating Summary Card Responsive */

    .dk-rating-summary-card {

        grid-template-columns: 1fr !important;

        padding: 16px !important;

        gap: 16px !important;

    }



    .dk-rating-big-score {

        border-left: none !important;

        border-bottom: 1px solid #e0e0e2 !important;

        padding-left: 0 !important;

        padding-bottom: 16px !important;

    }



    /* Specifications Table Responsive on Mobile */

    .dk-spec-row {

        flex-direction: column !important;

    }



    .dk-spec-label {

        width: 100% !important;

        border-left: none !important;

        border-bottom: 1px solid #f0f0f1 !important;

        background: #fbfbfb !important;

        padding: 8px 14px !important;

        font-weight: 700 !important;

        font-size: 12px !important;

    }



    .dk-spec-value {

        width: 100% !important;

        padding: 8px 14px !important;

        font-size: 12px !important;

    }



    /* Tabs Navigation */

    .dk-tabs-nav {

        gap: 14px !important;

        overflow-x: auto !important;

        white-space: nowrap !important;

        scrollbar-width: none !important;

        padding-bottom: 4px;

    }



    .dk-tabs-nav::-webkit-scrollbar {

        display: none;

    }



    .dk-tab-btn {

        font-size: 13px !important;

        padding: 10px 4px !important;

    }



    /* Sticky Bottom Buy Bar Responsive */

    .dk-sticky-buy-bar {

        padding: 8px 0 !important;

    }



    .dk-sticky-product-info img {

        width: 38px !important;

        height: 38px !important;

    }



    .dk-sticky-title {

        max-width: 140px !important;

        font-size: 11px !important;

    }



    .dk-sticky-guarantee {

        display: none !important;

    }



    .dk-sticky-buy-action {

        gap: 10px !important;

    }



    .dk-sticky-price {

        font-size: 14px !important;

    }



    .dk-sticky-btn {

        min-width: 120px !important;

        height: 38px !important;

        font-size: 12px !important;

        padding: 0 10px !important;

    }

}



@media (max-width: 480px) {

    .dk-gallery-main {

        height: 250px !important;

    }



    .dk-gallery-main img {

        max-height: 220px !important;

    }



    .dk-thumb-item {

        width: 48px;

        height: 48px;

    }



    .dk-gallery-guarantees {

        grid-template-columns: 1fr 1fr !important;

        gap: 6px !important;

    }



    .dk-guarantee-pill {

        font-size: 10px !important;

        padding: 6px 8px !important;

        gap: 4px !important;

    }



    .dk-guarantee-pill svg {

        width: 14px;

        height: 14px;

    }



    .dk-bar-item {

        grid-template-columns: 100px 1fr 28px !important;

        font-size: 11px !important;

        gap: 8px !important;

    }



    /* Sticky Buy Bar on Very Small Screens */

    .dk-sticky-product-info {

        display: none !important;

    }



    .dk-sticky-bar-inner {

        justify-content: space-between !important;

        width: 100% !important;

        padding: 0 12px;

    }



    .dk-sticky-buy-action {

        width: 100% !important;

        justify-content: space-between !important;

    }



    .dk-sticky-btn {

        min-width: 140px !important;

    }

}



/* 4. Modals 100% Responsiveness */

@media (max-width: 768px) {

    /* Lightbox Modal */

    .dk-lightbox-container {

        width: 96% !important;

        max-width: 96% !important;

        padding: 14px !important;

        max-height: 94vh !important;

        border-radius: 14px !important;

    }



    .dk-lightbox-top-bar {

        margin-bottom: 10px !important;

        padding-bottom: 8px !important;

    }



    .dk-lb-heading {

        font-size: 12px !important;

    }



    .dk-lb-action-btn {

        padding: 5px 10px !important;

        font-size: 11px !important;

    }



    .dk-lightbox-main-view {

        min-height: 240px !important;

        height: 44vh !important;

        max-height: 400px !important;

    }



    .dk-lb-nav-btn {

        width: 36px !important;

        height: 36px !important;

    }



    .dk-lb-nav-btn svg {

        width: 18px !important;

        height: 18px !important;

    }



    .dk-lb-prev { right: 8px !important; }

    .dk-lb-next { left: 8px !important; }



    .dk-lb-thumb-item {

        width: 48px !important;

        height: 48px !important;

        border-radius: 8px !important;

    }



    .dk-lb-zoom-tip {

        font-size: 10px !important;

        padding: 4px 10px !important;

        bottom: 8px !important;

    }



    /* Compare Modal */

    .dk-compare-modal-box {

        padding: 14px !important;

        width: 96% !important;

    }



    .dk-compare-table {

        min-width: 480px !important;

        font-size: 11px !important;

    }



    .dk-comp-prod-header img {

        width: 50px !important;

        height: 50px !important;

    }



    .dk-comp-prod-header h4 {

        font-size: 11px !important;

    }

}



@media (max-width: 580px) {

    /* Price Chart Modal */

    .dk-chart-modal-box {

        padding: 16px !important;

        width: 95% !important;

    }



    .dk-chart-stats-grid {

        grid-template-columns: 1fr !important;

        gap: 8px !important;

        padding: 10px !important;

    }



    .dk-chart-period-tabs {

        flex-wrap: wrap !important;

        gap: 6px !important;

    }



    .dk-period-btn {

        padding: 5px 12px !important;

        font-size: 11px !important;

    }



    /* Add To List & Share Modals */

    .dk-modal-box {

        padding: 16px !important;

        width: 94% !important;

    }



    .dk-share-link-row {

        flex-direction: column !important;

    }



    .dk-share-link-row input {

        width: 100% !important;

    }



    .dk-btn-copy {

        width: 100% !important;

        height: 38px !important;

    }



    .dk-new-list-row {

        flex-direction: column !important;

    }



    .dk-new-list-row input {

        width: 100% !important;

    }



    .dk-btn-secondary {

        width: 100% !important;

        height: 38px !important;

    }

}



/* 5. Cart & Checkout Pages Responsiveness */

@media (max-width: 992px) {

    .dk-cart-layout {

        grid-template-columns: 1fr !important;

    }



    .dk-checkout-layout {

        grid-template-columns: 1fr !important;

    }

}



@media (max-width: 600px) {

    .dk-checkout-steps {

        gap: 8px !important;

        padding: 16px 0 20px !important;

    }



    .dk-step-line {

        width: 25px !important;

    }



    .dk-step-item {

        font-size: 11px !important;

        gap: 4px !important;

    }



    .dk-step-num {

        width: 22px !important;

        height: 22px !important;

        font-size: 11px !important;

    }



    .dk-cart-item-card {

        flex-direction: column !important;

        align-items: flex-start !important;

        gap: 14px !important;

        padding: 14px !important;

    }



    .dk-cart-item-right {

        flex-direction: row !important;

        width: 100% !important;

        justify-content: space-between !important;

        align-items: center !important;

    }



    .dk-cart-item-thumb {

        width: 80px !important;

        height: 80px !important;

    }



    .dk-cart-item-left {

        width: 100% !important;

    }



    .dk-cart-item-price-block {

        justify-content: space-between !important;

        width: 100% !important;

        margin-top: 10px !important;

    }

}



/* 6. Shop & Archive Page Responsiveness */

@media (max-width: 900px) {

    .dk-archive-layout {

        grid-template-columns: 1fr !important;

    }



    .dk-filter-card {

        margin-bottom: 20px !important;

    }

}



@media (max-width: 480px) {

    .dk-product-box {

        padding: 12px 10px !important;

    }



    .dk-box-thumb {

        height: 150px !important;

    }



    .dk-box-title {

        font-size: 12px !important;

        line-height: 18px !important;

    }



    .dk-cur-price {

        font-size: 15px !important;

    }

}









/* ==========================================================================

   Digikala Clone Mobile Drawer, Bottom Bar, Live Search & Dynamic Modals

   ========================================================================== */



/* 1. Mobile Menu Trigger Button (Header) */

.dk-mobile-menu-trigger {

    display: none;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    background: transparent;

    border: none;

    border-radius: var(--dk-radius-sm, 8px);

    color: #3f4064;

    cursor: pointer;

    transition: background-color 0.2s ease;

    flex-shrink: 0;

}



.dk-mobile-menu-trigger:hover,

.dk-mobile-menu-trigger:active {

    background-color: #f0f0f1;

}



/* 2. Slide-in Mobile Drawer & Overlay */

.dk-drawer-overlay {

    position: fixed;

    top: 0;

    right: 0;

    bottom: 0;

    left: 0;

    background: rgba(0, 0, 0, 0.6);

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease;

    z-index: 19999;

}



.dk-drawer-overlay.active {

    opacity: 1;

    pointer-events: auto;

}



body.dk-drawer-open {

    overflow: hidden !important;

}



.dk-mobile-drawer {

    position: fixed;

    top: 0;

    right: 0;

    width: 320px;

    max-width: 85vw;

    height: 100vh;

    background: #ffffff;

    z-index: 20000;

    transform: translateX(100%);

    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);

    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);

    display: flex;

    flex-direction: column;

    overflow-y: auto;

    -webkit-overflow-scrolling: touch;

}



.dk-mobile-drawer.active {

    transform: translateX(0);

}



.dk-drawer-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 16px 18px;

    border-bottom: 1px solid #f1f2f4;

    position: sticky;

    top: 0;

    background: #fff;

    z-index: 10;

}



.dk-drawer-close {

    background: transparent;

    border: none;

    color: #767790;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    transition: all 0.2s ease;

}



.dk-drawer-close:hover {

    background-color: #f0f0f1;

    color: #0c0c0c;

}



.dk-drawer-user-card {

    margin: 12px 14px;

    background: #f7f7f8;

    border-radius: 12px;

    padding: 12px 14px;

    border: 1px solid #eef0f2;

}



.dk-drawer-user-link {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: inherit;

}



.dk-drawer-avatar {

    width: 42px;

    height: 42px;

    background: #fff;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ef394e;

    box-shadow: 0 2px 6px rgba(0,0,0,0.06);

    flex-shrink: 0;

}



.dk-drawer-user-info {

    display: flex;

    flex-direction: column;

    gap: 2px;

}



.dk-drawer-user-info strong {

    font-size: 13px;

    color: #0c0c0c;

}



.dk-drawer-user-info span {

    font-size: 11px;

    color: #008eb2;

}



.dk-drawer-section-title {

    padding: 14px 18px 8px;

    font-size: 12px;

    font-weight: 700;

    color: #81858b;

    border-bottom: 1px solid #f5f5f6;

}



/* Mobile Categories Accordion */

.dk-mobile-accordion {

    display: flex;

    flex-direction: column;

}



.dk-accordion-item {

    border-bottom: 1px solid #f1f2f4;

}



.dk-accordion-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 14px 18px;

    cursor: pointer;

    user-select: none;

    transition: background 0.15s ease;

}



.dk-accordion-head:hover,

.dk-accordion-item.active .dk-accordion-head {

    background-color: #fafafb;

}



.dk-accordion-title {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13.5px;

    font-weight: 600;

    color: #3f4064;

}



.dk-accordion-chevron {

    color: #81858b;

    transition: transform 0.25s ease;

}



.dk-accordion-item.active .dk-accordion-chevron {

    transform: rotate(180deg);

    color: #ef394e;

}



.dk-accordion-body {

    display: none;

    background: #fbfbfd;

    padding: 6px 18px 12px 18px;

    border-top: 1px solid #f0f0f2;

}



.dk-accordion-body ul {

    list-style: none;

    margin: 0;

    padding: 0;

}



.dk-accordion-body li a {

    display: block;

    padding: 8px 12px;

    font-size: 12.5px;

    color: #4a4b6d;

    border-radius: 6px;

    transition: all 0.15s ease;

}



.dk-accordion-body li a:hover {

    color: #ef394e;

    background: #fff;

    padding-right: 16px;

}



.dk-accordion-body li a.dk-all-subcat-link {

    color: #008eb2;

    font-weight: 600;

    margin-bottom: 4px;

}



.dk-drawer-quick-links {

    padding: 16px 14px 28px;

    display: flex;

    flex-direction: column;

    gap: 6px;

    margin-top: auto;

    border-top: 2px solid #f1f2f4;

    background: #fff;

}



.dk-drawer-quick-item {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 12px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 500;

    color: #3f4064;

    transition: background 0.15s ease;

}



.dk-drawer-quick-item:hover {

    background-color: #f7f7f8;

}



.dk-drawer-quick-item.highlight {

    color: #ef394e;

    font-weight: 700;

}



/* 3. Fixed Mobile Bottom Navigation Bar */

.dk-mobile-bottom-bar {

    display: none;

    position: fixed;

    bottom: 0;

    left: 0;

    right: 0;

    height: 58px;

    background: #ffffff;

    border-top: 1px solid #e0e0e2;

    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.07);

    z-index: 9999;

    align-items: center;

    justify-content: space-around;

    padding-bottom: env(safe-area-inset-bottom);

}



.dk-bnav-item {

    flex: 1;

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 3px;

    background: transparent;

    border: none;

    color: #767790;

    font-size: 11px;

    font-family: inherit;

    cursor: pointer;

    text-decoration: none;

    transition: color 0.15s ease;

}



.dk-bnav-item svg {

    width: 21px;

    height: 21px;

}



.dk-bnav-item:hover,

.dk-bnav-item.active {

    color: #ef394e;

    font-weight: 700;

}



.dk-bnav-cart-wrap {

    position: relative;

    display: inline-flex;

}



.dk-bnav-cart-wrap .dk-cart-badge {

    position: absolute;

    top: -5px;

    right: -8px;

    background: #ef394e;

    color: #fff;

    font-size: 10px;

    font-weight: 700;

    border-radius: 9999px;

    min-width: 16px;

    height: 16px;

    padding: 0 4px;

    display: flex;

    align-items: center;

    justify-content: center;

    line-height: 1;

}



/* 4. Live Search Dropdown */

.dk-live-search-dropdown {

    position: absolute;

    top: 100%;

    right: 0;

    left: 0;

    margin-top: 6px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);

    border: 1px solid #e0e0e2;

    z-index: 1005;

    max-height: 380px;

    overflow-y: auto;

    display: none;

}



.dk-live-search-dropdown.show {

    display: block;

}



.dk-search-loading,

.dk-search-no-result {

    padding: 16px;

    text-align: center;

    font-size: 13px;

    color: #767790;

}



.dk-live-results-list {

    display: flex;

    flex-direction: column;

}



.dk-search-result-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 14px;

    border-bottom: 1px solid #f1f2f4;

    text-decoration: none;

    color: inherit;

    transition: background 0.15s ease;

}



.dk-search-result-item:hover {

    background-color: #f7f7f8;

}



.dk-search-result-item img {

    width: 46px;

    height: 46px;

    object-fit: contain;

    border-radius: 6px;

    background: #fafafa;

    border: 1px solid #f0f0f1;

    flex-shrink: 0;

}



.dk-search-result-info {

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 4px;

}



.dk-search-result-title {

    font-size: 12.5px;

    font-weight: 600;

    color: #0c0c0c;

    line-height: 18px;

}



.dk-search-result-meta {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.dk-search-result-cat {

    font-size: 11px;

    color: #81858b;

    background: #f0f0f1;

    padding: 1px 7px;

    border-radius: 4px;

}



.dk-search-result-price {

    font-size: 12px;

    font-weight: 700;

    color: #ef394e;

}



.dk-search-more-footer {

    padding: 10px 14px;

    background: #fafafa;

    text-align: center;

    border-top: 1px solid #f0f0f1;

}



.dk-search-more-footer a {

    font-size: 12px;

    color: #008eb2;

    font-weight: 600;

    text-decoration: none;

}



/* 5. Compare Live Search inside Modal */

.dk-compare-search-wrap {

    margin-bottom: 18px;

    position: relative;

}



.dk-compare-search-wrap label {

    display: block;

    font-size: 13px;

    font-weight: 600;

    color: #3f4064;

    margin-bottom: 6px;

}



.dk-compare-input-box {

    position: relative;

    display: flex;

    align-items: center;

}



.dk-compare-input-box input {

    width: 100%;

    height: 42px;

    border: 1px solid #dcdde1;

    border-radius: 8px;

    padding: 0 38px 0 14px;

    font-size: 13px;

    outline: none;

    transition: border-color 0.2s ease;

}



.dk-compare-input-box input:focus {

    border-color: #008eb2;

    box-shadow: 0 0 0 3px rgba(0, 142, 178, 0.15);

}



.dk-compare-search-icon {

    position: absolute;

    right: 12px;

    font-size: 14px;

    color: #81858b;

    pointer-events: none;

}



.dk-compare-search-results {

    position: absolute;

    top: 100%;

    right: 0;

    left: 0;

    background: #fff;

    border: 1px solid #dcdde1;

    border-radius: 8px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.12);

    margin-top: 4px;

    max-height: 220px;

    overflow-y: auto;

    z-index: 100;

    display: none;

}



.dk-compare-search-results.show {

    display: block;

}



.dk-comp-suggest-item {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 8px 12px;

    cursor: pointer;

    border-bottom: 1px solid #f3f3f4;

    transition: background 0.15s ease;

}



.dk-comp-suggest-item:hover {

    background-color: #f2f7fb;

}



.dk-comp-suggest-item img {

    width: 36px;

    height: 36px;

    object-fit: contain;

    border-radius: 4px;

}



.dk-comp-suggest-info {

    display: flex;

    flex-direction: column;

    gap: 2px;

}



.dk-comp-suggest-info strong {

    font-size: 12.5px;

    color: #0c0c0c;

}



.dk-comp-suggest-info span {

    font-size: 11px;

    color: #ef394e;

    font-weight: 600;

}



/* 6. Price Alert Modal Styles */

.dk-alert-modal-box {

    max-width: 480px !important;

}



.dk-form-group {

    margin-bottom: 14px;

    display: flex;

    flex-direction: column;

    gap: 6px;

}



.dk-form-group label {

    font-size: 13px;

    font-weight: 600;

    color: #3f4064;

}



.dk-input-field {

    width: 100%;

    height: 42px;

    border: 1px solid #dcdde1;

    border-radius: 8px;

    padding: 0 14px;

    font-size: 13.5px;

    outline: none;

    transition: border-color 0.2s ease;

}



.dk-input-field:focus {

    border-color: #ef394e;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.12);

}



.dk-field-help {

    font-size: 11px;

    color: #81858b;

}



/* 7. Share Modal Social Grid */

.dk-share-modal-box {

    max-width: 440px !important;

}



.dk-share-social-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin: 18px 0;

}



.dk-share-icon-btn {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 14px 8px;

    border-radius: 12px;

    border: 1px solid #eef0f2;

    text-decoration: none;

    color: inherit;

    transition: all 0.2s ease;

}



.dk-share-icon-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

}



.dk-share-icon-btn.dk-share-tg {

    color: #229ed9;

    background: #f4fafe;

    border-color: #d6effc;

}



.dk-share-icon-btn.dk-share-wa {

    color: #25d366;

    background: #f3fdf6;

    border-color: #c9f5d6;

}



.dk-share-icon-btn.dk-share-eitaa {

    color: #e66014;

    background: #fef7f2;

    border-color: #fde1d0;

}



.dk-share-icon-btn span {

    font-size: 12px;

    font-weight: 600;

}



.dk-share-copy-row {

    display: flex;

    gap: 8px;

    margin-top: 14px;

}



.dk-share-copy-row input {

    flex: 1;

    height: 42px;

    background: #f7f7f8;

    border: 1px solid #e0e0e2;

    border-radius: 8px;

    padding: 0 12px;

    font-size: 12px;

    color: #767790;

    direction: ltr;

    text-align: left;

}



.dk-share-copy-row button {

    height: 42px;

    padding: 0 16px;

    flex-shrink: 0;

}



/* ==========================================================================

   Header & Page Layout Mobile Responsive (max-width: 768px)

   ========================================================================== */

@media (max-width: 1024px) {

    /* Show mobile drawer trigger & bottom nav bar */

    .dk-mobile-menu-trigger {

        display: flex !important;

    }



    .dk-mobile-bottom-bar {

        display: flex !important;

    }



    /* Reserve space for fixed bottom bar on mobile */

    body {

        padding-bottom: 64px !important;

    }



    /* Hide desktop sub-navigation bar */

    .dk-header-nav {

        display: none !important;

    }



    /* Header Main Row on Mobile */

    .dk-header-main {

        height: auto !important;

        padding: 8px 0 !important;

        flex-wrap: wrap !important;

        gap: 8px !important;

    }



    .dk-header-right {

        order: 1;

        width: auto;

        gap: 8px !important;

    }



    .dk-header-actions {

        order: 2;

        gap: 8px !important;

    }



    .dk-search-box {

        order: 3;

        width: 100% !important;

        max-width: 100% !important;

        flex: 0 0 100% !important;

        margin-top: 2px;

    }



    .dk-auth-btn span {

        display: none !important;

    }



    .dk-auth-btn {

        padding: 8px !important;

        border-radius: 50% !important;

    }



    .dk-cart-btn {

        padding: 8px !important;

    }



    .dk-top-banner {

        font-size: 11px !important;

        padding: 6px 10px !important;

        gap: 8px !important;

    }



    .dk-top-banner a {

        display: none;

    }

}





/* ==========================================================================

   Refined Lightbox Thumbs Bar, Responsive Compare Modal & Clean Price Chart

   ========================================================================== */



/* 1. Lightbox Thumbs Bar Refinements */

.dk-lightbox-container {

    max-height: 94vh !important;

    display: flex !important;

    flex-direction: column !important;

    overflow: hidden !important;

    padding: 18px 22px !important;

}



.dk-lightbox-main-view {

    flex: 1 !important;

    min-height: 280px !important;

    height: 52vh !important;

    max-height: 500px !important;

    background: #fafafa !important;

    border-radius: 14px !important;

    overflow: hidden !important;

    position: relative !important;

}



/* 1. Lightbox Album Thumbs 100% Sleek & Responsive - Zero unwanted scrollbars */

.dk-lightbox-container {

    width: 90% !important;

    max-width: 780px !important;

    max-height: 92vh !important;

    overflow: hidden !important;

    padding: 18px 24px 16px !important;

    box-sizing: border-box !important;

    display: flex !important;

    flex-direction: column !important;

}



.dk-lightbox-container .is-hidden,

.dk-lightbox-thumbs-bar.is-hidden,

.dk-lb-nav-btn.is-hidden,

.dk-lightbox-counter.is-hidden {

    display: none !important;

}



.dk-lightbox-main-view {

    height: 70vh !important;

    min-height: 480px !important;

    max-height: 660px !important;

    background: #ffffff !important;

    border: none !important;

    border-radius: 12px !important;

    overflow: hidden !important;

    position: relative !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    box-sizing: border-box !important;

}



.dk-lb-img-wrap {

    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;

    height: 100% !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    overflow: hidden !important;

    cursor: zoom-in;

    box-sizing: border-box !important;

    padding: 12px !important;

}



.dk-lb-img-wrap.zoomed {

    cursor: zoom-out !important;

    padding: 0 !important;

}



#dk-lb-current-img,

.dk-lb-img-wrap img {

    max-width: 100% !important;

    max-height: 100% !important;

    width: auto !important;

    height: auto !important;

    object-fit: contain !important;

    display: block !important;

    margin: auto !important;

    user-select: none;

    pointer-events: none;

}



.dk-lb-img-wrap.zoomed #dk-lb-current-img,

.dk-lb-img-wrap.zoomed img {

    max-width: none !important;

    max-height: none !important;

}



.dk-lightbox-thumbs-bar {

    display: flex !important;

    gap: 10px !important;

    justify-content: center !important;

    align-items: center !important;

    margin-top: 12px !important;

    padding: 6px 10px !important;

    border-top: 1px solid #f0f0f1 !important;

    overflow-x: auto !important;

    overflow-y: hidden !important;

    max-width: 100% !important;

    scrollbar-width: none !important;

    -ms-overflow-style: none !important;

    -webkit-overflow-scrolling: touch !important;

}



.dk-lightbox-thumbs-bar::-webkit-scrollbar {

    display: none !important;

    width: 0 !important;

    height: 0 !important;

}



.dk-lb-thumb-item {

    width: 60px !important;

    height: 60px !important;

    min-width: 60px !important;

    min-height: 60px !important;

    border-radius: 12px !important;

    border: 2px solid #e0e0e2 !important;

    padding: 3px !important;

    cursor: pointer !important;

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    background: #ffffff !important;

    flex-shrink: 0 !important;

    box-sizing: border-box !important;

    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;

}



.dk-lb-thumb-item:hover {

    border-color: #ef394e !important;

    transform: translateY(-2px) !important;

}



.dk-lb-thumb-item.active {

    border-color: #ef394e !important;

    background: #fff !important;

    box-shadow: 0 0 0 2px rgba(239, 57, 78, 0.25) !important;

    transform: scale(1.05) !important;

}



.dk-lb-thumb-item img {

    width: 100% !important;

    height: 100% !important;

    object-fit: contain !important;

    border-radius: 8px !important;

    user-select: none !important;

    pointer-events: none !important;

}



/* 2. Compare Modal 100% Responsive */

.dk-compare-modal-box {

    max-width: 820px !important;

    width: 95vw !important;

    max-height: 90vh !important;

    display: flex !important;

    flex-direction: column !important;

    padding: 20px !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

}



.dk-compare-modal-box .dk-modal-body {

    overflow-y: auto !important;

    max-height: calc(90vh - 75px) !important;

    padding-right: 4px !important;

    scrollbar-width: thin !important;

}



.dk-compare-table-wrap {

    width: 100% !important;

    max-width: 100% !important;

    overflow-x: auto !important;

    -webkit-overflow-scrolling: touch !important;

    margin-top: 10px !important;

    border: 1px solid #f0f0f1 !important;

    border-radius: 12px !important;

}



.dk-compare-table {

    width: 100% !important;

    min-width: 520px !important;

    border-collapse: collapse !important;

    font-size: 13px !important;

    table-layout: fixed !important;

}



.dk-compare-table th,

.dk-compare-table td {

    padding: 12px 14px !important;

    border: 1px solid #f0f0f1 !important;

    vertical-align: top !important;

    text-align: right !important;

    word-break: break-word !important;

}



.dk-comp-prod-header {

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    text-align: center !important;

    gap: 8px !important;

}



.dk-comp-prod-header img {

    width: 72px !important;

    height: 72px !important;

    object-fit: contain !important;

    border-radius: 8px !important;

}



.dk-comp-prod-header h4 {

    font-size: 12px !important;

    line-height: 18px !important;

    color: #0c0c0c !important;

    margin: 0 !important;

    display: -webkit-box !important;

    -webkit-line-clamp: 2 !important;

    -webkit-box-orient: vertical !important;

    overflow: hidden !important;

}



.dk-comp-price {

    font-size: 13px !important;

    font-weight: 700 !important;

    color: #ef394e !important;

}



/* 3. Price Chart Refined Layout */

.dk-chart-modal-box {

    max-width: 680px !important;

    width: 95vw !important;

    max-height: 90vh !important;

    overflow-y: auto !important;

    padding: 20px !important;

    box-sizing: border-box !important;

}



.dk-chart-subtitle-note {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 11.5px;

    color: #767790;

    margin-bottom: 14px;

    background: #f4f8fb;

    padding: 6px 12px;

    border-radius: 8px;

}



.dk-chart-canvas-wrap {

    width: 100%;

    overflow-x: auto;

    background: #ffffff;

    border: 1px solid #f0f0f1;

    border-radius: 12px;

    padding: 10px;

    margin-top: 14px;

    position: relative;

}



.dk-svg-chart {

    width: 100%;

    height: auto;

    display: block;

}



@media (max-width: 640px) {

    .dk-compare-modal-box {

        padding: 12px !important;

        width: 96vw !important;

    }



    .dk-compare-table {

        min-width: 460px !important;

        font-size: 11px !important;

    }



    .dk-compare-table th,

    .dk-compare-table td {

        padding: 8px 10px !important;

    }



    .dk-lb-thumb-item {

        width: 60px !important;

        height: 60px !important;

        min-width: 60px !important;

        min-height: 60px !important;

    }

}





/* ==========================================================================

   PersianShop Reviews & Comments System (نقد و بررسی و فرم ثبت دیدگاه وندارا)

   ========================================================================== */



.dk-reviews-section {

    margin-top: 24px;

}



.dk-reviews-grid {

    display: grid;

    grid-template-columns: 310px 1fr;

    gap: 36px;

    align-items: start;

}



/* 1. Sidebar Summary Card */

.dk-reviews-sidebar {

    position: sticky;

    top: 90px;

}



.dk-reviews-summary-card {

    background: #ffffff;

    border: 1px solid #e0e0e2;

    border-radius: 16px;

    padding: 24px 20px;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);

}



.dk-score-head {

    display: flex;

    align-items: baseline;

    gap: 6px;

}



.dk-score-val {

    font-size: 42px;

    font-weight: 900;

    color: #23254e;

    line-height: 1;

}



.dk-score-max {

    font-size: 14px;

    font-weight: 700;

    color: #81858b;

}



.dk-score-stars-visual {

    margin-top: 8px;

    display: flex;

    gap: 3px;

    font-size: 20px;

    line-height: 1;

}



.dk-star-gold {

    color: #ffd200;

    filter: drop-shadow(0 1px 2px rgba(255, 210, 0, 0.3));

}



.dk-star-gray {

    color: #e0e0e2;

}



.dk-score-caption {

    font-size: 12px;

    color: #81858b;

    margin: 8px 0 18px;

    padding-bottom: 14px;

    border-bottom: 1px solid #f0f0f1;

}



/* Rating Breakdown Bars */

.dk-rating-bars {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-bottom: 22px;

}



.dk-bar-item {

    display: grid;

    grid-template-columns: 1fr 100px 32px;

    align-items: center;

    gap: 10px;

    font-size: 12px;

    color: #424750;

}



.dk-bar-track {

    height: 6px;

    background: #f0f0f1;

    border-radius: 6px;

    overflow: hidden;

}



.dk-bar-fill {

    height: 100%;

    background: #00a049;

    border-radius: 6px;

    transition: width 0.4s ease;

}



.dk-cta-review-box {

    background: #f7f7f8;

    border: 1px dashed #dcdde1;

    border-radius: 12px;

    padding: 16px 14px;

    text-align: center;

}



.dk-cta-desc {

    font-size: 12px;

    color: #62666d;

    line-height: 1.6;

    margin-bottom: 12px;

}



.dk-btn-open-review-form {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    padding: 10px 16px;

    background: #ffffff;

    color: #ef394e;

    border: 1.5px solid #ef394e;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.2s ease;

    box-sizing: border-box;

}



.dk-btn-open-review-form:hover {

    background: #ef394e;

    color: #ffffff;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.25);

}



/* 2. Main Reviews Area & Filter Bar */

.dk-reviews-filter-bar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid #f0f0f1;

    padding-bottom: 14px;

    margin-bottom: 22px;

    flex-wrap: wrap;

    gap: 12px;

}



.dk-filter-title {

    display: flex;

    align-items: center;

    gap: 8px;

}



.dk-filter-title h4 {

    margin: 0;

    font-size: 16px;

    font-weight: 800;

    color: #23254e;

}



.dk-reviews-count-tag {

    font-size: 12.5px;

    color: #81858b;

    font-weight: 600;

}



.dk-filter-tabs {

    display: flex;

    align-items: center;

    gap: 8px;

}



.dk-filter-tab-btn {

    border: 1px solid #e0e0e2;

    background: #ffffff;

    color: #62666d;

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s;

}



.dk-filter-tab-btn:hover {

    border-color: #ef394e;

    color: #ef394e;

}



.dk-filter-tab-btn.active {

    background: #ef394e;

    border-color: #ef394e;

    color: #ffffff;

    box-shadow: 0 2px 8px rgba(239, 57, 78, 0.25);

}



/* 3. Comments List & Cards */

.dk-commentlist {

    list-style: none !important;

    padding: 0 !important;

    margin: 0 0 32px 0 !important;

    display: flex;

    flex-direction: column;

    gap: 16px;

}



.dk-review-item {

    list-style: none !important;

}



.dk-review-card {

    background: #ffffff;

    border: 1px solid #e0e0e2;

    border-radius: 14px;

    padding: 20px 22px;

    transition: border-color 0.2s, box-shadow 0.2s;

}



.dk-review-card:hover {

    border-color: #dcdde1;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);

}



.dk-review-card-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 12px;

}



.dk-review-user-info {

    display: flex;

    align-items: center;

    gap: 12px;

}



.dk-review-avatar .dk-avatar-img {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    object-fit: cover;

    border: 1px solid #e0e0e2;

}



.dk-review-author-line {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

}



.dk-review-author {

    font-size: 13.5px;

    font-weight: 800;

    color: #23254e;

}



.dk-review-buyer-badge {

    background: #f0fdf4;

    color: #166534;

    border: 1px solid #bbf7d0;

    padding: 2px 8px;

    border-radius: 12px;

    font-size: 10.5px;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    gap: 4px;

}



.dk-review-sub-meta {

    font-size: 11.5px;

    color: #81858b;

    margin-top: 3px;

    display: flex;

    align-items: center;

    gap: 6px;

}



.dk-review-dot {

    color: #dcdde1;

}



.dk-review-seller-badge {

    color: #008eb2;

}



.dk-review-rating-score {

    background: #00a049;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    padding: 3px 8px;

    border-radius: 8px;

    display: inline-flex;

    align-items: center;

    gap: 4px;

}



.dk-review-recommend {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 12.5px;

    font-weight: 700;

    color: #00a049;

    margin: 8px 0 12px;

}



.dk-review-recommend.dk-recommend-negative {

    color: #ef394e;

}



.dk-review-content {

    font-size: 13.5px;

    line-height: 1.85;

    color: #3f4064;

    margin-bottom: 14px;

}



.dk-review-content p {

    margin: 0 0 6px 0;

}



/* Pros & Cons */

.dk-review-pros-cons {

    display: flex;

    flex-direction: column;

    gap: 8px;

    padding: 10px 0;

    border-top: 1px dashed #f0f0f1;

    margin-top: 10px;

}



.dk-pros-group, .dk-cons-group {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

}



.dk-group-title {

    font-size: 11.5px;

    font-weight: 700;

}



.dk-pros-title { color: #166534; }

.dk-cons-title { color: #991b1b; }



.dk-badges-list {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

}



.dk-badge-item {

    font-size: 11.5px;

    padding: 2px 8px;

    border-radius: 6px;

    display: inline-flex;

    align-items: center;

    gap: 4px;

    font-weight: 600;

}



.dk-badge-pro {

    background: #f0fdf4;

    color: #15803d;

    border: 1px solid #dcfce7;

}



.dk-badge-con {

    background: #fef2f2;

    color: #b91c1c;

    border: 1px solid #fee2e2;

}



/* Review Footer Feedback */

.dk-review-card-footer {

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 12px;

    padding-top: 12px;

    border-top: 1px solid #f0f0f1;

    font-size: 11.5px;

    color: #81858b;

    margin-top: 12px;

}



.dk-vote-actions {

    display: flex;

    align-items: center;

    gap: 8px;

}



.dk-vote-btn {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    border: 1px solid #e0e0e2;

    background: #ffffff;

    color: #62666d;

    padding: 4px 10px;

    border-radius: 14px;

    font-size: 11.5px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s;

}



.dk-vote-btn:hover {

    border-color: #81858b;

    color: #23254e;

}



.dk-vote-up:hover {

    border-color: #00a049;

    color: #00a049;

}



.dk-vote-down:hover {

    border-color: #ef394e;

    color: #ef394e;

}



.dk-noreviews-empty {

    text-align: center;

    padding: 40px 20px;

    background: #fafafa;

    border: 1px dashed #dcdde1;

    border-radius: 14px;

    color: #81858b;

    font-size: 13.5px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

}



/* 4. Digikala Review Form Box */

.dk-review-form-wrapper {

    margin-top: 36px;

}



.dk-review-form-box {

    background: #ffffff;

    border: 1.5px solid #e0e0e2;

    border-radius: 18px;

    padding: 28px 28px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);

}



.dk-form-header {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 24px;

    padding-bottom: 16px;

    border-bottom: 1px solid #f0f0f1;

}



.dk-form-icon {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    background: #fff1f2;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.dk-form-title {

    font-size: 17px;

    font-weight: 800;

    color: #23254e;

    margin: 0 0 4px 0;

}



.dk-form-desc {

    font-size: 12.5px;

    color: #81858b;

    margin: 0;

}



.dk-form-row {

    margin-bottom: 20px;

}



.dk-field-label {

    display: block;

    font-size: 13px;

    font-weight: 700;

    color: #3f4064;

    margin-bottom: 8px;

}



.dk-field-label .required {

    color: #ef394e;

}



/* Star Picker in Form */

.dk-star-picker-wrap {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;

    background: #fafafa;

    border: 1px solid #f0f0f1;

    border-radius: 12px;

    padding: 10px 16px;

}



.dk-star-picker {

    display: flex;

    gap: 4px;

    direction: ltr;

}



.dk-star-btn {

    background: transparent;

    border: none;

    font-size: 28px;

    color: #dcdde1;

    cursor: pointer;

    line-height: 1;

    padding: 0 2px;

    transition: transform 0.15s, color 0.15s;

}



.dk-star-btn:hover,

.dk-star-btn.active {

    color: #ffd200;

    transform: scale(1.15);

    filter: drop-shadow(0 2px 4px rgba(255, 210, 0, 0.4));

}



.dk-rating-text-hint {

    font-size: 13px;

    font-weight: 700;

    color: #3f4064;

}



/* Recommendation Radio Chips */

.dk-recommend-chips {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}



.dk-chip-option {

    border: 1.5px solid #e0e0e2;

    border-radius: 10px;

    padding: 8px 16px;

    cursor: pointer;

    background: #ffffff;

    transition: all 0.2s ease;

    display: inline-flex;

    align-items: center;

}



.dk-chip-option input[type="radio"] {

    display: none;

}



.dk-chip-inner {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    font-weight: 700;

    color: #424750;

}



.dk-chip-option:hover {

    border-color: #a1a3a8;

}



.dk-chip-option.active {

    border-color: #00a049;

    background: #f0fdf4;

}



.dk-chip-option.active .dk-chip-inner {

    color: #166534;

}



.dk-chip-option:nth-child(2).active {

    border-color: #ef394e;

    background: #fff5f6;

}



.dk-chip-option:nth-child(2).active .dk-chip-inner {

    color: #b91c1c;

}



/* 2-Column Inputs Grid */

.dk-form-grid-2 {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-bottom: 20px;

}



.dk-input-group {

    display: flex;

    flex-direction: column;

}



.dk-input-group input[type="text"],

.dk-input-group input[type="email"] {

    height: 46px;

    border: 1.5px solid #e0e0e2;

    border-radius: 10px;

    padding: 0 14px;

    font-size: 13.5px;

    font-family: inherit;

    color: #23254e;

    background: #ffffff;

    transition: all 0.2s ease;

    box-sizing: border-box;

}



.dk-input-group input:focus,

.dk-form-row textarea:focus {

    border-color: #ef394e;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.12);

    outline: none;

}



.dk-label-pro { color: #166534; }

.dk-label-con { color: #991b1b; }



.dk-badge-symbol-pro {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    background: #00a049;

    color: #fff;

    font-size: 14px;

    font-weight: 800;

    line-height: 1;

    margin-left: 4px;

}



.dk-badge-symbol-con {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    background: #ef394e;

    color: #fff;

    font-size: 14px;

    font-weight: 800;

    line-height: 1;

    margin-left: 4px;

}



.dk-form-row textarea {

    width: 100%;

    border: 1.5px solid #e0e0e2;

    border-radius: 12px;

    padding: 12px 14px;

    font-size: 13.5px;

    line-height: 1.7;

    min-height: 120px;

    font-family: inherit;

    color: #23254e;

    box-sizing: border-box;

    transition: all 0.2s ease;

}



.dk-logged-in-box {

    display: flex;

    align-items: center;

    gap: 8px;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;

    padding: 10px 14px;

    border-radius: 10px;

    font-size: 13px;

    color: #166534;

    margin-bottom: 20px;

}



/* Submit Row */

.dk-form-submit-row {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 10px;

    flex-wrap: wrap;

}



.dk-btn-submit-review {

    background: #ef394e;

    color: #ffffff;

    font-size: 15px;

    font-weight: 800;

    border: none;

    border-radius: 10px;

    padding: 13px 36px;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    transition: all 0.25s ease;

    font-family: inherit;

}



.dk-btn-submit-review:hover {

    background: #d81d34;

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(239, 57, 78, 0.35);

}



.dk-submit-terms-note {

    font-size: 11.5px;

    color: #81858b;

    margin: 0;

}



/* 5. Responsive Reviews & Mobile Adjustments */

@media (max-width: 900px) {

    .dk-reviews-grid {

        grid-template-columns: 1fr;

        gap: 24px;

    }

    

    .dk-reviews-sidebar {

        position: static;

    }



    .dk-form-grid-2 {

        grid-template-columns: 1fr;

    }



    .dk-review-form-box {

        padding: 20px 16px;

    }



    .dk-lightbox-container {

        width: 96% !important;

        padding: 14px 10px !important;

        max-height: 94vh !important;

        border-radius: 16px !important;

    }



    .dk-lightbox-main-view {

        height: 40vh !important;

        min-height: 200px !important;

        max-height: 320px !important;

    }



    .dk-lightbox-thumbs-bar {

        justify-content: flex-start !important;

        gap: 8px !important;

        padding: 4px 6px !important;

        margin-top: 10px !important;

    }



    .dk-lb-thumb-item {

        width: 48px !important;

        height: 48px !important;

        min-width: 48px !important;

        min-height: 48px !important;

        border-radius: 10px !important;

    }

}





/* ==========================================================================

   PersianShop Incredible Offers Landing Page (/incredible-offers/)

   ========================================================================== */



.dk-incredible-page {

    background: #f7f7f8;

    min-height: 100vh;

    padding-bottom: 40px;

}



/* 1. Hero Red Banner */

.dk-inc-hero {

    background: linear-gradient(135deg, #ef394e 0%, #b80d28 100%);

    color: #ffffff;

    padding: 38px 0 42px;

    border-radius: 0 0 28px 28px;

    box-shadow: 0 10px 30px rgba(239, 57, 78, 0.22);

    position: relative;

    overflow: hidden;

}



.dk-inc-hero::before {

    content: "";

    position: absolute;

    top: -50%;

    left: -20%;

    width: 600px;

    height: 600px;

    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);

    border-radius: 50%;

    pointer-events: none;

}



.dk-inc-hero-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 32px;

    position: relative;

    z-index: 2;

    flex-wrap: wrap;

}



.dk-inc-hero-right {

    flex: 1;

    min-width: 280px;

}



.dk-inc-hero-badge {

    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(6px);

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 20px;

    padding: 4px 14px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 12px;

    font-weight: 800;

    color: #ffd200;

    margin-bottom: 12px;

}



.dk-inc-hero-title {

    font-size: 36px;

    font-weight: 900;

    color: #ffffff;

    margin: 0 0 8px 0;

    letter-spacing: -0.5px;

    line-height: 1.2;

}



.dk-inc-hero-subtitle {

    font-size: 14px;

    color: rgba(255, 255, 255, 0.92);

    margin: 0 0 18px 0;

    line-height: 1.8;

    max-width: 580px;

}



.dk-inc-hero-guarantees {

    display: flex;

    gap: 16px;

    font-size: 12px;

    font-weight: 700;

    color: rgba(255, 255, 255, 0.95);

    flex-wrap: wrap;

}



.dk-inc-hero-guarantees span {

    background: rgba(0, 0, 0, 0.12);

    padding: 4px 10px;

    border-radius: 12px;

}



/* Timer Card in Hero */

.dk-inc-hero-left {

    flex-shrink: 0;

}



.dk-inc-timer-card {

    background: rgba(255, 255, 255, 0.15);

    backdrop-filter: blur(14px);

    border: 1.5px solid rgba(255, 255, 255, 0.3);

    border-radius: 20px;

    padding: 20px 28px;

    text-align: center;

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);

}



.dk-inc-timer-label {

    font-size: 12px;

    font-weight: 700;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    margin-bottom: 14px;

}



.dk-inc-digital-timer {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    direction: ltr;

}



.dk-timer-cell {

    background: #ffffff;

    color: #ef394e;

    border-radius: 12px;

    min-width: 58px;

    padding: 8px 6px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);

}



.dk-timer-num {

    font-size: 26px;

    font-weight: 900;

    line-height: 1;

    font-family: inherit;

}



.dk-timer-unit {

    font-size: 10px;

    font-weight: 700;

    color: #81858b;

    margin-top: 4px;

}



.dk-timer-sep {

    color: #ffffff;

    font-size: 24px;

    font-weight: 900;

    line-height: 1;

}



/* 2. Content Wrap & Categories Bar */

.dk-inc-content-wrap {

    margin-top: 14px;

}



.dk-inc-cats-bar-wrap {

    position: sticky;

    top: 60px;

    z-index: 30;

    background: rgba(247, 247, 248, 0.95);

    backdrop-filter: blur(10px);

    padding: 12px 0;

    border-bottom: 1px solid #e0e0e2;

    margin-bottom: 16px;

}



.dk-inc-cats-bar {

    display: flex;

    gap: 8px;

    overflow-x: auto;

    scrollbar-width: none;

    -ms-overflow-style: none;

    -webkit-overflow-scrolling: touch;

    padding: 2px 0;

}



.dk-inc-cats-bar::-webkit-scrollbar {

    display: none;

}



.dk-inc-cat-btn {

    border: 1.5px solid #e0e0e2;

    background: #ffffff;

    color: #3f4064;

    border-radius: 24px;

    padding: 8px 16px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    transition: all 0.2s ease;

    flex-shrink: 0;

    font-family: inherit;

}



.dk-inc-cat-btn small {

    color: #81858b;

    font-weight: 600;

    font-size: 11px;

}



.dk-inc-cat-btn:hover {

    border-color: #ef394e;

    color: #ef394e;

}



.dk-inc-cat-btn.active {

    background: #ef394e;

    border-color: #ef394e;

    color: #ffffff;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.3);

}



.dk-inc-cat-btn.active small {

    color: rgba(255, 255, 255, 0.85);

}



/* 3. Toolbar Row (Sorting & Count) */

.dk-inc-toolbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

    padding-bottom: 12px;

    border-bottom: 1px solid #e0e0e2;

    flex-wrap: wrap;

    gap: 12px;

}



.dk-inc-sort-group {

    display: flex;

    align-items: center;

    gap: 6px;

    flex-wrap: wrap;

}



.dk-inc-sort-label {

    display: flex;

    align-items: center;

    gap: 4px;

    font-size: 13px;

    font-weight: 700;

    color: #23254e;

    margin-left: 6px;

}



.dk-inc-sort-btn {

    background: transparent;

    border: none;

    font-size: 13px;

    font-weight: 600;

    color: #62666d;

    cursor: pointer;

    padding: 6px 12px;

    border-radius: 20px;

    transition: all 0.2s;

    font-family: inherit;

}



.dk-inc-sort-btn:hover {

    color: #ef394e;

}



.dk-inc-sort-btn.active {

    background: #ffffff;

    color: #ef394e;

    font-weight: 800;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);

    border: 1px solid #fecdd3;

}



.dk-inc-total-count {

    font-size: 13px;

    color: #62666d;

}



.dk-inc-total-count strong {

    color: #ef394e;

    font-weight: 800;

}



/* 4. Products Grid */

.dk-inc-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    margin-bottom: 50px;

}



.dk-inc-card {

    background: #ffffff;

    border: 1px solid #e0e0e2;

    border-radius: 16px;

    padding: 16px;

    display: flex;

    flex-direction: column;

    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;

    overflow: hidden;

}



.dk-inc-card:hover {

    border-color: #dcdde1;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);

    transform: translateY(-4px);

}



.dk-inc-card-badges {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 10px;

}



.dk-inc-badge {

    background: #ef394e;

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    padding: 3px 8px;

    border-radius: 8px;

    display: inline-flex;

    align-items: center;

    gap: 4px;

}



.dk-inc-discount-pill {

    background: #ef394e;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    padding: 2px 8px;

    border-radius: 12px;

    line-height: 1.5;

}



.dk-inc-img-wrap {

    height: 190px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

    overflow: hidden;

    text-decoration: none;

}



.dk-inc-img-wrap img {

    max-height: 180px;

    max-width: 90%;

    object-fit: contain;

    transition: transform 0.3s ease;

}



.dk-inc-card:hover .dk-inc-img-wrap img {

    transform: scale(1.06);

}



.dk-inc-title {

    font-size: 13.5px;

    font-weight: 700;

    line-height: 1.6;

    margin: 0 0 10px 0;

    height: 44px;

    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

}



.dk-inc-title a {

    color: #23254e;

    text-decoration: none;

    transition: color 0.2s;

}



.dk-inc-title a:hover {

    color: #ef394e;

}



.dk-inc-delivery-info {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 11px;

    color: #008eb2;

    font-weight: 600;

    margin-bottom: 12px;

}



/* Sold Progress Bar */

.dk-inc-stock-progress {

    margin-bottom: 14px;

}



.dk-inc-stock-labels {

    display: flex;

    justify-content: space-between;

    font-size: 11px;

    color: #81858b;

    font-weight: 600;

    margin-bottom: 4px;

}



.dk-stock-pct {

    color: #ef394e;

    font-weight: 800;

}



.dk-stock-bar-track {

    height: 5px;

    background: #f0f0f1;

    border-radius: 4px;

    overflow: hidden;

}



.dk-stock-bar-fill {

    height: 100%;

    background: linear-gradient(90deg, #ef394e 0%, #b80d28 100%);

    border-radius: 4px;

    transition: width 0.4s ease;

}



/* Price Section */

.dk-inc-price-section {

    margin-top: auto;

    padding-top: 10px;

    border-top: 1px dashed #f0f0f1;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

}



.dk-inc-regular-price {

    font-size: 12px;

    color: #a1a3a8;

    text-decoration: line-through;

    margin-bottom: 2px;

}



.dk-inc-final-price {

    color: #23254e;

    display: flex;

    align-items: baseline;

    gap: 4px;

}



.dk-inc-final-price strong {

    font-size: 18px;

    font-weight: 900;

    color: #23254e;

}



.dk-inc-final-price small {

    font-size: 11px;

    color: #81858b;

    font-weight: 600;

}



/* Card Actions */

.dk-inc-card-footer {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 12px;

}



.dk-inc-cart-form {

    flex: 1;

}



.dk-btn-inc-add {

    width: 100%;

    background: #fef2f2;

    color: #ef394e;

    border: 1px solid #fecdd3;

    border-radius: 8px;

    padding: 8px 10px;

    font-size: 12.5px;

    font-weight: 800;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    transition: all 0.2s ease;

    font-family: inherit;

}



.dk-btn-inc-add:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.3);

}



.dk-btn-inc-view {

    width: 36px;

    height: 36px;

    border: 1px solid #e0e0e2;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #62666d;

    text-decoration: none;

    transition: all 0.2s ease;

    flex-shrink: 0;

}



.dk-btn-inc-view:hover {

    border-color: #ef394e;

    color: #ef394e;

}



/* Empty State */

.dk-inc-empty {

    grid-column: 1 / -1;

    text-align: center;

    padding: 60px 20px;

    background: #ffffff;

    border: 1px dashed #dcdde1;

    border-radius: 16px;

    color: #81858b;

    font-size: 15px;

}



/* 5. Responsive Incredible Offers */

@media (max-width: 1100px) {

    .dk-inc-grid {

        grid-template-columns: repeat(3, 1fr);

        gap: 14px;

    }

}



@media (max-width: 768px) {

    .dk-inc-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

    }



    .dk-inc-hero {

        padding: 24px 0 28px;

        border-radius: 0 0 20px 20px;

    }



    .dk-inc-hero-inner {

        flex-direction: column;

        text-align: center;

        gap: 20px;

    }



    .dk-inc-hero-subtitle {

        margin: 0 auto 14px;

    }



    .dk-inc-hero-guarantees {

        justify-content: center;

    }



    .dk-inc-hero-title {

        font-size: 26px;

    }



    .dk-timer-cell {

        min-width: 48px;

        padding: 6px 4px;

    }



    .dk-timer-num {

        font-size: 20px;

    }



    .dk-inc-cats-bar-wrap {

        top: 50px;

    }

}



@media (max-width: 480px) {

    .dk-inc-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 8px;

    }



    .dk-inc-card {

        padding: 10px;

        border-radius: 12px;

    }



    .dk-inc-img-wrap {

        height: 140px;

    }



    .dk-inc-img-wrap img {

        max-height: 130px;

    }



    .dk-inc-title {

        font-size: 12px;

        height: 38px;

    }



    .dk-inc-final-price strong {

        font-size: 15px;

    }



    .dk-btn-inc-add {

        font-size: 11px;

        padding: 6px 4px;

    }



    .dk-btn-inc-view {

        display: none;

    }

}



/* ==========================================================================

   1. Fullscreen Page Preloader

   ========================================================================== */

@keyframes dkPreloaderAutoFade {

    0%, 75% { opacity: 1; visibility: visible; }

    99% { opacity: 0; visibility: hidden; }

    100% { opacity: 0; visibility: hidden; pointer-events: none; }

}



.dk-page-preloader {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    width: 100vw;

    height: 100vh;

    background: #ffffff;

    z-index: 9999999;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 1;

    visibility: visible;

    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;

    animation: dkPreloaderAutoFade 1.8s forwards;

}



.dk-page-preloader.loaded {

    opacity: 0 !important;

    visibility: hidden !important;

    pointer-events: none !important;

    display: none !important;

}



.dk-preloader-inner {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    animation: dkPreloaderPulse 1.8s infinite ease-in-out;

}



.dk-preloader-logo {

    margin-bottom: 20px;

}



.dk-preloader-logo .dk-logo-text {

    font-size: 36px;

    font-weight: 900;

    color: #ef394e;

    letter-spacing: -1px;

    position: relative;

    display: inline-block;

}



.dk-preloader-progress-track {

    width: 180px;

    height: 4px;

    background: #f1f2f4;

    border-radius: 99px;

    overflow: hidden;

    position: relative;

    margin-bottom: 12px;

}



.dk-preloader-progress-bar {

    position: absolute;

    top: 0;

    left: 0;

    bottom: 0;

    width: 45%;

    background: linear-gradient(90deg, #ef394e, #f7858d);

    border-radius: 99px;

    animation: dkPreloaderSlide 1.2s infinite ease-in-out;

}



.dk-preloader-status {

    font-size: 12px;

    font-weight: 600;

    color: #81858b;

}



@keyframes dkPreloaderSlide {

    0% { transform: translateX(200%); }

    50% { transform: translateX(0); }

    100% { transform: translateX(-200%); }

}



@keyframes dkPreloaderPulse {

    0%, 100% { transform: scale(1); }

    50% { transform: scale(1.02); }

}



/* ==========================================================================

   2. PersianShop Province & City Selector Modal

   ========================================================================== */

.dk-city-modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, 0.55);

    backdrop-filter: blur(4px);

    z-index: 999999;

    display: none;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transition: opacity 0.25s ease;

}



.dk-city-modal-overlay.active {

    display: flex !important;

    opacity: 1 !important;

}



.dk-city-modal-box {

    background: #ffffff;

    width: 92%;

    max-width: 580px;

    max-height: 85vh;

    border-radius: 16px;

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);

    display: flex;

    flex-direction: column;

    overflow: hidden;

    animation: dkModalZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}



.dk-city-search-wrap {

    position: relative;

    margin-bottom: 16px;

}



.dk-city-search-wrap input {

    width: 100%;

    padding: 12px 42px 12px 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    font-size: 13px;

    color: #1e293b;

    outline: none;

    box-sizing: border-box;

    transition: all 0.2s ease;

}



.dk-city-search-wrap input:focus {

    background: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.12);

}



.dk-city-search-icon {

    position: absolute;

    right: 14px;

    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;

}



.dk-popular-cities-section {

    margin-bottom: 16px;

    padding-bottom: 14px;

    border-bottom: 1px solid #f1f5f9;

}



.dk-popular-title {

    display: block;

    font-size: 12px;

    font-weight: 700;

    color: #64748b;

    margin-bottom: 10px;

}



.dk-popular-city-chips {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}



.dk-city-chip {

    background: #f1f5f9;

    color: #334155;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 6px 14px;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.15s ease;

}



.dk-city-chip:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

}



.dk-provinces-list {

    overflow-y: auto;

    max-height: 380px;

    padding-left: 6px;

}



.dk-province-accordion {

    border-bottom: 1px solid #f1f5f9;

}



.dk-province-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 12px 8px;

    font-size: 13.5px;

    font-weight: 700;

    color: #1e293b;

    cursor: pointer;

    transition: color 0.15s ease;

}



.dk-province-head:hover,

.dk-province-head.open {

    color: #ef394e;

}



.dk-province-head svg {

    transition: transform 0.2s ease;

}



.dk-province-head.open svg {

    transform: rotate(180deg);

}



.dk-province-cities {

    display: none;

    flex-wrap: wrap;

    gap: 8px;

    padding: 6px 12px 14px;

    background: #f8fafc;

    border-radius: 8px;

    margin-bottom: 8px;

}



.dk-province-cities.open {

    display: flex !important;

}



.dk-city-select-btn {

    background: #ffffff;

    color: #475569;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    padding: 6px 12px;

    font-size: 12px;

    cursor: pointer;

    transition: all 0.15s ease;

}



.dk-city-select-btn:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

}



/* ==========================================================================

   3. Dedicated Comparison Page (/compare/)

   ========================================================================== */

.dk-compare-page {

    padding: 30px 0 60px;

    background: #f8fafc;

    min-height: 75vh;

    direction: rtl;

}



.dk-compare-page-header {

    margin-bottom: 24px;

}



.dk-compare-breadcrumb {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12.5px;

    color: #94a3b8;

    margin-bottom: 12px;

}



.dk-compare-breadcrumb a {

    color: #64748b;

    text-decoration: none;

    transition: color 0.15s;

}



.dk-compare-breadcrumb a:hover {

    color: #ef394e;

}



.dk-compare-main-title {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 22px;

    font-weight: 900;

    color: #0f172a;

    margin: 0 0 6px;

}



.dk-compare-main-title svg {

    color: #ef394e;

}



.dk-compare-sub {

    font-size: 13px;

    color: #64748b;

    margin: 0;

}



/* Matrix Wrapper & Table */

.dk-compare-matrix-wrapper {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    overflow-x: auto;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);

    -webkit-overflow-scrolling: touch;

}



.dk-compare-table-matrix {

    width: 100%;

    border-collapse: separate;

    border-spacing: 0;

    table-layout: fixed;

    min-width: 820px;

}



.dk-compare-table-matrix thead th {

    vertical-align: top;

    background: #ffffff;

}



.dk-comp-label-col {

    width: 200px;

    min-width: 200px;

    position: sticky;

    right: 0;

    z-index: 15;

    background: #ffffff;

    border-left: 1px solid #e2e8f0;

    border-bottom: 2px solid #e2e8f0;

    padding: 24px 20px;

    vertical-align: middle !important;

}



.dk-comp-label-header-box {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    font-weight: 800;

    color: #0f172a;

}



.dk-comp-prod-col {

    width: 260px;

    min-width: 240px;

    position: relative;

    padding: 24px 18px;

    border-left: 1px solid #f1f5f9;

    border-bottom: 2px solid #e2e8f0;

    background: #ffffff;

}



.dk-comp-add-col {

    width: 260px;

    min-width: 240px;

    padding: 20px 18px;

    border-left: 1px solid #f1f5f9;

    border-bottom: 2px solid #e2e8f0;

    background: #fafbfc;

}



/* Product Card Inside Header */

.dk-comp-prod-card {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    height: 100%;

}



.dk-comp-btn-remove {

    position: absolute;

    top: 0;

    left: 0;

    width: 30px;

    height: 30px;

    background: #f1f5f9;

    border: 1px solid #e2e8f0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    color: #64748b;

    transition: all 0.2s ease;

    z-index: 2;

}



.dk-comp-btn-remove:hover {

    background: #ef4444;

    color: #ffffff;

    border-color: #ef4444;

    transform: scale(1.08);

}



.dk-comp-thumb-wrap {

    width: 140px;

    height: 140px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 14px;

    padding: 6px;

    background: #ffffff;

    border-radius: 12px;

}



.dk-comp-thumb-wrap img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    transition: transform 0.25s ease;

}



.dk-comp-prod-card:hover .dk-comp-thumb-wrap img {

    transform: scale(1.05);

}



.dk-comp-card-title {

    font-size: 13.5px;

    font-weight: 800;

    line-height: 1.6;

    margin: 0 0 12px;

    height: 44px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    text-align: center;

    width: 100%;

}



.dk-comp-card-title a {

    color: #0f172a;

    text-decoration: none;

    transition: color 0.15s;

}



.dk-comp-card-title a:hover {

    color: #ef394e;

}



.dk-comp-card-price {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;

    margin-bottom: 14px;

    min-height: 48px;

    justify-content: center;

}



.dk-comp-old-price-row {

    display: flex;

    align-items: center;

    gap: 6px;

}



.dk-comp-old-price-row del {

    font-size: 12px;

    color: #94a3b8;

}



.dk-comp-cur-price-row {

    display: flex;

    align-items: baseline;

    gap: 4px;

}



.dk-comp-cur-price-row strong {

    font-size: 17px;

    font-weight: 900;

    color: #0f172a;

}



.dk-comp-cur-price-row small {

    font-size: 11px;

    color: #64748b;

    font-weight: 600;

}



.dk-comp-card-actions {

    width: 100%;

    margin-top: auto;

}



.dk-btn-add-comp-cart {

    width: 100%;

    height: 42px;

    background: #ef394e;

    color: #ffffff;

    border: none;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.25);

    transition: all 0.2s ease;

}



.dk-btn-add-comp-cart:hover {

    background: #d82b3f;

    box-shadow: 0 6px 16px rgba(239, 57, 78, 0.35);

}



/* Add Product Column Slot */

.dk-comp-add-placeholder {

    height: 100%;

    min-height: 290px;

    border: 2px dashed #cbd5e1;

    border-radius: 14px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    padding: 24px;

    background: #f8fafc;

    transition: all 0.25s ease;

    text-align: center;

}



.dk-comp-add-placeholder:hover {

    border-color: #ef394e;

    background: #fff5f5;

    transform: translateY(-2px);

}



.dk-add-icon-circle {

    width: 52px;

    height: 52px;

    border-radius: 50%;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ef394e;

    margin-bottom: 12px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

    transition: all 0.2s ease;

}



.dk-comp-add-placeholder:hover .dk-add-icon-circle {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

    transform: rotate(90deg);

}



.dk-add-title {

    font-size: 13.5px;

    font-weight: 800;

    color: #1e293b;

    margin-bottom: 4px;

}



.dk-add-sub {

    font-size: 11.5px;

    color: #64748b;

    margin-bottom: 6px;

}



.dk-add-limit {

    font-size: 11px;

    color: #ef394e;

    font-weight: 700;

}



/* Section Header Rows */

.dk-comp-section-row td {

    background: #f1f5f9 !important;

    padding: 12px 20px !important;

    border-top: 1px solid #e2e8f0 !important;

    border-bottom: 1px solid #e2e8f0 !important;

}



.dk-section-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 13.5px;

    font-weight: 800;

    color: #0f172a;

}



/* Spec & Info Data Cells */

.dk-compare-table-matrix tbody tr:not(.dk-comp-section-row) td {

    padding: 16px 20px;

    border-bottom: 1px solid #f1f5f9;

    border-left: 1px solid #f1f5f9;

    font-size: 13px;

    vertical-align: middle;

}



.dk-compare-table-matrix tbody tr:not(.dk-comp-section-row):hover td:not(.dk-comp-label-cell) {

    background: #fafbfc;

}



.dk-comp-label-cell {

    position: sticky;

    right: 0;

    z-index: 10;

    background: #fafbfc;

    border-left: 1px solid #e2e8f0 !important;

    font-weight: 700;

    color: #475569;

    width: 200px;

    min-width: 200px;

}



.dk-comp-val-cell {

    color: #1e293b;

    line-height: 1.6;

    text-align: center;

}



.dk-comp-empty-cell {

    background: #fafbfc;

}



.dk-satisfaction-pill {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    background: #f0fdf4;

    color: #166534;

    border: 1px solid #bbf7d0;

    padding: 5px 12px;

    border-radius: 20px;

    font-weight: 700;

    font-size: 12px;

}



.dk-star-rating {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    background: #fefce8;

    color: #b45309;

    border: 1px solid #fef08a;

    padding: 5px 12px;

    border-radius: 20px;

    font-weight: 800;

    font-size: 12px;

}



.dk-stock-pill.in-stock {

    color: #059669;

    font-weight: 700;

    font-size: 12.5px;

}



.dk-stock-pill.out-of-stock {

    color: #ef394e;

    font-weight: 700;

    font-size: 12.5px;

}



.dk-comp-features-list {

    margin: 0;

    padding: 0;

    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 6px;

    text-align: right;

}



.dk-comp-features-list li {

    font-size: 12px;

    color: #334155;

    position: relative;

    padding-right: 14px;

    line-height: 1.5;

}



.dk-comp-features-list li::before {

    content: "•";

    position: absolute;

    right: 0;

    color: #ef394e;

    font-size: 16px;

    line-height: 12px;

}



.dk-empty-spec {

    color: #94a3b8;

    font-size: 18px;

    font-weight: 700;

}



/* Empty State */

.dk-compare-empty-state {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 70px 20px;

    text-align: center;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);

}



.dk-empty-comp-icon {

    margin-bottom: 18px;

}



.dk-compare-empty-state h3 {

    font-size: 20px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 10px;

}



.dk-compare-empty-state p {

    font-size: 13.5px;

    color: #64748b;

    margin: 0 0 28px;

}



.dk-btn-open-search-comp {

    background: #ef394e;

    color: #ffffff;

    border: none;

    border-radius: 12px;

    padding: 14px 28px;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.3);

    transition: all 0.2s ease;

}



.dk-btn-open-search-comp:hover {

    background: #d82b3f;

    box-shadow: 0 8px 22px rgba(239, 57, 78, 0.4);

    transform: translateY(-2px);

}



/* Compare Search Modal Overlay & Box */

.dk-compare-modal-overlay {

    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, 0.65);

    backdrop-filter: blur(5px);

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.3s ease, visibility 0.3s ease;

    direction: rtl;

    padding: 20px;

}



.dk-compare-modal-overlay.active {

    opacity: 1;

    visibility: visible;

}



.dk-compare-modal-overlay .dk-compare-modal-box {

    background: #ffffff;

    border-radius: 20px;

    width: 620px;

    max-width: 95vw;

    max-height: 88vh;

    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);

    display: flex;

    flex-direction: column;

    overflow: hidden;

    transform: translateY(20px) scale(0.96);

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

}



.dk-compare-modal-overlay.active .dk-compare-modal-box {

    transform: translateY(0) scale(1);

}



.dk-compare-modal-overlay .dk-modal-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 24px;

    border-bottom: 1px solid #f1f5f9;

}



.dk-compare-modal-overlay .dk-modal-title {

    margin: 0;

    font-size: 16px;

    font-weight: 800;

    color: #0f172a;

}



.dk-compare-modal-overlay .dk-modal-close {

    background: #f8fafc;

    border: none;

    width: 32px;

    height: 32px;

    border-radius: 50%;

    font-size: 20px;

    color: #64748b;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s;

}



.dk-compare-modal-overlay .dk-modal-close:hover {

    background: #ef4444;

    color: #ffffff;

}



.dk-compare-modal-overlay .dk-modal-body {

    padding: 24px;

    overflow-y: auto;

}



.dk-compare-input-box {

    position: relative;

    display: flex;

    align-items: center;

}



.dk-compare-input-box input {

    width: 100%;

    height: 50px;

    border-radius: 12px;

    border: 1.5px solid #cbd5e1;

    padding: 0 46px 0 16px;

    font-size: 14px;

    color: #0f172a;

    outline: none;

    box-sizing: border-box;

    transition: all 0.2s ease;

}



.dk-compare-input-box input:focus {

    border-color: #ef394e;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.12);

}



.dk-compare-input-box .dk-compare-search-icon {

    position: absolute;

    right: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    pointer-events: none;

}



/* Modal Search Results List */

.dk-compare-modal-overlay .dk-compare-search-results {

    position: static;

    margin-top: 14px;

    max-height: 360px;

    overflow-y: auto;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    background: #ffffff;

    box-shadow: none;

    display: none;

}



.dk-compare-modal-overlay .dk-compare-search-results.show {

    display: flex;

    flex-direction: column;

}



.dk-comp-suggest-item {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 12px 16px;

    border-bottom: 1px solid #f1f5f9;

    cursor: pointer;

    transition: background 0.15s ease;

    text-decoration: none;

}



.dk-comp-suggest-item:last-child {

    border-bottom: none;

}



.dk-comp-suggest-item:hover {

    background-color: #f8fafc;

}



.dk-comp-suggest-item img {

    width: 52px;

    height: 52px;

    object-fit: contain;

    border-radius: 8px;

    border: 1px solid #e2e8f0;

    padding: 2px;

    background: #ffffff;

    flex-shrink: 0;

}



.dk-comp-suggest-info {

    display: flex;

    flex-direction: column;

    gap: 4px;

    flex: 1;

    min-width: 0;

}



.dk-comp-suggest-info strong {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.dk-comp-suggest-info span {

    font-size: 12.5px;

    font-weight: 800;

    color: #ef394e;

}



.dk-search-loading,

.dk-search-no-result {

    padding: 30px 20px;

    text-align: center;

    color: #64748b;

    font-size: 13px;

    font-weight: 700;

}



/* ==========================================================================

   4. PersianShop My Account Suite

   ========================================================================== */

.dk-account-page-wrapper {

    padding: 30px 0 60px;

    background: #f8fafc;

    min-height: 80vh;

}



.dk-account-layout {

    display: flex;

    gap: 24px;

    align-items: flex-start;

}



/* -------------------------------------------------------------
   PersianShop Modern Customer Account Panel (DigiKala Aesthetic)
   ------------------------------------------------------------- */
.dk-account-sidebar {
    width: 290px;
    min-width: 290px;
    background: var(--ps-card-bg, #ffffff);
    border: 1px solid var(--ps-border, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.dk-account-profile-card {
    padding: 24px 20px 20px;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.dk-account-avatar-wrap {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto 14px;
}

.dk-account-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
    background: #f1f5f9;
}

.dk-account-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dk-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef394e 0%, #ff6b6b 100%);
    color: #ffffff;
}

.dk-avatar-letter {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    user-select: none;
}

.dk-account-avatar-edit {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 26px;
    height: 26px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: all 0.2s ease;
    text-decoration: none;
}

.dk-account-avatar-edit:hover {
    background: #ef394e;
    transform: scale(1.1);
}

.dk-account-profile-info {
    margin-bottom: 14px;
}

.dk-account-user-name {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.4;
}

.dk-account-user-contact {
    font-size: 12px;
    color: #64748b;
    display: block;
    direction: ltr;
    unicode-bidi: embed;
}

/* Dual Pill Meta Strip */
.dk-account-meta-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #f8fafc;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.dk-account-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 8px 6px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dk-account-meta-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.dk-meta-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
}

.dk-meta-val {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.dk-meta-val small {
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
}

.dk-wallet-val {
    color: #059669 !important; /* Vivid Emerald Green */
}

.dk-club-val {
    color: #d97706 !important; /* Vivid Amber Gold */
}

/* Navigation Menu List */
.dk-account-nav-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.dk-account-nav-item {
    position: relative;
}

.dk-account-nav-item a {
    display: flex;
    align-items: center;
    padding: 13px 20px;
    color: #475569;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    border-right: 3px solid transparent;
}

.dk-account-nav-item .dk-nav-icon {
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: color 0.2s ease;
}

.dk-account-nav-item .dk-nav-icon svg {
    display: block;
    stroke: currentColor;
}

.dk-account-nav-item .dk-nav-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dk-account-nav-item .dk-nav-chevron {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.dk-account-nav-item:hover a {
    background: #f8fafc;
    color: #ef394e;
}

.dk-account-nav-item:hover .dk-nav-icon {
    color: #ef394e;
}

.dk-account-nav-item:hover .dk-nav-chevron {
    color: #ef394e;
    transform: translateX(-3px);
}

.dk-account-nav-item.active a {
    background: #fff1f2;
    color: #ef394e;
    font-weight: 700;
    border-right-color: #ef394e;
}

.dk-account-nav-item.active .dk-nav-icon {
    color: #ef394e;
}

.dk-account-nav-item.active .dk-nav-chevron {
    color: #ef394e;
}

/* Logout link special styling */
.dk-account-nav-item.dk-endpoint-customer-logout a {
    color: #dc2626;
    border-top: 1px solid #f1f5f9;
    margin-top: 4px;
}

.dk-account-nav-item.dk-endpoint-customer-logout:hover a {
    background: #fef2f2;
    color: #b91c1c;
}

.dk-account-nav-item.dk-endpoint-customer-logout .dk-nav-icon {
    color: #dc2626;
}

.dk-account-main-content {
    flex: 1;
    min-width: 0;
}



/* Dashboard Specifics */

.dk-dashboard-welcome-banner {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 20px 24px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);

}



.dk-welcome-title {

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 4px;

}



.dk-welcome-sub {

    font-size: 12.5px;

    color: #64748b;

}



.dk-welcome-club-badge {

    background: #fef3c7;

    color: #92400e;

    padding: 8px 14px;

    border-radius: 10px;

    font-size: 12px;

    display: flex;

    align-items: center;

    gap: 6px;

}



.dk-dashboard-stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

    margin-bottom: 24px;

}



.dk-stat-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 16px;

    display: flex;

    align-items: center;

    gap: 14px;

    text-decoration: none;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);

    transition: all 0.2s ease;

}



.dk-stat-card:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);

}



.dk-stat-icon {

    width: 46px;

    height: 46px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-stat-icon.processing { background: #eff6ff; color: #2563eb; }

.dk-stat-icon.completed { background: #f0fdf4; color: #16a34a; }

.dk-stat-icon.cancelled { background: #fef2f2; color: #ef394e; }

.dk-stat-icon.address { background: #fdf4ff; color: #a855f7; }



.dk-stat-num {

    display: block;

    font-size: 18px;

    font-weight: 900;

    color: #0f172a;

}



.dk-stat-label {

    font-size: 11.5px;

    color: #64748b;

    font-weight: 600;

}



.dk-dashboard-section {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 24px;

    margin-bottom: 24px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);

}



.dk-dashboard-section-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 18px;

}



.dk-section-title {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

}



.dk-section-link {

    font-size: 12.5px;

    font-weight: 700;

    color: #ef394e;

    text-decoration: none;

    display: flex;

    align-items: center;

    gap: 4px;

}



.dk-orders-list-cards {

    display: flex;

    flex-direction: column;

    gap: 16px;

}



.dk-order-card {

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 16px;

    background: #ffffff;

}



.dk-order-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 12px;

    border-bottom: 1px solid #f1f5f9;

    margin-bottom: 14px;

}



.dk-order-info-meta {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    color: #64748b;

}



.dk-order-status-badge {

    padding: 4px 10px;

    border-radius: 6px;

    font-size: 11px;

    font-weight: 700;

}



.status-completed { background: #f0fdf4; color: #16a34a; }

.status-processing { background: #eff6ff; color: #2563eb; }

.status-cancelled, .status-failed { background: #fef2f2; color: #ef394e; }

.status-on-hold { background: #fefce8; color: #ca8a04; }



.dk-order-price strong {

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

}



.dk-order-thumbs-strip {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 14px;

}



.dk-order-thumb-item {

    position: relative;

    width: 60px;

    height: 60px;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    padding: 4px;

}



.dk-order-thumb-item img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}



.dk-thumb-qty {

    position: absolute;

    bottom: -4px;

    left: -4px;

    background: #0f172a;

    color: #ffffff;

    font-size: 10px;

    font-weight: 700;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-order-card-actions {

    display: flex;

    justify-content: flex-end;

}



.dk-btn-order-view {

    font-size: 12px;

    font-weight: 700;

    color: #ef394e;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    gap: 4px;

}



.dk-dashboard-shortcuts {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;

}



.dk-shortcut-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 16px;

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    transition: all 0.2s ease;

}



.dk-shortcut-card:hover {

    border-color: #ef394e;

    transform: translateY(-2px);

}



.dk-shortcut-icon {

    width: 44px;

    height: 44px;

    border-radius: 10px;

    background: #fff5f5;

    color: #ef394e;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-shortcut-body h4 {

    font-size: 13.5px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 2px;

}



.dk-shortcut-body p {

    font-size: 11.5px;

    color: #64748b;

    margin: 0;

}



/* View Order Status Tracker */

.dk-order-status-tracker {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 24px;

    margin-bottom: 20px;

}



.dk-tracker-steps {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.dk-tracker-step {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    position: relative;

    z-index: 2;

}



.dk-step-dot {

    width: 32px;

    height: 32px;

    border-radius: 50%;

    background: #e2e8f0;

    color: #94a3b8;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 13px;

    font-weight: 800;

}



.dk-tracker-step.completed .dk-step-dot {

    background: #029a49;

    color: #ffffff;

}



.dk-tracker-step.current .dk-step-dot {

    background: #ef394e;

    color: #ffffff;

    box-shadow: 0 0 0 4px rgba(239, 57, 78, 0.2);

}



.dk-step-label {

    font-size: 12px;

    font-weight: 700;

    color: #64748b;

}



.dk-tracker-step.completed .dk-step-label,

.dk-tracker-step.current .dk-step-label {

    color: #0f172a;

}



.dk-tracker-line {

    flex: 1;

    height: 3px;

    background: #e2e8f0;

    margin: 0 10px -20px;

    position: relative;

    z-index: 1;

}



.dk-tracker-line.active {

    background: #029a49;

}



.dk-order-info-card,

.dk-order-items-card,

.dk-order-summary-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 20px;

    margin-bottom: 20px;

}



.dk-info-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

}



.dk-info-item.full {

    grid-column: span 2;

}



.dk-info-label {

    font-size: 12px;

    color: #64748b;

    margin-left: 6px;

}



.dk-info-val {

    font-size: 12.5px;

    font-weight: 700;

    color: #0f172a;

}



.dk-view-item-row {

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 12px 0;

    border-bottom: 1px solid #f1f5f9;

}



.dk-view-item-img {

    width: 64px;

    height: 64px;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    padding: 4px;

}



.dk-view-item-img img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}



.dk-view-item-details {

    flex: 1;

}



.dk-view-item-name a {

    color: #0f172a;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

}



.dk-view-item-meta {

    display: flex;

    gap: 14px;

    font-size: 11.5px;

    color: #64748b;

    margin-top: 4px;

}



.dk-summary-rows {

    display: flex;

    flex-direction: column;

    gap: 10px;

}



.dk-summary-row {

    display: flex;

    justify-content: space-between;

    font-size: 13px;

    color: #475569;

}



.dk-summary-row.discount {

    color: #ef394e;

    font-weight: 700;

}



.dk-summary-row.final {

    border-top: 1px solid #e2e8f0;

    padding-top: 12px;

    margin-top: 4px;

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

}



.dk-final-amount {

    color: #029a49 !important;

}



/* ==========================================================================

   4. PersianShop Style My Account Sub-pages & Forms Styling

   ========================================================================== */



/* Generic Wrappers & Headers for Account Sub-pages */

.dk-addresses-page-wrap,

.dk-orders-page-wrap,

.dk-edit-account-wrap,

.dk-view-order-wrap,

.dk-downloads-page-wrap,

.dk-edit-address-wrap,

.dk-payment-methods-wrap {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 28px 32px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);

    margin-bottom: 30px;

}



.dk-orders-page-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom: 1px solid #f1f5f9;

    margin-bottom: 22px;

}



.dk-orders-page-title {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

    margin: 0;

}



.dk-orders-page-title svg {

    color: #ef394e;

    flex-shrink: 0;

}



.dk-addresses-desc {

    font-size: 13.5px;

    color: #64748b;

    margin-top: -6px;

    margin-bottom: 24px;

    line-height: 1.6;

}



/* 1. Addresses Grid & Cards (my-address.php) */

.dk-addresses-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

}



.dk-address-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 22px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: all 0.2s ease;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);

}



.dk-address-card:hover {

    border-color: #cbd5e1;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);

    transform: translateY(-2px);

}



.dk-address-card-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 14px;

    border-bottom: 1px solid #f1f5f9;

    margin-bottom: 16px;

}



.dk-address-card-title {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 15px;

    font-weight: 800;

    color: #1e293b;

    margin: 0;

}



.dk-address-card-title svg {

    color: #ef394e;

}



.dk-btn-edit-addr {

    font-size: 12.5px;

    color: #ef394e;

    font-weight: 700;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 6px 14px;

    border-radius: 8px;

    background: #fef2f2;

    transition: all 0.15s ease;

}



.dk-btn-edit-addr:hover {

    background: #fee2e2;

    color: #d82b3f;

}



.dk-address-card-body {

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}



.dk-formatted-address {

    font-style: normal;

    font-size: 13.5px;

    line-height: 1.85;

    color: #334155;

    background: #f8fafc;

    border: 1px solid #f1f5f9;

    border-radius: 12px;

    padding: 16px;

    margin-bottom: 0;

}



.dk-no-address-text {

    font-size: 13.5px;

    color: #94a3b8;

    margin-bottom: 16px;

    line-height: 1.6;

}



.dk-btn-add-addr {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: #ef394e;

    color: #ffffff !important;

    font-size: 13px;

    font-weight: 700;

    padding: 10px 18px;

    border-radius: 10px;

    text-decoration: none;

    transition: all 0.2s ease;

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.2);

}



.dk-btn-add-addr:hover {

    background: #d82b3f;

    transform: translateY(-1px);

    box-shadow: 0 6px 16px rgba(239, 57, 78, 0.3);

}



/* 2. Edit Address Form (form-edit-address.php) */

.dk-address-form-header {

    border-bottom: 1px solid #f1f5f9;

    padding-bottom: 18px;

    margin-bottom: 24px;

}



.dk-btn-back-link {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 12.5px;

    font-weight: 700;

    color: #64748b;

    text-decoration: none;

    margin-bottom: 10px;

    transition: color 0.15s ease;

}



.dk-btn-back-link:hover {

    color: #ef394e;

}



.dk-address-form-title {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 6px 0;

}



.dk-address-form-title svg {

    color: #ef394e;

}



.dk-address-form-desc {

    font-size: 13px;

    color: #64748b;

    margin: 0;

}



/* Modern Vendara Style Address Form Grid & Fields */

:root {

    --wc-form-border-color: #e2e8f0;

    --wc-form-border-radius: 12px;

    --wc-form-border-width: 1.5px;

}



.dk-edit-address-wrap {

    background: #ffffff !important;

    border: 1px solid #e2e8f0 !important;

    border-radius: 16px !important;

    padding: 32px 36px !important;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;

    margin-bottom: 30px !important;

}



.dk-address-fields-grid {

    display: grid !important;

    grid-template-columns: repeat(2, 1fr) !important;

    gap: 20px 24px !important;

    margin-top: 10px !important;

}



.dk-address-fields-grid .form-row {

    margin: 0 !important;

    padding: 0 !important;

    display: flex !important;

    flex-direction: column !important;

    float: none !important;

    width: 100% !important;

}



.dk-address-fields-grid .woocommerce-input-wrapper,

.woocommerce-address-fields .woocommerce-input-wrapper {

    display: block !important;

    width: 100% !important;

    position: relative !important;

}



.dk-address-fields-grid .form-row-first {

    grid-column: 1 !important;

}



.dk-address-fields-grid .form-row-last {

    grid-column: 2 !important;

}



.dk-address-fields-grid .form-row-wide,

.dk-address-fields-grid .notes,

.dk-address-fields-grid #billing_address_1_field,

.dk-address-fields-grid #billing_address_2_field,

.dk-address-fields-grid #shipping_address_1_field,

.dk-address-fields-grid #shipping_address_2_field,

.dk-address-fields-grid #shipping_country_field,

.dk-address-fields-grid #billing_country_field,

.dk-address-fields-grid #billing_email_field {

    grid-column: span 2 !important;

}



@media (max-width: 768px) {

    .dk-edit-address-wrap {

        padding: 20px 18px !important;

    }

    .dk-address-fields-grid {

        grid-template-columns: 1fr !important;

        gap: 16px !important;

    }

    .dk-address-fields-grid .form-row-first,

    .dk-address-fields-grid .form-row-last,

    .dk-address-fields-grid .form-row-wide,

    .dk-address-fields-grid #billing_address_1_field,

    .dk-address-fields-grid #billing_address_2_field,

    .dk-address-fields-grid #shipping_address_1_field,

    .dk-address-fields-grid #shipping_address_2_field,

    .dk-address-fields-grid #shipping_country_field,

    .dk-address-fields-grid #billing_country_field,

    .dk-address-fields-grid #billing_email_field {

        grid-column: span 1 !important;

    }

}



.dk-address-fields-grid label,

.woocommerce-address-fields label,

.dk-form-row label {

    font-size: 13.5px !important;

    font-weight: 700 !important;

    color: #334155 !important;

    margin-bottom: 8px !important;

    display: flex !important;

    align-items: center !important;

    gap: 5px !important;

    letter-spacing: normal !important;

}



.dk-address-fields-grid label .required,

.woocommerce-address-fields label .required,

.dk-form-row label .required {

    color: #ef394e !important;

    text-decoration: none !important;

    font-size: 16px !important;

    font-weight: 900 !important;

    border: none !important;

}



.dk-address-fields-grid label .optional,

.woocommerce-address-fields label .optional {

    color: #94a3b8 !important;

    font-weight: 500 !important;

    font-size: 12px !important;

}



/* Modern Input & Select Styling - High Specificity */

.dk-edit-address-wrap input[type="text"],

.dk-edit-address-wrap input[type="tel"],

.dk-edit-address-wrap input[type="email"],

.dk-edit-address-wrap input[type="password"],

.dk-edit-address-wrap input.input-text,

.dk-edit-address-wrap select,

.dk-edit-address-wrap textarea,

.dk-address-fields-grid input,

.dk-address-fields-grid select,

.dk-address-fields-grid textarea,

.woocommerce form.woocommerce-EditAddressForm .form-row input.input-text,

.woocommerce form.woocommerce-EditAddressForm .form-row select,

.woocommerce-address-fields input.input-text,

.woocommerce-address-fields select {

    width: 100% !important;

    height: 48px !important;

    padding: 0 16px !important;

    font-size: 14px !important;

    color: #1e293b !important;

    background-color: #f8fafc !important;

    border: 1.5px solid #e2e8f0 !important;

    border-radius: 12px !important;

    outline: none !important;

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;

    box-sizing: border-box !important;

    font-family: inherit !important;

    box-shadow: none !important;

}



.dk-edit-address-wrap textarea,

.dk-address-fields-grid textarea,

.woocommerce-address-fields textarea {

    height: auto !important;

    min-height: 90px !important;

    padding: 12px 16px !important;

    line-height: 1.6 !important;

    resize: vertical !important;

}



.dk-edit-address-wrap input::placeholder,

.dk-address-fields-grid input::placeholder,

.dk-edit-address-wrap textarea::placeholder,

.dk-address-fields-grid textarea::placeholder {

    color: #94a3b8 !important;

    font-size: 13px !important;

    font-weight: 500 !important;

}



.dk-edit-address-wrap input:hover,

.dk-edit-address-wrap select:hover,

.dk-edit-address-wrap textarea:hover,

.dk-address-fields-grid input:hover,

.dk-address-fields-grid select:hover {

    border-color: #cbd5e1 !important;

    background-color: #ffffff !important;

}



.dk-edit-address-wrap input:focus,

.dk-edit-address-wrap select:focus,

.dk-edit-address-wrap textarea:focus,

.dk-address-fields-grid input:focus,

.dk-address-fields-grid select:focus,

.dk-address-fields-grid textarea:focus,

.woocommerce form.woocommerce-EditAddressForm .form-row input.input-text:focus,

.woocommerce form.woocommerce-EditAddressForm .form-row select:focus,

.woocommerce-address-fields input.input-text:focus,

.woocommerce-address-fields select:focus {

    background-color: #ffffff !important;

    border-color: #ef394e !important;

    box-shadow: 0 0 0 4px rgba(239, 57, 78, 0.12) !important;

    outline: none !important;

}



/* Select2 & selectWoo Digikala Styling for Country/State & Form Fields */

.dk-edit-address-wrap .select2-container,

.dk-edit-address-wrap .select2-container--default,

.woocommerce-address-fields .select2-container {

    width: 100% !important;

    direction: rtl !important;

    text-align: right !important;

}



.dk-edit-address-wrap .select2-container .select2-selection--single,

.dk-edit-address-wrap .select2-container--default .select2-selection--single,

.woocommerce-address-fields .select2-container .select2-selection--single,

.woocommerce-address-fields .select2-container--default .select2-selection--single {

    height: 48px !important;

    background-color: #f8fafc !important;

    border: 1.5px solid #e2e8f0 !important;

    border-radius: 12px !important;

    padding: 0 16px !important;

    display: flex !important;

    align-items: center !important;

    position: relative !important;

    transition: all 0.2s ease !important;

    box-sizing: border-box !important;

    outline: none !important;

    box-shadow: none !important;

}



.dk-edit-address-wrap .select2-container--default.select2-container--open .select2-selection--single,

.dk-edit-address-wrap .select2-container--default.select2-container--focus .select2-selection--single,

.woocommerce-address-fields .select2-container--default.select2-container--open .select2-selection--single,

.woocommerce-address-fields .select2-container--default.select2-container--focus .select2-selection--single {

    background-color: #ffffff !important;

    border-color: #ef394e !important;

    box-shadow: 0 0 0 4px rgba(239, 57, 78, 0.12) !important;

}



.dk-edit-address-wrap .select2-container--default .select2-selection--single .select2-selection__rendered,

.woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered {

    color: #1e293b !important;

    font-size: 14px !important;

    font-weight: 600 !important;

    line-height: 46px !important;

    padding-right: 0 !important;

    padding-left: 28px !important;

    width: 100% !important;

    text-align: right !important;

    font-family: inherit !important;

}



.dk-edit-address-wrap .select2-container--default .select2-selection--single .select2-selection__placeholder,

.woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__placeholder {

    color: #94a3b8 !important;

    font-size: 13px !important;

    font-weight: 500 !important;

}



.dk-edit-address-wrap .select2-container--default .select2-selection--single .select2-selection__arrow,

.woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__arrow {

    height: 46px !important;

    position: absolute !important;

    top: 0 !important;

    left: 14px !important;

    right: auto !important;

    width: 20px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

}



.select2-container--default .select2-selection--single .select2-selection__arrow b {

    border-color: #64748b transparent transparent transparent !important;

    border-style: solid !important;

    border-width: 5px 4px 0 4px !important;

    height: 0 !important;

    left: auto !important;

    margin-left: 0 !important;

    margin-top: 0 !important;

    position: relative !important;

    top: auto !important;

    width: 0 !important;

}



.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {

    border-color: transparent transparent #ef394e transparent !important;

    border-width: 0 4px 5px 4px !important;

}



.select2-container--default.select2-container--focus .select2-selection--single,

.select2-container--default.select2-container--open .select2-selection--single {

    border-color: #ef394e !important;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.12) !important;

}



.select2-dropdown {

    border: 1px solid #cbd5e1 !important;

    border-radius: 12px !important;

    background-color: #ffffff !important;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;

    direction: rtl !important;

    text-align: right !important;

    z-index: 999999 !important;

    overflow: hidden !important;

    margin-top: 4px !important;

}



.select2-search--dropdown {

    padding: 10px 12px !important;

    border-bottom: 1px solid #f1f5f9 !important;

    background: #f8fafc !important;

}



.select2-search--dropdown .select2-search__field {

    width: 100% !important;

    height: 38px !important;

    padding: 0 12px !important;

    border: 1px solid #cbd5e1 !important;

    border-radius: 8px !important;

    font-size: 13px !important;

    font-family: inherit !important;

    color: #0f172a !important;

    box-sizing: border-box !important;

    outline: none !important;

}



.select2-search--dropdown .select2-search__field:focus {

    border-color: #ef394e !important;

    box-shadow: 0 0 0 2px rgba(239, 57, 78, 0.15) !important;

}



.select2-results__options {

    max-height: 220px !important;

    overflow-y: auto !important;

    padding: 6px !important;

    margin: 0 !important;

    list-style: none !important;

}



.select2-results__option {

    padding: 10px 14px !important;

    font-size: 13px !important;

    color: #334155 !important;

    border-radius: 8px !important;

    margin-bottom: 2px !important;

    cursor: pointer !important;

    text-align: right !important;

    transition: all 0.15s ease !important;

}



.select2-results__option--highlighted[aria-selected],

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {

    background-color: #ef394e !important;

    color: #ffffff !important;

}



.select2-results__option[aria-selected="true"] {

    background-color: #fef2f2 !important;

    color: #ef394e !important;

    font-weight: 700 !important;

}





.dk-address-form-submit-row {

    margin-top: 26px;

    padding-top: 22px;

    border-top: 1px solid #f1f5f9;

}



/* 3. Edit Account Details (form-edit-account.php) */

.dk-form-grid-2 {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px 22px;

}



.dk-form-row {

    margin-bottom: 20px;

    display: flex;

    flex-direction: column;

}



.dk-input-hint {

    font-size: 12px;

    color: #64748b;

    margin-top: 6px;

    line-height: 1.5;

}



.dk-password-fieldset {

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 22px;

    margin: 26px 0 22px;

    background: #f8fafc;

}



.dk-fieldset-legend {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    font-weight: 800;

    color: #1e293b;

    padding: 0 12px;

}



.dk-fieldset-legend svg {

    color: #f59e0b;

}



.dk-form-submit-row {

    margin-top: 24px;

}



.dk-btn-submit-red {

    background: #ef394e !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 10px !important;

    padding: 12px 28px !important;

    font-size: 13.5px !important;

    font-weight: 800 !important;

    cursor: pointer !important;

    display: inline-flex !important;

    align-items: center !important;

    gap: 8px !important;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.25) !important;

    transition: all 0.2s ease !important;

    text-decoration: none !important;

}



.dk-btn-submit-red:hover {

    background: #d82b3f !important;

    transform: translateY(-1px);

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.35) !important;

}



/* 4. Orders Details & Pagination (orders.php) */

.dk-order-meta-sep {

    color: #cbd5e1;

    margin: 0 2px;

}



.dk-order-id {

    font-weight: 700;

    color: #1e293b;

}



.dk-order-date {

    color: #64748b;

}



.dk-order-price-label {

    font-size: 12px;

    color: #64748b;

    margin-left: 6px;

}



.dk-btn-order-action {

    font-size: 12px;

    font-weight: 700;

    color: #ef394e;

    background: #fef2f2;

    padding: 6px 14px;

    border-radius: 8px;

    text-decoration: none;

    transition: all 0.15s ease;

}



.dk-btn-order-action:hover {

    background: #fee2e2;

    color: #d82b3f;

}



.dk-orders-pagination {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 26px;

    padding-top: 22px;

    border-top: 1px solid #f1f5f9;

}



.dk-page-btn {

    padding: 7px 18px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    color: #475569;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.15s ease;

    background: #ffffff;

}



.dk-page-btn:hover {

    border-color: #ef394e;

    color: #ef394e;

    background: #fff5f5;

}



.dk-page-num {

    font-size: 13px;

    font-weight: 700;

    color: #334155;

}



.dk-btn-start-shopping,

.dk-btn-empty-shop {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: #ef394e;

    color: #ffffff !important;

    font-size: 13px;

    font-weight: 700;

    padding: 10px 22px;

    border-radius: 10px;

    text-decoration: none;

    transition: all 0.2s ease;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.25);

}



.dk-btn-start-shopping:hover,

.dk-btn-empty-shop:hover {

    background: #d82b3f;

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.35);

}



/* 5. View Order Details (view-order.php) */

.dk-view-order-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom: 1px solid #f1f5f9;

    margin-bottom: 22px;

    flex-wrap: wrap;

    gap: 14px;

}



.dk-btn-back-orders {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    font-weight: 700;

    color: #475569;

    text-decoration: none;

    padding: 6px 12px;

    border-radius: 8px;

    background: #f1f5f9;

    transition: all 0.15s ease;

}



.dk-btn-back-orders:hover {

    background: #fee2e2;

    color: #ef394e;

}



.dk-order-header-details {

    display: flex;

    align-items: center;

    gap: 16px;

    font-size: 13px;

    color: #64748b;

}



.dk-order-code {

    font-weight: 800;

    color: #0f172a;

}



.dk-info-card-title {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 16px 0;

    padding-bottom: 12px;

    border-bottom: 1px solid #f1f5f9;

}



.dk-info-card-title svg {

    color: #ef394e;

}



/* 6. Downloads Page (downloads.php) */

.dk-downloads-list-cards {

    display: flex;

    flex-direction: column;

    gap: 16px;

}



.dk-download-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 18px 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    transition: all 0.2s ease;

}



.dk-download-card:hover {

    border-color: #cbd5e1;

    box-shadow: 0 4px 14px rgba(0,0,0,0.03);

}



.dk-download-info {

    display: flex;

    align-items: center;

    gap: 16px;

}



.dk-download-icon {

    width: 48px;

    height: 48px;

    border-radius: 12px;

    background: #eff6ff;

    color: #2563eb;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.dk-download-meta {

    display: flex;

    flex-direction: column;

    gap: 4px;

}



.dk-download-title {

    margin: 0;

    font-size: 14.5px;

    font-weight: 800;

}



.dk-download-title a {

    color: #0f172a;

    text-decoration: none;

}



.dk-download-title a:hover {

    color: #ef394e;

}



.dk-download-filename {

    font-size: 12px;

    color: #64748b;

}



.dk-download-limits {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 12px;

    color: #475569;

    margin-top: 2px;

}



.dk-sep {

    color: #cbd5e1;

}



.dk-btn-download-file {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #ef394e;

    color: #ffffff !important;

    font-size: 12.5px;

    font-weight: 700;

    padding: 8px 18px;

    border-radius: 8px;

    text-decoration: none;

    transition: all 0.15s ease;

    white-space: nowrap;

}



.dk-btn-download-file:hover {

    background: #d82b3f;

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.25);

}



/* 7. Empty State Component */

.dk-dashboard-empty {

    text-align: center;

    padding: 56px 20px;

    background: #f8fafc;

    border: 1.5px dashed #cbd5e1;

    border-radius: 16px;

    margin-top: 12px;

}



.dk-dashboard-empty svg {

    margin-bottom: 16px;

    color: #94a3b8;

}



.dk-dashboard-empty p {

    font-size: 14.5px;

    color: #64748b;

    font-weight: 600;

    margin-bottom: 20px;

}



/* 8. WooCommerce Account Alerts & Notices */

.woocommerce-message,

.woocommerce-error,

.woocommerce-info {

    border-radius: 12px !important;

    padding: 14px 20px !important;

    font-size: 13.5px !important;

    font-weight: 600 !important;

    margin-bottom: 22px !important;

    display: flex !important;

    align-items: center !important;

    gap: 12px !important;

    border: 1px solid transparent !important;

    line-height: 1.6 !important;

}



.woocommerce-message {

    background: #f0fdf4 !important;

    border-color: #bbf7d0 !important;

    color: #166534 !important;

}



.woocommerce-message::before {

    content: "✓" !important;

    background: #16a34a !important;

    color: #fff !important;

    width: 22px !important;

    height: 22px !important;

    border-radius: 50% !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    font-size: 12px !important;

    font-weight: 900 !important;

    flex-shrink: 0 !important;

}



.woocommerce-error {

    background: #fef2f2 !important;

    border-color: #fecaca !important;

    color: #991b1b !important;

    list-style: none !important;

}



.woocommerce-error li {

    margin: 0 !important;

}



.woocommerce-info {

    background: #eff6ff !important;

    border-color: #bfdbfe !important;

    color: #1e40af !important;

}



.woocommerce-message a.button,

.woocommerce-info a.button {

    background: #ffffff !important;

    border: 1px solid #cbd5e1 !important;

    color: #1e293b !important;

    border-radius: 8px !important;

    padding: 5px 14px !important;

    font-size: 12px !important;

    font-weight: 700 !important;

    text-decoration: none !important;

    margin-right: auto !important;

}



/* Universal Table Fallback inside My Account */

.dk-account-main-content table.woocommerce-table,

.dk-account-main-content table.shop_table {

    width: 100%;

    border-collapse: collapse;

    margin-bottom: 22px;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    overflow: hidden;

}



.dk-account-main-content table th {

    background: #f8fafc;

    padding: 14px 18px;

    font-size: 13px;

    font-weight: 800;

    color: #334155;

    border-bottom: 1px solid #e2e8f0;

    text-align: right;

}



.dk-account-main-content table td {

    padding: 14px 18px;

    font-size: 13px;

    color: #1e293b;

    border-bottom: 1px solid #f1f5f9;

}



.dk-account-main-content table tr:last-child td {

    border-bottom: none;

}





/* ==========================================================================

   5. Incredible Offers Page Sidebar & Layout Styling

   ========================================================================== */

.dk-inc-main-container {

    padding: 24px 0 60px;

}



.dk-inc-page-layout {

    display: flex;

    gap: 24px;

    align-items: flex-start;

}



.dk-inc-sidebar {

    width: 280px;

    min-width: 280px;

    position: sticky;

    top: 90px;

}



.dk-filter-box {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 18px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);

}



.dk-filter-box-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 12px;

    border-bottom: 1px solid #f1f5f9;

    margin-bottom: 12px;

}



.dk-filter-box-title {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 14.5px;

    font-weight: 800;

    color: #0f172a;

}



.dk-filter-clear-btn {

    font-size: 11.5px;

    font-weight: 700;

    color: #ef394e;

    text-decoration: none;

}



.dk-filter-section {

    padding: 12px 0;

    border-bottom: 1px solid #f1f5f9;

}



.dk-filter-section:last-child {

    border-bottom: none;

}



.dk-filter-section-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

    margin-bottom: 10px;

    cursor: pointer;

}



.dk-filter-cats-list {

    list-style: none;

    margin: 0;

    padding: 0;

    max-height: 200px;

    overflow-y: auto;

}



.dk-filter-cats-list li a {

    display: flex;

    justify-content: space-between;

    padding: 6px 8px;

    font-size: 12.5px;

    color: #475569;

    text-decoration: none;

    border-radius: 6px;

}



.dk-filter-cats-list li.active a,

.dk-filter-cats-list li a:hover {

    background: #fff5f5;

    color: #ef394e;

    font-weight: 700;

}



.dk-filter-toggle-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.dk-toggle-label {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

}



.dk-discount-filter-pills {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

}



.dk-disc-pill {

    background: #f1f5f9;

    color: #475569;

    border-radius: 8px;

    padding: 5px 10px;

    font-size: 11.5px;

    font-weight: 600;

    text-decoration: none;

    transition: all 0.15s ease;

}



.dk-disc-pill:hover,

.dk-disc-pill.active {

    background: #ef394e;

    color: #ffffff;

}



.dk-price-inputs {

    display: flex;

    gap: 8px;

    margin-bottom: 10px;

}



.dk-price-field {

    flex: 1;

}



.dk-price-field label {

    display: block;

    font-size: 10.5px;

    color: #94a3b8;

    margin-bottom: 4px;

}



.dk-price-field input {

    width: 100%;

    padding: 8px;

    border: 1px solid #e2e8f0;

    border-radius: 6px;

    font-size: 12px;

    box-sizing: border-box;

}



.dk-btn-apply-price {

    width: 100%;

    background: #0f172a;

    color: #ffffff;

    border: none;

    border-radius: 8px;

    padding: 8px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: background 0.15s ease;

}



.dk-btn-apply-price:hover {

    background: #1e293b;

}



.dk-brands-list {

    display: flex;

    flex-direction: column;

    gap: 8px;

    max-height: 180px;

    overflow-y: auto;

}



.dk-brand-checkbox {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    color: #334155;

    cursor: pointer;

}



.dk-inc-main-col {

    flex: 1;

    min-width: 0;

}



/* Pagination */

.dk-pagination-wrapper {

    margin-top: 36px;

    display: flex;

    justify-content: center;

}



.dk-pagination-list {

    list-style: none;

    display: flex;

    align-items: center;

    gap: 6px;

    margin: 0;

    padding: 0;

}



.dk-page-item a,

.dk-page-item span {

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 38px;

    height: 38px;

    padding: 0 10px;

    border: 1px solid #e2e8f0;

    background: #ffffff;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 700;

    color: #334155;

    text-decoration: none;

    transition: all 0.15s ease;

}



.dk-page-item a:hover {

    border-color: #ef394e;

    color: #ef394e;

}



.dk-page-item span.current {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

}



/* ==========================================================================

   6. Custom Elementor Sliders: Flash Deals, Tabbed, Brands & Double-Row

   ========================================================================== */



/* 1. Flash Deals / Golden Deals Slider */

.ps-flash-deals-wrapper {

    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);

    border: 1.5px solid #d97706;

    border-radius: 20px;

    padding: 24px;

    margin: 30px 0;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 25px rgba(245, 158, 11, 0.15);

    position: relative;

    overflow: hidden;

}



.ps-flash-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    margin-bottom: 20px;

    flex-wrap: wrap;

    gap: 16px;

}



.ps-flash-title-wrap {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

}



.ps-flash-badge {

    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

    color: #000;

    font-size: 12px;

    font-weight: 800;

    padding: 4px 12px;

    border-radius: 20px;

    display: inline-flex;

    align-items: center;

    gap: 4px;

    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);

}



.ps-flash-title {

    color: #ffffff;

    font-size: 18px;

    font-weight: 900;

    margin: 0;

}



.ps-flash-sub {

    color: #a1a1aa;

    font-size: 13px;

}



.ps-flash-timer-box {

    display: flex;

    align-items: center;

    gap: 10px;

    background: rgba(0, 0, 0, 0.4);

    border: 1px solid rgba(245, 158, 11, 0.3);

    padding: 6px 14px;

    border-radius: 12px;

}



.ps-timer-text {

    color: #fbbf24;

    font-size: 12px;

    font-weight: 700;

}



.ps-timer-digits {

    display: flex;

    align-items: center;

    gap: 4px;

    direction: ltr;

}



.ps-timer-seg {

    background: #000;

    color: #fbbf24;

    font-size: 14px;

    font-weight: 900;

    padding: 4px 8px;

    border-radius: 6px;

    min-width: 28px;

    text-align: center;

    border: 1px solid rgba(245, 158, 11, 0.2);

}



.ps-timer-colon {

    color: #fbbf24;

    font-weight: 900;

}



.ps-flash-track-container {

    position: relative;

}



.ps-flash-track {

    display: flex;

    gap: 16px;

    overflow-x: auto;

    padding-bottom: 8px;

    scrollbar-width: none;

}

.ps-flash-track::-webkit-scrollbar { display: none; }



.ps-drag-enabled {

    cursor: grab;

    user-select: none;

    -webkit-user-select: none;

}

.ps-drag-enabled:active,

.ps-drag-enabled.is-dragging {

    cursor: grabbing !important;

}

.ps-drag-enabled.is-dragging * {

    user-select: none !important;

    -webkit-user-select: none !important;

    pointer-events: none !important;

}

.ps-drag-enabled img {

    -webkit-user-drag: none;

    user-drag: none;

    pointer-events: none;

}



.ps-flash-nav {

    position: absolute;

    top: 45%;

    transform: translateY(-50%);

    width: 40px;

    height: 40px;

    background: rgba(0, 0, 0, 0.7);

    border: 1px solid #d97706;

    color: #fbbf24;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 5;

    transition: all 0.2s ease;

}

.ps-flash-nav:hover {

    background: #f59e0b;

    color: #000;

}

.ps-flash-nav.prev { right: -12px; }

.ps-flash-nav.next { left: -12px; }



.ps-flash-card {

    min-width: 210px;

    max-width: 210px;

    background: #ffffff;

    border-radius: 16px;

    padding: 16px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: transform 0.2s ease, box-shadow 0.2s ease;

}

.ps-flash-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

}



.ps-flash-card-link {

    text-decoration: none;

    color: inherit;

    display: flex;

    flex-direction: column;

}



.ps-flash-thumb-wrap {

    position: relative;

    width: 100%;

    height: 160px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

}

.ps-flash-thumb-wrap img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

}



.ps-flash-discount-badge {

    position: absolute;

    top: 0;

    right: 0;

    background: #ef394e;

    color: #fff;

    font-size: 12px;

    font-weight: 800;

    padding: 3px 8px;

    border-radius: 12px;

}



.ps-flash-product-title {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

    line-height: 1.5;

    height: 38px;

    overflow: hidden;

    margin: 0 0 10px 0;

}



.ps-flash-price-row {

    margin-bottom: 12px;

}



.ps-flash-regular-price {

    font-size: 11.5px;

    color: #94a3b8;

    display: block;

}



.ps-flash-final-price {

    color: #0f172a;

    font-size: 15px;

}

.ps-flash-final-price strong {

    font-size: 16px;

    font-weight: 900;

}

.ps-flash-final-price .ps-toman {

    font-size: 11px;

    color: #64748b;

    margin-right: 2px;

}



.ps-flash-progress-wrap {

    position: relative;

    background: #e2e8f0;

    height: 16px;

    border-radius: 20px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ps-flash-progress-bar {

    position: absolute;

    top: 0;

    right: 0;

    bottom: 0;

    background: linear-gradient(90deg, #f59e0b, #ef4444);

    border-radius: 20px;

    transition: width 0.4s ease;

}

.ps-flash-progress-text {

    position: relative;

    z-index: 2;

    font-size: 10px;

    font-weight: 800;

    color: #1e293b;

}



/* 2. Tabbed Product Slider */

.ps-tabbed-slider-wrap {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 24px;

    margin: 30px 0;

    box-shadow: 0 4px 16px rgba(0,0,0,0.03);

}



.ps-tabbed-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 16px;

    border-bottom: 1px solid #f1f5f9;

    margin-bottom: 20px;

    flex-wrap: wrap;

    gap: 16px;

}



.ps-tabbed-title {

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 4px 0;

    display: flex;

    align-items: center;

    gap: 8px;

}



.ps-title-bullet {

    width: 6px;

    height: 18px;

    background: #ef394e;

    border-radius: 4px;

    display: inline-block;

}



.ps-tabbed-sub {

    font-size: 12.5px;

    color: #64748b;

}



.ps-tabbed-nav {

    display: flex;

    gap: 8px;

    flex-wrap: nowrap;

    overflow-x: auto;

    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    touch-action: pan-x;

    scrollbar-width: none;

    padding-bottom: 4px;

}

.ps-tabbed-nav::-webkit-scrollbar {

    display: none;

}



body.ps-is-mobile-view .ps-tabbed-slider-wrap,

@media (max-width: 992px) {

    .ps-tabbed-slider-wrap {

        padding: 16px 12px !important;

        border-radius: 16px !important;

    }

    body.ps-is-mobile-view .ps-tabbed-header,

    .ps-tabbed-header {

        flex-direction: column !important;

        align-items: flex-start !important;

        gap: 12px !important;

        padding-bottom: 12px !important;

        margin-bottom: 16px !important;

    }

    body.ps-is-mobile-view .ps-tabbed-title-box,

    .ps-tabbed-title-box {

        width: 100% !important;

    }

    body.ps-is-mobile-view .ps-tabbed-nav,

    .ps-tabbed-nav {

        display: flex !important;

        flex-direction: row !important;

        flex-wrap: nowrap !important;

        overflow-x: auto !important;

        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch !important;

        touch-action: pan-x !important;

        width: 100% !important;

        max-width: 100% !important;

        padding: 6px 2px 10px !important;

        gap: 8px !important;

        scrollbar-width: none !important;

    }

    body.ps-is-mobile-view .ps-tabbed-nav::-webkit-scrollbar,

    .ps-tabbed-nav::-webkit-scrollbar {

        display: none !important;

    }

    body.ps-is-mobile-view .ps-tab-btn,

    .ps-tab-btn {

        flex: 0 0 auto !important;

        flex-shrink: 0 !important;

        white-space: nowrap !important;

        font-size: 12px !important;

        padding: 7px 15px !important;

        border-radius: 20px !important;

        display: inline-flex !important;

        align-items: center !important;

    }

}



.ps-tab-btn {

    background: #f1f5f9;

    color: #475569;

    border: 1px solid transparent;

    padding: 6px 16px;

    border-radius: 20px;

    font-size: 12.5px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.15s ease;

    font-family: inherit;

}

.ps-tab-btn:hover {

    background: #e2e8f0;

    color: #0f172a;

}

.ps-tab-btn.active {

    background: #ef394e;

    color: #ffffff;

    box-shadow: 0 3px 10px rgba(239, 57, 78, 0.3);

}



.ps-tab-track-container {

    position: relative;

}



.ps-tab-track {

    display: flex;

    gap: 16px;

    overflow-x: auto;

    padding: 6px 2px 14px;

    scrollbar-width: none;

}

.ps-tab-track::-webkit-scrollbar { display: none; }



.ps-tab-nav-btn {

    position: absolute;

    top: 45%;

    transform: translateY(-50%);

    width: 38px;

    height: 38px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

    z-index: 5;

    color: #334155;

    transition: all 0.15s ease;

}

.ps-tab-nav-btn:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

}

.ps-tab-nav-btn.prev { right: -12px; }

.ps-tab-nav-btn.next { left: -12px; }



.ps-tabbed-product-card {

    min-width: 200px;

    max-width: 200px;

    background: #ffffff;

    border: 1px solid #f1f5f9;

    border-radius: 14px;

    padding: 14px;

    transition: all 0.2s ease;

}

.ps-tabbed-product-card:hover {

    border-color: #cbd5e1;

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0,0,0,0.06);

}



.ps-tabbed-card-link {

    text-decoration: none;

    color: inherit;

    display: block;

}



.ps-tabbed-thumb-wrap {

    position: relative;

    width: 100%;

    height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 10px;

}

.ps-tabbed-thumb-wrap img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

}



.ps-tabbed-discount-badge {

    position: absolute;

    top: 0;

    right: 0;

    background: #ef394e;

    color: #fff;

    font-size: 11px;

    font-weight: 800;

    padding: 2px 7px;

    border-radius: 10px;

}



.ps-tabbed-product-title {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

    height: 36px;

    overflow: hidden;

    margin: 0 0 10px 0;

    line-height: 1.45;

}



.ps-tabbed-del-price {

    font-size: 11px;

    color: #94a3b8;

    display: block;

}



.ps-tabbed-final-price {

    color: #0f172a;

    font-size: 14.5px;

}

.ps-tabbed-final-price strong {

    font-size: 15.5px;

    font-weight: 800;

}



/* 3. Popular Brands Carousel */

.ps-brands-carousel-wrap {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 24px;

    margin: 30px 0;

    box-shadow: 0 4px 16px rgba(0,0,0,0.03);

}



.ps-brands-header {

    margin-bottom: 20px;

    text-align: center;

}



.ps-brands-title-wrap {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 4px;

}



.ps-brands-star-icon {

    color: #f59e0b;

    font-size: 18px;

}



.ps-brands-title {

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    margin: 0;

}



.ps-brands-sub {

    font-size: 13px;

    color: #64748b;

    display: block;

}



.ps-brands-track-container {

    position: relative;

}



.ps-brands-track {

    display: flex;

    gap: 16px;

    overflow-x: auto;

    padding: 8px 4px;

    scrollbar-width: none;

}

.ps-brands-track::-webkit-scrollbar { display: none; }



.ps-brands-nav-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 36px;

    height: 36px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    z-index: 5;

    color: #334155;

    transition: all 0.15s ease;

}

.ps-brands-nav-btn:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

}

.ps-brands-nav-btn.prev { right: -12px; }

.ps-brands-nav-btn.next { left: -12px; }



.ps-brand-card {

    min-width: 140px;

    max-width: 140px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 16px;

    text-align: center;

    transition: all 0.2s ease;

}

.ps-brand-card:hover {

    border-color: #ef394e;

    transform: translateY(-3px) scale(1.02);

    box-shadow: 0 6px 16px rgba(0,0,0,0.06);

    background: #ffffff;

}



.ps-brand-card-link {

    text-decoration: none;

    color: inherit;

    display: flex;

    flex-direction: column;

    align-items: center;

}



.ps-brand-logo-wrap {

    width: 64px;

    height: 64px;

    margin-bottom: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ps-brand-logo-wrap img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

}



.ps-brand-letter-badge {

    width: 52px;

    height: 52px;

    border-radius: 50%;

    background: #e2e8f0;

    color: #334155;

    font-size: 20px;

    font-weight: 800;

    display: flex;

    align-items: center;

    justify-content: center;

}



.ps-brand-name {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

}



/* 4. Double-Row Compact Product Carousel */

.ps-double-carousel-wrap {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 24px;

    margin: 30px 0;

    box-shadow: 0 4px 16px rgba(0,0,0,0.03);

}



.ps-double-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 16px;

    border-bottom: 1px solid #f1f5f9;

    margin-bottom: 20px;

}



.ps-double-badge {

    background: #fef2f2;

    color: #ef394e;

    font-size: 11.5px;

    font-weight: 800;

    padding: 3px 10px;

    border-radius: 20px;

    display: inline-block;

    margin-bottom: 4px;

}



.ps-double-title {

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 4px 0;

}



.ps-double-sub {

    font-size: 12.5px;

    color: #64748b;

}



.ps-double-nav-arrows {

    display: flex;

    gap: 8px;

}



.ps-double-nav {

    width: 36px;

    height: 36px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    color: #334155;

    transition: all 0.15s ease;

}

.ps-double-nav:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

}



.ps-double-track-outer {

    overflow: hidden;

}



.ps-double-track {

    display: flex;

    gap: 16px;

    overflow-x: auto;

    padding-bottom: 8px;

    scrollbar-width: none;

}

.ps-double-track::-webkit-scrollbar { display: none; }



.ps-double-col-pair {

    min-width: 290px;

    max-width: 290px;

    display: flex;

    flex-direction: column;

    gap: 14px;

}



.ps-double-item-card {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 12px;

    border: 1px solid #f1f5f9;

    border-radius: 12px;

    text-decoration: none;

    color: inherit;

    background: #ffffff;

    transition: all 0.15s ease;

}

.ps-double-item-card:hover {

    border-color: #cbd5e1;

    box-shadow: 0 4px 12px rgba(0,0,0,0.04);

}



.ps-double-thumb {

    width: 64px;

    height: 64px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ps-double-thumb img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

}



.ps-double-details {

    flex: 1;

    min-width: 0;

}



.ps-double-product-name {

    font-size: 12.5px;

    font-weight: 700;

    color: #1e293b;

    margin: 0 0 6px 0;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.ps-double-price-wrap {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.ps-double-discount-badge {

    background: #ef394e;

    color: #fff;

    font-size: 10.5px;

    font-weight: 800;

    padding: 2px 6px;

    border-radius: 8px;

}



.ps-double-price {

    font-size: 13.5px;

    color: #0f172a;

}

.ps-double-price strong {

    font-weight: 800;

}



@media (max-width: 1024px) {

    .dk-inc-page-layout,

    .dk-account-layout {

        flex-direction: column;

    }



    .dk-inc-sidebar,

    .dk-account-sidebar {

        width: 100%;

        min-width: 100%;

        position: static;

    }



    .dk-dashboard-stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 640px) {

    .dk-dashboard-stats-grid {

        grid-template-columns: 1fr;

    }



    .dk-dashboard-shortcuts,

    .dk-addresses-grid,

    .dk-info-grid,

    .dk-address-fields-grid,

    .dk-form-grid-2 {

        grid-template-columns: 1fr !important;

    }



    .dk-address-fields-grid .form-row-wide,

    .dk-address-fields-grid .notes,

    .dk-address-fields-grid #billing_address_1_field,

    .dk-address-fields-grid #billing_address_2_field,

    .dk-address-fields-grid #shipping_address_1_field,

    .dk-address-fields-grid #shipping_address_2_field {

        grid-column: span 1 !important;

    }



    .dk-download-card {

        flex-direction: column;

        align-items: flex-start;

        gap: 14px;

    }



    .dk-btn-download-file,

    .dk-btn-submit-red {

        width: 100% !important;

        justify-content: center !important;

    }



    .dk-addresses-page-wrap,

    .dk-orders-page-wrap,

    .dk-edit-account-wrap,

    .dk-view-order-wrap,

    .dk-downloads-page-wrap,

    .dk-edit-address-wrap {

        padding: 18px 16px !important;

    }



    .dk-info-item.full {

        grid-column: span 1;

    }



    .dk-tracker-steps {

        flex-direction: column;

        align-items: flex-start;

        gap: 16px;

    }



    .dk-tracker-line {

        display: none;

    }

}



/* ==========================================================================

   PERSIANSHOP ADVANCED FEATURES:

   1. AJAX Slide-out Mini-Cart Drawer

   2. Quick View Modal

   3. Dual Login Modal (SMS OTP & Password)

   4. Share & Shortlink Modal

   5. Back-in-Stock Alert Modal

   6. Sticky Floating "Recently Viewed Products" Bar

   7. Global Toast Notifications

   8. Smart Delivery Badges & Live Catalog AJAX Filter

   ========================================================================== */



/* --- 1. AJAX Slide-out Mini-Cart Drawer --- */

#ps-cart-drawer-overlay {

    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, 0.6);

    backdrop-filter: blur(4px);

    z-index: 99998;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.3s ease, visibility 0.3s ease;

}

#ps-cart-drawer-overlay.active {

    opacity: 1;

    visibility: visible;

}

#ps-cart-drawer {

    position: fixed;

    top: 0;

    left: 0;

    width: 420px;

    max-width: 92vw;

    height: 100vh;

    background: #ffffff;

    z-index: 99999;

    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.2);

    display: flex;

    flex-direction: column;

    transform: translateX(-100%);

    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    direction: rtl;

    text-align: right;

    font-family: inherit;

}

#ps-cart-drawer.active {

    transform: translateX(0);

}

.ps-cart-drawer-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 20px;

    border-bottom: 1px solid #f1f5f9;

    background: #ffffff;

}

.ps-cart-drawer-title-wrap {

    display: flex;

    align-items: center;

    gap: 10px;

}

.ps-cart-drawer-title-wrap h3 {

    margin: 0;

    font-size: 16px;

    font-weight: 800;

    color: #0f172a;

}

.ps-cart-drawer-badge {

    background: #fee2e2;

    color: #ef394e;

    font-size: 11.5px;

    font-weight: 700;

    padding: 3px 9px;

    border-radius: 20px;

}

.ps-cart-drawer-close {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 50%;

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    color: #64748b;

    transition: all 0.2s;

}

.ps-cart-drawer-close:hover {

    background: #ef4444;

    color: #fff;

    border-color: #ef4444;

}

.ps-cart-drawer-items {

    flex: 1;

    overflow-y: auto;

    padding: 16px 20px;

    display: flex;

    flex-direction: column;

    gap: 14px;

}

.ps-cart-drawer-item {

    position: relative;

    display: flex;

    gap: 14px;

    padding: 14px;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    background: #ffffff;

    transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s ease;

}

.ps-cart-drawer-item.is-loading {

    opacity: 0.55;

    pointer-events: none;

}

.ps-cart-drawer-item:hover {

    border-color: #cbd5e1;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);

}

.ps-cd-item-thumb {

    width: 72px;

    height: 72px;

    flex-shrink: 0;

    border-radius: 8px;

    overflow: hidden;

    background: #f8fafc;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ps-cd-item-thumb img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}

.ps-cd-item-info {

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-width: 0;

}

.ps-cd-item-title {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

    text-decoration: none;

    line-height: 1.5;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    margin-bottom: 6px;

}

.ps-cd-item-title:hover {

    color: #ef394e;

}

.ps-cd-item-price {

    font-size: 13.5px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 8px;

}

.ps-cd-item-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.ps-cd-qty-selector {

    position: relative;

    display: inline-flex;

    align-items: center;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    overflow: hidden;

    background: #f8fafc;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;

}

/* Drawer Quantity Loader Spinner */

.ps-cd-qty-selector.is-loading {

    border-color: #ef394e;

    pointer-events: none;

}

.ps-cd-qty-selector.is-loading::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(1px);

    z-index: 5;

    border-radius: inherit;

}

.ps-cd-qty-selector.is-loading::after {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 14px;

    height: 14px;

    margin-top: -7px;

    margin-left: -7px;

    border: 2px solid rgba(239, 57, 78, 0.2);

    border-top-color: #ef394e;

    border-radius: 50%;

    animation: psCdQtySpinner 0.65s linear infinite;

    z-index: 6;

}

@keyframes psCdQtySpinner {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}

.ps-cd-qty-btn {

    width: 28px;

    height: 28px;

    border: none;

    background: transparent;

    cursor: pointer;

    font-size: 16px;

    font-weight: 700;

    color: #334155;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: background 0.15s;

}

.ps-cd-qty-btn:hover {

    background: #e2e8f0;

    color: #ef394e;

}

.ps-cd-qty-val {

    min-width: 28px;

    text-align: center;

    font-size: 13px;

    font-weight: 800;

    color: #0f172a;

}

.ps-cd-item-remove {

    background: none;

    border: none;

    cursor: pointer;

    padding: 4px;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0.7;

    transition: opacity 0.2s;

}

.ps-cd-item-remove:hover {

    opacity: 1;

}

.ps-cart-drawer-footer {

    padding: 16px 20px;

    border-top: 1px solid #f1f5f9;

    background: #ffffff;

    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);

}

.ps-cd-total-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 14px;

    font-weight: 700;

    color: #475569;

    margin-bottom: 14px;

}

.ps-cd-total-amount {

    font-size: 17px;

    font-weight: 900;

    color: #ef394e;

}

.ps-cd-btn-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}

.ps-cd-btn-checkout {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 46px;

    background: #ef394e;

    color: #ffffff !important;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    border-radius: 10px;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.35);

    transition: all 0.2s ease;

}

.ps-cd-btn-checkout:hover {

    background: #d82b40;

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.45);

}

.ps-cd-btn-view-cart {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 40px;

    background: #f8fafc;

    color: #334155 !important;

    border: 1px solid #e2e8f0;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    border-radius: 10px;

    transition: background 0.2s;

}

.ps-cd-btn-view-cart:hover {

    background: #f1f5f9;

}

.ps-cart-drawer-empty {

    flex: 1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 40px 20px;

    text-align: center;

}

.ps-cd-empty-icon {

    font-size: 54px;

    margin-bottom: 14px;

}

.ps-cart-drawer-empty h4 {

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 8px;

}

.ps-cart-drawer-empty p {

    font-size: 13px;

    color: #64748b;

    margin: 0 0 20px;

}

.ps-cd-empty-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 24px;

    background: #0284c7;

    color: #fff !important;

    font-size: 13px;

    font-weight: 700;

    border-radius: 8px;

    text-decoration: none;

}



/* --- 2. Quick View Modal --- */

#ps-quickview-overlay {

    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, 0.65);

    backdrop-filter: blur(5px);

    z-index: 99998;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

}

#ps-quickview-overlay.active {

    opacity: 1;

    visibility: visible;

}

#ps-quickview-modal {

    position: fixed;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -46%) scale(0.96);

    width: 860px;

    max-width: 94vw;

    max-height: 90vh;

    background: #ffffff;

    border-radius: 18px;

    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);

    z-index: 99999;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    direction: rtl;

    text-align: right;

    overflow: hidden;

    display: flex;

    flex-direction: column;

}

#ps-quickview-modal.active {

    opacity: 1;

    visibility: visible;

    transform: translate(-50%, -50%) scale(1);

}

.ps-quickview-close {

    position: absolute;

    top: 14px;

    left: 14px;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: #f1f5f9;

    border: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #475569;

    z-index: 20;

    transition: all 0.2s;

}

.ps-quickview-close:hover {

    background: #ef4444;

    color: #ffffff;

}

.ps-quickview-body {

    flex: 1;

    overflow-y: auto;

    padding: 24px;

}

.ps-qv-container {

    display: grid;

    grid-template-columns: 320px 1fr;

    gap: 28px;

}

.ps-qv-gallery-col {

    display: flex;

    flex-direction: column;

}

.ps-qv-main-image-wrap {

    position: relative;

    width: 100%;

    height: 300px;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    overflow: hidden;

    background: #f8fafc;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ps-qv-main-img {

    max-width: 90%;

    max-height: 90%;

    object-fit: contain;

}

.ps-qv-discount-badge {

    position: absolute;

    top: 10px;

    right: 10px;

    background: #ef394e;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    padding: 3px 8px;

    border-radius: 6px;

}

.ps-qv-thumbs-row {

    display: flex;

    gap: 8px;

    margin-top: 12px;

    overflow-x: auto;

    padding-bottom: 4px;

}

.ps-qv-thumb-item {

    width: 60px;

    height: 60px;

    flex-shrink: 0;

    border: 2px solid #e2e8f0;

    border-radius: 8px;

    overflow: hidden;

    cursor: pointer;

    background: #f8fafc;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: border-color 0.2s;

}

.ps-qv-thumb-item.active {

    border-color: #ef394e;

}

.ps-qv-thumb-item img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

}

.ps-qv-details-col {

    display: flex;

    flex-direction: column;

}

.ps-qv-title {

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    line-height: 1.5;

    margin: 0 0 12px;

}

.ps-qv-meta-row {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 13px;

    color: #64748b;

    margin-bottom: 14px;

}

.ps-qv-meta-row b {

    color: #059669;

}

.ps-qv-dot {

    color: #cbd5e1;

}

.ps-qv-guarantee-box {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 14px;

    background: #eff6ff;

    border: 1px solid #bfdbfe;

    border-radius: 10px;

    color: #1e40af;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 18px;

}

.ps-qv-price-box {

    margin-bottom: 22px;

    padding: 14px;

    background: #f8fafc;

    border-radius: 10px;

}

.ps-qv-old-price-row {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 6px;

}

.ps-qv-old-price-row del {

    font-size: 14px;

    color: #94a3b8;

}

.ps-qv-save-badge {

    font-size: 11px;

    background: #fee2e2;

    color: #ef394e;

    padding: 2px 6px;

    border-radius: 4px;

    font-weight: 700;

}

.ps-qv-current-price-row {

    display: flex;

    align-items: baseline;

    gap: 6px;

}

.ps-qv-amount {

    font-size: 24px;

    font-weight: 900;

    color: #0f172a;

}

.ps-qv-currency {

    font-size: 13px;

    color: #64748b;

    font-weight: 600;

}

.ps-qv-actions-row {

    display: flex;

    gap: 12px;

    align-items: center;

}

.ps-qv-btn-add-cart {

    flex: 1;

    height: 48px;

    background: linear-gradient(135deg, #ef394e 0%, #d82b40 100%);

    color: #ffffff;

    border: none;

    border-radius: 12px;

    font-size: 14.5px;

    font-weight: 800;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    cursor: pointer;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.3);

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}

.ps-qv-btn-add-cart:hover {

    transform: translateY(-1.5px);

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.42);

    background: linear-gradient(135deg, #f04357 0%, #dc3246 100%);

}

.ps-qv-btn-add-cart:active {

    transform: translateY(0) scale(0.985);

}

.ps-qv-btn-more {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 48px;

    padding: 0 18px;

    background: #f1f5f9;

    color: #334155;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    border-radius: 10px;

    transition: background 0.2s;

}

.ps-qv-btn-more:hover {

    background: #e2e8f0;

}

.ps-qv-out-of-stock-box {

    padding: 16px;

    background: #fef2f2;

    border: 1px solid #fecaca;

    border-radius: 10px;

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.ps-qv-out-text {

    font-size: 14px;

    font-weight: 700;

    color: #b91c1c;

}

.ps-qv-btn-stock-alert {

    background: #ef394e;

    color: #fff;

    border: none;

    border-radius: 8px;

    height: 40px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

}



/* Quick View Trigger on Product Cards */

.ps-quickview-btn {

    position: absolute;

    bottom: 10px;

    left: 10px;

    width: 34px;

    height: 34px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

    border: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #475569;

    opacity: 0;

    transform: translateY(6px);

    transition: all 0.25s ease;

    z-index: 5;

}

.dk-catalog-item:hover .ps-quickview-btn,

.dk-catalog-card:hover .ps-quickview-btn,

.dk-product-card:hover .ps-quickview-btn {

    opacity: 1;

    transform: translateY(0);

}

.ps-quickview-btn:hover {

    background: #ef394e;

    color: #ffffff;

}



/* --- 3. Compact Modals Shared (Share, Back in Stock, Auth) --- */

.ps-modal-overlay {

    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, 0.6);

    backdrop-filter: blur(4px);

    z-index: 99998;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

}

.ps-modal-overlay.active {

    opacity: 1;

    visibility: visible;

}

.ps-compact-modal {

    position: fixed;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -46%) scale(0.96);

    width: 480px;

    max-width: 92vw;

    background: #ffffff;

    border-radius: 16px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

    z-index: 99999;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    direction: rtl;

    text-align: right;

    overflow: hidden;

}

.ps-compact-modal.active {

    opacity: 1;

    visibility: visible;

    transform: translate(-50%, -50%) scale(1);

}

.ps-cmodal-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 16px 20px;

    border-bottom: 1px solid #f1f5f9;

}

.ps-modal-close-btn {

    background: #f8fafc;

    border: none;

    width: 32px;

    height: 32px;

    border-radius: 50%;

    font-size: 20px;

    color: #64748b;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s;

}

.ps-modal-close-btn:hover {

    background: #ef4444;

    color: #fff;

}

.ps-cmodal-body {

    padding: 20px;

}

.ps-btn-primary-red {

    background: #ef394e;

    color: #ffffff;

    border: none;

    border-radius: 10px;

    cursor: pointer;

    transition: background 0.2s, box-shadow 0.2s;

}

.ps-btn-primary-red:hover {

    background: #d82b40;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.35);

}



/* Share Social Grid */

.ps-share-social-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

}

.ps-share-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    height: 44px;

    border-radius: 10px;

    color: #ffffff !important;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition: opacity 0.2s, transform 0.15s;

}

.ps-share-btn:hover {

    opacity: 0.9;

    transform: translateY(-2px);

}

.ps-share-btn.tg { background: #229ED9; }

.ps-share-btn.wa { background: #25D366; }

.ps-share-btn.bale { background: #009688; }

.ps-share-btn.eitaa { background: #E65100; }

.ps-shortlink-box {

    display: flex;

    border: 1px solid #cbd5e1;

    border-radius: 10px;

    overflow: hidden;

    background: #f8fafc;

}

.ps-shortlink-box input {

    flex: 1;

    border: none;

    background: transparent;

    padding: 0 12px;

    font-size: 12.5px;

    direction: ltr;

    color: #334155;

    outline: none;

}

.ps-shortlink-box button {

    background: #0f172a;

    color: #fff;

    border: none;

    padding: 0 16px;

    font-size: 12.5px;

    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s;

}

.ps-shortlink-box button:hover {

    background: #334155;

}



/* Dual Auth Tabs */

.ps-auth-tabs-nav {

    display: flex;

    background: #f1f5f9;

    border-radius: 10px;

    padding: 4px;

    margin-bottom: 20px;

}

.ps-auth-tab-btn {

    flex: 1;

    height: 38px;

    border: none;

    background: transparent;

    border-radius: 8px;

    font-size: 12.5px;

    font-weight: 700;

    color: #64748b;

    cursor: pointer;

    transition: all 0.2s;

}

.ps-auth-tab-btn.active {

    background: #ffffff;

    color: #0f172a;

    box-shadow: 0 2px 6px rgba(0,0,0,0.08);

}

.ps-auth-tab-pane {

    display: none;

}

.ps-auth-tab-pane.active {

    display: block;

}



/* --- 6. Sticky Floating "Recently Viewed Products" Bar --- */

.ps-recently-viewed-bar {

    position: fixed;

    bottom: 0;

    left: 24px;

    width: 360px;

    max-width: calc(100vw - 48px);

    background: #ffffff;

    border-radius: 16px 16px 0 0;

    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.14);

    z-index: 9998;

    direction: rtl;

    text-align: right;

    border: 1px solid #e2e8f0;

    border-bottom: none;

    overflow: hidden;

    transition: transform 0.3s ease;

}

.ps-rv-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 12px 16px;

    background: #f8fafc;

    cursor: pointer;

    user-select: none;

    border-bottom: 1px solid #f1f5f9;

}

.ps-rv-title-wrap {

    display: flex;

    align-items: center;

    gap: 8px;

}

.ps-rv-title {

    font-size: 13px;

    font-weight: 800;

    color: #0f172a;

}

.ps-rv-count {

    font-size: 12px;

    color: #ef394e;

    font-weight: 700;

}

.ps-rv-toggle-icon {

    font-size: 11px;

    color: #64748b;

    transition: transform 0.25s;

}

.ps-recently-viewed-bar.expanded .ps-rv-toggle-icon {

    transform: rotate(180deg);

}

.ps-rv-body {

    display: none;

    max-height: 380px;

    overflow-y: auto;

    padding: 12px 16px;

}

.ps-recently-viewed-bar.expanded .ps-rv-body {

    display: block;

}

.ps-rv-items {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.ps-rv-card {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 8px;

    border-radius: 10px;

    border: 1px solid #f1f5f9;

    text-decoration: none;

    transition: background 0.15s;

}

.ps-rv-card:hover {

    background: #f8fafc;

}

.ps-rv-thumb {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    border-radius: 6px;

    overflow: hidden;

    background: #fff;

}

.ps-rv-thumb img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}

.ps-rv-info {

    flex: 1;

    min-width: 0;

}

.ps-rv-title-text {

    font-size: 12px;

    font-weight: 700;

    color: #1e293b;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    display: block;

}

.ps-rv-price {

    font-size: 12px;

    font-weight: 800;

    color: #ef394e;

    margin-top: 2px;

    display: block;

}

.ps-rv-footer {

    padding-top: 12px;

    text-align: center;

    border-top: 1px solid #f1f5f9;

    margin-top: 10px;

}

.ps-rv-clear-btn {

    background: none;

    border: none;

    color: #94a3b8;

    font-size: 11.5px;

    cursor: pointer;

    text-decoration: underline;

}

.ps-rv-clear-btn:hover {

    color: #ef4444;

}



/* --- 7. Global Floating Toast Notification --- */

.ps-global-toast {

    position: fixed;

    bottom: 24px;

    right: 24px;

    background: #0f172a;

    color: #ffffff;

    padding: 12px 20px;

    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13.5px;

    font-weight: 700;

    z-index: 100000;

    direction: rtl;

    transform: translateY(80px);

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

}

.ps-global-toast.active {

    transform: translateY(0);

    opacity: 1;

    visibility: visible;

}

.ps-toast-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 24px;

    height: 24px;

    border-radius: 50%;

    background: #10b981;

    color: #fff;

    font-size: 13px;

    font-weight: 900;

}

.ps-global-toast.error .ps-toast-icon {

    background: #ef4444;

}



/* --- 8. Smart Delivery Badge & Catalog Extras --- */

.ps-smart-delivery-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 12px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 12px;

}

.ps-smart-delivery-badge.express {

    background: #fee2e2;

    color: #ef4444;

}

.ps-smart-delivery-badge.regular {

    background: #f1f5f9;

    color: #475569;

}

/* Modern Full-Screen / Full-Catalog Update Overlay */

.ps-catalog-grid-wrap {

    position: relative;

    min-height: 400px;

}



.ps-catalog-loader {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    width: 100vw;

    height: 100vh;

    background: rgba(15, 23, 42, 0.45);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 999999;

    padding: 20px;

    box-sizing: border-box;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition: opacity 0.22s ease, visibility 0.22s ease;

}



.ps-catalog-loader.is-active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}



.ps-catalog-loader .ps-loader-card {

    background: #ffffff;

    border-radius: 20px;

    padding: 30px 42px;

    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    min-width: 310px;

    max-width: 90vw;

    animation: psLoaderCardPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    box-sizing: border-box;

}



@keyframes psLoaderCardPop {

    from {

        opacity: 0;

        transform: scale(0.92) translateY(12px);

    }

    to {

        opacity: 1;

        transform: scale(1) translateY(0);

    }

}



.ps-catalog-loader .ps-loader-spinner-box {

    position: relative;

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 16px;

}



.ps-catalog-loader .ps-spinner {

    width: 50px;

    height: 50px;

    border: 3.5px solid #f1f5f9;

    border-top-color: var(--ps-primary, #ef394e);

    border-right-color: var(--ps-primary, #ef394e);

    border-radius: 50%;

    animation: psSpin 0.75s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;

    box-sizing: border-box;

}



.ps-catalog-loader .ps-spinner-inner-pulse {

    position: absolute;

    width: 20px;

    height: 20px;

    background: var(--ps-primary, #ef394e);

    border-radius: 50%;

    opacity: 0.18;

    animation: psPulse 1.2s ease-in-out infinite alternate;

}



@keyframes psPulse {

    from { transform: scale(0.7); opacity: 0.15; }

    to { transform: scale(1.3); opacity: 0.35; }

}



.ps-catalog-loader .ps-loader-heading {

    font-size: 15px;

    font-weight: 700;

    color: #0f172a;

    margin: 0 0 6px 0;

    font-family: inherit;

    line-height: 1.4;

}



.ps-catalog-loader .ps-loader-subtext {

    font-size: 12px;

    font-weight: 500;

    color: #64748b;

    margin: 0;

    font-family: inherit;

    line-height: 1.4;

}



.ps-catalog-loader .ps-loader-progress-track {

    width: 100%;

    height: 4px;

    background: #f1f5f9;

    border-radius: 999px;

    overflow: hidden;

    margin-top: 18px;

    position: relative;

}



.ps-catalog-loader .ps-loader-progress-fill {

    position: absolute;

    top: 0;

    bottom: 0;

    background: var(--ps-primary, #ef394e);

    border-radius: 999px;

    animation: psIndeterminate 1.3s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;

}



@keyframes psIndeterminate {

    0% {

        left: -40%;

        right: 100%;

    }

    60% {

        left: 100%;

        right: -40%;

    }

    100% {

        left: 100%;

        right: -40%;

    }

}



@keyframes psSpin {

    to { transform: rotate(360deg); }

}



@media (max-width: 768px) {

    .ps-qv-container {

        grid-template-columns: 1fr;

        gap: 16px;

    }

    .ps-qv-main-image-wrap {

        height: 220px;

    }

    .ps-recently-viewed-bar {

        left: 12px;

        right: 12px;

        width: auto;

        max-width: none;

    }

}



/* ==========================================================================

   DEDICATED BLOG & ARTICLE PAGES (DIGIKALA MAG STYLE)

   ========================================================================== */



.ps-article-page-wrap,

.ps-blog-archive-page {

    background-color: #f8fafc;

    padding: 24px 0 60px;

    font-family: inherit;

    direction: rtl;

}



/* Breadcrumbs */

.ps-article-breadcrumbs {

    margin-bottom: 20px;

}

.ps-article-breadcrumbs ol {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    list-style: none;

    padding: 0;

    margin: 0;

    font-size: 12.5px;

    color: #64748b;

}

.ps-article-breadcrumbs a {

    color: #64748b;

    text-decoration: none;

    transition: color 0.15s ease;

}

.ps-article-breadcrumbs a:hover {

    color: #ef394e;

}

.ps-bc-sep {

    color: #cbd5e1;

    font-size: 11px;

}

.ps-article-breadcrumbs li.current {

    color: #0f172a;

    font-weight: 700;

}



/* Layout Grid: Main Article + Sidebar */

.ps-article-layout-grid {

    display: grid;

    grid-template-columns: 1fr 340px;

    gap: 28px;

    align-items: start;

}



/* Main Article Card */

.ps-article-single-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 36px 40px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);

    margin-bottom: 32px;

}



.ps-article-categories {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 14px;

}

.ps-cat-badge {

    background: #fef2f2;

    color: #ef394e;

    font-size: 12px;

    font-weight: 700;

    padding: 4px 12px;

    border-radius: 20px;

    text-decoration: none;

    transition: all 0.15s ease;

}

.ps-cat-badge:hover {

    background: #ef394e;

    color: #ffffff;

}



.ps-article-title {

    font-size: 26px;

    font-weight: 800;

    line-height: 1.6;

    color: #0f172a;

    margin: 0 0 20px 0;

}



/* Meta Row */

.ps-article-meta-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 16px;

    padding-bottom: 20px;

    border-bottom: 1px solid #f1f5f9;

    margin-bottom: 24px;

    font-size: 12.5px;

    color: #64748b;

}

.ps-article-meta-right {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

}

.ps-meta-author-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    text-decoration: none;

    color: #1e293b;

    font-weight: 700;

}

.ps-meta-avatar img {

    border-radius: 50%;

    width: 32px;

    height: 32px;

    object-fit: cover;

}

.ps-meta-item {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #64748b;

}



.ps-article-meta-left {

    display: flex;

    align-items: center;

    gap: 10px;

}

.ps-article-action-btn {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 5px 12px;

    font-size: 12px;

    font-weight: 600;

    color: #475569;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.15s ease;

}

.ps-article-action-btn:hover {

    background: #f1f5f9;

    color: #0f172a;

    border-color: #cbd5e1;

}



/* Featured Hero Image */

.ps-article-featured-media {

    margin-bottom: 28px;

    border-radius: 16px;

    overflow: hidden;

    background: #f1f5f9;

}

.ps-article-hero-img {

    width: 100%;

    max-height: 480px;

    object-fit: cover;

    display: block;

    border-radius: 16px;

}

.ps-article-img-caption {

    font-size: 12px;

    color: #64748b;

    text-align: center;

    padding: 8px 12px;

    background: #f8fafc;

    border-top: 1px solid #edf2f7;

}



/* Entry Content Typography */

.ps-article-entry-content {

    font-size: 16px;

    line-height: 2.1;

    color: #334155;

    word-break: break-word;

}

.ps-article-entry-content p {

    margin-bottom: 22px;

}

.ps-article-entry-content h2 {

    font-size: 21px;

    font-weight: 800;

    color: #0f172a;

    margin: 36px 0 16px;

    border-right: 4px solid #ef394e;

    padding-right: 14px;

    line-height: 1.5;

}

.ps-article-entry-content h3 {

    font-size: 18px;

    font-weight: 700;

    color: #1e293b;

    margin: 28px 0 14px;

}

.ps-article-entry-content h4,

.ps-article-entry-content h5,

.ps-article-entry-content h6 {

    font-weight: 700;

    color: #334155;

    margin: 20px 0 10px;

}

.ps-article-entry-content blockquote {

    background: #f8fafc;

    border-right: 4px solid #ef394e;

    border-radius: 12px;

    padding: 18px 24px;

    margin: 28px 0;

    font-size: 16px;

    font-style: italic;

    color: #1e293b;

    position: relative;

}

.ps-article-entry-content blockquote::before {

    content: "“";

    font-size: 40px;

    line-height: 1;

    color: #ef394e;

    opacity: 0.3;

    display: block;

    margin-bottom: -10px;

}

.ps-article-entry-content img {

    max-width: 100%;

    height: auto;

    border-radius: 14px;

    margin: 20px auto;

    display: block;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);

}

.ps-article-entry-content ul,

.ps-article-entry-content ol {

    margin: 18px 0 24px;

    padding-right: 24px;

}

.ps-article-entry-content li {

    margin-bottom: 10px;

}

.ps-article-entry-content table {

    width: 100%;

    border-collapse: collapse;

    margin: 24px 0;

    font-size: 14px;

}

.ps-article-entry-content table th,

.ps-article-entry-content table td {

    padding: 12px 16px;

    border: 1px solid #e2e8f0;

    text-align: right;

}

.ps-article-entry-content table th {

    background: #f8fafc;

    font-weight: 700;

    color: #0f172a;

}

.ps-article-entry-content table tr:nth-child(even) td {

    background: #fafbfc;

}



/* Tags Strip */

.ps-article-tags-wrap {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    padding: 20px 0;

    border-top: 1px solid #f1f5f9;

    border-bottom: 1px solid #f1f5f9;

    margin: 32px 0 24px;

}

.ps-tags-label {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    font-weight: 700;

    color: #64748b;

}

.ps-tags-list {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}

.ps-tag-chip {

    background: #f1f5f9;

    color: #334155;

    padding: 5px 12px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

    transition: all 0.15s ease;

}

.ps-tag-chip:hover {

    background: #ef394e;

    color: #ffffff;

}



/* Share Strip */

.ps-article-share-strip {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 14px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 16px 20px;

    margin-bottom: 30px;

}

.ps-share-text {

    font-size: 13px;

    font-weight: 700;

    color: #334155;

}

.ps-share-buttons {

    display: flex;

    align-items: center;

    gap: 8px;

}

.ps-share-btn {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    color: #ffffff;

    transition: opacity 0.15s ease, transform 0.15s ease;

}

.ps-share-btn:hover {

    opacity: 0.9;

    transform: translateY(-1px);

    color: #ffffff;

}

.ps-share-btn.telegram { background: #0088cc; }

.ps-share-btn.whatsapp { background: #25d366; }

.ps-share-btn.twitter  { background: #0f172a; }



/* Author Biography Card */

.ps-article-author-card {

    display: flex;

    align-items: flex-start;

    gap: 20px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 24px;

    margin-bottom: 32px;

}

.ps-author-card-avatar img {

    width: 68px;

    height: 68px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #ffffff;

    box-shadow: 0 4px 10px rgba(0,0,0,0.08);

}

.ps-author-card-content {

    flex: 1;

}

.ps-author-card-name-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 8px;

}

.ps-author-name {

    font-size: 16px;

    font-weight: 800;

    color: #0f172a;

    margin: 0;

}

.ps-author-all-posts-link {

    font-size: 12px;

    color: #ef394e;

    text-decoration: none;

    font-weight: 700;

}

.ps-author-all-posts-link:hover {

    text-decoration: underline;

}

.ps-author-bio {

    font-size: 13.5px;

    color: #475569;

    line-height: 1.8;

    margin: 0;

}



/* Post Navigation (Prev / Next) */

.ps-article-nav-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-bottom: 36px;

}

.ps-article-nav-card {

    display: flex;

    align-items: center;

    gap: 14px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 14px;

    text-decoration: none;

    color: inherit;

    transition: all 0.2s ease;

}

.ps-article-nav-card:hover {

    border-color: #ef394e;

    box-shadow: 0 4px 16px rgba(0,0,0,0.06);

    transform: translateY(-2px);

}

.ps-nav-card-thumb img {

    width: 60px;

    height: 60px;

    border-radius: 10px;

    object-fit: cover;

}

.ps-nav-dir-label {

    display: block;

    font-size: 11.5px;

    font-weight: 700;

    color: #ef394e;

    margin-bottom: 4px;

}

.ps-nav-card-title {

    font-size: 13.5px;

    font-weight: 700;

    color: #1e293b;

    margin: 0;

    line-height: 1.5;

}



/* Sections Headings */

.ps-section-head {

    margin-bottom: 20px;

}

.ps-section-title-wrap {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 4px;

}

.ps-section-icon {

    font-size: 20px;

}

.ps-section-title {

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    margin: 0;

}

.ps-section-sub {

    font-size: 12.5px;

    color: #64748b;

}



/* Related Products Grid */

.ps-article-products-section {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 28px;

    margin-bottom: 32px;

}

.ps-article-products-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

}

.ps-article-prod-card {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 14px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: all 0.2s ease;

}

.ps-article-prod-card:hover {

    border-color: #ef394e;

    box-shadow: 0 6px 18px rgba(0,0,0,0.06);

    background: #ffffff;

    transform: translateY(-3px);

}

.ps-prod-thumb-link {

    position: relative;

    display: block;

    text-align: center;

    margin-bottom: 10px;

}

.ps-prod-thumb-link img {

    width: 100%;

    height: 130px;

    object-fit: contain;

    border-radius: 8px;

}

.ps-prod-discount-badge {

    position: absolute;

    top: 6px;

    right: 6px;

    background: #ef394e;

    color: #fff;

    font-size: 11px;

    font-weight: 800;

    padding: 2px 7px;

    border-radius: 12px;

}

.ps-prod-title {

    font-size: 13px;

    font-weight: 700;

    line-height: 1.5;

    margin: 0 0 10px;

    height: 40px;

    overflow: hidden;

}

.ps-prod-title a {

    color: #1e293b;

    text-decoration: none;

    transition: color 0.15s ease;

}

.ps-prod-title a:hover {

    color: #ef394e;

}

.ps-prod-price-box {

    margin-bottom: 12px;

}

.ps-prod-del {

    display: block;

    font-size: 11.5px;

    color: #94a3b8;

}

.ps-prod-price {

    font-size: 14px;

    font-weight: 800;

    color: #0f172a;

}

.ps-prod-price .ps-currency {

    font-size: 11px;

    font-weight: 500;

    color: #64748b;

    margin-right: 3px;

}

.ps-btn-quick-buy {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    background: #ffffff;

    border: 1px solid #ef394e;

    color: #ef394e;

    font-size: 12px;

    font-weight: 700;

    padding: 7px 0;

    border-radius: 8px;

    cursor: pointer;

    transition: all 0.15s ease;

}

.ps-btn-quick-buy:hover {

    background: #ef394e;

    color: #ffffff;

}



/* Related Posts Section */

.ps-article-related-posts-section {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 28px;

    margin-bottom: 32px;

}

.ps-related-posts-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

}

.ps-related-post-card {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    overflow: hidden;

    transition: all 0.2s ease;

}

.ps-related-post-card:hover {

    border-color: #ef394e;

    transform: translateY(-3px);

    box-shadow: 0 6px 18px rgba(0,0,0,0.06);

    background: #ffffff;

}

.ps-related-thumb-link img {

    width: 100%;

    height: 140px;

    object-fit: cover;

    display: block;

}

.ps-related-post-body {

    padding: 14px;

}

.ps-related-meta {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 11.5px;

    color: #64748b;

    margin-bottom: 8px;

}

.ps-related-post-title {

    font-size: 13.5px;

    font-weight: 700;

    line-height: 1.5;

    margin: 0;

    height: 42px;

    overflow: hidden;

}

.ps-related-post-title a {

    color: #1e293b;

    text-decoration: none;

    transition: color 0.15s ease;

}

.ps-related-post-title a:hover {

    color: #ef394e;

}



/* Comments Section */

.ps-comments-area {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 32px 36px;

}

.ps-comments-header-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom: 1px solid #f1f5f9;

    margin-bottom: 24px;

}

.ps-comments-title-wrap {

    display: flex;

    align-items: center;

    gap: 10px;

}

.ps-comments-icon {

    color: #ef394e;

}

.ps-comments-title {

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    margin: 0;

}

.ps-comments-count-pill {

    color: #64748b;

    font-size: 15px;

    font-weight: 600;

}

.ps-btn-write-comment {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #fef2f2;

    color: #ef394e;

    border-radius: 20px;

    padding: 6px 14px;

    font-size: 12.5px;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.15s ease;

}

.ps-btn-write-comment:hover {

    background: #ef394e;

    color: #ffffff;

}



.ps-comments-list {

    list-style: none;

    padding: 0;

    margin: 0 0 32px;

}

.ps-comment-item {

    margin-bottom: 18px;

}

.ps-comment-item .children {

    list-style: none;

    padding-right: 28px;

    margin-top: 14px;

    border-right: 2px solid #e2e8f0;

}

.ps-comment-card {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 18px 20px;

}

.ps-comment-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 12px;

}

.ps-comment-user-info {

    display: flex;

    align-items: center;

    gap: 12px;

}

.ps-comment-avatar img {

    border-radius: 50%;

    width: 44px;

    height: 44px;

    object-fit: cover;

}

.ps-comment-author-name {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    color: #0f172a;

}

.ps-comment-badge-author {

    background: #fee2e2;

    color: #ef394e;

    font-size: 11px;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: 10px;

}

.ps-comment-date {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    font-size: 12px;

    color: #94a3b8;

}

.ps-comment-actions a {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    font-size: 12px;

    color: #64748b;

    text-decoration: none;

    font-weight: 600;

    padding: 4px 10px;

    border-radius: 6px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    transition: all 0.15s ease;

}

.ps-comment-actions a:hover {

    color: #ef394e;

    border-color: #ef394e;

}

.ps-comment-body {

    font-size: 14.5px;

    line-height: 1.8;

    color: #334155;

}

.ps-comment-awaiting-moderation {

    color: #d97706;

    font-size: 12.5px;

    font-weight: 600;

    margin-bottom: 8px;

}



.ps-no-comments-box {

    text-align: center;

    padding: 32px 16px;

    background: #f8fafc;

    border: 1px dashed #cbd5e1;

    border-radius: 14px;

    margin-bottom: 32px;

}

.ps-no-comments-icon {

    font-size: 36px;

    margin-bottom: 8px;

}

.ps-no-comments-box h4 {

    font-size: 15px;

    font-weight: 800;

    color: #1e293b;

    margin: 0 0 6px;

}

.ps-no-comments-box p {

    font-size: 13px;

    color: #64748b;

    margin: 0;

}



/* Comment Form */

.ps-comment-form-wrap {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 24px 28px;

}

.ps-comment-form-wrap h3.comment-reply-title {

    font-size: 16px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 16px;

}

.ps-comment-form-wrap h3.comment-reply-title small a {

    font-size: 12px;

    color: #ef394e;

    font-weight: 500;

    margin-right: 10px;

}

.ps-form-row-2col {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-bottom: 16px;

}

.ps-form-group {

    display: flex;

    flex-direction: column;

    gap: 6px;

}

.ps-form-group label {

    font-size: 12.5px;

    font-weight: 700;

    color: #334155;

}

.ps-form-group .required {

    color: #ef394e;

}

.ps-form-group input,

.ps-form-group textarea {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 10px 14px;

    font-size: 13.5px;

    font-family: inherit;

    color: #0f172a;

    outline: none;

    transition: all 0.2s ease;

}

.ps-form-group input:focus,

.ps-form-group textarea:focus {

    border-color: #ef394e;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.12);

}

.ps-comment-submit-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #ef394e;

    color: #ffffff;

    border: none;

    border-radius: 10px;

    padding: 11px 24px;

    font-size: 13.5px;

    font-weight: 700;

    font-family: inherit;

    cursor: pointer;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.25);

    transition: all 0.2s ease;

}

.ps-comment-submit-btn:hover {

    background: #dc2626;

    transform: translateY(-1px);

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.35);

}



/* Sidebar Widgets */

.ps-sidebar-widget {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 22px 24px;

    margin-bottom: 24px;

    box-shadow: 0 4px 16px rgba(0,0,0,0.02);

}

.ps-widget-title {

    font-size: 15.5px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 16px;

    padding-bottom: 12px;

    border-bottom: 1px solid #f1f5f9;

    position: relative;

}

.ps-widget-title::after {

    content: '';

    position: absolute;

    bottom: -1px;

    right: 0;

    width: 36px;

    height: 2px;

    background: #ef394e;

    border-radius: 2px;

}



/* Search Form */

.ps-search-input-wrap {

    position: relative;

    display: flex;

    align-items: center;

}

.ps-search-input-wrap input {

    width: 100%;

    padding: 10px 14px 10px 42px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    font-size: 13px;

    font-family: inherit;

    outline: none;

    transition: all 0.2s ease;

}

.ps-search-input-wrap input:focus {

    background: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.1);

}

.ps-search-input-wrap button {

    position: absolute;

    left: 8px;

    background: none;

    border: none;

    color: #94a3b8;

    cursor: pointer;

    display: flex;

    align-items: center;

    padding: 4px;

}

.ps-search-input-wrap button:hover {

    color: #ef394e;

}



/* Recent Posts List in Sidebar */

.ps-sidebar-posts-list {

    display: flex;

    flex-direction: column;

    gap: 14px;

}

.ps-sidebar-post-item {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: inherit;

    transition: all 0.15s ease;

}

.ps-sidebar-post-item:hover .ps-sb-title {

    color: #ef394e;

}

.ps-sb-thumb img {

    width: 54px;

    height: 54px;

    border-radius: 8px;

    object-fit: cover;

    flex-shrink: 0;

}

.ps-sb-title {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

    margin: 0 0 4px;

    line-height: 1.5;

    transition: color 0.15s ease;

}

.ps-sb-date {

    font-size: 11.5px;

    color: #94a3b8;

}



/* Categories List in Sidebar */

.ps-sidebar-cats-list {

    list-style: none;

    padding: 0;

    margin: 0;

}

.ps-sidebar-cats-list li {

    border-bottom: 1px solid #f8fafc;

}

.ps-sidebar-cats-list li:last-child {

    border-bottom: none;

}

.ps-sidebar-cats-list a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 4px;

    text-decoration: none;

    color: #334155;

    font-size: 13px;

    font-weight: 600;

    transition: all 0.15s ease;

}

.ps-sidebar-cats-list a:hover,

.ps-sidebar-cats-list li.active a {

    color: #ef394e;

    padding-right: 8px;

}

.ps-cat-count {

    background: #f1f5f9;

    color: #64748b;

    font-size: 11px;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: 12px;

}

.ps-sidebar-cats-list a:hover .ps-cat-count,

.ps-sidebar-cats-list li.active .ps-cat-count {

    background: #fee2e2;

    color: #ef394e;

}



/* Promo Banner Widget */

.ps-promo-banner-box {

    background: linear-gradient(135deg, #ef394e 0%, #b91c1c 100%);

    border-radius: 14px;

    padding: 22px;

    color: #ffffff;

    text-align: center;

}

.ps-promo-badge {

    display: inline-block;

    background: rgba(255, 255, 255, 0.2);

    font-size: 11px;

    font-weight: 800;

    padding: 3px 10px;

    border-radius: 20px;

    margin-bottom: 10px;

}

.ps-promo-title {

    font-size: 15px;

    font-weight: 800;

    line-height: 1.5;

    margin: 0 0 8px;

    color: #ffffff;

}

.ps-promo-desc {

    font-size: 12px;

    color: rgba(255, 255, 255, 0.85);

    margin: 0 0 16px;

    line-height: 1.6;

}

.ps-promo-btn {

    display: inline-block;

    background: #ffffff;

    color: #ef394e;

    font-size: 12.5px;

    font-weight: 800;

    padding: 8px 18px;

    border-radius: 20px;

    text-decoration: none;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

    transition: all 0.15s ease;

}

.ps-promo-btn:hover {

    background: #f8fafc;

    transform: scale(1.03);

}



/* ==========================================================================

   BLOG ARCHIVE & CATEGORY PAGE STYLES

   ========================================================================== */

.ps-blog-hero-banner {

    background: #ffffff;

    border-bottom: 1px solid #e2e8f0;

    padding: 28px 0 20px;

    margin-bottom: 32px;

}

.ps-blog-banner-content {

    margin-bottom: 20px;

}

.ps-blog-badge {

    display: inline-block;

    background: #fef2f2;

    color: #ef394e;

    font-size: 12px;

    font-weight: 800;

    padding: 4px 12px;

    border-radius: 20px;

    margin-bottom: 8px;

}

.ps-blog-main-heading {

    font-size: 26px;

    font-weight: 900;

    color: #0f172a;

    margin: 0 0 8px;

}

.ps-blog-main-sub {

    font-size: 13.5px;

    color: #64748b;

    margin: 0;

}



/* Category Filter Row */

.ps-blog-cat-filter-row {

    display: flex;

    align-items: center;

    gap: 10px;

    overflow-x: auto;

    padding-bottom: 4px;

    scrollbar-width: none;

}

.ps-blog-cat-filter-row::-webkit-scrollbar { display: none; }

.ps-cat-pill {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    color: #334155;

    padding: 7px 16px;

    border-radius: 24px;

    font-size: 12.5px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition: all 0.15s ease;

}

.ps-cat-pill:hover,

.ps-cat-pill.active {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.2);

}

.ps-cat-count-mini {

    background: rgba(0, 0, 0, 0.08);

    padding: 1px 7px;

    border-radius: 10px;

    font-size: 11px;

}

.ps-cat-pill.active .ps-cat-count-mini {

    background: rgba(255, 255, 255, 0.25);

    color: #ffffff;

}



/* Featured Article Big Card */

.ps-featured-article-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    overflow: hidden;

    display: grid;

    grid-template-columns: 1.1fr 1fr;

    margin-bottom: 28px;

    box-shadow: 0 4px 20px rgba(0,0,0,0.03);

    transition: all 0.2s ease;

}

.ps-featured-article-card:hover {

    border-color: #ef394e;

    box-shadow: 0 8px 24px rgba(0,0,0,0.07);

}

.ps-featured-thumb-link {

    position: relative;

    display: block;

    overflow: hidden;

}

.ps-featured-thumb-link img {

    width: 100%;

    height: 100%;

    min-height: 280px;

    object-fit: cover;

    transition: transform 0.3s ease;

}

.ps-featured-article-card:hover .ps-featured-thumb-link img {

    transform: scale(1.03);

}

.ps-featured-flag {

    position: absolute;

    top: 14px;

    right: 14px;

    background: #ef394e;

    color: #ffffff;

    font-size: 11.5px;

    font-weight: 800;

    padding: 4px 12px;

    border-radius: 20px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.2);

}

.ps-featured-content {

    padding: 28px 32px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.ps-featured-title {

    font-size: 20px;

    font-weight: 800;

    line-height: 1.5;

    margin: 12px 0 10px;

}

.ps-featured-title a {

    color: #0f172a;

    text-decoration: none;

    transition: color 0.15s ease;

}

.ps-featured-title a:hover {

    color: #ef394e;

}

.ps-featured-excerpt {

    font-size: 13.5px;

    line-height: 1.8;

    color: #64748b;

    margin: 0 0 18px;

}

.ps-featured-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    font-size: 12px;

    color: #94a3b8;

}

.ps-feat-author {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #334155;

    font-weight: 700;

}

.ps-feat-author img {

    border-radius: 50%;

}



/* Articles Grid */

.ps-blog-posts-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

    margin-bottom: 36px;

}

.ps-blog-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: all 0.2s ease;

}

.ps-blog-card:hover {

    border-color: #ef394e;

    transform: translateY(-3px);

    box-shadow: 0 8px 22px rgba(0,0,0,0.06);

}

.ps-blog-card-thumb-wrap {

    position: relative;

    overflow: hidden;

}

.ps-blog-card-thumb-link img {

    width: 100%;

    height: 190px;

    object-fit: cover;

    display: block;

    transition: transform 0.3s ease;

}

.ps-blog-card:hover .ps-blog-card-thumb-link img {

    transform: scale(1.04);

}

.ps-card-cat-badge {

    position: absolute;

    bottom: 10px;

    right: 10px;

    background: rgba(15, 23, 42, 0.85);

    backdrop-filter: blur(4px);

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    padding: 3px 10px;

    border-radius: 12px;

    text-decoration: none;

    transition: background 0.15s ease;

}

.ps-card-cat-badge:hover {

    background: #ef394e;

    color: #ffffff;

}

.ps-blog-card-body {

    padding: 18px 20px;

    display: flex;

    flex-direction: column;

    flex: 1;

    justify-content: space-between;

}

.ps-blog-card-title {

    font-size: 15px;

    font-weight: 800;

    line-height: 1.6;

    margin: 0 0 8px;

    height: 48px;

    overflow: hidden;

}

.ps-blog-card-title a {

    color: #0f172a;

    text-decoration: none;

    transition: color 0.15s ease;

}

.ps-blog-card-title a:hover {

    color: #ef394e;

}

.ps-blog-card-excerpt {

    font-size: 13px;

    line-height: 1.7;

    color: #64748b;

    margin: 0 0 14px;

    height: 44px;

    overflow: hidden;

}

.ps-blog-card-meta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 12px;

    color: #94a3b8;

    padding-top: 12px;

    border-top: 1px solid #f1f5f9;

}



/* Numbered Pagination */

.ps-blog-pagination-wrap .pagination,

.ps-blog-pagination-wrap .nav-links {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin: 20px 0 40px;

    list-style: none;

    padding: 0;

}

.ps-blog-pagination-wrap .page-numbers {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 4px;

    min-width: 38px;

    height: 38px;

    padding: 0 12px;

    border-radius: 10px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    color: #334155;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.15s ease;

}

.ps-blog-pagination-wrap .page-numbers:hover {

    border-color: #ef394e;

    color: #ef394e;

}

.ps-blog-pagination-wrap .page-numbers.current {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.25);

}



/* Empty Articles State */

.ps-no-articles-card {

    background: #ffffff;

    border: 1px dashed #cbd5e1;

    border-radius: 20px;

    padding: 48px 24px;

    text-align: center;

}

.ps-no-articles-icon {

    font-size: 48px;

    margin-bottom: 12px;

}

.ps-no-articles-card h3 {

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 8px;

}

.ps-no-articles-card p {

    font-size: 14px;

    color: #64748b;

    margin: 0 0 20px;

}

.ps-btn-back-blog {

    display: inline-block;

    background: #ef394e;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    padding: 10px 22px;

    border-radius: 24px;

    text-decoration: none;

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.25);

}



/* Responsive Media Queries */

@media (max-width: 1024px) {

    .ps-article-layout-grid {

        grid-template-columns: 1fr;

    }

    .ps-article-products-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 768px) {

    .ps-article-single-card {

        padding: 20px 16px;

    }

    .ps-article-title {

        font-size: 20px;

    }

    .ps-featured-article-card {

        grid-template-columns: 1fr;

    }

    .ps-blog-posts-grid {

        grid-template-columns: 1fr;

    }

    .ps-form-row-2col {

        grid-template-columns: 1fr;

    }

    .ps-article-nav-row {

        grid-template-columns: 1fr;

    }

    .ps-related-posts-grid {

        grid-template-columns: 1fr;

    }

    .ps-comments-area {

        padding: 20px 16px;

    }

    .ps-comment-form-wrap {

        padding: 18px 16px;

    }

}



/* ==========================================================================

   Universal Slider Mouse-Drag & Grabbing Styles

   ========================================================================== */

.ps-drag-enabled {

    cursor: grab !important;

    user-select: none !important;

    -webkit-user-select: none !important;

}



.ps-drag-enabled.is-dragging {

    cursor: grabbing !important;

    scroll-behavior: auto !important;

}



/* ==========================================================================

   ParsiShop News & Magazine Carousel Widget (خواندنی‌ها)

   ========================================================================== */

.ps-news-carousel-wrap {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 24px;

    margin: 28px 0;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);

    position: relative;

    overflow: hidden;

}



.ps-news-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;

    gap: 16px;

    flex-wrap: wrap;

}



.ps-news-title-group {

    display: flex;

    align-items: center;

    gap: 12px;

}



.ps-news-icon-badge {

    width: 40px;

    height: 40px;

    border-radius: 10px;

    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);

    color: #2563eb;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);

}



.ps-news-title-texts {

    display: flex;

    flex-direction: column;

    gap: 3px;

}



.ps-news-title {

    margin: 0;

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    line-height: 1.3;

}



.ps-news-sub {

    font-size: 12.5px;

    color: #64748b;

    font-weight: 400;

}



.ps-news-actions {

    display: flex;

    align-items: center;

    gap: 14px;

}



.ps-news-more-btn {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    font-weight: 700;

    color: #2563eb;

    text-decoration: none;

    transition: all 0.2s ease;

    padding: 6px 12px;

    border-radius: 8px;

    background: #f8fafc;

}



.ps-news-more-btn:hover {

    background: #eff6ff;

    color: #1d4ed8;

    transform: translateX(-3px);

}



.ps-news-nav-arrows {

    display: flex;

    align-items: center;

    gap: 8px;

}



.ps-news-nav {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    border: 1px solid #e2e8f0;

    background: #ffffff;

    color: #334155;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.2s ease;

    padding: 0;

}



.ps-news-nav:hover {

    background: #f1f5f9;

    border-color: #cbd5e1;

    color: #0f172a;

    transform: scale(1.05);

}



.ps-news-track-container {

    position: relative;

    overflow: hidden;

}



.ps-news-track {

    display: flex;

    gap: 18px;

    overflow-x: auto;

    padding-bottom: 8px;

    scrollbar-width: none;

    -ms-overflow-style: none;

}



.ps-news-track::-webkit-scrollbar {

    display: none;

}



.ps-news-card {

    flex: 0 0 280px;

    background: #ffffff;

    border: 1px solid #edf2f7;

    border-radius: 14px;

    overflow: hidden;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    display: flex;

    flex-direction: column;

}



.ps-news-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);

    border-color: #cbd5e1;

}



.ps-news-card-link {

    text-decoration: none;

    display: flex;

    flex-direction: column;

    height: 100%;

}



.ps-news-thumb-wrap {

    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #f1f5f9;

}



.ps-news-thumb-wrap img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;

}



.ps-news-card:hover .ps-news-thumb-wrap img {

    transform: scale(1.06);

}



.ps-news-cat-pill {

    position: absolute;

    bottom: 8px;

    right: 8px;

    background: rgba(15, 23, 42, 0.75);

    backdrop-filter: blur(4px);

    color: #ffffff;

    font-size: 11px;

    font-weight: 600;

    padding: 3px 10px;

    border-radius: 20px;

}



.ps-news-card-body {

    padding: 14px;

    display: flex;

    flex-direction: column;

    flex: 1;

}



.ps-news-meta-row {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 11.5px;

    color: #94a3b8;

    margin-bottom: 8px;

}



.ps-news-date {

    display: inline-flex;

    align-items: center;

    gap: 4px;

}



.ps-news-dot {

    color: #cbd5e1;

}



.ps-news-read-time {

    color: #64748b;

}



.ps-news-card-title {

    font-size: 14px;

    font-weight: 700;

    color: #1e293b;

    line-height: 1.5;

    margin: 0 0 8px 0;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    text-overflow: ellipsis;

    min-height: 42px;

    transition: color 0.2s ease;

}



.ps-news-card:hover .ps-news-card-title {

    color: #ef394e;

}



.ps-news-excerpt {

    font-size: 12px;

    line-height: 1.6;

    color: #64748b;

    margin: 0 0 12px 0;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    text-overflow: ellipsis;

    flex: 1;

}



.ps-news-read-more {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    font-size: 12px;

    font-weight: 700;

    color: #ef394e;

    transition: transform 0.2s ease;

}



.ps-news-card:hover .ps-news-read-more {

    transform: translateX(-3px);

}



@media (max-width: 768px) {

    .ps-news-carousel-wrap {

        padding: 16px;

        margin: 20px 0;

        border-radius: 12px;

    }

    .ps-news-card {

        flex: 0 0 240px;

    }

    .ps-news-title {

        font-size: 16px;

    }

}



/* ==========================================================================

   29. Dynamic Swatches & Variable Attribute Pills (PersianShop Style)

   ========================================================================== */

.dk-swatches-container {

    display: flex;

    flex-direction: column;

    gap: 16px;

    margin: 16px 0 20px;

}



.dk-swatch-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.dk-swatch-header {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 13px;

    color: #3f4064;

}



.dk-swatch-label {

    font-weight: 500;

}



.dk-swatch-current-val {

    font-weight: 700;

    color: #0c0c0c;

}



.dk-swatch-options {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}



.dk-attr-pill {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 8px 16px;

    background: #fff;

    border: 1px solid #e0e0e2;

    border-radius: 20px;

    font-size: 13px;

    font-weight: 500;

    color: #3f4064;

    cursor: pointer;

    transition: all 0.2s ease;

}



.dk-attr-pill:hover {

    border-color: #008eb2;

    color: #008eb2;

}



.dk-attr-pill.active {

    border-color: #ef394e;

    background: #fff5f6;

    color: #ef394e;

    font-weight: 700;

}



/* ==========================================================================

   30. Product Price Drop Alert Buybox Button

   ========================================================================== */

.dk-price-alert-trigger-btn {

    width: 100%;

    height: 38px;

    margin-top: 6px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    background: #f8fafc;

    border: 1px dashed #cbd5e1;

    border-radius: 9px;

    color: #64748b;

    font-size: 12.5px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;

    box-sizing: border-box;

}



.dk-price-alert-trigger-btn svg {

    transition: transform 0.2s ease;

    flex-shrink: 0;

}



.dk-price-alert-trigger-btn:hover {

    background: #fff1f2;

    border-color: #ef394e;

    border-style: solid;

    color: #ef394e;

    transform: translateY(-1px);

    box-shadow: 0 3px 10px rgba(239, 57, 78, 0.12);

}



.dk-price-alert-trigger-btn:hover svg {

    transform: rotate(15deg);

}



/* ==========================================================================

   31. Product Video Lightbox & Gallery Badge

   ========================================================================== */

.dk-thumb-video {

    position: relative;

    cursor: pointer;

    border: 1px dashed #ef394e !important;

    background: #fff1f2;

}



.dk-video-thumb-inner {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    gap: 2px;

}



.dk-video-thumb-inner span {

    font-size: 10px;

    font-weight: 700;

    color: #ef394e;

}



.dk-video-modal-overlay {

    z-index: 100000;

}



.dk-video-modal-box {

    max-width: 750px;

    width: 92%;

    border-radius: 16px;

    overflow: hidden;

}



.dk-video-modal-body {

    padding: 16px;

    background: #000;

}



.dk-video-frame-wrap {

    position: relative;

    width: 100%;

    border-radius: 8px;

    overflow: hidden;

}



/* ==========================================================================

   32. Product Q&A System («پرسش‌ها و پاسخ‌ها»)

   ========================================================================== */

.dk-qa-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 16px;

    border-bottom: 1px solid #f0f0f1;

    margin-bottom: 20px;

    flex-wrap: wrap;

    gap: 12px;

}



.dk-qa-subtitle {

    font-size: 13px;

    color: #81858b;

    margin: 0;

}



.dk-btn-ask-question {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 18px;

    background: #ef394e;

    color: #fff;

    border: none;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

}



.dk-btn-ask-question:hover {

    background: #d82b3f;

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.3);

}



.dk-qa-search-bar {

    display: flex;

    align-items: center;

    gap: 10px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 10px 16px;

    margin-bottom: 24px;

}



.dk-qa-search-bar input {

    border: none;

    background: transparent;

    width: 100%;

    font-size: 13px;

    color: #1e293b;

    outline: none;

}



.dk-qa-list {

    display: flex;

    flex-direction: column;

    gap: 16px;

}



.dk-qa-card {

    background: #fff;

    border: 1px solid #e0e0e2;

    border-radius: 12px;

    padding: 18px;

    transition: box-shadow 0.2s ease;

}



.dk-qa-card:hover {

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);

}



.dk-qa-question-row {

    display: flex;

    align-items: flex-start;

    gap: 12px;

}



.dk-qa-q-badge {

    width: 28px;

    height: 28px;

    border-radius: 50%;

    background: #e0f2fe;

    color: #0284c7;

    font-weight: 800;

    font-size: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.dk-qa-q-body {

    flex: 1;

}



.dk-qa-q-text {

    font-size: 14px;

    font-weight: 700;

    color: #0c0c0c;

    line-height: 1.6;

    margin-bottom: 6px;

}



.dk-qa-q-meta {

    font-size: 12px;

    color: #81858b;

    display: flex;

    align-items: center;

    gap: 6px;

}



.dk-qa-reply-btn {

    background: none;

    border: none;

    color: #008eb2;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    padding: 4px 8px;

    border-radius: 6px;

    transition: background 0.2s;

    flex-shrink: 0;

}



.dk-qa-reply-btn:hover {

    background: #f0f9ff;

}



.dk-qa-answer-form-wrap {

    margin-top: 14px;

    padding: 14px;

    background: #f8fafc;

    border-radius: 8px;

    border: 1px solid #cbd5e1;

}



.dk-qa-answer-textarea {

    width: 100%;

    height: 80px;

    padding: 10px;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    font-size: 13px;

    font-family: inherit;

    resize: vertical;

    outline: none;

}



.dk-qa-answer-actions {

    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 10px;

}



.dk-btn-submit-answer {

    padding: 8px 18px;

    background: #029a49;

    color: #fff;

    border: none;

    border-radius: 6px;

    font-weight: 700;

    font-size: 12px;

    cursor: pointer;

}



.dk-btn-cancel-answer {

    padding: 8px 14px;

    background: #e2e8f0;

    color: #475569;

    border: none;

    border-radius: 6px;

    font-size: 12px;

    cursor: pointer;

}



.dk-qa-answers-wrap {

    margin-top: 16px;

    padding-top: 14px;

    border-top: 1px dashed #e2e8f0;

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.dk-qa-answer-row {

    background: #f9fafb;

    border-radius: 8px;

    padding: 12px 14px;

}



.dk-qa-ans-header {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 8px;

    font-size: 12px;

}



.dk-qa-ans-badge {

    background: #dcfce7;

    color: #166534;

    font-size: 11px;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: 4px;

}



.dk-role-pill {

    font-size: 10px;

    font-weight: 700;

    padding: 2px 6px;

    border-radius: 4px;

}



.dk-role-admin {

    background: #fee2e2;

    color: #991b1b;

}



.dk-role-seller {

    background: #fef3c7;

    color: #92400e;

}



.dk-role-buyer {

    background: #e0e7ff;

    color: #3730a3;

}



.dk-role-user {

    background: #f1f5f9;

    color: #475569;

}



.dk-qa-ans-date {

    color: #94a3b8;

    margin-right: auto;

}



.dk-qa-ans-content {

    font-size: 13px;

    color: #334155;

    line-height: 1.7;

}



.dk-qa-ans-footer {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

    margin-top: 10px;

    padding-top: 8px;

    border-top: 1px solid #edf2f7;

}



.dk-qa-helpful-label {

    font-size: 11px;

    color: #64748b;

}



.dk-qa-vote-btn {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    background: none;

    border: 1px solid #cbd5e1;

    border-radius: 14px;

    padding: 3px 10px;

    font-size: 11px;

    color: #475569;

    cursor: pointer;

    transition: all 0.2s ease;

}



.dk-qa-vote-btn:hover {

    border-color: #10b981;

    color: #10b981;

}



.dk-qa-empty-state {

    text-align: center;

    padding: 48px 20px;

    background: #f8fafc;

    border: 1px dashed #cbd5e1;

    border-radius: 12px;

}



.dk-qa-empty-icon {

    font-size: 40px;

    margin-bottom: 12px;

}



.dk-qa-empty-state h4 {

    font-size: 16px;

    font-weight: 700;

    color: #0f172a;

    margin: 0 0 8px;

}



.dk-qa-empty-state p {

    font-size: 13px;

    color: #64748b;

    margin: 0 0 18px;

}



/* ==========================================================================

   33. Digikala Multi-Step Checkout & Delivery Slots

   ========================================================================== */

.dk-step-item.passed .dk-step-num {

    background: #10b981 !important;

    color: #fff !important;

    border-color: #10b981 !important;

}



.dk-step-line.active {

    background: #ef394e !important;

}



.dk-delivery-days-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));

    gap: 10px;

    margin-top: 8px;

}



.dk-day-pill {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 12px 10px;

    background: #fff;

    border: 1px solid #e0e0e2;

    border-radius: 10px;

    cursor: pointer;

    transition: all 0.2s ease;

    text-align: center;

}



.dk-day-pill input {

    display: none;

}



.dk-day-title {

    font-size: 13px;

    font-weight: 600;

    color: #3f4064;

}



.dk-day-pill:hover {

    border-color: #008eb2;

}



.dk-day-pill.active {

    border-color: #ef394e;

    background: #fff5f6;

    box-shadow: 0 2px 8px rgba(239, 57, 78, 0.15);

}



.dk-day-pill.active .dk-day-title {

    color: #ef394e;

    font-weight: 700;

}



.dk-delivery-section-subtitle {

    font-size: 13px;

    font-weight: 700;

    color: #0c0c0c;

    margin-bottom: 8px;

}



.dk-delivery-slots-wrap {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 12px;

}



.dk-slot-card {

    display: flex;

    align-items: center;

    padding: 14px;

    background: #fff;

    border: 1px solid #e0e0e2;

    border-radius: 10px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.dk-slot-card input {

    display: none;

}



.dk-slot-card:hover {

    border-color: #008eb2;

}



.dk-slot-card.active {

    border-color: #029a49;

    background: #f0fdf4;

    box-shadow: 0 2px 8px rgba(2, 154, 73, 0.15);

}



.dk-slot-title {

    font-size: 13px;

    font-weight: 700;

    color: #0c0c0c;

    margin-bottom: 4px;

}



.dk-slot-time {

    font-size: 12px;

    color: #81858b;

}



.dk-slot-card.active .dk-slot-title {

    color: #166534;

}



.dk-btn-continue-step {

    width: 100%;

    height: 48px;

    background: #ef394e;

    color: #fff;

    border: none;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.35);

}



.dk-btn-continue-step:hover {

    background: #d82b3f;

    transform: translateY(-1px);

}



.dk-address-review-card {

    background: #f8fafc;

    border: 1px solid #cbd5e1;

}



.dk-btn-edit-address {

    background: none;

    border: 1px solid #008eb2;

    color: #008eb2;

    border-radius: 6px;

    padding: 6px 12px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

}



.dk-btn-edit-address:hover {

    background: #008eb2;

    color: #fff;

}



.dk-step2-item-row {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 10px 0;

    border-bottom: 1px solid #f1f5f9;

}



.dk-step2-item-row:last-child {

    border-bottom: none;

}



.dk-step2-item-row img {

    width: 60px;

    height: 60px;

    object-fit: cover;

    border-radius: 8px;

    border: 1px solid #e2e8f0;

}



.dk-step2-item-details strong {

    display: block;

    font-size: 13px;

    color: #0f172a;

    margin-bottom: 4px;

}



.dk-step2-item-meta {

    font-size: 12px;

    color: #64748b;

    display: flex;

    align-items: center;

    gap: 6px;

}



.dk-btn-back-link {

    background: none;

    border: none;

    color: #008eb2;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 0;

}



.dk-btn-back-link:hover {

    text-decoration: underline;

}



.dk-inv-savings-row {

    background: #f0fdf4;

    padding: 8px 10px;

    border-radius: 8px;

    border: 1px dashed #86efac;

    margin: 6px 0;

}



/* ==========================================================================

   26. Modern Digikala Features: Badges, Polls, Megamenu Banners & Catalog

   ========================================================================== */



/* Out of Stock Badges */

.dk-product-out-stock-overlay {

    position: absolute;

    top: 14px;

    right: 14px;

    background: rgba(15, 23, 42, 0.85);

    backdrop-filter: blur(4px);

    color: #fff;

    font-size: 13px;

    font-weight: 800;

    padding: 6px 14px;

    border-radius: 20px;

    z-index: 5;

    letter-spacing: -0.2px;

}



.dk-catalog-out-stock-badge {

    position: absolute;

    top: 8px;

    right: 8px;

    background: #475569;

    color: #fff;

    font-size: 11px;

    font-weight: 700;

    padding: 3px 9px;

    border-radius: 12px;

    z-index: 3;

}



/* Single Product Dokan Store Link */

.dk-seller-store-link {

    color: inherit;

    text-decoration: none;

    transition: color 0.2s ease;

}

.dk-seller-store-link:hover {

    color: var(--dk-red, #ef4056);

}



/* Price Satisfaction Poll Box */

.dk-price-satisfaction-box {

    margin-top: 14px;

    padding: 12px 14px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

}

.dk-poll-prompt {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12.5px;

    font-weight: 700;

    color: #334155;

    margin-bottom: 10px;

}

.dk-poll-prompt svg {

    color: #64748b;

}

.dk-poll-buttons {

    display: flex;

    gap: 8px;

}

.dk-poll-btn {

    flex: 1;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 7px 10px;

    font-size: 12px;

    font-weight: 600;

    border-radius: 6px;

    border: 1px solid #cbd5e1;

    background: #fff;

    cursor: pointer;

    transition: all 0.2s ease;

    color: #1e293b;

}

.dk-poll-btn:hover {

    border-color: #94a3b8;

    background: #f1f5f9;

}

.dk-poll-btn.dk-poll-yes:hover {

    border-color: #86efac;

    background: #f0fdf4;

    color: #166534;

}

.dk-poll-btn.dk-poll-no:hover {

    border-color: #fca5a5;

    background: #fef2f2;

    color: #991b1b;

}

.dk-poll-btn small {

    color: #029a49;

    font-weight: 800;

}

.dk-poll-feedback {

    padding: 6px 0 0;

    font-size: 12px;

}



/* Megamenu Category Promotional Banners */

.dk-mega-panel-body {

    display: flex;

    gap: 20px;

    align-items: stretch;

}

.dk-mega-panel-body .dk-mega-grid {

    flex: 1;

}

.dk-mega-banner {

    width: 220px;

    flex-shrink: 0;

    border-radius: 12px;

    overflow: hidden;

    position: relative;

    box-shadow: 0 4px 14px rgba(0,0,0,0.06);

    transition: transform 0.25s ease, box-shadow 0.25s ease;

}

.dk-mega-banner:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0,0,0,0.1);

}

.dk-mega-banner a {

    display: block;

    width: 100%;

    height: 100%;

    position: relative;

}

.dk-mega-banner img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}

.dk-mega-banner-title {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(to top, rgba(15,23,42,0.85), transparent);

    color: #fff;

    font-size: 12px;

    font-weight: 800;

    padding: 24px 10px 10px;

    text-align: center;

}



/* View Mode Toggle in Catalog Sort Bar */

.dk-view-mode-toggle {

    display: inline-flex;

    align-items: center;

    background: #f1f5f9;

    padding: 3px;

    border-radius: 8px;

    border: 1px solid #e2e8f0;

}

.dk-view-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 30px;

    background: transparent;

    border: none;

    border-radius: 6px;

    color: #64748b;

    cursor: pointer;

    transition: all 0.2s ease;

}

.dk-view-btn.active {

    background: #fff;

    color: var(--dk-red, #ef4056);

    box-shadow: 0 1px 4px rgba(0,0,0,0.08);

}

.dk-view-btn:hover:not(.active) {

    color: #1e293b;

}



/* Catalog Card Color Dots */

.dk-catalog-color-dots {

    display: flex;

    align-items: center;

    gap: 5px;

    margin: 6px 0;

    padding: 0 12px;

}

.dk-color-dot {

    width: 11px;

    height: 11px;

    border-radius: 50%;

    border: 1px solid rgba(0,0,0,0.15);

    display: inline-block;

    box-shadow: 0 1px 2px rgba(0,0,0,0.05);

}



/* Catalog Card Footer: Compare & Quick Buy */

.dk-catalog-card-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 10px;

    padding: 8px 12px 0;

    border-top: 1px dashed #f1f5f9;

}

.dk-catalog-compare-label {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    font-size: 11.5px;

    color: #64748b;

    cursor: pointer;

    user-select: none;

    transition: color 0.15s;

}

.dk-catalog-compare-label:hover {

    color: #1e293b;

}

.dk-catalog-compare-label input[type="checkbox"] {

    accent-color: var(--dk-red, #ef4056);

    cursor: pointer;

    width: 14px;

    height: 14px;

}

.dk-archive-quick-buy {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    color: #334155;

    font-size: 11.5px;

    font-weight: 700;

    padding: 5px 10px;

    border-radius: 6px;

    cursor: pointer;

    transition: all 0.2s ease;

}

.dk-archive-quick-buy:hover {

    background: var(--dk-red, #ef4056);

    border-color: var(--dk-red, #ef4056);

    color: #fff;

}

.dk-archive-quick-buy:hover svg {

    stroke: #fff;

}



/* List View (Horizontal Card Layout) */

.dk-catalog-grid.is-list-view {

    display: flex;

    flex-direction: column;

    gap: 16px;

}

.dk-catalog-grid.is-list-view .dk-catalog-item {

    display: flex;

    flex-direction: row;

    align-items: center;

    padding: 16px 20px;

    border-radius: 12px;

    border: 1px solid #e2e8f0;

    gap: 20px;

}

.dk-catalog-grid.is-list-view .dk-catalog-thumb {

    width: 140px;

    height: 140px;

    flex-shrink: 0;

    padding: 0;

}

.dk-catalog-grid.is-list-view .dk-catalog-thumb img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}

.dk-catalog-grid.is-list-view .dk-catalog-title {

    flex: 1;

    font-size: 15px;

    line-height: 1.6;

    padding: 0;

    text-align: right;

}

.dk-catalog-grid.is-list-view .dk-catalog-pricing {

    width: 180px;

    flex-shrink: 0;

    text-align: left;

    margin: 0;

    padding: 0;

}

.dk-catalog-grid.is-list-view .dk-catalog-card-footer {

    width: 170px;

    flex-direction: column;

    gap: 8px;

    border-top: none;

    border-right: 1px solid #f1f5f9;

    padding: 0 16px 0 0;

    margin: 0;

}

@media (max-width: 768px) {

    .dk-catalog-grid.is-list-view .dk-catalog-item {

        flex-direction: column;

        align-items: stretch;

    }

    .dk-catalog-grid.is-list-view .dk-catalog-thumb {

        width: 100%;

        height: 180px;

    }

    .dk-catalog-grid.is-list-view .dk-catalog-card-footer {

        width: 100%;

        flex-direction: row;

        border-right: none;

        border-top: 1px solid #f1f5f9;

        padding-top: 10px;

    }

}



/* Sticky Floating Comparison Bar */

.ps-sticky-compare-bar {

    position: fixed;

    bottom: 0;

    left: 0;

    right: 0;

    background: #0f172a;

    color: #fff;

    box-shadow: 0 -4px 20px rgba(0,0,0,0.18);

    z-index: 999;

    padding: 12px 20px;

    animation: dkSlideUp 0.25s ease-out;

}

@keyframes dkSlideUp {

    from { transform: translateY(100%); }

    to { transform: translateY(0); }

}

.ps-compare-bar-container {

    max-width: 1300px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}

.ps-compare-bar-info {

    display: flex;

    align-items: center;

    gap: 12px;

}

.ps-compare-bar-icon {

    width: 38px;

    height: 38px;

    border-radius: 10px;

    background: rgba(239, 64, 86, 0.15);

    color: #ef4056;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ps-compare-bar-title {

    display: block;

    font-size: 14px;

    font-weight: 800;

}

.ps-compare-bar-count {

    font-size: 11.5px;

    color: #94a3b8;

}

.ps-compare-items-list {

    display: flex;

    align-items: center;

    gap: 10px;

    flex: 1;

    justify-content: center;

}

.ps-compare-mini-thumb {

    position: relative;

    width: 46px;

    height: 46px;

    border-radius: 8px;

    background: #fff;

    padding: 3px;

    border: 1px solid #334155;

    box-shadow: 0 2px 6px rgba(0,0,0,0.2);

}

.ps-compare-mini-thumb img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    border-radius: 6px;

}

.ps-compare-remove-btn {

    position: absolute;

    top: -6px;

    right: -6px;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    background: #ef4444;

    color: #fff;

    border: none;

    font-size: 11px;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

}

.ps-compare-actions {

    display: flex;

    align-items: center;

    gap: 10px;

}

.ps-btn-compare-clear {

    background: transparent;

    border: 1px solid #334155;

    color: #94a3b8;

    padding: 8px 14px;

    border-radius: 8px;

    font-size: 12px;

    cursor: pointer;

    transition: all 0.2s;

}

.ps-btn-compare-clear:hover {

    color: #fff;

    border-color: #64748b;

}

.ps-btn-start-compare {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: var(--dk-red, #ef4056);

    color: #fff;

    padding: 8px 18px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition: background 0.2s;

}

.ps-btn-start-compare:hover {

    background: #d63044;

    color: #fff;

}



/* Footer SEO About Us Box & Trust Badges */

.dk-footer-bottom-lead-row {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 36px;

    margin-top: 32px;

    padding-top: 28px;

    border-top: 1px solid var(--dk-border, #e0e0e2);

}

.dk-footer-about-content {

    flex: 1;

    min-width: 0;

}

.dk-footer-about-title {

    font-size: 15px;

    font-weight: 800;

    color: var(--dk-text-title, #23254e);

    margin: 0 0 10px 0;

}

.dk-footer-about-desc {

    font-size: 12px;

    line-height: 2.1;

    color: var(--dk-text-muted, #62666d);

    text-align: justify;

}

.dk-footer-about-desc p {

    margin: 0 0 8px 0;

}

.dk-footer-badges-box {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 12px;

    flex-wrap: wrap;

    flex-shrink: 0;

}

.dk-footer-badges-row {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 20px;

    padding: 14px;

    background: #f8fafc;

    border-radius: 14px;

    border: 1px solid #e2e8f0;

}

.dk-trust-badge-item {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 96px;

    height: 108px;

    background: #ffffff;

    border-radius: 12px;

    padding: 8px;

    border: 1px solid #e2e8f0;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);

    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

    box-sizing: border-box;

    cursor: pointer;

}

.dk-trust-badge-item:hover {

    transform: translateY(-4px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    border-color: var(--ps-primary, #ef394e);

}

.dk-trust-badge-item a {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    text-decoration: none;

}

.dk-trust-badge-item img,

.dk-trust-badge-item svg {

    max-height: 90px;

    max-width: 80px;

    width: auto;

    height: auto;

    object-fit: contain;

    transition: transform 0.25s ease;

    display: block;

    margin: 0 auto;

}

.dk-trust-badge-item:hover img,

.dk-trust-badge-item:hover svg {

    transform: scale(1.05);

}

@media (max-width: 991px) {

    .dk-footer-bottom-lead-row {

        flex-direction: column;

        align-items: center;

        gap: 24px;

    }

    .dk-footer-about-desc {

        text-align: right;

    }

    .dk-footer-badges-box {

        justify-content: center;

        width: 100%;

    }

}



/* ==========================================================================

   PersianShop Mini-Cart Drawer Loading State & Skeletons

   ========================================================================== */

.ps-cart-drawer-loading {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 380px;

    height: 100%;

    padding: 30px 20px;

    background: #fff;

}



.ps-cd-loading-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    width: 100%;

    max-width: 320px;

}



.ps-cd-loading-icon-wrap {

    position: relative;

    width: 76px;

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff1f2;

    border-radius: 50%;

    margin-bottom: 18px;

    box-shadow: 0 4px 16px rgba(239, 57, 78, 0.12);

}



.ps-cd-bag-icon {

    animation: psCdPulse 1.8s ease-in-out infinite;

}



.ps-cd-spinner-ring {

    position: absolute;

    inset: -3px;

    border: 3px solid transparent;

    border-top-color: #ef394e;

    border-right-color: #ef394e;

    border-radius: 50%;

    animation: psCdSpin 0.85s linear infinite;

}



@keyframes psCdSpin {

    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}



@keyframes psCdPulse {

    0%, 100% { transform: scale(1); opacity: 1; }

    50% { transform: scale(0.92); opacity: 0.8; }

}



.ps-cd-loading-title {

    font-size: 15px;

    font-weight: 800;

    color: #1e293b;

    margin: 0 0 6px 0;

}



.ps-cd-loading-sub {

    font-size: 12.5px;

    color: #94a3b8;

    margin: 0 0 24px 0;

}



.ps-cd-skeleton-wrap {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 14px;

}



.ps-cd-skeleton-row {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

    background: #f8fafc;

    border: 1px solid #f1f5f9;

    border-radius: 10px;

}



.ps-cd-skel-box {

    width: 52px;

    height: 52px;

    border-radius: 8px;

    background: linear-gradient(90deg, #edf2f7 25%, #f7fafc 50%, #edf2f7 75%);

    background-size: 200% 100%;

    animation: psCdShimmer 1.5s infinite;

    flex-shrink: 0;

}



.ps-cd-skel-lines {

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.ps-cd-skel-line {

    height: 10px;

    border-radius: 5px;

    background: linear-gradient(90deg, #edf2f7 25%, #f7fafc 50%, #edf2f7 75%);

    background-size: 200% 100%;

    animation: psCdShimmer 1.5s infinite;

}

.ps-cd-skel-line.w-80 { width: 80%; }

.ps-cd-skel-line.w-90 { width: 90%; }

.ps-cd-skel-line.w-40 { width: 40%; }

.ps-cd-skel-line.w-50 { width: 50%; }



@keyframes psCdShimmer {

    0% { background-position: 200% 0; }

    100% { background-position: -200% 0; }

}



/* ==========================================================================

   Unified Gallery Lightbox Modal - Video Slide Styles

   ========================================================================== */

#dk-lightbox-modal.is-video-active .dk-lightbox-container {

    max-width: 960px !important;

    width: 95% !important;

    padding: 16px 20px 14px !important;

}



#dk-lightbox-modal.is-video-active .dk-lightbox-main-view {

    height: 56vh !important;

    max-height: 540px !important;

    min-height: 320px !important;

    background: #000000 !important;

    border: 1px solid #1e293b !important;

    padding: 8px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

}



#dk-lightbox-modal.is-video-active .dk-lb-nav-btn {

    background: rgba(255, 255, 255, 0.9) !important;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;

    border: none !important;

    z-index: 20 !important;

}



#dk-lightbox-modal.is-video-active .dk-lb-nav-btn:hover {

    background: #ef394e !important;

    color: #fff !important;

}



.dk-lb-video-wrap {

    display: none;

    width: 100%;

    height: 100%;

    max-width: 100%;

    max-height: 100%;

    aspect-ratio: 16 / 9;

    background: #000000;

    border-radius: 12px;

    overflow: hidden;

    position: relative;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);

    margin: auto;

    box-sizing: border-box;

}



.dk-lb-video-wrap.active {

    display: flex !important;

    align-items: center;

    justify-content: center;

}



.dk-lb-video-wrap iframe,

.dk-lb-video-wrap video {

    width: 100%;

    height: 100%;

    border: none;

    display: block;

    border-radius: 10px;

    background: #000000;

}



.dk-lb-thumb-item.dk-lb-thumb-video {

    position: relative;

    background: #fdf2f2;

    border-color: #fecdd3;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

}



.dk-lb-thumb-item.dk-lb-thumb-video.active {

    border-color: #ef394e !important;

    background: #ffe4e6;

}



.dk-lb-video-thumb-inner {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 3px;

    padding: 6px 4px;

    color: #ef394e;

    font-size: 11px;

    font-weight: 700;

}



@media (max-width: 768px) {

    #dk-lightbox-modal.is-video-active .dk-lightbox-main-view {

        height: 48vh !important;

        min-height: 240px !important;

        max-height: 420px !important;

        padding: 4px !important;

    }

}



/* ==========================================================================

   Digikala / NikiKala Hero Slider + Side Banners Section

   ========================================================================== */

.dk-hero-banners-section {

    margin-top: 16px;

    margin-bottom: 24px;

}



.dk-hero-banners-row {

    display: flex !important;

    gap: 16px !important;

    align-items: stretch !important;

    height: 420px;

}



.dk-hero-banners-row.no-side-banners {

    height: 420px;

}



.dk-hero-banners-row.no-side-banners .dk-hero-slider-col {

    flex: 0 0 100% !important;

    max-width: 100% !important;

}



.dk-hero-slider-col {

    flex: 1 1 70% !important;

    max-width: calc(100% - 340px) !important;

    min-width: 0 !important;

    height: 100% !important;

    border-radius: 16px !important;

    overflow: hidden !important;

    background: #f8fafc;

}



.dk-hero-slider-col .dk-hero-slider {

    margin: 0 !important;

    height: 100% !important;

    border-radius: 16px !important;

}



.dk-hero-slider-col .dk-hero-slider .swiper-wrapper {

    height: 100% !important;

}



.dk-hero-slider-col .dk-hero-slider .swiper-slide {

    height: 100% !important;

    position: relative !important;

}



.dk-hero-slider-col .dk-hero-slide-link {

    display: block !important;

    width: 100% !important;

    height: 100% !important;

}



.dk-hero-slider-col .dk-hero-slide-link picture {

    display: block !important;

    width: 100% !important;

    height: 100% !important;

}



.dk-hero-slider-col .dk-hero-slide-link img,

.dk-hero-slider .swiper-slide img {

    width: 100% !important;

    height: 100% !important;

    max-height: none !important;

    object-fit: cover !important;

    display: block !important;

    border-radius: 16px !important;

}



.dk-hero-side-banners-col {

    flex: 0 0 324px !important;

    width: 324px !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 16px !important;

    height: 100% !important;

    justify-content: space-between !important;

}



.dk-side-banner-card {

    flex: 1 1 0 !important;

    min-height: 0 !important;

    display: block !important;

    border-radius: 16px !important;

    overflow: hidden !important;

    position: relative !important;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;

    transition: transform 0.25s ease, box-shadow 0.25s ease !important;

    background: #f1f5f9 !important;

}



.dk-side-banner-card:hover {

    transform: translateY(-3px) !important;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;

}



.dk-side-banner-card img,

.elementor .dk-side-banner-card img {

    width: 100% !important;

    height: 100% !important;

    max-height: none !important;

    object-fit: cover !important;

    display: block !important;

}



@media (max-width: 991px) {

    .dk-hero-banners-row {

        height: auto !important;

        flex-direction: column !important;

    }

    .dk-hero-slider-col {

        max-width: 100% !important;

        flex: 0 0 100% !important;

        height: 280px !important;

    }

    .dk-hero-side-banners-col {

        width: 100% !important;

        height: auto !important;

        flex: 0 0 auto !important;

        flex-direction: row !important;

    }

    .dk-side-banner-card {

        height: 160px !important;

    }

}



@media (max-width: 640px) {

    .dk-hero-slider-col {

        height: 200px !important;

    }

    .dk-hero-side-banners-col {

        flex-direction: column !important;

    }

    .dk-side-banner-card {

        height: 130px !important;

    }

}



/* ==========================================================================

   Digikala / NikiKala Multi-Column Promotional Banners Grid (2, 3, 4 Cols)

   ========================================================================== */

.dk-banners-grid {

    display: grid;

    gap: 16px;

    margin: 24px 0;

    width: 100%;

}



.dk-banners-grid,

.dk-banners-grid-4 {

    grid-template-columns: repeat(4, 1fr);

}



.dk-banners-grid-2 {

    grid-template-columns: repeat(2, 1fr) !important;

}



.dk-banners-grid-3 {

    grid-template-columns: repeat(3, 1fr) !important;

}



.dk-banners-grid-1 {

    grid-template-columns: 1fr !important;

}



.dk-banner-card {

    display: block;

    border-radius: 16px;

    overflow: hidden;

    position: relative;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);

    transition: transform 0.25s ease, box-shadow 0.25s ease;

    background: #f8fafc;

}



.dk-banner-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);

}



.dk-banner-card img {

    width: 100%;

    height: auto;

    display: block;

    object-fit: cover;

    border-radius: 16px;

}



@media (max-width: 991px) {

    .dk-banners-grid,

    .dk-banners-grid-4 {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 575px) {

    .dk-banners-grid,

    .dk-banners-grid-4,

    .dk-banners-grid-3,

    .dk-banners-grid-2 {

        grid-template-columns: 1fr !important;

    }

}



/* ==========================================================================

   New Homepage Widgets (Niki-Kala Style)

   ========================================================================== */



/* 1. Flexible Specials Slider (.ps-specials-box) */

.ps-specials-wrapper {

    width: 100%;

    margin-top: 24px;

    margin-bottom: 24px;

}



.ps-specials-box {

    display: flex;

    align-items: stretch;

    border-radius: 20px;

    padding: 20px 16px;

    position: relative;

    overflow: hidden;

}



.ps-specials-badge-col {

    width: 180px;

    min-width: 180px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 10px 12px;

}



.ps-specials-badge-col img.ps-specials-badge-img {

    max-width: 170px;

    max-height: 280px;

    width: auto;

    object-fit: contain;

    margin-bottom: 12px;

}



.ps-specials-badge-col .ps-specials-badge-title {

    color: #ffffff;

    font-size: 18px;

    font-weight: 800;

    line-height: 1.4;

    margin-bottom: 14px;

}



.ps-specials-badge-col .ps-specials-viewall-btn,

.ps-specials-badge-col .ps-specials-view-all-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.4);

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(4px);

    border-radius: 9999px;

    padding: 8px 18px;

    font-size: 13px;

    font-weight: 600;

    transition: all 0.25s ease;

}



.ps-specials-badge-col .ps-specials-viewall-btn:hover,

.ps-specials-badge-col .ps-specials-view-all-btn:hover {

    background: #ffffff;

    color: #1f2937;

    border-color: #ffffff;

}



.ps-specials-slider-col {

    flex: 1;

    min-width: 0;

    padding: 0 8px;

}



.ps-special-prod-card {

    background: #ffffff;

    border-radius: 12px;

    padding: 14px 12px;

    display: flex;

    flex-direction: column;

    height: 100%;

    box-sizing: border-box;

    text-decoration: none;

    transition: transform 0.25s ease, box-shadow 0.25s ease;

    border: 1px solid rgba(0, 0, 0, 0.04);

}



.ps-special-prod-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

}



.ps-special-prod-card .ps-special-thumb {

    width: 100%;

    height: 160px;

    min-height: 160px;

    max-height: 160px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 10px;

    overflow: hidden;

    position: relative;

}



.ps-special-prod-card .ps-special-thumb img {

    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

    object-fit: contain;

    transition: transform 0.25s ease;

    display: block;

}



.ps-special-prod-card:hover .ps-special-thumb img {

    transform: scale(1.05);

}



.ps-special-prod-card .ps-special-title {

    font-size: 12px;

    font-weight: 600;

    line-height: 20px;

    color: #3f4064;

    margin: 0 0 10px 0;

    height: 40px;

    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    text-align: right;

}



.ps-special-prod-card .ps-special-price-row {

    margin-top: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    padding-top: 8px;

}



.ps-special-prod-card .ps-special-badge-wrap {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}



.ps-special-prod-card .ps-special-badge {

    background-color: #ef4056;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    padding: 2px 7px;

    border-radius: 12px;

    line-height: 1.4;

    display: inline-block;

}



.ps-special-prod-card .ps-special-prices-col {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    text-align: left;

    gap: 2px;

}



.ps-special-prod-card .ps-special-old-price {

    font-size: 11px;

    color: #c0c2c5;

    text-decoration: line-through;

    direction: ltr;

    line-height: 1.2;

}



.ps-special-prod-card .ps-special-cur-price-wrap {

    display: flex;

    align-items: baseline;

    gap: 4px;

    direction: ltr;

}



.ps-special-prod-card .ps-special-cur-price {

    font-size: 15px;

    font-weight: 800;

    color: #0c0c0c;

    line-height: 1.2;

}



.ps-special-prod-card .ps-special-unit {

    font-size: 10px;

    font-weight: 600;

    color: #424750;

}



@media (max-width: 768px) {

    .ps-specials-box {

        flex-direction: column;

    }

    .ps-specials-badge-col {

        width: 100%;

        min-width: unset;

        margin-bottom: 16px;

    }

}



/* 2. Boxed Products Grid (.ps-boxed-products-grid) */

.ps-boxed-products-wrapper {

    width: 100%;

}



.ps-boxed-products-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

}



.ps-boxed-card {

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 18px;

    padding: 16px;

    display: flex;

    flex-direction: column;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);

    transition: transform 0.2s ease, box-shadow 0.2s ease;

}



.ps-boxed-card:hover {

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);

}



.ps-boxed-card-header {

    margin-bottom: 14px;

}



.ps-boxed-title {

    font-size: 16px;

    font-weight: 700;

    color: #1f2937;

    margin: 0 0 4px 0;

}



.ps-boxed-subtitle {

    font-size: 12px;

    color: #6b7280;

}



.ps-boxed-2x2-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin-bottom: 14px;

}



.ps-boxed-thumb-item {

    aspect-ratio: 1 / 1;

    background: #f8fafc;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 8px;

    transition: transform 0.2s ease, background-color 0.2s ease;

    border: 1px solid #f1f5f9;

}



.ps-boxed-thumb-item:hover {

    transform: scale(1.04);

    background: #f1f5f9;

}



.ps-boxed-thumb-item img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}



.ps-boxed-card-footer {

    margin-top: auto;

    text-align: center;

    padding-top: 12px;

    border-top: 1px dashed #e2e8f0;

}



.ps-boxed-link {

    font-size: 13px;

    font-weight: 600;

    color: #0284c7;

    display: inline-flex;

    align-items: center;

    gap: 4px;

    transition: color 0.2s;

}



.ps-boxed-link:hover {

    color: #0369a1;

}



@media (max-width: 1024px) {

    .ps-boxed-products-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 640px) {

    .ps-boxed-products-grid {

        grid-template-columns: 1fr;

    }

}



/* 3. 10 Categories Grid (.ps-cats-10-grid) */

.ps-cats-grid-wrapper {

    width: 100%;

}



.ps-cats-10-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 28px 16px;

    justify-items: center;

}



.ps-cat-grid-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    text-decoration: none;

    max-width: 130px;

    transition: transform 0.2s ease;

}



.ps-cat-grid-item:hover {

    transform: translateY(-4px);

}



.ps-cat-img-box {

    width: 110px;

    height: 110px;

    border-radius: 50%;

    overflow: hidden;

    margin-bottom: 12px;

    background: #f8fafc;

    border: 2px solid #f1f5f9;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 10px;

    transition: all 0.25s ease;

}



.ps-cat-grid-item:hover .ps-cat-img-box {

    border-color: #e2e8f0;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    transform: scale(1.05);

}



.ps-cat-img-box img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}



.ps-cat-title {

    font-size: 13px;

    font-weight: 600;

    color: #374151;

    line-height: 1.5;

    transition: color 0.2s;

}



.ps-cat-grid-item:hover .ps-cat-title {

    color: #ef4056;

}



@media (max-width: 991px) {

    .ps-cats-10-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width: 575px) {

    .ps-cats-10-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 20px 10px;

    }

    .ps-cat-img-box {

        width: 85px;

        height: 85px;

    }

    .ps-cat-title {

        font-size: 12px;

    }

}



/* ==========================================================================

   Zero Top Gap & Fullwidth Landing Styles (Exact Match)

   ========================================================================== */

.page-id-222 .elementor-template-fullwidth,

.page-id-222 .elementor,

.page-id-222 .elementor-section:first-child,

.page-id-222 .elementor-section:first-child > .elementor-container,

.page-id-222 .elementor-section:first-child > .elementor-container > .elementor-column > .elementor-widget-wrap,

.page-id-224 .elementor-template-fullwidth,

.page-id-224 .elementor,

.page-id-224 .elementor-section:first-child,

.page-id-224 .elementor-section:first-child > .elementor-container,

.page-id-224 .elementor-section:first-child > .elementor-container > .elementor-column > .elementor-widget-wrap {

    margin-top: 0 !important;

    padding-top: 0 !important;

}



.page-id-222 .dk-hero-banners-section,

.page-id-222 .dk-hero-slider,

.page-id-224 .dk-hero-banners-section,

.page-id-224 .dk-hero-slider {

    margin-top: 0 !important;

}



.page-id-222 .dk-header,

.page-id-224 .dk-header {

    border-bottom: 1px solid var(--dk-border);

    margin-bottom: 0 !important;

}



/* Full-width Hero Slider (Matching user screenshot) */

.dk-hero-slider.dk-hero-slider-fullwidth {

    margin: 0 !important;

    border-radius: 0 !important;

    width: 100% !important;

    max-width: 100% !important;

}



.dk-hero-slider.dk-hero-slider-fullwidth .swiper-slide {

    height: auto !important;

    aspect-ratio: 2560 / 533;

}



.dk-hero-slider.dk-hero-slider-fullwidth .swiper-slide img {

    border-radius: 0 !important;

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.dk-hero-slider.dk-hero-slider-fullwidth .swiper-button-next,

.dk-hero-slider.dk-hero-slider-fullwidth .swiper-button-prev {

    position: absolute;

    top: auto;

    bottom: 24px;

    width: 38px;

    height: 38px;

    background: rgba(255, 255, 255, 0.9);

    border-radius: 50%;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);

    color: #334155;

    z-index: 10;

}



.dk-hero-slider.dk-hero-slider-fullwidth .swiper-button-prev {

    left: auto;

    right: 28px;

}



.dk-hero-slider.dk-hero-slider-fullwidth .swiper-button-next {

    left: auto;

    right: 76px;

}



.dk-hero-slider.dk-hero-slider-fullwidth .swiper-pagination {

    bottom: 12px;

}



.dk-quick-add-btn {

    width: 26px;

    height: 26px;

    border-radius: 6px;

    background: #ef394e;

    color: #fff;

    border: none;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.2s ease;

    box-shadow: 0 2px 6px rgba(239, 57, 78, 0.25);

    flex-shrink: 0;

}



.dk-quick-add-btn:hover {

    background: #d82338;

    transform: scale(1.08);

}



/* ==========================================================================

   Split Carousel Row: Beauty & Health + Realtime Deal

   ========================================================================== */

.dk-split-row {

    display: flex;

    flex-direction: row;

    align-items: stretch;

    gap: 16px;

    width: 100%;

}



.dk-split-row.has-deal .dk-split-carousel-col {

    flex: 1;

    min-width: 0;

}



.dk-split-row.has-deal .dk-split-deal-col {

    width: 220px;

    min-width: 220px;

    max-width: 220px;

    flex-shrink: 0;

    display: flex;

}



.dk-split-row.no-deal .dk-split-carousel-col {

    width: 100%;

}



.dk-realtime-box {

    background: #ffffff;

    border: 1px solid #f0f0f1;

    border-radius: 16px;

    padding: 16px 14px;

    width: 100%;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

}



.dk-realtime-headline {

    font-size: 14px;

    font-weight: 700;

    color: #ef394e;

    text-align: center;

    padding-bottom: 10px;

    border-bottom: 1px solid #f0f0f1;

    margin-bottom: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

}



.dk-realtime-link {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    text-decoration: none;

    flex: 1;

    justify-content: space-between;

}



.dk-realtime-img-wrap {

    width: 150px;

    height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

}



.dk-realtime-img-wrap img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    transition: transform 0.25s ease;

}



.dk-realtime-link:hover .dk-realtime-img-wrap img {

    transform: scale(1.05);

}



.dk-realtime-title {

    font-size: 13px;

    font-weight: 500;

    line-height: 1.5;

    color: #3f4064;

    margin: 0 0 12px 0;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.dk-realtime-price-block {

    margin-top: auto;

    width: 100%;

    text-align: center;

}



.dk-realtime-old-price {

    font-size: 12px;

    color: #9e9eb0;

    text-decoration: line-through;

    margin-bottom: 4px;

}



.dk-realtime-final-price {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 4px;

}



.dk-realtime-final-price .dk-rt-num {

    font-size: 16px;

    font-weight: 800;

    color: #ef394e;

}



.dk-realtime-final-price .dk-rt-unit {

    font-size: 11px;

    color: #3f4064;

}



@media (max-width: 991px) {

    .dk-split-deal-col.hidemob {

        display: none !important;

    }

    .dk-split-row.has-deal .dk-split-carousel-col {

        width: 100%;

    }

}



/* ==========================================================================

   Dedicated Error Page Templates (404, 403, 402, 500, 503)

   ========================================================================== */

.dk-error-page-wrapper {

    padding: 48px 0 72px;

    background-color: #f7f7f8;

    min-height: calc(100vh - 350px);

    display: flex;

    align-items: center;

    direction: rtl;

}



.dk-error-page-wrapper .dk-container {

    width: 100%;

    max-width: 1280px;

    margin: 0 auto;

    padding: 0 16px;

}



.dk-error-card {

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 24px;

    padding: 56px 36px;

    text-align: center;

    max-width: 820px;

    margin: 0 auto 40px;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);

}



.dk-error-illustration {

    margin-bottom: 28px;

    display: flex;

    justify-content: center;

    align-items: center;

}



.dk-error-illustration svg {

    max-width: 100%;

    height: auto;

    direction: ltr !important;

}



.dk-error-illustration svg text {

    direction: ltr !important;

    text-anchor: middle;

    user-select: none;

}



.dk-error-title {

    font-size: 22px;

    font-weight: 800;

    color: #111827;

    margin: 0 0 14px 0;

    line-height: 1.5;

}



.dk-error-desc {

    font-size: 14.5px;

    line-height: 1.85;

    color: #64748b;

    max-width: 580px;

    margin: 0 auto 32px;

}



.dk-error-search {

    max-width: 480px;

    margin: 0 auto 32px;

}



.dk-error-search-form {

    display: flex;

    align-items: center;

    position: relative;

    width: 100%;

    border: 1.5px solid #e2e8f0;

    border-radius: 12px;

    background: #f8fafc;

    overflow: hidden;

    transition: all 0.2s ease;

}



.dk-error-search-form:focus-within {

    border-color: #ef394e;

    background: #ffffff;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.12);

}



.dk-error-search-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 14px;

    color: #94a3b8;

}



.dk-error-search-input {

    flex: 1;

    border: none;

    background: transparent;

    padding: 12px 4px;

    font-size: 13.5px;

    outline: none;

    font-family: inherit;

    color: #1e293b;

}



.dk-error-search-btn {

    background: #ef394e;

    color: #ffffff;

    border: none;

    padding: 0 22px;

    height: 46px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: background-color 0.2s;

    font-family: inherit;

}



.dk-error-search-btn:hover {

    background: #dc2626;

}



.dk-error-actions {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 8px;

}



.dk-error-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 22px;

    border-radius: 10px;

    font-size: 13.5px;

    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.2s ease;

    font-family: inherit;

    border: none;

}



.dk-error-btn.dk-btn-primary {

    background: #ef394e;

    color: #ffffff !important;

    box-shadow: 0 3px 12px rgba(239, 57, 78, 0.25);

}



.dk-error-btn.dk-btn-primary:hover {

    background: #dc2626;

    transform: translateY(-1px);

    box-shadow: 0 5px 16px rgba(239, 57, 78, 0.35);

}



.dk-error-btn.dk-btn-outline {

    background: #ffffff;

    color: #334155 !important;

    border: 1.5px solid #e2e8f0;

}



.dk-error-btn.dk-btn-outline:hover {

    background: #f8fafc;

    border-color: #cbd5e1;

}



.dk-error-notice-box {

    background: #f0f9ff;

    border: 1px solid #bae6fd;

    border-radius: 12px;

    padding: 16px 20px;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    max-width: 600px;

    margin: 0 auto 32px;

    text-align: right;

}



.dk-error-notice-box .dk-notice-icon {

    flex-shrink: 0;

    margin-top: 2px;

}



.dk-error-notice-box .dk-notice-text {

    font-size: 13px;

    line-height: 1.7;

    color: #0369a1;

}



.dk-error-notice-box .dk-notice-text strong {

    display: block;

    font-weight: 700;

    margin-bottom: 4px;

    color: #0284c7;

}



/* Recommended Products on Error Pages */

.dk-error-recommended-section {

    max-width: 1200px;

    margin: 0 auto;

    padding-top: 16px;

}



.dk-error-rec-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;

    border-bottom: 2px solid #e2e8f0;

    padding-bottom: 12px;

}



.dk-error-rec-title {

    font-size: 16px;

    font-weight: 800;

    color: #1e293b;

}



.dk-error-rec-all {

    font-size: 13px;

    font-weight: 700;

    color: #0284c7;

    text-decoration: none;

    transition: color 0.2s;

}



.dk-error-rec-all:hover {

    color: #0369a1;

}



.dk-error-rec-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 16px;

}



.dk-error-prod-card {

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 16px;

    text-decoration: none;

    color: inherit;

    transition: all 0.25s ease;

}



.dk-error-prod-card:hover {

    border-color: #cbd5e1;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);

    transform: translateY(-2px);

}



.dk-error-prod-thumb {

    height: 140px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

}



.dk-error-prod-thumb img {

    max-height: 100%;

    max-width: 100%;

    object-fit: contain;

}



.dk-error-prod-title {

    font-size: 12.5px;

    font-weight: 600;

    line-height: 1.6;

    color: #334155;

    margin: 0 0 14px 0;

    height: 40px;

    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

}



.dk-error-prod-price {

    margin-top: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

}



.dk-error-price-val {

    display: flex;

    align-items: baseline;

    gap: 4px;

    margin-right: auto;

}



.dk-error-price-val .dk-c-num {

    font-size: 15px;

    font-weight: 800;

    color: #1e293b;

}



.dk-error-price-val .dk-c-unit {

    font-size: 11px;

    color: #64748b;

}



@media (max-width: 991px) {

    .dk-error-rec-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width: 640px) {

    .dk-error-card {

        padding: 36px 20px;

    }

    .dk-error-title {

        font-size: 18px;

    }

    .dk-error-actions {

        flex-direction: column;

        width: 100%;

    }

    .dk-error-btn {

        width: 100%;

        justify-content: center;

    }

    .dk-error-rec-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

    }

}



/* ==========================================================================

   PersianShop Dedicated Wallet & ParsiClub Styling

   ========================================================================== */

.dk-meta-link {

    text-decoration: none !important;

    color: inherit;

    cursor: pointer;

    transition: transform 0.2s ease;

}

.dk-meta-link:hover {

    transform: translateY(-2px);

}

.dk-meta-link:hover .dk-meta-val {

    color: #ef394e !important;

}



/* Wallet Page Styles */

.dk-wallet-page-wrapper {

    display: flex;

    flex-direction: column;

    gap: 24px;

    direction: rtl;

}



.dk-wallet-hero-card {

    background: linear-gradient(135deg, #ef394e 0%, #b91c1c 100%);

    border-radius: 20px;

    padding: 36px 32px;

    color: #ffffff;

    position: relative;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(239, 57, 78, 0.25);

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.dk-wallet-hero-content {

    position: relative;

    z-index: 2;

}



.dk-wallet-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 5px 12px;

    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(6px);

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 14px;

}



.dk-wallet-balance-label {

    display: block;

    font-size: 13.5px;

    opacity: 0.9;

    margin-bottom: 6px;

}



.dk-wallet-balance-num-wrap {

    display: flex;

    align-items: baseline;

    gap: 8px;

}



.dk-wallet-balance-num {

    font-size: 38px;

    font-weight: 900;

    line-height: 1.1;

}



.dk-wallet-currency {

    font-size: 16px;

    font-weight: 700;

}



.dk-wallet-subtext {

    font-size: 12.5px;

    opacity: 0.85;

    margin: 14px 0 0 0;

    line-height: 1.6;

}



.dk-wallet-hero-icon {

    position: relative;

    z-index: 1;

    opacity: 0.9;

    padding-left: 20px;

}



.dk-wallet-card {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    padding: 28px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);

}



.dk-wallet-card-header {

    margin-bottom: 22px;

    border-bottom: 1px solid #f1f5f9;

    padding-bottom: 16px;

}



.dk-wallet-header-title {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 6px;

}



.dk-wallet-header-title h3 {

    margin: 0;

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

}



.dk-wallet-header-desc {

    font-size: 13px;

    color: #64748b;

}



.dk-wallet-quick-amounts {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin-bottom: 20px;

}



.dk-quick-amt-btn {

    padding: 9px 18px;

    border: 1.5px solid #e2e8f0;

    border-radius: 10px;

    background: #f8fafc;

    color: #334155;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

    font-family: inherit;

}



.dk-quick-amt-btn:hover {

    border-color: #cbd5e1;

    background: #f1f5f9;

}



.dk-quick-amt-btn.active {

    border-color: #ef394e;

    background: #fef2f2;

    color: #ef394e;

}



.dk-wallet-input-row {

    display: flex;

    align-items: flex-end;

    gap: 16px;

    flex-wrap: wrap;

}



.dk-wallet-input-group {

    flex: 1;

    min-width: 260px;

}



.dk-wallet-input-group label {

    display: block;

    font-size: 13px;

    font-weight: 700;

    color: #334155;

    margin-bottom: 8px;

}



.dk-wallet-input-wrapper {

    display: flex;

    align-items: center;

    border: 1.5px solid #cbd5e1;

    border-radius: 12px;

    background: #ffffff;

    overflow: hidden;

    transition: border-color 0.2s;

}



.dk-wallet-input-wrapper:focus-within {

    border-color: #ef394e;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.12);

}



.dk-wallet-input-wrapper input {

    flex: 1;

    border: none;

    padding: 12px 16px;

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

    outline: none;

    font-family: inherit;

}



.dk-wallet-input-wrapper .dk-input-suffix {

    padding: 0 16px;

    font-size: 13px;

    color: #64748b;

    font-weight: 700;

}



.dk-wallet-submit-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #ef394e;

    color: #ffffff;

    border: none;

    padding: 13px 28px;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

    font-family: inherit;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.25);

}



.dk-wallet-submit-btn:hover {

    background: #dc2626;

    transform: translateY(-1px);

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.35);

}



.dk-wallet-msg {

    margin-top: 14px;

    padding: 10px 14px;

    border-radius: 10px;

    font-size: 13px;

    display: none;

}

.dk-wallet-msg.error {

    display: block;

    background: #fef2f2;

    color: #dc2626;

    border: 1px solid #fecaca;

}

.dk-wallet-msg.info {

    display: block;

    background: #eff6ff;

    color: #2563eb;

    border: 1px solid #bfdbfe;

}



/* Wallet & Club Table */

.dk-wallet-table-responsive,

.dk-club-table-responsive {

    overflow-x: auto;

}



.dk-wallet-table,

.dk-club-table {

    width: 100%;

    border-collapse: collapse;

    font-size: 13px;

}



.dk-wallet-table th,

.dk-club-table th {

    background: #f8fafc;

    padding: 12px 16px;

    text-align: right;

    font-weight: 700;

    color: #64748b;

    font-size: 12px;

    border-bottom: 1.5px solid #e2e8f0;

}



.dk-wallet-table td,

.dk-club-table td {

    padding: 14px 16px;

    border-bottom: 1px solid #f1f5f9;

    color: #334155;

    vertical-align: middle;

}



.dk-tx-badge,

.dk-cl-badge {

    display: inline-block;

    padding: 4px 10px;

    border-radius: 6px;

    font-size: 11px;

    font-weight: 700;

}



.badge-deposit { background: #dcfce7; color: #15803d; }

.badge-purchase { background: #fee2e2; color: #b91c1c; }

.badge-refund { background: #e0e7ff; color: #4338ca; }

.badge-club { background: #fef3c7; color: #b45309; }

.badge-admin { background: #f1f5f9; color: #475569; }



.badge-order { background: #dcfce7; color: #15803d; }

.badge-welcome { background: #fef3c7; color: #b45309; }

.badge-review { background: #e0e7ff; color: #4338ca; }

.badge-wallet { background: #fee2e2; color: #b91c1c; }

.badge-coupon { background: #f0fdf4; color: #16a34a; }

.badge-wheel { background: #fdf4ff; color: #9333ea; }



.dk-tx-amount.credit,

.dk-cl-points.gain {

    color: #16a34a;

    font-weight: 800;

}



.dk-tx-amount.debit,

.dk-cl-points.loss {

    color: #ef394e;

    font-weight: 800;

}



.dk-wallet-empty-state,

.dk-club-empty-state {

    text-align: center;

    padding: 48px 16px;

    color: #64748b;

}



.dk-wallet-empty-state svg,

.dk-club-empty-state svg {

    margin-bottom: 12px;

}



/* Club Hero Banner */

.dk-club-page-wrapper {

    display: flex;

    flex-direction: column;

    gap: 28px;

    direction: rtl;

}



.dk-club-hero-card {

    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

    border-radius: 20px;

    padding: 36px 32px;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);

    position: relative;

    overflow: hidden;

}



.dk-club-tier-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 12.5px;

    font-weight: 800;

    margin-bottom: 14px;

}



.dk-club-hero-title {

    margin: 0 0 8px 0;

    font-size: 22px;

    font-weight: 900;

    color: #ffffff;

}



.dk-club-hero-desc {

    margin: 0 0 16px 0;

    font-size: 13.5px;

    opacity: 0.85;

    max-width: 500px;

    line-height: 1.7;

}



.dk-club-progress-box {

    max-width: 440px;

    background: rgba(255, 255, 255, 0.08);

    padding: 12px 16px;

    border-radius: 12px;

}



.dk-club-progress-labels {

    display: flex;

    justify-content: space-between;

    font-size: 12px;

    opacity: 0.9;

    margin-bottom: 6px;

}



.dk-club-progress-bar {

    height: 7px;

    background: rgba(255, 255, 255, 0.18);

    border-radius: 10px;

    overflow: hidden;

}



.dk-club-progress-fill {

    height: 100%;

    border-radius: 10px;

    transition: width 0.4s ease;

}



.dk-club-points-card {

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 18px;

    padding: 24px 28px;

    text-align: center;

    min-width: 250px;

    flex-shrink: 0;

}



.dk-pts-label {

    display: block;

    font-size: 12.5px;

    opacity: 0.85;

    margin-bottom: 8px;

}



.dk-pts-val-row {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-bottom: 10px;

}



.dk-pts-num {

    font-size: 36px;

    font-weight: 900;

    color: #fbbf24;

    line-height: 1;

}



.dk-pts-unit {

    font-size: 15px;

    font-weight: 700;

}



.dk-pts-equiv {

    display: block;

    font-size: 11.5px;

    opacity: 0.85;

}



.dk-pts-equiv strong {

    color: #fbbf24;

}



/* Club Rewards Showcase Grid */

.dk-club-section-title {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 10px;

}



.dk-club-section-title h3 {

    margin: 0;

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

}



.dk-club-rewards-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

}



.dk-club-reward-card {

    background: #ffffff;

    border: 1.5px solid #e2e8f0;

    border-radius: 18px;

    padding: 22px 18px;

    display: flex;

    flex-direction: column;

    text-align: center;

    align-items: center;

    transition: all 0.25s ease;

}



.dk-club-reward-card:hover {

    border-color: #ef394e;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

    transform: translateY(-2px);

}



.dk-reward-icon-wrap {

    width: 60px;

    height: 60px;

    border-radius: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 14px;

}



.dk-reward-title {

    font-size: 14.5px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 8px 0;

    line-height: 1.4;

}



.dk-reward-desc {

    font-size: 12px;

    color: #64748b;

    line-height: 1.6;

    margin: 0 0 16px 0;

    min-height: 38px;

}



.dk-reward-cost {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    padding: 4px 12px;

    border-radius: 20px;

    font-size: 11.5px;

    font-weight: 700;

    color: #b45309;

    margin-bottom: 14px;

}



.dk-reward-action-btn {

    width: 100%;

    margin-top: auto;

    background: #ef394e;

    color: #ffffff;

    border: none;

    padding: 10px 14px;

    border-radius: 10px;

    font-size: 12.5px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

    font-family: inherit;

}



.dk-reward-action-btn:hover:not(:disabled) {

    background: #dc2626;

}



.dk-reward-action-btn:disabled {

    background: #f1f5f9;

    color: #94a3b8;

    cursor: not-allowed;

}



/* Modal and Lucky Wheel */

.dk-modal-backdrop {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(15, 23, 42, 0.65);

    backdrop-filter: blur(4px);

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 16px;

    direction: rtl;

}



.dk-modal-dialog {

    background: #ffffff;

    border-radius: 24px;

    padding: 32px 28px;

    max-width: 420px;

    width: 100%;

    position: relative;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);

}



.dk-modal-close {

    position: absolute;

    top: 16px;

    left: 16px;

    background: transparent;

    border: none;

    font-size: 26px;

    cursor: pointer;

    color: #64748b;

    line-height: 1;

}



.dk-modal-header {

    text-align: center;

    margin-bottom: 20px;

}



.dk-modal-header h3 {

    margin: 0 0 6px 0;

    font-size: 19px;

    font-weight: 800;

    color: #0f172a;

}



.dk-modal-header p {

    margin: 0;

    font-size: 12.5px;

    color: #64748b;

}



.dk-wheel-container {

    position: relative;

    display: inline-block;

}



.dk-wheel-pointer {

    position: absolute;

    top: -12px;

    left: 50%;

    transform: translateX(-50%);

    font-size: 24px;

    color: #0f172a;

    z-index: 10;

    text-shadow: 0 2px 6px rgba(0,0,0,0.3);

}



@media (max-width: 991px) {

    .dk-club-rewards-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .dk-club-hero-card {

        flex-direction: column;

        text-align: center;

    }

    .dk-club-hero-desc {

        max-width: 100%;

    }

    .dk-club-progress-box {

        max-width: 100%;

    }

    .dk-wallet-hero-card {

        flex-direction: column;

        text-align: center;

        gap: 16px;

    }

    .dk-wallet-hero-icon {

        padding: 0;

    }

}



@media (max-width: 640px) {

    .dk-club-rewards-grid {

        grid-template-columns: 1fr;

    }

    .dk-wallet-input-row {

        flex-direction: column;

    }

    .dk-wallet-submit-btn {

        width: 100%;

        justify-content: center;

    }

}



/* ==========================================================================

   Digikala Club - My Active Coupons & Modal UI

   ========================================================================== */

.dk-club-coupons-section {

    margin-bottom: 36px;

}



.dk-club-section-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 16px;

}



.dk-club-section-header-title {

    display: flex;

    align-items: center;

    gap: 10px;

}



.dk-club-section-header-title h3 {

    margin: 0;

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

}



.dk-club-count-badge {

    background: #fee2e2;

    color: #ef394e;

    font-size: 12px;

    font-weight: 800;

    padding: 3px 10px;

    border-radius: 999px;

}



.dk-club-coupons-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));

    gap: 16px;

}



.dk-coupon-ticket {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 20px;

    position: relative;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);

    transition: transform 0.2s ease, box-shadow 0.2s ease;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

}



.dk-coupon-ticket::before {

    content: "";

    position: absolute;

    top: 0;

    right: 0;

    left: 0;

    height: 4px;

    background: linear-gradient(90deg, #ef394e, #f59e0b);

}



.dk-coupon-ticket:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

    border-color: #cbd5e1;

}



.dk-coupon-top {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    margin-bottom: 14px;

}



.dk-coupon-val-wrap {

    display: flex;

    flex-direction: column;

}



.dk-coupon-amount {

    font-size: 20px;

    font-weight: 900;

    color: #ef394e;

}



.dk-coupon-min-spend {

    font-size: 12px;

    color: #64748b;

    margin-top: 3px;

}



.dk-coupon-pill {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    font-size: 11px;

    font-weight: 700;

    padding: 4px 10px;

    border-radius: 8px;

}



.dk-coupon-pill.active {

    background: #ecfdf5;

    color: #059669;

}



.dk-coupon-pill.used {

    background: #f1f5f9;

    color: #64748b;

}



.dk-coupon-pill.expired {

    background: #fef2f2;

    color: #dc2626;

}



.dk-coupon-code-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #f8fafc;

    border: 1.5px dashed #cbd5e1;

    border-radius: 12px;

    padding: 8px 12px;

    margin-bottom: 12px;

}



.dk-coupon-code-text {

    font-family: monospace, inherit;

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

    letter-spacing: 1px;

}



.dk-coupon-copy-btn {

    background: #ffffff;

    border: 1px solid #cbd5e1;

    color: #0f172a;

    font-size: 12px;

    font-weight: 700;

    padding: 6px 12px;

    border-radius: 8px;

    cursor: pointer;

    transition: all 0.2s ease;

    display: inline-flex;

    align-items: center;

    gap: 4px;

}



.dk-coupon-copy-btn:hover {

    background: #ef394e;

    border-color: #ef394e;

    color: #ffffff;

}



.dk-coupon-copy-btn.copied {

    background: #059669 !important;

    border-color: #059669 !important;

    color: #ffffff !important;

}



.dk-coupon-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 12px;

    color: #94a3b8;

    border-top: 1px dashed #f1f5f9;

    padding-top: 12px;

}



.dk-coupon-use-link {

    color: #ef394e;

    font-weight: 700;

    text-decoration: none;

    transition: color 0.15s ease;

}



.dk-coupon-use-link:hover {

    color: #b91c1c;

    text-decoration: underline;

}



.dk-table-coupon-chip {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #f1f5f9;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    padding: 3px 8px;

    font-size: 12px;

    font-family: monospace;

    font-weight: 700;

    color: #0f172a;

    margin-right: 8px;

    cursor: pointer;

    transition: all 0.15s ease;

}



.dk-table-coupon-chip:hover {

    background: #fee2e2;

    border-color: #fca5a5;

    color: #ef394e;

}



/* Coupon Success Celebratory Modal */

.dk-celebrate-box {

    text-align: center;

}



.dk-celebrate-icon {

    width: 68px;

    height: 68px;

    margin: 0 auto 16px auto;

    background: #fef2f2;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    animation: bouncePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}



@keyframes bouncePop {

    0% { transform: scale(0.3); opacity: 0; }

    70% { transform: scale(1.1); }

    100% { transform: scale(1); opacity: 1; }

}



.dk-celebrate-title {

    margin: 0 0 8px 0;

    font-size: 20px;

    font-weight: 900;

    color: #0f172a;

}



.dk-celebrate-subtitle {

    margin: 0 0 20px 0;

    font-size: 13.5px;

    color: #64748b;

    line-height: 1.6;

}



.dk-celebrate-voucher-card {

    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);

    border: 2px dashed #ef394e;

    border-radius: 18px;

    padding: 20px;

    margin-bottom: 20px;

    position: relative;

}



.dk-celebrate-amount {

    font-size: 22px;

    font-weight: 900;

    color: #ef394e;

    margin-bottom: 8px;

}



.dk-celebrate-code-box {

    background: #ffffff;

    border: 1px solid #fecaca;

    border-radius: 12px;

    padding: 10px 16px;

    font-family: monospace, inherit;

    font-size: 20px;

    font-weight: 900;

    letter-spacing: 2px;

    color: #0f172a;

    display: inline-block;

    margin-bottom: 12px;

    box-shadow: 0 2px 8px rgba(239, 57, 78, 0.08);

}



.dk-celebrate-meta {

    font-size: 12px;

    color: #64748b;

}



.dk-celebrate-copy-big-btn {

    width: 100%;

    padding: 12px 18px;

    background: #ef394e;

    color: #ffffff;

    border: none;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.25);

    transition: all 0.2s ease;

    margin-bottom: 10px;

}



.dk-celebrate-copy-big-btn:hover {

    background: #d82b3f;

    transform: translateY(-1px);

}



.dk-celebrate-copy-big-btn.copied {

    background: #059669 !important;

    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25) !important;

}



.dk-celebrate-shop-link {

    display: inline-block;

    width: 100%;

    padding: 11px 18px;

    background: #f8fafc;

    color: #334155;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    font-size: 13.5px;

    font-weight: 700;

    text-align: center;

    text-decoration: none;

    transition: all 0.15s ease;

}



.dk-celebrate-shop-link:hover {

    background: #f1f5f9;

    color: #0f172a;

}



/* ==========================================================================

   PersianShop Magazine & Search Results Grid + Sidebar (PersianShop Mag Style)

   ========================================================================== */



/* 1. Article & Search Post Cards */

.ps-post-card-item {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}



.ps-post-card-item:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);

    border-color: #cbd5e1;

}



.ps-card-media-wrap {

    position: relative;

    width: 100%;

    height: 220px;

    overflow: hidden;

    background: #f1f5f9;

}



.ps-card-media-link {

    display: block;

    width: 100%;

    height: 100%;

}



.ps-card-img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;

}



.ps-post-card-item:hover .ps-card-img {

    transform: scale(1.05);

}



.ps-card-badge {

    position: absolute;

    top: 12px;

    right: 12px;

    background: rgba(239, 57, 78, 0.92);

    backdrop-filter: blur(4px);

    color: #ffffff !important;

    font-size: 11.5px;

    font-weight: 700;

    padding: 4px 12px;

    border-radius: 20px;

    text-decoration: none;

    z-index: 2;

    box-shadow: 0 2px 8px rgba(239, 57, 78, 0.3);

}



.ps-card-body-wrap {

    padding: 20px 22px 22px;

    display: flex;

    flex-direction: column;

    flex: 1;

}



.ps-card-meta-row {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 6px;

    font-size: 11.5px;

    color: #64748b;

    margin-bottom: 12px;

    font-weight: 600;

}



.ps-card-date {

    color: #475569;

    font-weight: 700;

}



.ps-meta-sep {

    color: #cbd5e1;

}



.ps-card-readtime {

    color: #94a3b8;

}



.ps-card-title {

    margin: 0 0 12px 0;

    font-size: 16px;

    font-weight: 800;

    line-height: 1.6;

    color: #0f172a;

}



.ps-card-title a {

    color: inherit;

    text-decoration: none;

    transition: color 0.2s;

}



.ps-card-title a:hover {

    color: #ef394e;

}



.ps-card-excerpt {

    font-size: 13px;

    color: #64748b;

    line-height: 1.8;

    margin-bottom: 20px;

    flex: 1;

}



.ps-card-footer-row {

    margin-top: auto;

    padding-top: 14px;

    border-top: 1px solid #f1f5f9;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.ps-card-author {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    font-weight: 700;

    color: #334155;

}



.ps-author-avatar-mini img {

    width: 26px;

    height: 26px;

    border-radius: 50%;

    object-fit: cover;

    display: block;

}



.ps-card-more-btn {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    font-size: 12px;

    font-weight: 700;

    color: #ef394e;

    text-decoration: none;

    transition: gap 0.2s;

}



.ps-card-more-btn:hover {

    gap: 9px;

}



/* 2. Magazine & Search Sidebar */

.ps-article-sidebar-col {

    display: flex;

    flex-direction: column;

    gap: 24px;

}



.ps-sidebar-box {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    padding: 22px 24px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);

}



.ps-sidebar-title {

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 16px 0;

    padding-bottom: 12px;

    border-bottom: 2px solid #f1f5f9;

    position: relative;

}



.ps-sidebar-title::after {

    content: '';

    position: absolute;

    bottom: -2px;

    right: 0;

    width: 32px;

    height: 2px;

    background: #ef394e;

    border-radius: 2px;

}



.ps-side-cat-list {

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.ps-side-cat-list li a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 9px 12px;

    border-radius: 10px;

    background: #f8fafc;

    color: #334155;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition: all 0.2s ease;

}



.ps-side-cat-list li a:hover {

    background: #fef2f2;

    color: #ef394e;

    transform: translateX(-3px);

}



.ps-side-count {

    font-size: 11px;

    background: #ffffff;

    color: #64748b;

    padding: 2px 8px;

    border-radius: 12px;

    border: 1px solid #e2e8f0;

}



.ps-side-popular-list {

    display: flex;

    flex-direction: column;

    gap: 14px;

}



.ps-side-pop-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 8px;

    border-radius: 12px;

    transition: background 0.2s;

    background: #fafafa;

    border: 1px solid #f1f5f9;

}



.ps-side-pop-item:hover {

    background: #f1f5f9;

}



.ps-side-pop-thumb {

    width: 68px;

    height: 68px;

    min-width: 68px;

    border-radius: 10px;

    overflow: hidden;

    background: #e2e8f0;

    display: block;

    flex-shrink: 0;

}



.ps-side-pop-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.3s;

    display: block;

}



.ps-side-pop-item:hover .ps-side-pop-thumb img {

    transform: scale(1.08);

}



.ps-side-pop-info {

    flex: 1;

    min-width: 0;

}



.ps-side-pop-info h4 {

    margin: 0 0 6px 0;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.5;

}



.ps-side-pop-info h4 a {

    color: #1e293b;

    text-decoration: none;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    transition: color 0.2s;

}



.ps-side-pop-info h4 a:hover {

    color: #ef394e;

}



.ps-side-pop-date {

    font-size: 11px;

    color: #64748b;

    font-weight: 600;

    display: block;

    line-height: 1.4;

}



.ps-sidebar-banner-card {

    background: linear-gradient(135deg, #ef394e 0%, #b91c1c 100%);

    color: #ffffff;

    border-radius: 18px;

    padding: 26px 22px;

    text-align: center;

    box-shadow: 0 10px 25px rgba(239, 57, 78, 0.25);

    position: relative;

    overflow: hidden;

}



.ps-sbc-badge {

    display: inline-block;

    font-size: 11px;

    font-weight: 800;

    background: rgba(255, 255, 255, 0.22);

    color: #fff;

    padding: 4px 12px;

    border-radius: 20px;

    margin-bottom: 12px;

}



.ps-sidebar-banner-card h4 {

    margin: 0 0 8px 0;

    font-size: 16px;

    font-weight: 900;

    color: #ffffff;

    line-height: 1.5;

}



.ps-sidebar-banner-card p {

    margin: 0 0 18px 0;

    font-size: 12.5px;

    opacity: 0.92;

    line-height: 1.6;

}



.ps-sbc-btn {

    display: inline-block;

    background: #ffffff;

    color: #ef394e !important;

    font-weight: 800;

    font-size: 13px;

    padding: 10px 20px;

    border-radius: 10px;

    text-decoration: none;

    transition: all 0.2s;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}



.ps-sbc-btn:hover {

    background: #fff5f5;

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);

}



/* ==========================================================================

   DigiKala Fresh Supermarket Shelf Widget Styles

   ========================================================================== */

.dk-supermarket-box,

.dk-supermarket-fresh-shelf {

    background: linear-gradient(135deg, #029a4b 0%, #00b853 100%);

    border-radius: 20px;

    padding: 16px 24px;

    margin: 24px auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    box-shadow: 0 8px 24px rgba(2, 154, 75, 0.22);

    box-sizing: border-box;

    width: 100%;

}



.dk-supermarket-lead {

    display: flex;

    flex-direction: column;

    gap: 6px;

    min-width: 220px;

}



.dk-supermarket-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(255, 255, 255, 0.22);

    color: #ffffff;

    font-size: 15px;

    font-weight: 900;

    padding: 6px 14px;

    border-radius: 30px;

    width: fit-content;

}



.dk-supermarket-badge svg {

    flex-shrink: 0;

}



.dk-supermarket-text {

    color: #ffffff;

    font-size: 12.5px;

    font-weight: 600;

    opacity: 0.95;

    white-space: nowrap;

}



.dk-supermarket-products-track {

    display: flex;

    align-items: center;

    gap: 16px;

    flex: 1;

    justify-content: center;

    overflow-x: auto;

    padding: 6px 0;

    scrollbar-width: none;

}



.dk-supermarket-products-track::-webkit-scrollbar {

    display: none;

}



.dk-fresh-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-decoration: none;

    flex-shrink: 0;

    transition: transform 0.2s ease;

}



.dk-fresh-item:hover {

    transform: translateY(-4px);

}



.dk-fresh-thumb-wrap {

    position: relative;

    width: 68px;

    height: 68px;

    border-radius: 50%;

    background: #ffffff;

    padding: 4px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);

    box-sizing: border-box;

}



.dk-fresh-thumb-wrap img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    border-radius: 50%;

    display: block;

}



.dk-fresh-badge {

    position: absolute;

    bottom: -2px;

    right: -2px;

    background: #029a4b;

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    padding: 2px 6px;

    border-radius: 12px;

    border: 2px solid #ffffff;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);

}



.dk-fresh-name {

    font-size: 11px;

    color: #ffffff;

    font-weight: 600;

    text-align: center;

    margin-top: 6px;

    max-width: 85px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.dk-supermarket-btn {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #ffffff;

    color: #029a4b !important;

    font-size: 13px;

    font-weight: 800;

    padding: 10px 20px;

    border-radius: 30px;

    text-decoration: none;

    white-space: nowrap;

    flex-shrink: 0;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);

    transition: all 0.2s ease;

}



.dk-supermarket-btn:hover {

    background: #f0fdf4;

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);

}



body.ps-is-mobile-view .dk-supermarket-box.dk-supermarket-fresh-shelf,

body.ps-is-mobile-view .dk-supermarket-fresh-shelf,

.ps-mobile-home-wrapper .dk-supermarket-fresh-shelf,

@media (max-width: 991px) {

    .dk-supermarket-box.dk-supermarket-fresh-shelf,

    .dk-supermarket-fresh-shelf {

        flex-direction: column !important;

        align-items: stretch !important;

        padding: 16px 14px !important;

        gap: 14px !important;

        border-radius: 16px !important;

        box-sizing: border-box !important;

        width: 100% !important;

        overflow: hidden !important;

    }

    body.ps-is-mobile-view .dk-supermarket-lead,

    .dk-supermarket-lead {

        width: 100% !important;

        min-width: 0 !important;

        align-items: center !important;

        text-align: center !important;

        gap: 8px !important;

    }

    body.ps-is-mobile-view .dk-supermarket-lead-inner,

    .dk-supermarket-lead-inner {

        display: flex !important;

        flex-direction: column !important;

        align-items: center !important;

        text-align: center !important;

        gap: 6px !important;

        width: 100% !important;

    }

    body.ps-is-mobile-view .dk-supermarket-badge,

    .dk-supermarket-badge {

        font-size: 13.5px !important;

        padding: 5px 14px !important;

        justify-content: center !important;

        margin: 0 auto !important;

    }

    body.ps-is-mobile-view .dk-supermarket-text,

    .dk-supermarket-text {

        font-size: 12px !important;

        line-height: 1.6 !important;

        text-align: center !important;

        white-space: normal !important;

        width: 100% !important;

        word-break: break-word !important;

        opacity: 0.95 !important;

    }

    body.ps-is-mobile-view .dk-supermarket-products-track,

    .dk-supermarket-products-track {

        display: flex !important;

        flex-wrap: nowrap !important;

        overflow-x: auto !important;

        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch !important;

        touch-action: pan-x !important;

        width: 100% !important;

        justify-content: flex-start !important;

        padding: 6px 2px 10px !important;

        gap: 12px !important;

        scrollbar-width: none !important;

    }

    body.ps-is-mobile-view .dk-supermarket-products-track::-webkit-scrollbar,

    .dk-supermarket-products-track::-webkit-scrollbar {

        display: none !important;

    }

    body.ps-is-mobile-view .dk-fresh-item,

    .dk-fresh-item {

        flex: 0 0 72px !important;

        width: 72px !important;

        flex-shrink: 0 !important;

    }

    body.ps-is-mobile-view .dk-fresh-thumb-wrap,

    .dk-fresh-thumb-wrap {

        width: 62px !important;

        height: 62px !important;

        border-radius: 50% !important;

        overflow: hidden !important;

        background: #ffffff !important;

        padding: 3px !important;

        margin: 0 auto !important;

        box-sizing: border-box !important;

        position: relative !important;

    }

    body.ps-is-mobile-view .dk-fresh-thumb-wrap img,

    .dk-fresh-thumb-wrap img {

        width: 100% !important;

        height: 100% !important;

        object-fit: contain !important;

        border-radius: 50% !important;

        display: block !important;

    }

    body.ps-is-mobile-view .dk-fresh-badge,

    .dk-fresh-badge {

        font-size: 10px !important;

        padding: 1px 5px !important;

        bottom: -2px !important;

        right: -2px !important;

        border-radius: 10px !important;

    }

    body.ps-is-mobile-view .dk-fresh-name,

    .dk-fresh-name {

        font-size: 10.5px !important;

        color: #ffffff !important;

        font-weight: 600 !important;

        text-align: center !important;

        margin-top: 5px !important;

        max-width: 72px !important;

        white-space: nowrap !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;

    }

    body.ps-is-mobile-view .dk-supermarket-btn,

    .dk-supermarket-btn {

        width: 100% !important;

        justify-content: center !important;

        padding: 11px 16px !important;

        border-radius: 12px !important;

        font-size: 13.5px !important;

        font-weight: 800 !important;

        box-sizing: border-box !important;

        text-align: center !important;

    }

}



/* ==========================================================================

   New Enterprise & Conversion Features (CRO & UX Upgrades)

   ========================================================================== */



/* 1. Free Shipping Progress Bar (Cart Drawer, Cart Page & Checkout) */

.ps-free-shipping-bar-wrap {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 12px 16px;

    margin-bottom: 16px;

    box-shadow: 0 1px 3px rgba(0,0,0,0.03);

    transition: all 0.3s ease;

    box-sizing: border-box;

    position: relative;

}

.ps-free-shipping-bar-wrap.context-drawer {

    margin: 10px 16px 14px;

    padding: 10px 14px;

    border-radius: 10px;

}

.ps-free-shipping-bar-wrap.context-cart-page {

    margin-bottom: 18px;

    border-radius: 14px;

    padding: 14px 18px;

}

.ps-free-shipping-bar-wrap.context-checkout {

    margin-bottom: 18px;

    border-radius: 14px;

    padding: 12px 16px;

}

.ps-free-shipping-bar-wrap.is-free-shipping-reached {

    background: #ecfdf5;

    border-color: #6ee7b7;

    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12);

}

.ps-fs-bar-header {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    color: #1e293b;

    margin-bottom: 8px;

    line-height: 1.4;

}

.ps-fs-icon {

    font-size: 18px;

    line-height: 1;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}

.ps-fs-pulse-icon {

    animation: psFsPulse 1.4s infinite ease-in-out;

}

@keyframes psFsPulse {

    0%, 100% { transform: scale(1); }

    50% { transform: scale(1.25); }

}

.ps-fs-bar-header strong {

    color: #059669;

    font-weight: 800;

}

.is-free-shipping-reached .ps-fs-bar-header strong {

    color: #047857;

}

.ps-fs-progress-track {

    background: #e2e8f0;

    border-radius: 99px;

    height: 9px;

    position: relative;

    overflow: hidden;

}

.ps-fs-progress-fill {

    background: linear-gradient(90deg, #10b981 0%, #059669 50%, #34d399 75%, #10b981 100%);

    background-size: 200% 100%;

    animation: psFsShimmer 2.5s infinite linear;

    height: 100%;

    border-radius: 99px;

    position: relative;

    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    display: flex;

    align-items: center;

    justify-content: flex-end;

}

@keyframes psFsShimmer {

    0% { background-position: 200% 0; }

    100% { background-position: -200% 0; }

}

.is-free-shipping-reached .ps-fs-progress-fill {

    background: #10b981;

    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);

}

.ps-fs-percent-badge {

    font-size: 9px;

    font-weight: 800;

    color: #ffffff;

    padding: 0 4px;

    line-height: 9px;

    white-space: nowrap;

}

/* Dark mode compatibility */

.dark .ps-free-shipping-bar-wrap,

body.dark .ps-free-shipping-bar-wrap,

html.dark .ps-free-shipping-bar-wrap {

    background: #1f2937 !important;

    border-color: #374151 !important;

    box-shadow: 0 2px 8px rgba(0,0,0,0.25) !important;

}

.dark .ps-free-shipping-bar-wrap.is-free-shipping-reached,

body.dark .ps-free-shipping-bar-wrap.is-free-shipping-reached,

html.dark .ps-free-shipping-bar-wrap.is-free-shipping-reached {

    background: rgba(16, 185, 129, 0.14) !important;

    border-color: rgba(52, 211, 153, 0.35) !important;

    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2) !important;

}

.dark .ps-fs-bar-header,

body.dark .ps-fs-bar-header,

html.dark .ps-fs-bar-header {

    color: #f1f5f9 !important;

}

.dark .ps-fs-bar-header strong,

body.dark .ps-fs-bar-header strong,

html.dark .ps-fs-bar-header strong {

    color: #34d399 !important;

}

.dark .ps-fs-progress-track,

body.dark .ps-fs-progress-track,

html.dark .ps-fs-progress-track {

    background: #374151 !important;

}



/* ==========================================================================

   Dark Mode: Cart Drawer, Cart Page & Checkout Components

   ========================================================================== */

.dark-theme #ps-cart-drawer,

body.dark #ps-cart-drawer,

.dark #ps-cart-drawer {

    background: #111827 !important;

    border-right: 1px solid #1f2937 !important;

}

.dark-theme .ps-cart-drawer-header,

body.dark .ps-cart-drawer-header,

.dark .ps-cart-drawer-header {

    background: #111827 !important;

    border-bottom: 1px solid #1f2937 !important;

}

.dark-theme .ps-cart-drawer-title-wrap h3,

body.dark .ps-cart-drawer-title-wrap h3,

.dark .ps-cart-drawer-title-wrap h3 {

    color: #f9fafb !important;

}

.dark-theme .ps-cart-drawer-close,

body.dark .ps-cart-drawer-close,

.dark .ps-cart-drawer-close {

    background: #1f2937 !important;

    border-color: #374151 !important;

    color: #9ca3af !important;

}

.dark-theme .ps-cart-drawer-item,

body.dark .ps-cart-drawer-item,

.dark .ps-cart-drawer-item {

    background: #1f2937 !important;

    border-color: #374151 !important;

}

.dark-theme .ps-cd-item-title,

body.dark .ps-cd-item-title,

.dark .ps-cd-item-title {

    color: #f3f4f6 !important;

}

.dark-theme .ps-cd-qty-selector,

body.dark .ps-cd-qty-selector,

.dark .ps-cd-qty-selector {

    background: #111827 !important;

    border-color: #374151 !important;

}

.dark-theme .ps-cd-qty-val,

body.dark .ps-cd-qty-val,

.dark .ps-cd-qty-val {

    color: #f3f4f6 !important;

}

.dark-theme .ps-cd-qty-btn,

body.dark .ps-cd-qty-btn,

.dark .ps-cd-qty-btn {

    color: #9ca3af !important;

}

.dark-theme .ps-cart-drawer-footer,

body.dark .ps-cart-drawer-footer,

.dark .ps-cart-drawer-footer {

    background: #111827 !important;

    border-top: 1px solid #1f2937 !important;

}

.dark-theme .ps-cd-total-row,

body.dark .ps-cd-total-row,

.dark .ps-cd-total-row {

    color: #9ca3af !important;

}

.dark-theme .ps-cd-btn-view-cart,

body.dark .ps-cd-btn-view-cart,

.dark .ps-cd-btn-view-cart {

    background: #1f2937 !important;

    border-color: #374151 !important;

    color: #e5e7eb !important;

}

.dark-theme .ps-cart-drawer-empty,

body.dark .ps-cart-drawer-empty,

.dark .ps-cart-drawer-empty {

    color: #9ca3af !important;

}

.dark-theme .ps-cart-drawer-empty h4,

body.dark .ps-cart-drawer-empty h4,

.dark .ps-cart-drawer-empty h4 {

    color: #f9fafb !important;

}



/* Dark Mode Cart Page */

.dark-theme .dk-cart-page,

body.dark .dk-cart-page,

.dark .dk-cart-page {

    color: #f3f4f6;

}

.dark-theme .dk-cart-header-strip,

body.dark .dk-cart-header-strip,

.dark .dk-cart-header-strip {

    background: #1f2937 !important;

    border-color: #374151 !important;

}

.dark-theme .dk-cart-header-strip h3,

body.dark .dk-cart-header-strip h3,

.dark .dk-cart-header-strip h3 {

    color: #f9fafb !important;

}

.dark-theme .dk-cart-item-card,

body.dark .dk-cart-item-card,

.dark .dk-cart-item-card {

    background: #1f2937 !important;

    border-color: #374151 !important;

}

.dark-theme .dk-cart-item-title a,

body.dark .dk-cart-item-title a,

.dark .dk-cart-item-title a {

    color: #f3f4f6 !important;

}

.dark-theme .dk-cart-item-meta,

body.dark .dk-cart-item-meta,

.dark .dk-cart-item-meta {

    color: #9ca3af !important;

}

.dark-theme .dk-cart-qty-wrap,

body.dark .dk-cart-qty-wrap,

.dark .dk-cart-qty-wrap {

    background: #111827 !important;

    border-color: #374151 !important;

}

.dark-theme .dk-qty-input,

body.dark .dk-qty-input,

.dark .dk-qty-input {

    background: #111827 !important;

    color: #f3f4f6 !important;

}

.dark-theme .dk-qty-btn,

body.dark .dk-qty-btn,

.dark .dk-qty-btn {

    color: #9ca3af !important;

}

.dark-theme .dk-invoice-card,

body.dark .dk-invoice-card,

.dark .dk-invoice-card {

    background: #1f2937 !important;

    border-color: #374151 !important;

}

.dark-theme .dk-invoice-title,

body.dark .dk-invoice-title,

.dark .dk-invoice-title {

    color: #f9fafb !important;

}

.dark-theme .dk-invoice-row,

body.dark .dk-invoice-row,

.dark .dk-invoice-row {

    color: #9ca3af !important;

}

.dark-theme .dk-invoice-row .value,

body.dark .dk-invoice-row .value,

.dark .dk-invoice-row .value {

    color: #f3f4f6 !important;

}

.dark-theme .dk-empty-cart-card,

body.dark .dk-empty-cart-card,

.dark .dk-empty-cart-card {

    background: #1f2937 !important;

    border-color: #374151 !important;

}

.dark-theme .dk-empty-cart-title,

body.dark .dk-empty-cart-title,

.dark .dk-empty-cart-title {

    color: #f9fafb !important;

}

.dark-theme .dk-empty-cart-desc,

body.dark .dk-empty-cart-desc,

.dark .dk-empty-cart-desc {

    color: #9ca3af !important;

}



/* Dark Mode Checkout Page */

.dark-theme .dk-checkout-card,

body.dark .dk-checkout-card,

.dark .dk-checkout-card {

    background: #1f2937 !important;

    border-color: #374151 !important;

}

.dark-theme .dk-card-header,

body.dark .dk-card-header,

.dark .dk-card-header {

    border-color: #374151 !important;

}

.dark-theme .dk-card-header h3,

body.dark .dk-card-header h3,

.dark .dk-card-header h3 {

    color: #f9fafb !important;

}

.dark-theme .dk-form-group label,

body.dark .dk-form-group label,

.dark .dk-form-group label {

    color: #cbd5e1 !important;

}

.dark-theme .dk-form-input,

body.dark .dk-form-input,

.dark .dk-form-input,

.dark-theme .dk-form-select,

body.dark .dk-form-select,

.dark .dk-form-select {

    background: #111827 !important;

    border-color: #374151 !important;

    color: #f3f4f6 !important;

}



/* 2. Stock Urgency Box (Single Product Buy Box) */

.ps-stock-urgency-box {

    background: #fff1f2;

    border: 1px solid #ffe4e6;

    border-radius: 12px;

    padding: 10px 14px;

    margin-bottom: 14px;

}

.ps-su-header {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12.5px;

    color: #e11d48;

    font-weight: 600;

    margin-bottom: 6px;

}

.ps-su-flame {

    font-size: 16px;

    animation: psFlamePulse 1.2s infinite alternate;

}

@keyframes psFlamePulse {

    0% { transform: scale(1); }

    100% { transform: scale(1.25); }

}

.ps-su-track {

    width: 100%;

    height: 5px;

    background: #fecdd3;

    border-radius: 5px;

    overflow: hidden;

}

.ps-su-bar {

    height: 100%;

    background: linear-gradient(90deg, #f43f5e, #e11d48);

    border-radius: 5px;

}



/* 3. Size Guide Button & Modal */

.ps-btn-size-guide {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 8px 12px;

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

    cursor: pointer;

    margin-bottom: 14px;

    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

    box-sizing: border-box;

    text-decoration: none;

}

.ps-btn-size-guide:hover {

    background: #f1f5f9;

    border-color: #cbd5e1;

    color: #0f172a;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);

    transform: translateY(-1px);

}

.ps-sg-btn-start {

    display: flex;

    align-items: center;

    gap: 9px;

}

.ps-sg-icon-wrap {

    width: 28px;

    height: 28px;

    border-radius: 7px;

    background: #e0f2fe;

    color: #0284c7;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    transition: all 0.2s ease;

}

.ps-btn-size-guide:hover .ps-sg-icon-wrap {

    background: #0284c7;

    color: #ffffff;

}

.ps-sg-btn-title {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

}

.ps-btn-size-guide:hover .ps-sg-btn-title {

    color: #0f172a;

}

.ps-sg-btn-end {

    display: flex;

    align-items: center;

    gap: 4px;

    color: #64748b;

    font-size: 11.5px;

    font-weight: 600;

    transition: all 0.2s ease;

}

.ps-sg-arrow {

    transition: transform 0.2s ease;

}

.ps-btn-size-guide:hover .ps-sg-btn-end {

    color: #0284c7;

}

.ps-btn-size-guide:hover .ps-sg-arrow {

    transform: translateX(-3px);

}

.ps-sizeguide-modal {

    max-width: 600px !important;

    width: 90% !important;

}

.ps-sizeguide-body {

    padding: 20px;

}

.ps-sg-tabs {

    display: flex;

    gap: 8px;

    border-bottom: 1px solid #e2e8f0;

    padding-bottom: 12px;

    margin-bottom: 16px;

    overflow-x: auto;

}

.ps-sg-tab {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 6px 14px;

    font-size: 12px;

    color: #475569;

    font-weight: 600;

    cursor: pointer;

    white-space: nowrap;

    transition: all 0.2s ease;

}

.ps-sg-tab.active {

    background: #ef394e;

    color: #fff;

    border-color: #ef394e;

}

.ps-sg-table {

    width: 100%;

    border-collapse: collapse;

    font-size: 12.5px;

    text-align: center;

}

.ps-sg-table th {

    background: #f8fafc;

    color: #334155;

    padding: 10px;

    border: 1px solid #e2e8f0;

    font-weight: 700;

}

.ps-sg-table td {

    padding: 9px;

    border: 1px solid #e2e8f0;

    color: #475569;

}

.ps-sg-table tbody tr:nth-child(even) {

    background: #fcfcfd;

}

.ps-sg-footer-note {

    margin-top: 14px;

    font-size: 11.5px;

    color: #64748b;

    background: #f1f5f9;

    padding: 10px 14px;

    border-radius: 8px;

    line-height: 1.6;

}



/* 4. Frequently Bought Together (خرید با هم این اقلام) */

.ps-bought-together-section {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 24px;

    margin-bottom: 24px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

}

.ps-fbt-header {

    margin-bottom: 20px;

    border-bottom: 1px solid #f1f5f9;

    padding-bottom: 14px;

}

.ps-fbt-title-row {

    display: flex;

    align-items: center;

    gap: 8px;

}

.ps-fbt-title-row h3 {

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

    margin: 0;

}

.ps-fbt-sub {

    font-size: 12.5px;

    color: #64748b;

    margin: 4px 0 0;

}

.ps-fbt-container {

    display: flex;

    gap: 24px;

    align-items: center;

}

@media (max-width: 991px) {

    .ps-fbt-container {

        flex-direction: column;

        align-items: stretch;

    }

}

.ps-fbt-items-col {

    flex: 1;

}

.ps-fbt-cards-row {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

    margin-bottom: 18px;

}

.ps-fbt-card {

    display: flex;

    align-items: center;

    gap: 10px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 10px;

    max-width: 250px;

    flex: 1 1 200px;

    transition: opacity 0.2s ease, transform 0.2s ease;

}

.ps-fbt-card.is-unchecked {

    opacity: 0.45;

    filter: grayscale(0.5);

}

.ps-fbt-card-img {

    width: 60px;

    height: 60px;

    background: #fff;

    border-radius: 8px;

    padding: 4px;

    flex-shrink: 0;

}

.ps-fbt-card-img img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}

.ps-fbt-card-info {

    display: flex;

    flex-direction: column;

    gap: 3px;

    min-width: 0;

}

.ps-fbt-badge {

    font-size: 10px;

    background: #eff6ff;

    color: #2563eb;

    padding: 1px 6px;

    border-radius: 4px;

    width: fit-content;

    font-weight: 700;

}

.ps-fbt-card-title {

    font-size: 12px;

    font-weight: 600;

    color: #1e293b;

    line-height: 1.4;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    text-decoration: none;

}

.ps-fbt-card-price {

    font-size: 12px;

    font-weight: 700;

    color: #ef394e;

}

.ps-fbt-plus-icon {

    font-size: 22px;

    font-weight: 800;

    color: #94a3b8;

    line-height: 1;

}

.ps-fbt-checkboxes-list {

    display: flex;

    flex-direction: column;

    gap: 8px;

    font-size: 12.5px;

    color: #334155;

}

.ps-fbt-checkbox-label {

    display: flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

}

.ps-fbt-checkbox-label input[type="checkbox"] {

    accent-color: var(--ps-primary, #ef394e);

    width: 16px;

    height: 16px;

    cursor: pointer;

}

.ps-fbt-summary-col {

    width: 260px;

    flex-shrink: 0;

}

@media (max-width: 991px) {

    .ps-fbt-summary-col {

        width: 100%;

    }

}

.ps-fbt-summary-box {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 18px;

    text-align: center;

}

.ps-fbt-sum-label {

    font-size: 12px;

    color: #64748b;

    display: block;

    margin-bottom: 6px;

}

.ps-fbt-sum-prices {

    display: flex;

    align-items: baseline;

    justify-content: center;

    gap: 4px;

    margin-bottom: 14px;

}

.ps-fbt-total-val {

    font-size: 20px;

    font-weight: 800;

    color: #0f172a;

}

.ps-fbt-curr {

    font-size: 12px;

    color: #64748b;

}

.ps-fbt-add-all-btn {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    background-image: linear-gradient(135deg, var(--ps-btn-primary, var(--ps-primary, #ef394e)) 0%, var(--ps-primary-hover, #d82b40) 100%);

    color: #fff;

    border: none;

    border-radius: 10px;

    padding: 12px 16px;

    font-size: 13.5px;

    font-weight: 700;

    cursor: pointer;

    font-family: inherit;

    box-shadow: 0 4px 14px rgba(var(--ps-primary-rgb, 239, 57, 78), 0.3);

    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;

}

.ps-fbt-add-all-btn:hover {

    background: var(--ps-primary-hover, #e0243a);

    background-image: linear-gradient(135deg, var(--ps-primary-hover, #e0243a) 0%, var(--ps-btn-primary, var(--ps-primary, #ef394e)) 100%);

    box-shadow: 0 6px 18px rgba(var(--ps-primary-rgb, 239, 57, 78), 0.4);

    transform: translateY(-1px);

}

.ps-fbt-add-all-btn.loading {

    opacity: 0.75;

    pointer-events: none;

}



/* 5. Back to Top Progress Ring Button */

.ps-back-to-top-wrap {

    position: fixed;

    bottom: 24px;

    left: 24px;

    z-index: 9999;

    width: 46px;

    height: 46px;

    cursor: pointer;

    transition: opacity 0.3s ease, transform 0.3s ease, bottom 0.3s ease, right 0.3s ease, left 0.3s ease;

}



/* Single Product Page: Position symmetrically on the opposite side (right) to avoid overlapping Floating Support (WhatsApp) and Sticky Buy Buttons */

body.single-product .ps-back-to-top-wrap {

    bottom: 86px;

    right: 24px;

    left: auto;

}



/* If floating support is explicitly positioned on the right, dynamically flip back-to-top to the left */

body.single-product .ps-floating-support-widget.pos-right ~ .ps-back-to-top-wrap {

    right: auto;

    left: 24px;

}



@media (max-width: 768px) {

    .ps-back-to-top-wrap {

        bottom: 74px; /* Above mobile bottom bar */

        left: 16px;

    }

    body.single-product .ps-back-to-top-wrap {

        bottom: 135px; /* Symmetrical with mobile floating support at 135px */

        right: 16px;

        left: auto;

    }

    body.single-product .ps-floating-support-widget.pos-right ~ .ps-back-to-top-wrap {

        right: auto;

        left: 16px;

    }

}

.ps-btt-progress-ring {

    position: absolute;

    top: 0;

    left: 0;

    transform: rotate(-90deg);

}

.ps-btt-ring-fill {

    stroke: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    transition: stroke-dashoffset 0.15s ease;

}

.ps-btt-btn {

    position: absolute;

    top: 3px;

    left: 3px;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: #ffffff;

    border: none;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--ps-btn-primary, var(--ps-primary, #0f172a));

    cursor: pointer;

    transition: all 0.2s ease;

}

.ps-btt-btn:hover {

    background: var(--ps-btn-primary, var(--ps-primary, #ef394e));

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(var(--ps-btn-primary-rgb, var(--ps-primary-rgb, 239, 57, 78)), 0.35);

}



/* 6. Recent Searches Chips (Mobile Search Modal) */

.ps-mso-clear-history-btn {

    background: none;

    border: none;

    color: #94a3b8;

    font-size: 11.5px;

    cursor: pointer;

    font-family: inherit;

    padding: 0;

    transition: color 0.15s;

}

.ps-mso-clear-history-btn:hover {

    color: #ef4444;

}

.ps-mso-recent-chips {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}

.ps-mso-recent-chip {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #f1f5f9;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 6px 12px;

    font-size: 12px;

    color: #334155;

    cursor: pointer;

    transition: all 0.15s;

}

.ps-mso-recent-chip:hover {

    background: #e2e8f0;

}

.ps-mso-chip-remove {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 16px;

    height: 16px;

    border-radius: 50%;

    color: #94a3b8;

    font-size: 12px;

    margin-right: 2px;

    transition: color 0.15s;

}

.ps-mso-chip-remove:hover {

    color: #ef4444;

}



/* ==========================================================================

   Commercial Suite: Other Sellers Comparison Card

   ========================================================================== */

.dk-other-sellers-card {

    background: #ffffff;

    border: 1px solid var(--dk-border, #e0e0e2);

    border-radius: 16px;

    padding: 24px;

    margin: 32px 0;

    box-shadow: 0 2px 8px rgba(0,0,0,0.03);

}



.dk-os-header {

    border-bottom: 1px solid #f1f2f4;

    padding-bottom: 16px;

    margin-bottom: 20px;

}



.dk-os-title-wrap {

    display: flex;

    align-items: center;

    gap: 10px;

}



.dk-os-title-wrap h3 {

    margin: 0;

    font-size: 16px;

    font-weight: 800;

    color: var(--dk-text-title, #0f172a);

}



.dk-os-count {

    background: #f1f5f9;

    color: #475569;

    font-size: 11px;

    font-weight: 700;

    padding: 3px 10px;

    border-radius: 12px;

}



.dk-os-subtitle {

    display: block;

    font-size: 12px;

    color: #81858b;

    margin-top: 6px;

}



.dk-os-rows {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.dk-os-row {

    display: grid;

    grid-template-columns: 2fr 1.6fr 1.6fr 1.8fr;

    align-items: center;

    gap: 16px;

    padding: 16px;

    border: 1px solid #f1f2f4;

    border-radius: 12px;

    background: #fafbfc;

    transition: all 0.2s ease;

}



.dk-os-row:hover {

    background: #fff;

    border-color: #cbd5e1;

    box-shadow: 0 4px 12px rgba(0,0,0,0.05);

}



.dk-os-col-seller {

    display: flex;

    align-items: center;

    gap: 12px;

}



.dk-os-seller-icon {

    width: 38px;

    height: 38px;

    border-radius: 10px;

    background: #fee2e2;

    color: #ef394e;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.dk-os-seller-name {

    font-size: 13px;

    font-weight: 700;

    color: #0f172a;

    display: block;

    margin-bottom: 4px;

}



.dk-os-seller-tags {

    display: flex;

    gap: 6px;

    font-size: 10.5px;

}



.dk-os-badge-perf {

    background: #ecfdf5;

    color: #059669;

    padding: 2px 6px;

    border-radius: 4px;

    font-weight: 700;

}



.dk-os-badge-rating {

    background: #f1f5f9;

    color: #475569;

    padding: 2px 6px;

    border-radius: 4px;

}



.dk-os-lead-inner, .dk-os-warranty-inner {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    color: #475569;

}



.dk-os-col-action {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 16px;

}



.dk-os-price-wrap {

    text-align: left;

}



.dk-os-cheapest-badge {

    display: block;

    font-size: 10px;

    color: #059669;

    font-weight: 700;

    margin-bottom: 2px;

}



.dk-os-price {

    font-size: 15px;

    font-weight: 800;

    color: #ef394e;

}



.dk-os-btn-add {

    background: #ef394e;

    color: #fff;

    border: none;

    border-radius: 8px;

    padding: 10px 18px;

    font-size: 12.5px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s;

    white-space: nowrap;

}



.dk-os-btn-add:hover {

    background: #dc2626;

    transform: translateY(-1px);

}



@media (max-width: 900px) {

    .dk-os-row {

        grid-template-columns: 1fr;

        gap: 12px;

    }

    .dk-os-col-action {

        justify-content: space-between;

        border-top: 1px dashed #e2e8f0;

        padding-top: 10px;

    }

}



/* ==========================================================================

   Commercial Suite: Native OTP SMS Login Modal

   ========================================================================== */

.ps-otp-modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, 0.6);

    backdrop-filter: blur(4px);

    z-index: 99999;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 16px;

}



.ps-otp-modal-overlay.active {

    display: flex;

}



.ps-otp-modal-box {

    background: #ffffff;

    border-radius: 20px;

    width: 100%;

    max-width: 400px;

    padding: 32px 28px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.15);

    position: relative;

    text-align: center;

    animation: psModalFadeIn 0.25s ease;

}



@keyframes psModalFadeIn {

    from { opacity: 0; transform: scale(0.95); }

    to { opacity: 1; transform: scale(1); }

}



.ps-otp-close {

    position: absolute;

    top: 16px;

    left: 16px;

    background: none;

    border: none;

    font-size: 24px;

    color: #94a3b8;

    cursor: pointer;

}



.ps-otp-logo {

    font-size: 22px;

    font-weight: 900;

    color: #ef394e;

    margin-bottom: 8px;

}



.ps-otp-header h3 {

    margin: 0 0 6px 0;

    font-size: 17px;

    color: #0f172a;

}



.ps-otp-header p {

    margin: 0 0 22px 0;

    font-size: 12px;

    color: #64748b;

    line-height: 1.6;

}



.ps-otp-field-wrap {

    box-sizing: border-box;

    width: 100%;

    max-width: 100%;

    display: flex;

    align-items: center;

    border: 1.5px solid #cbd5e1;

    border-radius: 12px;

    padding: 4px 14px;

    margin-bottom: 16px;

    transition: border-color 0.2s;

}



.ps-otp-field-wrap:focus-within {

    border-color: #ef394e;

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.1);

}



.ps-otp-field-wrap input {

    border: none;

    outline: none;

    flex: 1;

    height: 42px;

    font-size: 16px;

    letter-spacing: 1px;

    direction: ltr;

    text-align: center;

}



.ps-otp-btn-submit {

    width: 100%;

    height: 48px;

    background: #ef394e;

    color: #fff;

    border: none;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s;

}



.ps-otp-btn-submit:hover {

    background: #dc2626;

}



.ps-otp-timer-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 12px;

    color: #64748b;

    margin-bottom: 20px;

    padding: 6px 2px;

    gap: 8px;

}



.ps-otp-edit-mobile {

    background: #f1f5f9;

    border: 1px solid #cbd5e1;

    color: #0284c7;

    font-size: 11.5px;

    font-weight: 700;

    padding: 6px 14px;

    border-radius: 20px;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    transition: all 0.2s ease;

    font-family: inherit;

    line-height: 1;

    outline: none;

    box-shadow: 0 1px 2px rgba(0,0,0,0.04);

}



.ps-otp-edit-mobile:hover {

    background: #e0f2fe;

    border-color: #7dd3fc;

    color: #0369a1;

    transform: translateY(-1px);

    box-shadow: 0 3px 6px rgba(2, 132, 199, 0.12);

}



.ps-otp-edit-mobile svg {

    color: #0284c7;

}



.ps-otp-timer-wrap {

    display: flex;

    align-items: center;

    font-size: 12px;

}



#ps-otp-timer-text {

    color: #64748b;

    display: inline-flex;

    align-items: center;

    gap: 4px;

    font-size: 11.5px;

}



#ps-otp-seconds {

    color: #ef394e;

    font-weight: 800;

    font-size: 13px;

}



#ps-otp-resend-btn {

    background: #fff1f2;

    border: 1px solid #fecdd3;

    color: #ef394e;

    font-size: 11.5px;

    font-weight: 700;

    padding: 6px 14px;

    border-radius: 20px;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    transition: all 0.2s ease;

    font-family: inherit;

    line-height: 1;

    outline: none;

    box-shadow: 0 1px 2px rgba(0,0,0,0.04);

}



#ps-otp-resend-btn:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 3px 8px rgba(239, 57, 78, 0.25);

    transform: translateY(-1px);

}



.ps-otp-terms {

    margin-top: 18px;

    font-size: 11px;

    color: #94a3b8;

    line-height: 1.6;

}



.ps-otp-terms a {

    color: #0284c7;

    text-decoration: none;

}



.ps-otp-alert {

    margin-top: 14px;

    padding: 10px;

    border-radius: 8px;

    font-size: 12px;

    line-height: 1.5;

}

.ps-otp-alert.success { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }

.ps-otp-alert.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* Dual Auth Tabs for OTP Login & Register */
.ps-auth-modal-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
    gap: 4px;
}

.ps-auth-modal-tab-btn {
    flex: 1;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ps-auth-modal-tab-btn:hover {
    color: #0f172a;
}

.ps-auth-modal-tab-btn.active {
    background: #ffffff;
    color: #ef394e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ps-auth-modal-tab-btn svg {
    flex-shrink: 0;
}

.ps-auth-pane {
    text-align: right;
}

.ps-auth-subview {
    text-align: right;
}

.ps-auth-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ps-otp-field-label {
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.ps-req {
    color: #ef394e;
}

.ps-btn-submit-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.ps-btn-submit-green:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

.ps-auth-switch-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
    margin-top: 14px;
}

.ps-auth-switch-link {
    background: none;
    border: none;
    color: #ef394e;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    font-family: inherit;
    transition: color 0.15s;
}

.ps-auth-switch-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.ps-auth-switch-link.bold {
    font-weight: 800;
}

.ps-auth-sub-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 12px;
}

.ps-auth-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #475569;
    font-size: 12px;
}

.ps-auth-remember input[type="checkbox"] {
    accent-color: #ef394e;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.ps-auth-forgot {
    color: #64748b;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.15s;
}

.ps-auth-forgot:hover {
    color: #ef394e;
    text-decoration: underline;
}




/* ==========================================================================

   24. Commercial Suite: Back in Stock SMS Alert Modal («موجود شد خبرم کن»)

   ========================================================================== */

.ps-stock-modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(15, 23, 42, 0.7);

    backdrop-filter: blur(4px);

    z-index: 999999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 16px;

    box-sizing: border-box;

}



.ps-stock-modal-box {

    background: #ffffff;

    border-radius: 16px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);

    max-width: 480px;

    width: 100%;

    padding: 28px;

    box-sizing: border-box;

    position: relative;

    animation: psModalPop 0.25s ease-out forwards;

}



@keyframes psModalPop {

    from { opacity: 0; transform: scale(0.92) translateY(10px); }

    to { opacity: 1; transform: scale(1) translateY(0); }

}



.ps-stock-modal-close {

    position: absolute;

    top: 14px;

    left: 14px;

    width: 34px;

    height: 34px;

    border-radius: 50%;

    border: none;

    background: #f1f5f9;

    color: #64748b;

    font-size: 22px;

    line-height: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.2s;

}



.ps-stock-modal-close:hover {

    background: #e2e8f0;

    color: #0f172a;

}



.ps-stock-modal-header {

    text-align: center;

    margin-bottom: 22px;

}



.ps-stock-icon-wrap {

    width: 58px;

    height: 58px;

    border-radius: 50%;

    background: #fef2f2;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

}



.ps-stock-modal-title {

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 8px;

}



.ps-stock-modal-desc {

    font-size: 13px;

    color: #64748b;

    line-height: 1.6;

    margin: 0;

}



.ps-stock-modal-desc strong {

    color: #0f172a;

}



.ps-stock-field-wrap {

    margin-bottom: 18px;

}



.ps-stock-field-wrap label {

    display: block;

    font-size: 13px;

    font-weight: 700;

    color: #334155;

    margin-bottom: 8px;

}



.ps-stock-input-inner {

    position: relative;

    display: flex;

    align-items: center;

}



.ps-stock-prefix {

    position: absolute;

    right: 12px;

    font-size: 16px;

    pointer-events: none;

}



.ps-stock-input-inner input {

    width: 100%;

    height: 46px;

    border: 1.5px solid #cbd5e1;

    border-radius: 10px;

    padding: 0 42px 0 14px;

    font-size: 15px;

    font-weight: 600;

    color: #0f172a;

    letter-spacing: 1px;

    box-sizing: border-box;

    transition: all 0.2s;

    outline: none;

}



.ps-stock-input-inner input:focus {

    border-color: var(--ps-primary, #ef394e);

    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.15);

}



.ps-stock-submit-btn {

    width: 100%;

    height: 48px;

    background: var(--ps-primary, #ef394e);

    color: #ffffff;

    border: none;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.35);

    transition: all 0.2s;

}



.ps-stock-submit-btn:hover {

    background: #d82b40;

    transform: translateY(-1px);

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.45);

}



.ps-stock-submit-btn:disabled {

    opacity: 0.7;

    cursor: not-allowed;

    transform: none;

}



.ps-stock-feedback {

    margin-top: 14px;

    padding: 10px 14px;

    border-radius: 8px;

    font-size: 13px;

    line-height: 1.5;

    text-align: center;

    background: #f8fafc;

}



/* ==========================================================================

   25. Commercial Suite: Progressive Web App (PWA) Mobile Install Banner

   ========================================================================== */

.ps-pwa-banner {

    position: fixed;

    bottom: 74px;

    left: 12px;

    right: 12px;

    max-width: 520px;

    margin: 0 auto;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);

    z-index: 99999;

    padding: 12px 14px;

    box-sizing: border-box;

    animation: psPwaSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;

}



@keyframes psPwaSlideUp {

    from { transform: translateY(100%); opacity: 0; }

    to { transform: translateY(0); opacity: 1; }

}



.ps-pwa-banner-inner {

    display: flex;

    align-items: center;

    gap: 12px;

    position: relative;

}



.ps-pwa-close-btn {

    position: absolute;

    top: -6px;

    left: -6px;

    width: 24px;

    height: 24px;

    border-radius: 50%;

    border: none;

    background: #f1f5f9;

    color: #64748b;

    font-size: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

}



.ps-pwa-app-icon img {

    width: 44px;

    height: 44px;

    border-radius: 10px;

    object-fit: cover;

    box-shadow: 0 2px 8px rgba(0,0,0,0.1);

}



.ps-pwa-app-info {

    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 2px;

}



.ps-pwa-app-title {

    font-size: 13px;

    font-weight: 800;

    color: #0f172a;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.ps-pwa-app-subtitle {

    font-size: 11px;

    color: #64748b;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.ps-pwa-install-btn {

    flex: 0 0 auto;

    height: 36px;

    padding: 0 14px;

    background: var(--ps-primary, #ef394e);

    color: #ffffff;

    border: none;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 6px;

    cursor: pointer;

    box-shadow: 0 3px 10px rgba(239, 57, 78, 0.3);

    transition: all 0.2s;

}



.ps-pwa-install-btn:hover {

    background: #d82b40;

    transform: translateY(-1px);

}



/* ==========================================================================

   26. Commercial Suite: Sticky Floating Compare Drawer

   ========================================================================== */

.ps-sticky-compare-drawer {

    position: fixed;

    bottom: 0;

    left: 0;

    right: 0;

    background: #ffffff;

    border-top: 2px solid #e2e8f0;

    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);

    z-index: 99998;

    padding: 10px 16px;

    box-sizing: border-box;

    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);

}



.ps-sc-container {

    max-width: 1340px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

}



.ps-sc-info {

    display: flex;

    align-items: center;

    gap: 14px;

}



.ps-sc-title-row {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    color: #0f172a;

}



.ps-sc-title-row strong {

    font-weight: 800;

}



.ps-sc-count-badge {

    color: #64748b;

    font-size: 12px;

    font-weight: 600;

}



.ps-sc-btn-clear {

    background: none;

    border: none;

    color: #ef4444;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    padding: 4px 8px;

    border-radius: 6px;

    transition: all 0.2s;

}



.ps-sc-btn-clear:hover {

    background: #fef2f2;

}



.ps-sc-slots {

    display: flex;

    align-items: center;

    gap: 10px;

}



.ps-sc-slot-item {

    width: 48px;

    height: 48px;

    border-radius: 8px;

    border: 1px solid #e2e8f0;

    position: relative;

    background: #f8fafc;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

}



.ps-sc-slot-item img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    border-radius: 7px;

    padding: 2px;

}



.ps-sc-slot-item.is-empty {

    border: 1.5px dashed #cbd5e1;

    background: #ffffff;

}



.ps-sc-slot-placeholder {

    color: #94a3b8;

    font-size: 18px;

    font-weight: 700;

}



.ps-sc-slot-remove {

    position: absolute;

    top: -6px;

    left: -6px;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    background: #ef4444;

    color: #ffffff;

    border: none;

    font-size: 13px;

    line-height: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    box-shadow: 0 1px 4px rgba(0,0,0,0.2);

}



.ps-sc-btn-compare {

    height: 40px;

    padding: 0 20px;

    background: #0f172a;

    color: #ffffff;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    display: flex;

    align-items: center;

    gap: 8px;

    transition: all 0.2s;

}



.ps-sc-btn-compare {

    height: 40px;

    padding: 0 20px;

    background: #0f172a;

    color: #ffffff !important;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    display: flex;

    align-items: center;

    gap: 8px;

    transition: all 0.2s;

}



.ps-sc-btn-compare span {

    color: #ffffff !important;

}



.ps-sc-btn-compare svg {

    stroke: #ffffff !important;

}



.ps-sc-btn-compare:hover {

    background: var(--ps-primary, #ef394e) !important;

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.3);

}



.ps-sc-btn-compare:hover span {

    color: #ffffff !important;

}



.ps-sc-btn-compare:hover svg {

    stroke: #ffffff !important;

}



@media (max-width: 768px) {

    .ps-sticky-compare-drawer {

        bottom: 58px;

        padding: 8px 12px;

    }

    .ps-sc-slot-item {

        width: 38px;

        height: 38px;

    }

    .ps-sc-btn-compare {

        height: 36px;

        padding: 0 12px;

        font-size: 11px;

    }

}



/* Dark Mode: Floating Product Compare Drawer */

.dark-theme .ps-sticky-compare-drawer,

body.dark .ps-sticky-compare-drawer,

.dark .ps-sticky-compare-drawer {

    background: rgba(17, 24, 39, 0.95) !important;

    backdrop-filter: blur(12px) !important;

    border-top: 1px solid #374151 !important;

    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5) !important;

}

.dark-theme .ps-sc-title-row,

body.dark .ps-sc-title-row,

.dark .ps-sc-title-row {

    color: #f9fafb !important;

}

.dark-theme .ps-sc-icon,

body.dark .ps-sc-icon,

.dark .ps-sc-icon {

    color: #ef4444 !important;

}

.dark-theme .ps-sc-count-badge,

body.dark .ps-sc-count-badge,

.dark .ps-sc-count-badge {

    color: #9ca3af !important;

}

.dark-theme .ps-sc-btn-clear,

body.dark .ps-sc-btn-clear,

.dark .ps-sc-btn-clear {

    color: #f87171 !important;

}

.dark-theme .ps-sc-btn-clear:hover,

body.dark .ps-sc-btn-clear:hover,

.dark .ps-sc-btn-clear:hover {

    background: rgba(239, 68, 68, 0.15) !important;

}

.dark-theme .ps-sc-slot-item,

body.dark .ps-sc-slot-item,

.dark .ps-sc-slot-item {

    background: #1f2937 !important;

    border-color: #374151 !important;

}

.dark-theme .ps-sc-slot-item.is-empty,

body.dark .ps-sc-slot-item.is-empty,

.dark .ps-sc-slot-item.is-empty {

    background: #111827 !important;

    border-color: #4b5563 !important;

}

.dark-theme .ps-sc-slot-placeholder,

body.dark .ps-sc-slot-placeholder,

.dark .ps-sc-slot-placeholder {

    color: #6b7280 !important;

}

.dark-theme .ps-sc-btn-compare,

body.dark .ps-sc-btn-compare,

.dark .ps-sc-btn-compare {

    background: linear-gradient(135deg, #ef394e 0%, #d82b40 100%) !important;

    color: #ffffff !important;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.35) !important;

}



/* Dark Mode: Compare Page (/compare/) */

.dark-theme .dk-compare-page,

body.dark .dk-compare-page,

.dark .dk-compare-page {

    background: #0b0f19 !important;

    color: #f3f4f6 !important;

}

.dark-theme .dk-compare-main-title,

body.dark .dk-compare-main-title,

.dark .dk-compare-main-title {

    color: #f9fafb !important;

}

.dark-theme .dk-compare-sub,

body.dark .dk-compare-sub,

.dark .dk-compare-sub {

    color: #9ca3af !important;

}

.dark-theme .dk-compare-matrix-wrapper,

body.dark .dk-compare-matrix-wrapper,

.dark .dk-compare-matrix-wrapper {

    background: #111827 !important;

    border-color: #1f2937 !important;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;

}

.dark-theme .dk-compare-page,

body.dark .dk-compare-page,

.dark .dk-compare-page {

    background: #0b0f17 !important;

}

.dark-theme .dk-compare-breadcrumb,

body.dark .dk-compare-breadcrumb,

.dark .dk-compare-breadcrumb {

    color: #9ca3af !important;

}

.dark-theme .dk-compare-breadcrumb a,

body.dark .dk-compare-breadcrumb a,

.dark .dk-compare-breadcrumb a {

    color: #9ca3af !important;

}

.dark-theme .dk-compare-table-matrix,

body.dark .dk-compare-table-matrix,

.dark .dk-compare-table-matrix {

    background: #111827 !important;

    border-color: #1f2937 !important;

}

.dark-theme .dk-compare-table-matrix thead th,

body.dark .dk-compare-table-matrix thead th,

.dark .dk-compare-table-matrix thead th {

    background: #111827 !important;

    border-color: #1f2937 !important;

}

.dark-theme .dk-comp-label-col,

body.dark .dk-comp-label-col,

.dark .dk-comp-label-col {

    background: #111827 !important;

    border-color: #1f2937 !important;

    color: #f9fafb !important;

}

.dark-theme .dk-comp-label-header-box,

body.dark .dk-comp-label-header-box,

.dark .dk-comp-label-header-box {

    color: #f9fafb !important;

}

.dark-theme .dk-comp-prod-col,

body.dark .dk-comp-prod-col,

.dark .dk-comp-prod-col {

    background: #111827 !important;

    border-color: #1f2937 !important;

}

.dark-theme .dk-comp-prod-card,

body.dark .dk-comp-prod-card,

.dark .dk-comp-prod-card {

    background: transparent !important;

}

.dark-theme .dk-comp-card-title a,

body.dark .dk-comp-card-title a,

.dark .dk-comp-card-title a,

.dark-theme .dk-comp-prod-title a,

body.dark .dk-comp-prod-title a,

.dark .dk-comp-prod-title a {

    color: #f3f4f6 !important;

}

.dark-theme .dk-comp-card-title a:hover,

body.dark .dk-comp-card-title a:hover,

.dark .dk-comp-card-title a:hover {

    color: #ef394e !important;

}

.dark-theme .dk-comp-cur-price-row strong,

body.dark .dk-comp-cur-price-row strong,

.dark .dk-comp-cur-price-row strong {

    color: #ffffff !important;

}

.dark-theme .dk-comp-cur-price-row small,

body.dark .dk-comp-cur-price-row small,

.dark .dk-comp-cur-price-row small {

    color: #9ca3af !important;

}

.dark-theme .dk-comp-old-price-row del,

body.dark .dk-comp-old-price-row del,

.dark .dk-comp-old-price-row del {

    color: #6b7280 !important;

}

.dark-theme .dk-comp-thumb-wrap,

body.dark .dk-comp-thumb-wrap,

.dark .dk-comp-thumb-wrap {

    background: #1f2937 !important;

    border: 1px solid #374151 !important;

}

.dark-theme .dk-comp-btn-remove,

body.dark .dk-comp-btn-remove,

.dark .dk-comp-btn-remove {

    background: #1f2937 !important;

    border-color: #374151 !important;

    color: #9ca3af !important;

}

.dark-theme .dk-comp-btn-remove:hover,

body.dark .dk-comp-btn-remove:hover,

.dark .dk-comp-btn-remove:hover {

    background: #ef4444 !important;

    color: #ffffff !important;

    border-color: #ef4444 !important;

}

.dark-theme .dk-comp-add-placeholder,

body.dark .dk-comp-add-placeholder,

.dark .dk-comp-add-placeholder {

    background: #161f2e !important;

    border-color: #374151 !important;

}

.dark-theme .dk-comp-add-placeholder:hover,

body.dark .dk-comp-add-placeholder:hover,

.dark .dk-comp-add-placeholder:hover {

    border-color: #ef394e !important;

    background: rgba(239, 57, 78, 0.08) !important;

}

.dark-theme .dk-comp-add-placeholder .dk-add-title,

body.dark .dk-comp-add-placeholder .dk-add-title,

.dark .dk-comp-add-placeholder .dk-add-title {

    color: #f9fafb !important;

}

.dark-theme .dk-comp-add-placeholder .dk-add-sub,

body.dark .dk-comp-add-placeholder .dk-add-sub,

.dark .dk-comp-add-placeholder .dk-add-sub {

    color: #9ca3af !important;

}

.dark-theme .dk-comp-add-placeholder .dk-add-limit,

body.dark .dk-comp-add-placeholder .dk-add-limit,

.dark .dk-comp-add-placeholder .dk-add-limit {

    color: #6b7280 !important;

}

.dark-theme .dk-comp-add-placeholder .dk-add-icon-circle,

body.dark .dk-comp-add-placeholder .dk-add-icon-circle,

.dark .dk-comp-add-placeholder .dk-add-icon-circle {

    background: #1f2937 !important;

    border: 1px solid #374151 !important;

    color: #ef394e !important;

}

.dark-theme .dk-compare-table-matrix tbody tr td,

body.dark .dk-compare-table-matrix tbody tr td,

.dark .dk-compare-table-matrix tbody tr td {

    background: #111827 !important;

    border-color: #1f2937 !important;

    color: #d1d5db !important;

}

.dark-theme .dk-compare-table-matrix tbody tr:not(.dk-comp-section-row):hover td:not(.dk-comp-label-cell),

body.dark .dk-compare-table-matrix tbody tr:not(.dk-comp-section-row):hover td:not(.dk-comp-label-cell),

.dark .dk-compare-table-matrix tbody tr:not(.dk-comp-section-row):hover td:not(.dk-comp-label-cell) {

    background: #161f2e !important;

}

.dark-theme .dk-comp-label-cell,

body.dark .dk-comp-label-cell,

.dark .dk-comp-label-cell {

    background: #161f2e !important;

    color: #9ca3af !important;

    border-color: #1f2937 !important;

}

.dark-theme .dk-comp-val-cell,

body.dark .dk-comp-val-cell,

.dark .dk-comp-val-cell {

    color: #e5e7eb !important;

    border-color: #1f2937 !important;

}

.dark-theme .dk-comp-empty-cell,

body.dark .dk-comp-empty-cell,

.dark .dk-comp-empty-cell {

    background: #111827 !important;

    border-color: #1f2937 !important;

}

.dark-theme .dk-comp-section-row td,

body.dark .dk-comp-section-row td,

.dark .dk-comp-section-row td {

    background: #111827 !important;

    border-color: #1f2937 !important;

}

.dark-theme .dk-section-badge,

body.dark .dk-section-badge,

.dark .dk-section-badge {

    background: #1f2937 !important;

    border-color: #374151 !important;

    color: #f9fafb !important;

}

.dark-theme .dk-satisfaction-pill,

body.dark .dk-satisfaction-pill,

.dark .dk-satisfaction-pill {

    background: rgba(16, 185, 129, 0.15) !important;

    color: #34d399 !important;

    border: 1px solid rgba(16, 185, 129, 0.3) !important;

}

.dark-theme .dk-star-rating,

body.dark .dk-star-rating,

.dark .dk-star-rating {

    background: rgba(245, 158, 11, 0.15) !important;

    color: #fbbf24 !important;

    border: 1px solid rgba(245, 158, 11, 0.3) !important;

}

.dark-theme .dk-empty-spec,

body.dark .dk-empty-spec,

.dark .dk-empty-spec {

    color: #6b7280 !important;

}

.dark-theme .dk-comp-features-list li,

body.dark .dk-comp-features-list li,

.dark .dk-comp-features-list li {

    color: #d1d5db !important;

}

.dark-theme .dk-compare-empty-state,

body.dark .dk-compare-empty-state,

.dark .dk-compare-empty-state {

    background: #111827 !important;

    border-color: #1f2937 !important;

    color: #9ca3af !important;

}

.dark-theme .dk-compare-empty-state h3,

body.dark .dk-compare-empty-state h3,

.dark .dk-compare-empty-state h3 {

    color: #f9fafb !important;

}

.dark-theme .dk-compare-modal-box,

body.dark .dk-compare-modal-box,

.dark .dk-compare-modal-box {

    background: #111827 !important;

    color: #f3f4f6 !important;

    border: 1px solid #1f2937 !important;

}

.dark-theme .dk-modal-head,

body.dark .dk-modal-head,

.dark .dk-modal-head {

    border-bottom: 1px solid #1f2937 !important;

}

.dark-theme .dk-modal-title,

body.dark .dk-modal-title,

.dark .dk-modal-title {

    color: #f9fafb !important;

}

.dark-theme .dk-modal-close,

body.dark .dk-modal-close,

.dark .dk-modal-close {

    background: #1f2937 !important;

    color: #9ca3af !important;

}

.dark-theme #dk-page-comp-search,

body.dark #dk-page-comp-search,

.dark #dk-page-comp-search {

    background: #1f2937 !important;

    border-color: #374151 !important;

    color: #f3f4f6 !important;

}

.dark-theme .dk-comp-search-item,

body.dark .dk-comp-search-item,

.dark .dk-comp-search-item {

    background: #111827 !important;

    border-color: #1f2937 !important;

    color: #f3f4f6 !important;

}

.dark-theme .dk-comp-search-item:hover,

body.dark .dk-comp-search-item:hover,

.dark .dk-comp-search-item:hover {

    background: #1f2937 !important;

}



/* ==========================================================================

   27. Faceted Catalog: Color Swatches Filter Palette

   ========================================================================== */

.dk-color-swatches-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 8px;

    margin-top: 10px;

}



.dk-swatch-filter-item {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 6px 8px;

    border-radius: 8px;

    border: 1px solid transparent;

    cursor: pointer;

    user-select: none;

    transition: all 0.2s;

}



.dk-swatch-filter-item:hover {

    background: #f8fafc;

    border-color: #e2e8f0;

}



.dk-swatch-filter-item input[type="checkbox"] {

    display: none;

}



.dk-swatch-circle {

    width: 22px;

    height: 22px;

    border-radius: 50%;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);

    transition: transform 0.2s, box-shadow 0.2s;

}



.dk-swatch-check-icon {

    opacity: 0;

    transform: scale(0.6);

    transition: all 0.2s ease;

}



.dk-swatch-filter-item input[type="checkbox"]:checked + .dk-swatch-circle {

    transform: scale(1.1);

    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--ps-primary, #ef394e);

}



.dk-swatch-filter-item input[type="checkbox"]:checked + .dk-swatch-circle .dk-swatch-check-icon {

    opacity: 1;

    transform: scale(1);

}



.dk-swatch-filter-name {

    font-size: 12px;

    font-weight: 600;

    color: #475569;

}



.dk-swatch-filter-item input[type="checkbox"]:checked ~ .dk-swatch-filter-name {

    color: #0f172a;

    font-weight: 800;

}







/* ==========================================================================

   PERSIANSHOP DYNAMIC CATEGORY SHOWCASE (100% ELEMENTOR BULLETPROOF)

   ========================================================================== */

.ps-cat-showcase-wrap,

.ps-cos-cats-wrap,

.ps-bak-cats-wrap,

.ps-auto-cats-wrap,

.ps-app-cats-wrap,

.ps-pet-cats-wrap,

.ps-jewel-cats-wrap,

.ps-mob-cats-wrap,

.ps-tools-categories-section {

    width: 100% !important;

    margin: 32px 0 44px 0 !important;

    box-sizing: border-box !important;

}



.ps-cat-showcase-header,

.ps-cos-section-head,

.ps-bak-section-head,

.ps-auto-section-head,

.ps-app-section-head,

.ps-pet-section-head,

.ps-jewel-section-head,

.ps-mob-section-head,

.ps-tc-header {

    display: flex !important;

    justify-content: space-between !important;

    align-items: center !important;

    margin-bottom: 22px !important;

    flex-wrap: wrap !important;

    gap: 12px !important;

}



.ps-cat-header-titles {

    display: flex !important;

    flex-direction: column !important;

    gap: 4px !important;

}



.ps-cat-showcase-title,

.ps-cos-head-title,

.ps-bak-head-title,

.ps-auto-head-title,

.ps-app-head-title,

.ps-pet-head-title,

.ps-jewel-head-title,

.ps-mob-head-title,

.ps-tc-title {

    font-size: 20px !important;

    font-weight: 800 !important;

    color: #0f172a !important;

    margin: 0 !important;

    line-height: 1.3 !important;

    position: relative !important;

    padding-right: 14px !important;

    text-align: right !important;

}



.ps-cat-showcase-title::before,

.ps-cos-head-title::before,

.ps-bak-head-title::before,

.ps-auto-head-title::before,

.ps-app-head-title::before,

.ps-pet-head-title::before,

.ps-jewel-head-title::before,

.ps-mob-head-title::before,

.ps-tc-title::before {

    content: "" !important;

    position: absolute !important;

    right: 0 !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

    width: 5px !important;

    height: 22px !important;

    background: var(--ps-primary, #ef394e) !important;

    border-radius: 4px !important;

}



.ps-cat-showcase-sub,

.ps-tc-sub {

    font-size: 13px !important;

    color: #64748b !important;

    margin: 4px 0 0 0 !important;

    font-weight: 500 !important;

    text-align: right !important;

}



.ps-cat-showcase-link,

.ps-cos-head-link,

.ps-bak-head-link,

.ps-auto-head-link,

.ps-app-head-link,

.ps-pet-head-link,

.ps-jewel-head-link,

.ps-mob-head-link {

    color: var(--ps-primary, #ef394e) !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    text-decoration: none !important;

    display: inline-flex !important;

    align-items: center !important;

    gap: 6px !important;

    transition: all 0.2s ease !important;

    padding: 6px 14px !important;

    border-radius: 10px !important;

    background: rgba(239, 57, 78, 0.06) !important;

}



.ps-cat-showcase-link:hover,

.ps-cos-head-link:hover,

.ps-bak-head-link:hover,

.ps-auto-head-link:hover,

.ps-app-head-link:hover,

.ps-pet-head-link:hover,

.ps-jewel-head-link:hover,

.ps-mob-head-link:hover {

    background: rgba(239, 57, 78, 0.12) !important;

    transform: translateX(-3px) !important;

}



/* Category Grid */

.ps-cat-showcase-grid,

.ps-cos-cats-grid,

.ps-bak-cats-grid,

.ps-auto-cats-grid,

.ps-app-cats-grid,

.ps-pet-cats-grid,

.ps-jewel-cats-grid,

.ps-mob-cats-grid,

.ps-tc-grid {

    display: grid !important;

    grid-template-columns: repeat(6, 1fr) !important;

    gap: 16px !important;

    width: 100% !important;

    box-sizing: border-box !important;

}



/* Category Card */

.ps-cat-showcase-card,

.ps-cos-cat-item,

.ps-bak-cat-item,

.ps-auto-cat-item,

.ps-app-cat-item,

.ps-pet-cat-item,

.ps-jewel-cat-item,

.ps-mob-cat-item,

.ps-tc-item {

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    text-align: center !important;

    text-decoration: none !important;

    padding: 20px 12px 18px 12px !important;

    border-radius: 18px !important;

    background: #ffffff !important;

    border: 1px solid #e2e8f0 !important;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;

    position: relative !important;

    box-sizing: border-box !important;

}



.ps-cat-showcase-card:hover,

.ps-cos-cat-item:hover,

.ps-bak-cat-item:hover,

.ps-auto-cat-item:hover,

.ps-app-cat-item:hover,

.ps-pet-cat-item:hover,

.ps-jewel-cat-item:hover,

.ps-mob-cat-item:hover,

.ps-tc-item:hover {

    border-color: var(--ps-primary, #ef394e) !important;

    transform: translateY(-5px) !important;

    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.09) !important;

}



/* Image Container */

.ps-cat-img-box,

.ps-cat-thumb-box,

.ps-tc-icon-wrap,

.ps-cos-cat-icon {

    width: 88px !important;

    height: 88px !important;

    min-width: 88px !important;

    min-height: 88px !important;

    max-width: 88px !important;

    max-height: 88px !important;

    border-radius: 50% !important;

    overflow: hidden !important;

    margin: 0 auto 12px auto !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    background: #f8fafc !important;

    border: 2px solid #f1f5f9 !important;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;

    transition: all 0.3s ease !important;

    flex-shrink: 0 !important;

    position: relative !important;

}



.ps-cat-showcase-card:hover .ps-cat-img-box,

.ps-cat-showcase-card:hover .ps-cat-thumb-box,

.ps-tc-item:hover .ps-tc-icon-wrap,

.ps-cos-cat-item:hover .ps-cos-cat-icon {

    border-color: var(--ps-primary, #ef394e) !important;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08) !important;

    transform: scale(1.06) !important;

}



/* Ultimate Elementor Image Override: Prevents stretching, squashing, jumping */

.elementor .ps-cat-img-box img,

.elementor .ps-cat-thumb-box img,

.elementor .ps-cat-showcase-card img,

.elementor .ps-cos-cats-grid img,

.elementor .ps-bak-cats-grid img,

.elementor .ps-auto-cats-grid img,

.elementor .ps-app-cats-grid img,

.elementor .ps-pet-cats-grid img,

.elementor .ps-jewel-cats-grid img,

.elementor .ps-mob-cats-grid img,

.elementor .ps-tc-grid img,

.ps-cat-img-box img,

.ps-cat-thumb-box img,

.ps-tc-img,

.ps-cos-cat-thumb,

.ps-bak-cat-thumb,

.ps-auto-cat-thumb {

    width: 100% !important;

    height: 100% !important;

    min-width: 100% !important;

    min-height: 100% !important;

    max-width: 100% !important;

    max-height: 100% !important;

    object-fit: cover !important;

    border-radius: 50% !important;

    display: block !important;

    margin: 0 auto !important;

    padding: 0 !important;

    border: none !important;

}



.ps-cat-icon-fallback,

.ps-cat-fallback-icon {

    font-size: 34px !important;

    line-height: 1 !important;

}



/* Category Text Box & Typography */

.ps-cat-meta-box,

.ps-cat-item-content {

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    width: 100% !important;

    gap: 4px !important;

}



.ps-cat-name,

.ps-cat-item-name,

.ps-cos-cat-name,

.ps-bak-cat-name,

.ps-auto-cat-name,

.ps-app-cat-name,

.ps-pet-cat-name,

.ps-jewel-cat-name,

.ps-mob-cat-name,

.ps-tc-name {

    font-size: 13.5px !important;

    font-weight: 700 !important;

    color: #1e293b !important;

    line-height: 1.4 !important;

    text-align: center !important;

    margin: 0 !important;

    display: -webkit-box !important;

    -webkit-line-clamp: 1 !important;

    -webkit-box-orient: vertical !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;

    width: 100% !important;

    transition: color 0.2s ease !important;

}



.ps-cat-showcase-card:hover .ps-cat-name,

.ps-cos-cat-item:hover .ps-cos-cat-name,

.ps-bak-cat-item:hover .ps-bak-cat-name,

.ps-auto-cat-item:hover .ps-auto-cat-name,

.ps-app-cat-item:hover .ps-app-cat-name,

.ps-pet-cat-item:hover .ps-pet-cat-name,

.ps-jewel-cat-item:hover .ps-jewel-cat-name,

.ps-mob-cat-item:hover .ps-mob-cat-name,

.ps-tc-item:hover .ps-tc-name {

    color: var(--ps-primary, #ef394e) !important;

}



.ps-cat-count,

.ps-tc-count {

    font-size: 11.5px !important;

    color: #64748b !important;

    font-weight: 600 !important;

    background: #f1f5f9 !important;

    padding: 2px 8px !important;

    border-radius: 12px !important;

    display: inline-block !important;

    line-height: 1.4 !important;

    transition: all 0.2s ease !important;

}



.ps-cat-showcase-card:hover .ps-cat-count,

.ps-tc-item:hover .ps-tc-count {

    background: rgba(239, 57, 78, 0.08) !important;

    color: var(--ps-primary, #ef394e) !important;

}



/* Digikala / Vendara 10 Grid Title alignment */

.ps-cats-grid-title {

    text-align: center !important;

    margin-bottom: 24px !important;

}

.ps-cats-grid-title h3 {

    text-align: center !important;

    font-size: 20px !important;

    font-weight: 800 !important;

    color: #1e293b !important;

}



/* Responsive Grid Breakpoints */

@media (max-width: 1200px) {

    .ps-cat-showcase-grid,

    .ps-cos-cats-grid,

    .ps-bak-cats-grid,

    .ps-auto-cats-grid,

    .ps-app-cats-grid,

    .ps-pet-cats-grid,

    .ps-jewel-cats-grid,

    .ps-mob-cats-grid,

    .ps-tc-grid {

        grid-template-columns: repeat(4, 1fr) !important;

    }

}

@media (max-width: 768px) {

    .ps-cat-showcase-grid,

    .ps-cos-cats-grid,

    .ps-bak-cats-grid,

    .ps-auto-cats-grid,

    .ps-app-cats-grid,

    .ps-pet-cats-grid,

    .ps-jewel-cats-grid,

    .ps-mob-cats-grid,

    .ps-tc-grid {

        grid-template-columns: repeat(3, 1fr) !important;

        gap: 12px !important;

    }

    .ps-cat-img-box,

    .ps-cat-thumb-box,

    .ps-tc-icon-wrap {

        width: 76px !important;

        height: 76px !important;

        min-width: 76px !important;

        min-height: 76px !important;

        max-width: 76px !important;

        max-height: 76px !important;

    }

    .ps-cat-name,

    .ps-cos-cat-name,

    .ps-bak-cat-name,

    .ps-auto-cat-name,

    .ps-app-cat-name,

    .ps-pet-cat-name,

    .ps-jewel-cat-name,

    .ps-mob-cat-name,

    .ps-tc-name {

        font-size: 12.5px !important;

    }

}

@media (max-width: 480px) {

    .ps-cat-showcase-grid,

    .ps-cos-cats-grid,

    .ps-bak-cats-grid,

    .ps-auto-cats-grid,

    .ps-app-cats-grid,

    .ps-pet-cats-grid,

    .ps-jewel-cats-grid,

    .ps-mob-cats-grid,

    .ps-tc-grid {

        grid-template-columns: repeat(2, 1fr) !important;

        gap: 10px !important;

    }

    .ps-cat-img-box,

    .ps-cat-thumb-box,

    .ps-tc-icon-wrap {

        width: 68px !important;

        height: 68px !important;

        min-width: 68px !important;

        min-height: 68px !important;

        max-width: 68px !important;

        max-height: 68px !important;

    }

    .ps-cat-showcase-card,

    .ps-cos-cat-item,

    .ps-bak-cat-item,

    .ps-auto-cat-item,

    .ps-app-cat-item,

    .ps-pet-cat-item,

    .ps-jewel-cat-item,

    .ps-mob-cat-item,

    .ps-tc-item {

        padding: 14px 8px 12px 8px !important;

    }

}



/* ==========================================================================

   PERSIANSHOP UNIFIED SLIDER & PRODUCT CARD STYLING (DigiKala Standard 1:1)

   Ensures 100% identical image dimensions, aspect-ratio, and card alignment

   ========================================================================== */



/* 1. Swiper Slide Equal Height */

.dk-incredible-swiper .swiper-slide,

.dk-product-carousel-swiper .swiper-slide {

    height: auto !important;

    display: flex !important;

}



/* 2. Unified Product Card Shell */

.dk-product-card,

.ps-tabbed-product-card,

.dk-carousel-card {

    height: 100% !important;

    min-height: 325px !important;

    display: flex !important;

    flex-direction: column !important;

    justify-content: space-between !important;

    background: #ffffff !important;

    box-sizing: border-box !important;

    text-decoration: none !important;

    color: inherit !important;

}



.ps-tabbed-card-link {

    display: flex !important;

    flex-direction: column !important;

    justify-content: space-between !important;

    height: 100% !important;

    width: 100% !important;

    text-decoration: none !important;

    color: inherit !important;

}



/* 3. Strict 1:1 Square Thumbnail Container Across All Sliders */

.dk-product-thumb,

.ps-tabbed-thumb-wrap,

.dk-card-thumb {

    width: 100% !important;

    height: 175px !important;

    min-height: 175px !important;

    max-height: 175px !important;

    aspect-ratio: 1 / 1 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    background: #ffffff !important;

    padding: 8px !important;

    box-sizing: border-box !important;

    border-radius: 12px !important;

    overflow: hidden !important;

    margin: 0 0 12px 0 !important;

    position: relative !important;

}



/* 4. Strict Contained, Centered Product Image Display */

.dk-product-thumb img,

.ps-tabbed-thumb-wrap img,

.dk-card-thumb img,

.ps-boxed-thumb-item img,

.dk-ranked-thumb img {

    width: 100% !important;

    height: 100% !important;

    max-width: 100% !important;

    max-height: 100% !important;

    object-fit: contain !important;

    object-position: center !important;

    display: block !important;

    margin: 0 auto !important;

    transition: transform 0.25s ease !important;

}



/* Hover smooth zoom effect */

.dk-product-card:hover .dk-product-thumb img,

.ps-tabbed-product-card:hover .ps-tabbed-thumb-wrap img,

.dk-carousel-card:hover .dk-card-thumb img {

    transform: scale(1.05) !important;

}



/* 5. Clamped 2-Line Titles (Uniform 42px Height) */

.dk-product-title,

.ps-tabbed-product-title,

.dk-card-title {

    font-size: 12.5px !important;

    font-weight: 600 !important;

    line-height: 21px !important;

    height: 42px !important;

    min-height: 42px !important;

    max-height: 42px !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;

    display: -webkit-box !important;

    -webkit-line-clamp: 2 !important;

    -webkit-box-orient: vertical !important;

    margin: 0 0 10px 0 !important;

    text-align: right !important;

    direction: rtl !important;

    color: #1e293b !important;

}



/* 6. Bottom Price & Action Row Alignment */

.dk-product-price-row,

.ps-tabbed-price-row,

.dk-card-price-block {

    margin-top: auto !important;

}



/* 7. Tabbed Slider Horizontal Scroll Track & Card Dimensions */

.ps-tab-products-row {

    display: flex !important;

    flex-wrap: nowrap !important;

    gap: 14px !important;

    overflow-x: auto !important;

    scroll-behavior: smooth !important;

    padding: 10px 4px 16px 4px !important;

    scrollbar-width: thin !important;

}



.ps-tabbed-product-card {

    flex: 0 0 210px !important;

    min-width: 210px !important;

    max-width: 210px !important;

}



/* 8. Boxed Products 2x2 Grid (1:1 Ratio) */

.ps-boxed-thumb-item {

    aspect-ratio: 1 / 1 !important;

    width: 100% !important;

    height: auto !important;

    background: #ffffff !important;

    border: 1px solid #f1f5f9 !important;

    border-radius: 12px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    padding: 8px !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

    transition: transform 0.2s ease, box-shadow 0.2s ease !important;

}



.ps-boxed-thumb-item:hover {

    transform: scale(1.03) !important;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;

}



/* 9. Ranked Bestsellers Unified Square Thumbnails */

.dk-ranked-thumb {

    width: 84px !important;

    height: 84px !important;

    min-width: 84px !important;

    min-height: 84px !important;

    aspect-ratio: 1 / 1 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    background: #ffffff !important;

    border: 1px solid #f1f5f9 !important;

    border-radius: 10px !important;

    padding: 6px !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

}



.dk-ranked-title {

    font-size: 12px !important;

    font-weight: 600 !important;

    line-height: 19px !important;

    height: 38px !important;

    min-height: 38px !important;

    max-height: 38px !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;

    display: -webkit-box !important;

    -webkit-line-clamp: 2 !important;

    -webkit-box-orient: vertical !important;

    margin: 0 !important;

    text-align: right !important;

    color: #1e293b !important;

}



/* ==========================================================================

   PERSIANSHOP UNIFIED HOMEPAGE GRID & SECTION SPACING

   Standardizes container widths across all elements and sets balanced vertical rhythm

   ========================================================================== */



body.home,

body.page-id-222,

body.ps-fullwidth-homepage,

body.page-id-491 {

    overflow-x: hidden !important;

}



/* 1. Global Standardized Container on Homepage */

body.home .elementor-section.elementor-section-boxed > .elementor-container,

body.home .elementor-container,

body.page-id-222 .elementor-section.elementor-section-boxed > .elementor-container,

body.page-id-222 .elementor-container,

body.ps-fullwidth-homepage .elementor-container,

body.page-id-491 .elementor-container {

    max-width: 1420px !important;

    width: 100% !important;

    margin-left: auto !important;

    margin-right: auto !important;

    padding-left: 20px !important;

    padding-right: 20px !important;

    box-sizing: border-box !important;

}



/* 2. Prevent Double Padding on Nested Theme Widgets inside Elementor */

body.home .elementor-section .dk-container,

body.home .elementor-widget .dk-container,

body.page-id-222 .elementor-section .dk-container,

body.page-id-222 .elementor-widget .dk-container,

body.ps-fullwidth-homepage .elementor-section .dk-container,

body.page-id-491 .elementor-section .dk-container {

    max-width: 100% !important;

    width: 100% !important;

    padding-left: 0 !important;

    padding-right: 0 !important;

    margin-left: 0 !important;

    margin-right: 0 !important;

    box-sizing: border-box !important;

}



/* 3. Header & Footer Container Harmonization */

.dk-header .dk-container,

.dk-footer .dk-container {

    max-width: 1420px !important;

    padding-left: 20px !important;

    padding-right: 20px !important;

    box-sizing: border-box !important;

}



/* 4. Section Vertical Spacing Rhythm (Uniform breathing room between shelves) */

body.home .elementor-section.elementor-top-section,

body.page-id-222 .elementor-section.elementor-top-section,

body.ps-fullwidth-homepage .elementor-section.elementor-top-section {

    margin-top: 0 !important;

    margin-bottom: 28px !important;

}



body.home .elementor-section.elementor-top-section:last-child,

body.page-id-222 .elementor-section.elementor-top-section:last-child {

    margin-bottom: 40px !important;

}



/* 5. Hero Section (Slider + Side Banners) Grid Alignment */

body.home .dk-hero-banners-wrap,

body.page-id-222 .dk-hero-banners-wrap,

body.ps-fullwidth-homepage .dk-hero-banners-wrap,

body.page-id-491 .dk-hero-banners-wrap {

    width: 100% !important;

    max-width: 100% !important;

    box-sizing: border-box !important;

}



/* 6. Specials Box & Incredible Offers Alignment */

body.home .ps-specials-box,

body.page-id-222 .ps-specials-box,

body.ps-fullwidth-homepage .dk-incredible-box,

body.page-id-491 .dk-incredible-box {

    width: 100% !important;

    max-width: 100% !important;

    box-sizing: border-box !important;

    border-radius: 18px !important;

}



/* 7. Product Carousels & Shelves Alignment */

body.home .dk-product-carousel-box,

body.page-id-222 .dk-product-carousel-box,

body.home .ps-tabbed-slider-wrap,

body.page-id-222 .ps-tabbed-slider-wrap,

body.ps-fullwidth-homepage .dk-product-carousel-box,

body.page-id-491 .dk-product-carousel-box {

    width: 100% !important;

    max-width: 100% !important;

    box-sizing: border-box !important;

    border-radius: 18px !important;

}



/* Beauty & Health Split Row (Carousel + Realtime Deal) */

body.home .dk-split-row,

body.page-id-222 .dk-split-row {

    width: 100% !important;

    max-width: 100% !important;

    gap: 16px !important;

    box-sizing: border-box !important;

}



/* 8. Brands Carousel Alignment */

body.home .ps-brands-carousel-wrap,

body.page-id-222 .ps-brands-carousel-wrap,

body.ps-fullwidth-homepage .ps-brands-carousel-box,

body.page-id-491 .ps-brands-carousel-box {

    margin-top: 0 !important;

    margin-bottom: 0 !important;

    width: 100% !important;

    max-width: 100% !important;

    box-sizing: border-box !important;

    border-radius: 18px !important;

}



/* 9. Banners Grids (4-banners and 2-banners) */

body.home .dk-banners-grid-4,

body.page-id-222 .dk-banners-grid-4,

body.home .dk-banners-grid-2,

body.page-id-222 .dk-banners-grid-2 {

    width: 100% !important;

    max-width: 100% !important;

    box-sizing: border-box !important;

}



body.home .dk-banner-card,

body.page-id-222 .dk-banner-card {

    box-sizing: border-box !important;

}



/* 10. Responsive Mobile Layout Normalization */

@media (max-width: 768px) {

    body.home .elementor-section.elementor-top-section,

    body.page-id-222 .elementor-section.elementor-top-section {

        margin-bottom: 18px !important;

    }



    body.home .elementor-container,

    body.page-id-222 .elementor-container,

    body.home .dk-container,

    body.page-id-222 .dk-container {

        padding-left: 12px !important;

        padding-right: 12px !important;

    }



    .dk-header .dk-container,

    .dk-footer .dk-container {

        padding-left: 12px !important;

        padding-right: 12px !important;

    }



    body.home .dk-split-row,

    body.page-id-222 .dk-split-row {

        gap: 12px !important;

    }

}



/* ==========================================================================

   Predictive AJAX Search Spotlight Modal (Desktop & Mobile)

   ========================================================================== */

.ps-search-modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(15, 23, 42, 0.65);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    z-index: 99998;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;

}

.ps-search-modal-overlay.is-open {

    opacity: 1;

    visibility: visible;

}



.ps-search-modal {

    position: fixed;

    top: 70px;

    left: 50%;

    transform: translateX(-50%) translateY(-15px) scale(0.98);

    width: 90%;

    max-width: 660px;

    max-height: calc(100vh - 120px);

    background: #ffffff;

    border-radius: 20px;

    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);

    z-index: 99999;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;

}

.ps-search-modal.is-open {

    opacity: 1;

    visibility: visible;

    transform: translateX(-50%) translateY(0) scale(1);

}



.ps-sm-header {

    display: flex;

    align-items: center;

    padding: 14px 18px;

    border-bottom: 1px solid #f1f5f9;

    background: #ffffff;

    gap: 12px;

}

.ps-sm-form {

    flex: 1;

    display: flex;

    align-items: center;

    position: relative;

    background: #f8fafc;

    border: 1.5px solid #e2e8f0;

    border-radius: 12px;

    padding: 6px 14px;

    transition: all 0.2s;

}

.ps-sm-form:focus-within {

    background: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 0 0 4px rgba(239, 57, 78, 0.08);

}

.ps-sm-input-icon {

    color: #94a3b8;

    margin-left: 10px;

    display: flex;

    align-items: center;

}

.ps-sm-form:focus-within .ps-sm-input-icon {

    color: #ef394e;

}

.ps-sm-input {

    flex: 1;

    border: none;

    outline: none;

    background: transparent;

    font-size: 14.5px;

    font-weight: 500;

    color: #0f172a;

    font-family: inherit;

    padding: 4px 0;

}

.ps-sm-input::placeholder {

    color: #94a3b8;

    font-size: 13.5px;

}

.ps-sm-clear-btn {

    border: none;

    background: transparent;

    color: #94a3b8;

    cursor: pointer;

    padding: 4px;

    display: flex;

    align-items: center;

    transition: color 0.2s;

}

.ps-sm-clear-btn:hover {

    color: #0f172a;

}



.ps-sm-close-btn {

    display: flex;

    align-items: center;

    gap: 6px;

    border: none;

    background: #f1f5f9;

    color: #64748b;

    border-radius: 10px;

    padding: 8px 12px;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    font-family: inherit;

    transition: all 0.2s;

}

.ps-sm-close-btn:hover {

    background: #fee2e2;

    color: #ef394e;

}

.ps-sm-esc-badge {

    background: #ffffff;

    border: 1px solid #cbd5e1;

    border-radius: 4px;

    padding: 1px 5px;

    font-size: 10px;

    font-weight: 700;

    color: #64748b;

}



.ps-sm-body {

    flex: 1;

    overflow-y: auto;

    padding: 18px;

    max-height: calc(85vh - 120px);

}

.ps-sm-body::-webkit-scrollbar {

    width: 6px;

}

.ps-sm-body::-webkit-scrollbar-thumb {

    background: #cbd5e1;

    border-radius: 4px;

}



.ps-sm-section {

    margin-bottom: 22px;

}

.ps-sm-section:last-child {

    margin-bottom: 0;

}

.ps-sm-section-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 12px;

}

.ps-sm-head-title {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    font-weight: 700;

    color: #334155;

}

.ps-sm-clear-all {

    border: none;

    background: transparent;

    color: #ef394e;

    font-size: 11.5px;

    font-weight: 600;

    cursor: pointer;

    padding: 0;

    font-family: inherit;

}

.ps-sm-clear-all:hover {

    text-decoration: underline;

}



.ps-sm-chips {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}

.ps-sm-chip-btn {

    border: 1px solid #e2e8f0;

    background: #f8fafc;

    color: #334155;

    border-radius: 999px;

    padding: 6px 14px;

    font-size: 12.5px;

    font-weight: 500;

    cursor: pointer;

    font-family: inherit;

    transition: all 0.2s;

    display: inline-flex;

    align-items: center;

    gap: 6px;

}

.ps-sm-chip-btn:hover {

    background: #ffffff;

    border-color: #ef394e;

    color: #ef394e;

    box-shadow: 0 2px 8px rgba(239, 57, 78, 0.12);

}

.ps-sm-recent-chip {

    border: 1px solid #e2e8f0;

    background: #f1f5f9;

    color: #1e293b;

    border-radius: 999px;

    padding: 5px 12px;

    font-size: 12.5px;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    transition: all 0.2s;

}

.ps-sm-recent-chip:hover {

    background: #e2e8f0;

}

.ps-sm-recent-del {

    border: none;

    background: transparent;

    color: #94a3b8;

    cursor: pointer;

    font-size: 14px;

    padding: 0;

    line-height: 1;

    display: flex;

    align-items: center;

}

.ps-sm-recent-del:hover {

    color: #ef394e;

}



.ps-sm-cat-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));

    gap: 10px;

}

.ps-sm-cat-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 14px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    text-decoration: none;

    transition: all 0.2s;

}

.ps-sm-cat-card:hover {

    background: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.08);

}

.ps-sm-cat-name {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

}

.ps-sm-cat-count {

    font-size: 11px;

    color: #94a3b8;

}



/* Tabs */

.ps-sm-tabs {

    display: flex;

    gap: 8px;

    border-bottom: 1.5px solid #f1f5f9;

    padding-bottom: 10px;

    margin-bottom: 16px;

}

.ps-sm-tab {

    border: none;

    background: transparent;

    font-size: 13px;

    font-weight: 700;

    color: #64748b;

    padding: 6px 14px;

    border-radius: 8px;

    cursor: pointer;

    font-family: inherit;

    transition: all 0.2s;

}

.ps-sm-tab.active {

    background: rgba(239, 57, 78, 0.1);

    color: #ef394e;

}



/* Product list results */

.ps-sm-product-list {

    display: flex;

    flex-direction: column;

    gap: 8px;

}

.ps-sm-prod-item {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 10px 14px;

    border-radius: 12px;

    text-decoration: none;

    background: #ffffff;

    border: 1px solid #f1f5f9;

    transition: all 0.2s;

}

.ps-sm-prod-item:hover {

    background: #f8fafc;

    border-color: #e2e8f0;

    transform: translateX(-3px);

}

.ps-sm-prod-img {

    width: 50px;

    height: 50px;

    object-fit: contain;

    border-radius: 8px;

    background: #fff;

    flex-shrink: 0;

}

.ps-sm-prod-info {

    flex: 1;

    min-width: 0;

}

.ps-sm-prod-title {

    font-size: 13px;

    font-weight: 700;

    color: #0f172a;

    margin: 0 0 4px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

.ps-sm-prod-meta {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 11.5px;

    color: #64748b;

}

.ps-sm-prod-pricing {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;

}

.ps-sm-prod-discount {

    background: #ef394e;

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    padding: 2px 6px;

    border-radius: 6px;

}

.ps-sm-prod-price {

    font-size: 13.5px;

    font-weight: 800;

    color: #0f172a;

}



/* Category list results */

.ps-sm-category-list {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));

    gap: 10px;

}

.ps-sm-cat-res-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 12px 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    text-decoration: none;

    transition: all 0.2s;

}

.ps-sm-cat-res-item:hover {

    border-color: #ef394e;

    background: #fff;

}



/* Footer view all link */

.ps-sm-footer {

    margin-top: 16px;

    padding-top: 14px;

    border-top: 1px solid #f1f5f9;

}

.ps-sm-view-all-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    padding: 12px 20px;

    background: #f8fafc;

    border: 1.5px solid #e2e8f0;

    border-radius: 12px;

    color: #0f172a;

    font-size: 13.5px;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.2s;

}

.ps-sm-view-all-btn strong {

    color: #ef394e;

}

.ps-sm-view-all-btn:hover {

    background: #ffffff;

    border-color: #ef394e;

    color: #ef394e;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.12);

}



@media (max-width: 768px) {

    .ps-search-modal {

        top: 0;

        left: 0;

        right: 0;

        bottom: 0;

        width: 100%;

        max-width: 100%;

        max-height: 100vh;

        border-radius: 0;

        transform: translateY(100%);

    }

    .ps-search-modal.is-open {

        transform: translateY(0);

    }

    .ps-sm-header {

        padding: 12px 14px;

    }

    .ps-sm-body {

        padding: 14px;

    }

    .ps-sm-esc-badge {

        display: none;

    }

}



/* ==========================================================================

   Smart Dark Mode Architecture & Ergonomic Night Theme

   ========================================================================== */



/* Theme Toggle Button Micro-interactions */

.ps-theme-toggle-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background: transparent;

    border: 1.5px solid #e2e8f0;

    color: #475569;

    cursor: pointer;

    padding: 0;

    margin: 0 4px;

    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;

    user-select: none;

    -webkit-tap-highlight-color: transparent;

}

.ps-theme-toggle-btn:hover {

    background: #f1f5f9;

    color: #0f172a;

    border-color: #cbd5e1;

    transform: scale(1.06);

}

.ps-theme-toggle-btn:active {

    transform: scale(0.95);

}

.ps-theme-icon-sun,

.ps-theme-icon-moon {

    display: flex;

    align-items: center;

    justify-content: center;

    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;

}

.ps-theme-icon-sun {

    display: none;

    color: #f59e0b;

}

.ps-theme-icon-moon {

    display: flex;

    color: #475569;

}



/* Mobile Drawer Theme Switcher Row */

.ps-drawer-theme-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 16px 20px;

    background: #f8fafc;

    border-top: 1px solid #e2e8f0;

    margin-top: auto;

}

.ps-drawer-theme-title {

    display: block;

    font-size: 13.5px;

    font-weight: 700;

    color: #0f172a;

}

.ps-drawer-theme-desc {

    display: block;

    font-size: 11.5px;

    color: #64748b;

    margin-top: 2px;

}



/* ==========================================================================

   Dark Theme Active State (html.dark-theme)

   ========================================================================== */

html.dark-theme {

    color-scheme: dark;

    --dk-bg-main: #0b1120 !important;

    --dk-bg-card: #1f2937 !important;

    --dk-border: #374151 !important;

    --dk-border-dark: #4b5563 !important;

    --dk-text-title: #f9fafb !important;

    --dk-text-body: #cbd5e1 !important;

    --dk-text-muted: #9ca3af !important;

    --dk-text-hint: #6b7280 !important;

    --dk-text-light: #9ca3af !important;

    --ps-bg-light: #0b1120 !important;

    --ps-card-bg: #1f2937 !important;

    --ps-text-title: #f9fafb !important;

    --ps-text-body: #cbd5e1 !important;

    --ps-text-muted: #9ca3af !important;

    --ps-border: #374151 !important;

    --dk-header-bg: #111827 !important;

    --dk-footer-bg: #0b1120 !important;

}



html.dark-theme .ps-theme-icon-sun {

    display: flex;

    animation: psSunSpin 0.4s ease;

}

html.dark-theme .ps-theme-icon-moon {

    display: none;

}

@keyframes psSunSpin {

    from { transform: rotate(-90deg) scale(0.6); opacity: 0; }

    to { transform: rotate(0deg) scale(1); opacity: 1; }

}



html.dark-theme .ps-theme-toggle-btn {

    border-color: #374151;

    background: rgba(245, 158, 11, 0.1);

    color: #f59e0b;

}

html.dark-theme .ps-theme-toggle-btn:hover {

    background: rgba(245, 158, 11, 0.2);

    border-color: #f59e0b;

    color: #fbbf24;

    transform: rotate(20deg) scale(1.08);

}

html.dark-theme .ps-drawer-theme-box {

    background: #111827;

    border-color: #1f2937;

}

html.dark-theme .ps-drawer-theme-title {

    color: #f9fafb;

}

html.dark-theme .ps-drawer-theme-desc {

    color: #9ca3af;

}



/* Base Body & Root Dark Layout */

html.dark-theme body,

html.dark-theme {

    background-color: #0b1120 !important;

    color: #cbd5e1 !important;

}



/* Headers & Navigation in Dark Mode */

html.dark-theme .dk-header-main,

html.dark-theme .dk-header-nav,

html.dark-theme .dk-nav-bar,

html.dark-theme .ps-mobile-header-bar,

html.dark-theme .ps-mobile-bottom-nav,

html.dark-theme .dk-mobile-drawer,

html.dark-theme .ps-mini-cart-drawer {

    background-color: #111827 !important;

    border-color: #1f2937 !important;

    color: #e5e7eb !important;

}

html.dark-theme .dk-header-main {

    border-bottom: 1px solid #1f2937 !important;

}

html.dark-theme .dk-nav-list > li > a,

html.dark-theme .dk-nav-category-trigger {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-nav-list > li > a:hover,

html.dark-theme .dk-nav-category-trigger:hover {

    color: var(--ps-primary) !important;

}

html.dark-theme .dk-logo-text {

    color: #f9fafb !important;

}

html.dark-theme .dk-auth-btn {

    border-color: #374151 !important;

    color: #e5e7eb !important;

    background: #1f2937 !important;

}

html.dark-theme .dk-auth-btn:hover {

    background: #374151 !important;

    color: #ffffff !important;

}

html.dark-theme .dk-cart-btn,

html.dark-theme .ps-v2-action-icon,

html.dark-theme .ps-mhb-btn {

    color: #e5e7eb !important;

}

html.dark-theme .dk-divider-v {

    background-color: #374151 !important;

}



/* Search Box in Header */

html.dark-theme .dk-search-box {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

}

html.dark-theme .dk-search-input {

    color: #f9fafb !important;

}

html.dark-theme .dk-search-input::placeholder {

    color: #6b7280 !important;

}

html.dark-theme .dk-search-icon {

    color: #9ca3af !important;

}



/* Mega Menu in Dark Mode */

html.dark-theme .dk-mega-menu {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;

}

html.dark-theme .dk-mega-sidebar {

    background-color: #111827 !important;

    border-color: #1f2937 !important;

}

html.dark-theme .dk-mega-tab-item {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-mega-tab-item:hover,

html.dark-theme .dk-mega-tab-item.active {

    background-color: #1f2937 !important;

    color: #f9fafb !important;

}

html.dark-theme .dk-mega-content {

    background-color: #1f2937 !important;

    color: #e5e7eb !important;

}

html.dark-theme .dk-mega-all-link {

    color: var(--ps-primary) !important;

    border-bottom-color: #374151 !important;

}



/* Spotlight Search Modal Dark Mode */

html.dark-theme .ps-search-modal {

    background-color: #111827 !important;

    border-color: #374151 !important;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;

}

html.dark-theme .ps-sm-header {

    border-bottom-color: #1f2937 !important;

}

html.dark-theme .ps-sm-input {

    color: #f9fafb !important;

}

html.dark-theme .ps-sm-input::placeholder {

    color: #6b7280 !important;

}

html.dark-theme .ps-sm-icon {

    color: #9ca3af !important;

}

html.dark-theme .ps-sm-esc-badge {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #9ca3af !important;

}

html.dark-theme .ps-sm-tabs {

    border-bottom-color: #1f2937 !important;

}

html.dark-theme .ps-sm-tab-btn {

    color: #9ca3af !important;

}

html.dark-theme .ps-sm-tab-btn.active {

    color: #f9fafb !important;

}

html.dark-theme .ps-recent-tag,

html.dark-theme .ps-trending-tag {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .ps-recent-tag:hover,

html.dark-theme .ps-trending-tag:hover {

    background-color: #374151 !important;

    color: #f9fafb !important;

}

html.dark-theme .ps-sm-product-item {

    border-bottom-color: #1f2937 !important;

}

html.dark-theme .ps-sm-product-item:hover {

    background-color: #1f2937 !important;

}

html.dark-theme .ps-sm-item-title {

    color: #f9fafb !important;

}

html.dark-theme .ps-sm-cat-card {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .ps-sm-cat-card:hover {

    background-color: #374151 !important;

    border-color: #4b5563 !important;

}

html.dark-theme .ps-sm-cat-name {

    color: #f9fafb !important;

}

html.dark-theme .ps-sm-cat-count {

    color: #9ca3af !important;

}

html.dark-theme .ps-sm-footer {

    border-top-color: #1f2937 !important;

}

html.dark-theme .ps-sm-view-all-btn {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #f9fafb !important;

}

html.dark-theme .ps-sm-view-all-btn:hover {

    background-color: #374151 !important;

}



/* Cards & Product Grid in Dark Mode */

html.dark-theme .dk-product-card,

html.dark-theme .ps-product-card,

html.dark-theme .dk-card,

html.dark-theme .ps-card,

html.dark-theme .dk-section-header,

html.dark-theme .dk-incredible-card,

html.dark-theme .dk-banner-item,

html.dark-theme .dk-story-item-circle,

html.dark-theme .dk-cat-circle-card {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-product-card:hover,

html.dark-theme .ps-product-card:hover {

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;

    border-color: #4b5563 !important;

}

html.dark-theme .dk-product-title,

html.dark-theme .dk-section-title,

html.dark-theme h1,

html.dark-theme h2,

html.dark-theme h3,

html.dark-theme h4,

html.dark-theme h5,

html.dark-theme h6 {

    color: #f9fafb !important;

}

html.dark-theme .dk-price-current,

html.dark-theme .dk-card-price-current {

    color: #f9fafb !important;

}

html.dark-theme .dk-price-old,

html.dark-theme .dk-card-price-old {

    color: #6b7280 !important;

}



/* Single Product Details & Buy Box */

html.dark-theme .dk-single-breadcrumb a {

    color: #9ca3af !important;

}

html.dark-theme .dk-single-breadcrumb span {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-single-title {

    color: #f9fafb !important;

}

html.dark-theme .dk-single-subtitle {

    color: #9ca3af !important;

}

html.dark-theme .dk-buybox-card,

html.dark-theme .dk-single-left,

html.dark-theme .dk-single-right {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-bb-price-current {

    color: #f9fafb !important;

}

html.dark-theme .dk-bb-row {

    color: #cbd5e1 !important;

    border-bottom-color: #374151 !important;

}

html.dark-theme .dk-bb-seller-title {

    color: #f9fafb !important;

}

html.dark-theme .dk-feature-badge,

html.dark-theme .dk-spec-badge {

    background-color: #111827 !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}



/* Product Tabs & Specs Table */

html.dark-theme .dk-tab-container {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

}

html.dark-theme .dk-tab-nav {

    border-bottom-color: #374151 !important;

}

html.dark-theme .dk-tab-btn {

    color: #9ca3af !important;

}

html.dark-theme .dk-tab-btn:hover {

    color: #f9fafb !important;

}

html.dark-theme .dk-tab-content {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-specs-table tr {

    border-bottom-color: #374151 !important;

}

html.dark-theme .dk-spec-key {

    background-color: #111827 !important;

    color: #9ca3af !important;

}

html.dark-theme .dk-spec-val {

    background-color: #1f2937 !important;

    color: #e5e7eb !important;

}



/* Frequently Bought Together (FBT) Dark Mode */

html.dark-theme .ps-bought-together-section {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

}

html.dark-theme .ps-fbt-title {

    color: #f9fafb !important;

}

html.dark-theme .ps-fbt-card {

    background-color: #111827 !important;

    border-color: #374151 !important;

}

html.dark-theme .ps-fbt-card-title {

    color: #f9fafb !important;

}

html.dark-theme .ps-fbt-card-price {

    color: var(--ps-primary) !important;

}

html.dark-theme .ps-fbt-plus-icon {

    color: #9ca3af !important;

}

html.dark-theme .ps-fbt-buybox {

    background-color: #111827 !important;

    border-color: #374151 !important;

}

html.dark-theme .ps-fbt-total-title {

    color: #9ca3af !important;

}

html.dark-theme .ps-fbt-total-val {

    color: #f9fafb !important;

}

html.dark-theme .ps-fbt-checkbox-row {

    color: #cbd5e1 !important;

}

html.dark-theme .ps-fbt-checkbox-title {

    color: #f9fafb !important;

}



/* Sticky Buy Bar in Dark Mode */

html.dark-theme .dk-sticky-buy-bar {

    background-color: #111827 !important;

    border-top-color: #1f2937 !important;

    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;

}

html.dark-theme .dk-sticky-title {

    color: #f9fafb !important;

}

html.dark-theme .dk-sticky-price-current {

    color: #f9fafb !important;

}



/* Mini Cart Drawer & Cart Items in Dark Mode */

html.dark-theme .ps-drawer-item {

    border-bottom-color: #1f2937 !important;

}

html.dark-theme .ps-drawer-item-title {

    color: #f9fafb !important;

}

html.dark-theme .ps-drawer-item-price {

    color: #f9fafb !important;

}

html.dark-theme .ps-drawer-footer {

    background-color: #111827 !important;

    border-top-color: #1f2937 !important;

}

html.dark-theme .ps-drawer-total-label {

    color: #9ca3af !important;

}

html.dark-theme .ps-drawer-total-val {

    color: #f9fafb !important;

}

html.dark-theme .woocommerce-cart-form,

html.dark-theme .cart_totals,

html.dark-theme .woocommerce-checkout {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .shop_table th {

    background-color: #111827 !important;

    color: #9ca3af !important;

    border-color: #374151 !important;

}

html.dark-theme .shop_table td {

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}



/* Footer in Dark Mode */

html.dark-theme .dk-footer {

    background-color: #0b1120 !important;

    border-top-color: #1f2937 !important;

}

html.dark-theme .dk-footer-features {

    border-bottom-color: #1f2937 !important;

}

html.dark-theme .dk-footer-feature-item svg {

    color: #9ca3af !important;

}

html.dark-theme .dk-footer-feature-item span {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-footer-col-title {

    color: #f9fafb !important;

}

html.dark-theme .dk-footer-col a {

    color: #9ca3af !important;

}

html.dark-theme .dk-footer-col a:hover {

    color: #f9fafb !important;

}

html.dark-theme .dk-footer-bottom {

    border-top-color: #1f2937 !important;

}

html.dark-theme .dk-footer-copyright {

    color: #6b7280 !important;

}



/* Back-to-top & Floating Support in Dark Mode */

html.dark-theme .ps-btt-btn {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;

}

html.dark-theme .ps-support-window {

    background-color: #111827 !important;

    border-color: #374151 !important;

    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6) !important;

}

html.dark-theme .ps-support-header {

    background-color: #1f2937 !important;

    color: #f9fafb !important;

}

html.dark-theme .ps-support-body {

    background-color: #111827 !important;

    color: #cbd5e1 !important;

}



/* Form Elements in Dark Mode */

html.dark-theme input[type="text"],

html.dark-theme input[type="search"],

html.dark-theme input[type="email"],

html.dark-theme input[type="tel"],

html.dark-theme textarea,

html.dark-theme select {

    background-color: #111827 !important;

    border-color: #374151 !important;

    color: #f9fafb !important;

}

html.dark-theme input:focus,

html.dark-theme textarea:focus,

html.dark-theme select:focus {

    border-color: var(--ps-primary) !important;

}



/* Image Ergonomics (Soft contrast in dark mode) */

html.dark-theme img:not(.dk-logo img) {

    opacity: 0.94;

    transition: opacity 0.2s ease;

}

html.dark-theme img:hover {

    opacity: 1;

}



/* Global Transition on Theme Switch */

body,

.dk-header-main,

.dk-card,

.dk-product-card,

.dk-footer,

.ps-bought-together-section,

.dk-buybox-card,

.dk-product-main-grid,

.dk-tab-container {

    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;

}



/* Single Product Page Refined Dark Theme */

html.dark-theme .dk-product-main-grid {

    background-color: #1e293b !important;

    border-color: #334155 !important;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;

}

html.dark-theme .dk-gallery-card,

html.dark-theme .dk-product-details-col {

    background-color: transparent !important;

}

html.dark-theme .dk-gallery-main {

    background-color: #111827 !important;

    border-color: #334155 !important;

}

html.dark-theme .dk-action-icon-btn {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-zoom-hint-badge {

    background: rgba(17, 24, 39, 0.85) !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-guarantee-pill {

    background-color: #111827 !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-single-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-single-en-title {

    color: #94a3b8 !important;

}

html.dark-theme .dk-single-rating-bar {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-score-text,

html.dark-theme .dk-recommend-text {

    color: #94a3b8 !important;

}

html.dark-theme .dk-color-header,

html.dark-theme .dk-color-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-color-pill {

    background-color: #111827 !important;

    border-color: #334155 !important;

    color: #e2e8f0 !important;

}

html.dark-theme .dk-color-pill.active {

    border-color: var(--ps-primary) !important;

    background-color: #162032 !important;

}

html.dark-theme .dk-features-heading {

    color: #f8fafc !important;

}

html.dark-theme .dk-features-list li {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-feature-bullet {

    background-color: var(--ps-primary) !important;

}

html.dark-theme .dk-return-notice-box {

    background-color: rgba(239, 57, 78, 0.08) !important;

    border-color: rgba(239, 57, 78, 0.25) !important;

    color: #fca5a5 !important;

}



/* Buy Box Column Dark Mode */

html.dark-theme .dk-buy-box {

    background-color: #111827 !important;

    border-color: #334155 !important;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;

}

html.dark-theme .dk-buybox-heading {

    color: #f8fafc !important;

}

html.dark-theme .dk-seller-store-link strong {

    color: #f8fafc !important;

}

html.dark-theme .dk-seller-satisfaction {

    color: #94a3b8 !important;

}

html.dark-theme .dk-buybox-row {

    color: #cbd5e1 !important;

    border-color: #334155 !important;

}

html.dark-theme .dk-bb-old-price {

    color: #64748b !important;

}

html.dark-theme .dk-bb-amount {

    color: #f8fafc !important;

}

html.dark-theme .dk-bb-currency {

    color: #94a3b8 !important;

}

html.dark-theme .ps-btn-quick-buy {

    background-color: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-price-alert-trigger-btn {

    background-color: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-best-price-note {

    color: #10b981 !important;

}

html.dark-theme .dk-price-satisfaction-box {

    background-color: #162032 !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-poll-btn {

    background-color: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}



/* Frequently Bought Together (FBT) Dark Mode */

html.dark-theme .ps-bought-together-section {

    background-color: #1e293b !important;

    border-color: #334155 !important;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;

}

html.dark-theme .ps-fbt-summary-box {

    background-color: #111827 !important;

    border-color: #334155 !important;

}

html.dark-theme .ps-fbt-sum-label {

    color: #94a3b8 !important;

}

html.dark-theme .ps-fbt-total-val {

    color: #f8fafc !important;

}

html.dark-theme .ps-fbt-curr {

    color: #94a3b8 !important;

}



/* Technical Specs & Description Tabs Section */

html.dark-theme .dk-product-tabs-section {

    background-color: #1e293b !important;

    border-color: #334155 !important;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;

}

html.dark-theme .dk-tabs-nav {

    border-color: #334155 !important;

}

html.dark-theme .dk-tab-btn {

    color: #94a3b8 !important;

}

html.dark-theme .dk-tab-btn.active {

    color: var(--ps-primary) !important;

}

html.dark-theme .dk-tab-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-spec-row {

    border-color: #334155 !important;

}

html.dark-theme .dk-spec-label {

    background-color: #111827 !important;

    color: #94a3b8 !important;

    border-color: #334155 !important;

}

html.dark-theme .dk-spec-value {

    background-color: #1e293b !important;

    color: #f8fafc !important;

    border-color: #334155 !important;

}

html.dark-theme .dk-desc-body {

    color: #cbd5e1 !important;

}



/* Spotlight Search Modal Refined Dark Theme */

html.dark-theme .ps-sm-header {

    background-color: #111827 !important;

    border-bottom: 1px solid #1f2937 !important;

}

html.dark-theme .ps-sm-form {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

}

html.dark-theme .ps-sm-form:focus-within {

    background-color: #1f2937 !important;

    border-color: var(--ps-primary) !important;

}

html.dark-theme .ps-sm-input {

    background-color: transparent !important;

    color: #f8fafc !important;

}

html.dark-theme .ps-sm-close-btn {

    background-color: #1f2937 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .ps-sm-close-btn:hover {

    background-color: #374151 !important;

    color: #ef4444 !important;

}

html.dark-theme .ps-sm-esc-badge {

    background-color: #111827 !important;

    border-color: #374151 !important;

    color: #94a3b8 !important;

}

html.dark-theme .ps-sm-head-title {

    color: #f8fafc !important;

}

html.dark-theme .ps-sm-chip-btn {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .ps-sm-chip-btn:hover {

    background-color: #374151 !important;

    color: #f8fafc !important;

}

html.dark-theme .ps-sm-recent-chip {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .ps-sm-recent-chip:hover {

    background-color: #374151 !important;

}

html.dark-theme .ps-sm-prod-item {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

}

html.dark-theme .ps-sm-prod-item:hover {

    background-color: #374151 !important;

}

html.dark-theme .ps-sm-prod-title {

    color: #f8fafc !important;

}

html.dark-theme .ps-sm-prod-price {

    color: #f8fafc !important;

}

html.dark-theme .ps-sm-cat-res-item {

    background-color: #1f2937 !important;

    border-color: #374151 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .ps-sm-cat-res-item:hover {

    background-color: #374151 !important;

}

html.dark-theme .ps-sm-body {

    background-color: #111827 !important;

}



/* Mobile Drawer Refined Dark Theme */

html.dark-theme .dk-drawer-user-card {

    background-color: #1e293b !important;

    border-color: #334155 !important;

}

html.dark-theme .dk-drawer-user-info strong {

    color: #f8fafc !important;

}

html.dark-theme .dk-drawer-user-info span {

    color: #94a3b8 !important;

}

html.dark-theme .dk-drawer-avatar {

    background-color: #334155 !important;

    color: #e2e8f0 !important;

}

html.dark-theme .dk-drawer-quick-links {

    background-color: #111827 !important;

}

html.dark-theme .dk-drawer-quick-item {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-drawer-quick-item.highlight {

    background-color: rgba(239, 57, 78, 0.12) !important;

    color: #ef4444 !important;

}

html.dark-theme .dk-accordion-head {

    color: #e2e8f0 !important;

    border-color: #1f2937 !important;

}

html.dark-theme .dk-accordion-body {

    background-color: #0f172a !important;

}

html.dark-theme .dk-accordion-body a {

    color: #94a3b8 !important;

}



/* Mobile Bottom Navigation Bar Dark Mode */

html.dark-theme .ps-mobile-bottom-nav {

    background-color: #111827 !important;

    border-top: 1px solid #1f2937 !important;

}

html.dark-theme .ps-mbn-item {

    color: #94a3b8 !important;

}

html.dark-theme .ps-mbn-item.is-active {

    color: var(--ps-primary) !important;

}



/* ==========================================================================

   Comprehensive Dark Mode Ergonomic & Contrast Polish

   ========================================================================== */



/* 1. Incredible Offer Timer & Countdown in Dark Mode */

html.dark-theme .dk-countdown-box {

    background: #1e293b !important;

    color: #f8fafc !important;

    border-color: #334155 !important;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;

}

html.dark-theme .dk-countdown-box .dk-cd-num {

    color: #f8fafc !important;

}

html.dark-theme .dk-countdown-box .dk-cd-label {

    color: #94a3b8 !important;

}

html.dark-theme .dk-fresh-thumb-wrap {

    background: #1e293b !important;

    border-color: #334155 !important;

}



/* 2. Homepage Boxed Cards & Tabbed Containers in Dark Mode */

html.dark-theme .ps-boxed-card,

html.dark-theme .ps-boxed-container {

    background: #1e293b !important;

    border-color: #334155 !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;

}

html.dark-theme .ps-boxed-title {

    color: #f8fafc !important;

}

html.dark-theme .ps-boxed-card-header {

    background: transparent !important;

    color: #cbd5e1 !important;

    border-bottom: 1px solid #334155 !important;

}

html.dark-theme .ps-boxed-subtitle {

    color: #94a3b8 !important;

}

html.dark-theme .ps-boxed-card-footer {

    background: transparent !important;

    color: #94a3b8 !important;

    border-top: 1px solid #334155 !important;

}

html.dark-theme .ps-boxed-card-footer a {

    color: #38bdf8 !important;

}

html.dark-theme .ps-tabbed-container {

    background: #1e293b !important;

    border-color: #334155 !important;

}

html.dark-theme .ps-tabbed-title {

    color: #f8fafc !important;

}

html.dark-theme .ps-tab-btn {

    background: #0f172a !important;

    color: #94a3b8 !important;

    border-color: #334155 !important;

}

html.dark-theme .ps-tab-btn.is-active {

    background: var(--ps-primary, #ef394e) !important;

    color: #ffffff !important;

    border-color: var(--ps-primary, #ef394e) !important;

}



/* 3. Shop & Catalog Filter Sidebar & Advanced Filters in Dark Mode */

html.dark-theme .dk-filter-sidebar,

html.dark-theme .dk-filter-box,

html.dark-theme .dk-filter-wrap,

html.dark-theme .dk-cat-filter-wrap {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;

}

html.dark-theme .dk-filter-head {

    background: #1e293b !important;

    border-bottom: 1px solid #334155 !important;

}

html.dark-theme .dk-filter-head h3,

html.dark-theme .dk-filter-head h4,

html.dark-theme .dk-filter-title,

html.dark-theme .dk-filter-title span,

html.dark-theme .dk-unit-sub {

    color: #f8fafc !important;

}

html.dark-theme .dk-filter-clear-all {

    color: #ef4444 !important;

}

html.dark-theme .dk-filter-group {

    background: transparent !important;

    border-bottom: 1px solid #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-cat-parent-item,

html.dark-theme .dk-cat-parent-item a,

html.dark-theme .dk-cat-filter-list li a,

html.dark-theme .dk-filter-option-label {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-cat-parent-item:hover,

html.dark-theme .dk-cat-parent-item a:hover {

    color: #38bdf8 !important;

}

html.dark-theme .dk-cat-parent-item span.dk-cat-count,

html.dark-theme .dk-filter-count {

    background: #0f172a !important;

    color: #94a3b8 !important;

}

html.dark-theme .dk-shop-toolbar {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-sort-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-sort-item {

    color: #94a3b8 !important;

}

html.dark-theme .dk-sort-item.is-active {

    color: var(--ps-primary, #ef394e) !important;

    font-weight: 700;

}

html.dark-theme .dk-shop-view-btn {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #94a3b8 !important;

}

html.dark-theme .dk-shop-view-btn.is-active {

    background: #334155 !important;

    color: #f8fafc !important;

}

html.dark-theme .dk-switch-track {

    background: #334155 !important;

}

html.dark-theme input:checked + .dk-switch-track {

    background: var(--ps-primary, #ef394e) !important;

}

html.dark-theme .dk-price-slider-track {

    background: #334155 !important;

}

html.dark-theme .dk-price-num-box {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #f8fafc !important;

}

html.dark-theme .woocommerce-pagination ul.page-numbers li a,

html.dark-theme .woocommerce-pagination ul.page-numbers li span {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .woocommerce-pagination ul.page-numbers li span.current {

    background: var(--ps-primary, #ef394e) !important;

    color: #ffffff !important;

    border-color: var(--ps-primary, #ef394e) !important;

}



/* 4. Single Product Reviews, Poll, FBT & Sticky Buy Bar */

html.dark-theme .dk-poll-prompt,

html.dark-theme .dk-poll-prompt span {

    color: #e2e8f0 !important;

}

html.dark-theme .dk-poll-card {

    background: #1e293b !important;

    border-color: #334155 !important;

}

html.dark-theme .ps-fbt-checkbox-label span,

html.dark-theme .ps-fbt-item-title {

    color: #e2e8f0 !important;

}

html.dark-theme .dk-sticky-price,

html.dark-theme .dk-sticky-bar-price .amount,

html.dark-theme .dk-sticky-bar-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-btn-open-review-form,

html.dark-theme .dk-filter-tab-btn,

html.dark-theme .dk-scroll-top-btn,

html.dark-theme .dk-city-chip {

    background: #1e293b !important;

    color: #f8fafc !important;

    border-color: #334155 !important;

}

html.dark-theme .dk-btn-open-review-form:hover,

html.dark-theme .dk-filter-tab-btn.is-active {

    background: var(--ps-primary, #ef394e) !important;

    color: #ffffff !important;

    border-color: var(--ps-primary, #ef394e) !important;

}



/* 5. Cart Drawer, Empty Cart & Checkout Elements */

html.dark-theme .ps-cart-drawer-inner,

html.dark-theme .ps-cart-drawer-loading {

    background: #111827 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .ps-cd-loading-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-empty-cart-card {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;

}

html.dark-theme .dk-empty-cart-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-empty-cart-desc {

    color: #94a3b8 !important;

}

html.dark-theme .woocommerce-checkout #order_review,

html.dark-theme .woocommerce-checkout #payment,

html.dark-theme .woocommerce-checkout .woocommerce-checkout-review-order-table {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .woocommerce-checkout #payment div.payment_box {

    background: #0f172a !important;

    color: #cbd5e1 !important;

    border-color: #334155 !important;

}



/* 6. Universal Button & Faded Button Contrast Guardians */

html.dark-theme .btn-light,

html.dark-theme .dk-btn-light,

html.dark-theme .ps-btn-light,

html.dark-theme .button.alt,

html.dark-theme .dk-btn-secondary,

html.dark-theme .btn-secondary,

html.dark-theme .dk-btn-outline,

html.dark-theme .ps-btn-outline {

    background: #1e293b !important;

    color: #f8fafc !important;

    border-color: #475569 !important;

}

html.dark-theme .btn-light:hover,

html.dark-theme .dk-btn-light:hover,

html.dark-theme .ps-btn-light:hover,

html.dark-theme .dk-btn-secondary:hover,

html.dark-theme .btn-secondary:hover,

html.dark-theme .dk-btn-outline:hover,

html.dark-theme .ps-btn-outline:hover {

    background: #334155 !important;

    color: #ffffff !important;

    border-color: #64748b !important;

}

html.dark-theme button:disabled,

html.dark-theme .button:disabled,

html.dark-theme .dk-btn:disabled {

    background: #1e293b !important;

    color: #64748b !important;

    border-color: #334155 !important;

    opacity: 0.65 !important;

}



/* 7. Comprehensive Card, Title & Sidebar Card Deep Dark Overrides */

html.dark-theme .dk-filter-card {

    background: #1e293b !important;

    border-color: #334155 !important;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;

}

html.dark-theme .dk-filter-head-title,

html.dark-theme .dk-filter-head-title h3,

html.dark-theme .dk-filter-head-title span {

    color: #f8fafc !important;

}

html.dark-theme .dk-switch-label-wrap,

html.dark-theme .dk-express-label {

    color: #f8fafc !important;

}

html.dark-theme .dk-preset-pill {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-preset-pill:hover,

html.dark-theme .dk-preset-pill.active {

    background: var(--ps-primary, #ef394e) !important;

    border-color: var(--ps-primary, #ef394e) !important;

    color: #ffffff !important;

}

html.dark-theme .dk-price-input-row {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-price-input-row input,

html.dark-theme .dk-filter-search-input-wrap input {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #f8fafc !important;

}

html.dark-theme .dk-cat-parent-link {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-cat-parent-link:hover,

html.dark-theme .dk-cat-parent-item.is-current > .dk-cat-parent-link {

    background: #334155 !important;

    color: #38bdf8 !important;

}

html.dark-theme .dk-cat-name {

    color: inherit !important;

}

html.dark-theme .dk-cat-child-list {

    border-right-color: #334155 !important;

}

html.dark-theme .dk-cat-child-list a {

    color: #94a3b8 !important;

}

html.dark-theme .dk-cat-child-list a:hover {

    color: #38bdf8 !important;

}



/* 8. Carousel & Tabbed Product Cards */

html.dark-theme .dk-product-card,

html.dark-theme .dk-card,

html.dark-theme .dk-carousel-card,

html.dark-theme .ps-tabbed-product-card,

html.dark-theme .ps-boxed-thumb-item {

    background: #1e293b !important;

    border-color: #334155 !important;

}

html.dark-theme .dk-product-title,

html.dark-theme .ps-tabbed-product-title,

html.dark-theme .dk-card-title,

html.dark-theme .dk-carousel-heading {

    color: #f8fafc !important;

}

html.dark-theme .dk-card-price-block,

html.dark-theme .dk-card-price-top,

html.dark-theme .dk-card-price-bottom,

html.dark-theme .dk-card-price-val,

html.dark-theme .dk-c-num {

    color: #f8fafc !important;

}

html.dark-theme .dk-carousel-view-all,

html.dark-theme .dk-carousel-view-all span {

    color: #38bdf8 !important;

}

html.dark-theme .dk-top-banner-btn {

    background: var(--ps-primary, #ef394e) !important;

    color: #ffffff !important;

}



/* 9. Homepage Section Containers & Tabbed Slider Dark Mode */

html.dark-theme .dk-product-carousel-box,

html.dark-theme .ps-tabbed-slider-wrap,

html.dark-theme .dk-bestsellers-box,

html.dark-theme .dk-trust-bar,

html.dark-theme .dk-trust-item,

html.dark-theme .dk-sort-bar {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;

}

html.dark-theme .dk-carousel-header,

html.dark-theme .ps-tabbed-header,

html.dark-theme .dk-bestsellers-header {

    border-bottom-color: #334155 !important;

}

html.dark-theme .dk-carousel-icon-box,

html.dark-theme .dk-bestsellers-icon {

    background: #0f172a !important;

    color: #f8fafc !important;

}

html.dark-theme .dk-carousel-heading,

html.dark-theme .ps-tabbed-title,

html.dark-theme .dk-bestsellers-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-carousel-subheading,

html.dark-theme .ps-tabbed-sub,

html.dark-theme .dk-bestsellers-subtitle {

    color: #94a3b8 !important;

}

html.dark-theme .dk-carousel-view-all,

html.dark-theme .dk-bestsellers-view-all {

    color: #38bdf8 !important;

}

html.dark-theme .dk-ranked-card,

html.dark-theme .dk-ranked-item,

html.dark-theme .dk-ranked-info {

    background: transparent !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-ranked-title,

html.dark-theme .dk-ranked-num {

    color: #f8fafc !important;

}

html.dark-theme .ps-tabbed-final-price,

html.dark-theme .ps-tabbed-final-price .ps-toman,

html.dark-theme .ps-tabbed-price-row {

    color: #f8fafc !important;

}



/* 10. Shop Swatches, Brand Checkboxes, Trust & Sort Bar Dark Mode */

html.dark-theme .dk-swatch-filter-name,

html.dark-theme .dk-check-text,

html.dark-theme .dk-filter-check-wrap label,

html.dark-theme .dk-filter-option-label {

    color: #e2e8f0 !important;

}

html.dark-theme .dk-trust-item,

html.dark-theme .dk-trust-text {

    background: transparent !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-trust-text strong,

html.dark-theme .dk-trust-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-sort-bar {

    background: #1e293b !important;

    border-color: #334155 !important;

}

html.dark-theme .dk-sort-bar li,

html.dark-theme .dk-sort-bar a,

html.dark-theme .dk-sort-title {

    color: #94a3b8 !important;

}

html.dark-theme .dk-sort-bar li.is-active a,

html.dark-theme .dk-sort-bar a:hover {

    color: var(--ps-primary, #ef394e) !important;

    font-weight: 700;

}



/* 11. Brands Carousel & News Magazine Widget Dark Mode */

html.dark-theme .ps-brands-carousel-wrap,

html.dark-theme .ps-news-carousel-wrap {

    background: #1e293b !important;

    border-color: #334155 !important;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;

}

html.dark-theme .ps-brands-title,

html.dark-theme .ps-news-title,

html.dark-theme .ps-news-card-title {

    color: #f8fafc !important;

}

html.dark-theme .ps-brands-sub,

html.dark-theme .ps-news-sub,

html.dark-theme .ps-news-actions {

    color: #94a3b8 !important;

}

html.dark-theme .ps-brand-card {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #f8fafc !important;

}

html.dark-theme .ps-brand-card-link {

    color: #f8fafc !important;

}

html.dark-theme .ps-brand-card:hover {

    background: #334155 !important;

    border-color: var(--ps-primary, #ef394e) !important;

}

html.dark-theme .ps-news-card {

    background: #0f172a !important;

    border-color: #334155 !important;

}

html.dark-theme .ps-news-thumb-wrap {

    background: #1e293b !important;

}

html.dark-theme .ps-news-more-btn {

    background: #0f172a !important;

    color: #38bdf8 !important;

    border: 1px solid #334155 !important;

}

html.dark-theme .ps-news-nav,

html.dark-theme .ps-brands-nav-btn {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}



/* 12. Shop Catalog Grid Cards (dk-catalog-item) Dark Mode */

html.dark-theme .dk-catalog-item {

    background: #1e293b !important;

    border-color: #334155 !important;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;

}

html.dark-theme .dk-catalog-item:hover {

    border-color: #475569 !important;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;

}

html.dark-theme .dk-catalog-thumb {

    background: #1e293b !important;

}

html.dark-theme .dk-catalog-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-catalog-pricing-wrap,

html.dark-theme .dk-catalog-pricing,

html.dark-theme .dk-catalog-cur-row,

html.dark-theme .dk-catalog-cur-row .amount {

    color: #f8fafc !important;

}

html.dark-theme .dk-catalog-old-row,

html.dark-theme .dk-catalog-old-row del {

    color: #94a3b8 !important;

}

html.dark-theme .dk-catalog-installment-tag {

    background: rgba(56, 189, 248, 0.12) !important;

    color: #38bdf8 !important;

    border-color: rgba(56, 189, 248, 0.3) !important;

}

html.dark-theme .dk-catalog-meta-row {

    color: #94a3b8 !important;

}

html.dark-theme .dk-sort-label,

html.dark-theme .dk-sort-count {

    color: #f8fafc !important;

}

html.dark-theme .dk-sort-right span {

    color: #f8fafc !important;

}



/* 13. Deep Precision Contrast Polish for Brand Names & Catalog Cards */

html.dark-theme .ps-brand-name,

html.dark-theme .ps-brand-card-link span {

    color: #f8fafc !important;

}

html.dark-theme .dk-sidebar-trust-box {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;

}

html.dark-theme .dk-sidebar-trust-box .dk-trust-icon {

    background: #0f172a !important;

    color: #38bdf8 !important;

}

html.dark-theme .dk-sidebar-trust-box .dk-trust-text strong {

    color: #f8fafc !important;

}

html.dark-theme .dk-sidebar-trust-box .dk-trust-text span {

    color: #94a3b8 !important;

}

html.dark-theme .dk-catalog-title a,

html.dark-theme .dk-catalog-title a:visited {

    color: #f8fafc !important;

}

html.dark-theme .dk-catalog-title a:hover {

    color: var(--ps-primary, #ef394e) !important;

}

html.dark-theme .dk-catalog-amount {

    color: #f8fafc !important;

}

html.dark-theme .dk-catalog-unit {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-catalog-installment-tag {

    background: #0f172a !important;

    color: #38bdf8 !important;

    border: 1px solid #0284c7 !important;

}



/* 14. Shop Hero Banner & Scrollable Category Chips Dark Mode */

html.dark-theme .dk-shop-hero-card {

    background: #1e293b !important;

    border-color: #334155 !important;

    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3) !important;

}

html.dark-theme .dk-shop-page-title {

    color: #f8fafc !important;

}

html.dark-theme .dk-shop-counter-badge {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-shop-hero-subtitle {

    color: #94a3b8 !important;

}

html.dark-theme .dk-cat-chip {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-cat-chip:hover {

    border-color: var(--ps-primary, #ef394e) !important;

    color: var(--ps-primary, #ef394e) !important;

}

html.dark-theme .dk-cat-chip.is-active {

    background: var(--ps-primary, #ef394e) !important;

    border-color: var(--ps-primary, #ef394e) !important;

    color: #ffffff !important;

}

html.dark-theme .dk-chips-nav-btn {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-chips-nav-btn:hover {

    background: var(--ps-primary, #ef394e) !important;

    color: #ffffff !important;

    border-color: var(--ps-primary, #ef394e) !important;

}

html.dark-theme .dk-shop-cat-chips-wrapper::before {

    background: linear-gradient(to left, #1e293b 40%, rgba(30, 41, 59, 0)) !important;

}

html.dark-theme .dk-shop-cat-chips-wrapper::after {

    background: linear-gradient(to right, #1e293b 40%, rgba(30, 41, 59, 0)) !important;

}



/* 15. Supermarket Fresh Shelf Dark Mode */

html.dark-theme .dk-supermarket-fresh-shelf .dk-supermarket-btn {

    background: #0f172a !important;

    color: #4ade80 !important;

    border: 1px solid #1e293b !important;

}

html.dark-theme .dk-supermarket-fresh-shelf .dk-supermarket-btn:hover {

    background: #1e293b !important;

    color: #ffffff !important;

}



/* 16. Ultra Full-Width Seamless Header Dark Mode (Fix White Edges & Boxed Look) */

html.dark-theme .dk-header,

html.dark-theme .dk-header-v1,

html.dark-theme .dk-header-v2,

html.dark-theme .dk-header-v3,

html.dark-theme .ps-header-minimal,

html.dark-theme .ps-header-tech,

html.dark-theme header[class*="dk-header"] {

    background-color: #111827 !important;

    border-bottom: 1px solid #1f2937 !important;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;

}

html.dark-theme .dk-header-main,

html.dark-theme .dk-header-nav,

html.dark-theme .ps-header-v2-inner,

html.dark-theme .ps-v3-main-row,

html.dark-theme .ps-v3-nav-row {

    background-color: transparent !important;

}

html.dark-theme .dk-header-main {

    border-bottom: 1px solid #1f2937 !important;

}

html.dark-theme .dk-location-btn {

    background-color: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .dk-location-btn:hover {

    background-color: #334155 !important;

    color: #ffffff !important;

    border-color: #475569 !important;

}

html.dark-theme .ps-v2-menu-list a {

    color: #cbd5e1 !important;

}

html.dark-theme .ps-v2-menu-list a:hover {

    color: var(--ps-primary, #ef394e) !important;

}

html.dark-theme .ps-v2-highlight-link {

    color: #ef4444 !important;

}

html.dark-theme .ps-v2-action-icon {

    background-color: #1e293b !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .ps-v2-action-icon:hover {

    background-color: #334155 !important;

    color: #ffffff !important;

}

html.dark-theme .ps-v3-top-strip {

    background-color: #0b1120 !important;

    border-bottom: 1px solid #1f2937 !important;

    color: #94a3b8 !important;

}

html.dark-theme .ps-v3-top-link {

    color: #cbd5e1 !important;

}

html.dark-theme .ps-v3-search-form {

    background-color: #1f2937 !important;

    border-color: #0284c7 !important;

}

html.dark-theme .ps-v3-cat-select-wrap {

    background-color: #111827 !important;

    border-left-color: #334155 !important;

}

html.dark-theme .ps-v3-cat-select {

    color: #e2e8f0 !important;

}

html.dark-theme .ps-v3-input {

    color: #f8fafc !important;

}

html.dark-theme .ps-v3-hotline {

    color: #cbd5e1 !important;

}

html.dark-theme .ps-v3-nav-list > li > a {

    color: #cbd5e1 !important;

}



/* ==========================================================================

   28. Cart Cross-Sells & Recommendations Carousel

   ========================================================================== */

.ps-cart-cross-sells-wrapper {

    margin-top: 36px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 24px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);

}



.ps-cs-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;

    padding-bottom: 16px;

    border-bottom: 1px solid #f1f5f9;

}



.ps-cs-title-wrap {

    display: flex;

    align-items: center;

    gap: 12px;

}



.ps-cs-icon {

    width: 42px;

    height: 42px;

    border-radius: 10px;

    background: #fff1f2;

    color: #ef394e;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.ps-cs-title {

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 4px;

    line-height: 1.3;

}



.ps-cs-subtitle {

    font-size: 12.5px;

    color: #64748b;

    display: block;

}



.ps-cs-nav-arrows {

    display: flex;

    align-items: center;

    gap: 8px;

}



.ps-cs-arrow {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    color: #475569;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.2s ease;

}



.ps-cs-arrow:hover {

    background: #ef394e;

    border-color: #ef394e;

    color: #ffffff;

    transform: scale(1.05);

}



.ps-cs-carousel-track {

    display: flex;

    gap: 16px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    padding-bottom: 8px;

    -ms-overflow-style: none;

    scrollbar-width: none;

}



.ps-cs-carousel-track::-webkit-scrollbar {

    display: none;

}



.ps-cs-item-card {

    flex: 0 0 calc(25% - 12px);

    min-width: 230px;

    max-width: 280px;

    scroll-snap-align: start;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 14px;

    display: flex;

    flex-direction: column;

    transition: all 0.25s ease;

    box-sizing: border-box;

}



.ps-cs-item-card:hover {

    border-color: #cbd5e1;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

    transform: translateY(-2px);

}



.ps-cs-thumb-wrap {

    position: relative;

    width: 100%;

    height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

    background: #f8fafc;

    border-radius: 10px;

    overflow: hidden;

}



.ps-cs-thumb-wrap img {

    max-width: 90%;

    max-height: 90%;

    object-fit: contain;

    transition: transform 0.3s ease;

}



.ps-cs-item-card:hover .ps-cs-thumb-wrap img {

    transform: scale(1.06);

}



.ps-cs-disc-badge {

    position: absolute;

    top: 8px;

    right: 8px;

    background: #ef394e;

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    padding: 2px 7px;

    border-radius: 6px;

}



.ps-cs-info {

    display: flex;

    flex-direction: column;

    flex-grow: 1;

}



.ps-cs-meta-row {

    display: flex;

    align-items: center;

    gap: 4px;

    font-size: 11.5px;

    color: #b45309;

    margin-bottom: 6px;

}



.ps-cs-star {

    color: #f59e0b;

}



.ps-cs-stock-tag {

    margin-right: auto;

    font-size: 10.5px;

    color: #10b981;

    font-weight: 700;

}



.ps-cs-product-title {

    font-size: 13px;

    font-weight: 700;

    line-height: 1.5;

    margin: 0 0 10px;

    height: 38px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.ps-cs-product-title a {

    color: #1e293b;

    text-decoration: none;

    transition: color 0.15s;

}



.ps-cs-product-title a:hover {

    color: #ef394e;

}



.ps-cs-pricing {

    margin-top: auto;

    margin-bottom: 12px;

}



.ps-cs-old-price {

    font-size: 11px;

    color: #94a3b8;

    margin-bottom: 2px;

}



.ps-cs-cur-price {

    display: flex;

    align-items: baseline;

    gap: 4px;

}



.ps-cs-cur-price strong {

    font-size: 15.5px;

    font-weight: 900;

    color: #0f172a;

}



.ps-cs-cur-price small {

    font-size: 11px;

    color: #64748b;

    font-weight: 600;

}



.ps-cs-add-btn {

    width: 100%;

    height: 38px;

    border-radius: 9px;

    background: #ffffff;

    border: 1.5px solid #ef394e;

    color: #ef394e;

    font-size: 12.5px;

    font-weight: 800;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    cursor: pointer;

    transition: all 0.2s ease;

}



.ps-cs-add-btn:hover {

    background: #ef394e;

    color: #ffffff;

}



.ps-cs-add-btn.is-added {

    background: #10b981 !important;

    border-color: #10b981 !important;

    color: #ffffff !important;

    pointer-events: none;

}



.ps-cs-add-btn.is-loading {

    opacity: 0.75;

    pointer-events: none;

}



@media (max-width: 991px) {

    .ps-cs-item-card {

        flex: 0 0 calc(33.333% - 11px);

        min-width: 210px;

    }

}



@media (max-width: 640px) {

    .ps-cart-cross-sells-wrapper {

        padding: 16px;

        margin-top: 24px;

    }

    .ps-cs-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

    }

    .ps-cs-nav-arrows {

        align-self: flex-end;

    }

    .ps-cs-item-card {

        flex: 0 0 calc(50% - 8px);

        min-width: 180px;

        padding: 10px;

    }

    .ps-cs-thumb-wrap {

        height: 120px;

    }

}



/* --- Dark Theme Rules for Cross-Sells --- */

.dark-theme .ps-cart-cross-sells-wrapper,

body.dark .ps-cart-cross-sells-wrapper,

.dark .ps-cart-cross-sells-wrapper {

    background: #111827 !important;

    border-color: #1f2937 !important;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;

}



.dark-theme .ps-cs-header,

body.dark .ps-cs-header,

.dark .ps-cs-header {

    border-color: #1f2937 !important;

}



.dark-theme .ps-cs-icon,

body.dark .ps-cs-icon,

.dark .ps-cs-icon {

    background: rgba(239, 57, 78, 0.15) !important;

    color: #ef394e !important;

}



.dark-theme .ps-cs-title,

body.dark .ps-cs-title,

.dark .ps-cs-title {

    color: #f9fafb !important;

}



.dark-theme .ps-cs-subtitle,

body.dark .ps-cs-subtitle,

.dark .ps-cs-subtitle {

    color: #9ca3af !important;

}



.dark-theme .ps-cs-arrow,

body.dark .ps-cs-arrow,

.dark .ps-cs-arrow {

    background: #1f2937 !important;

    border-color: #374151 !important;

    color: #d1d5db !important;

}



.dark-theme .ps-cs-arrow:hover,

body.dark .ps-cs-arrow:hover,

.dark .ps-cs-arrow:hover {

    background: #ef394e !important;

    border-color: #ef394e !important;

    color: #ffffff !important;

}



.dark-theme .ps-cs-item-card,

body.dark .ps-cs-item-card,

.dark .ps-cs-item-card {

    background: #161f2e !important;

    border-color: #1f2937 !important;

}



.dark-theme .ps-cs-item-card:hover,

body.dark .ps-cs-item-card:hover,

.dark .ps-cs-item-card:hover {

    border-color: #374151 !important;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;

}



.dark-theme .ps-cs-thumb-wrap,

body.dark .ps-cs-thumb-wrap,

.dark .ps-cs-thumb-wrap {

    background: #111827 !important;

}



.dark-theme .ps-cs-product-title a,

body.dark .ps-cs-product-title a,

.dark .ps-cs-product-title a {

    color: #f3f4f6 !important;

}



.dark-theme .ps-cs-product-title a:hover,

body.dark .ps-cs-product-title a:hover,

.dark .ps-cs-product-title a:hover {

    color: #ef394e !important;

}



.dark-theme .ps-cs-cur-price strong,

body.dark .ps-cs-cur-price strong,

.dark .ps-cs-cur-price strong {

    color: #ffffff !important;

}



.dark-theme .ps-cs-cur-price small,

body.dark .ps-cs-cur-price small,

.dark .ps-cs-cur-price small {

    color: #9ca3af !important;

}



.dark-theme .ps-cs-old-price del,

body.dark .ps-cs-old-price del,

.dark .ps-cs-old-price del {

    color: #6b7280 !important;

}



.dark-theme .ps-cs-add-btn,

body.dark .ps-cs-add-btn,

.dark .ps-cs-add-btn {

    background: #1f2937 !important;

    border-color: #ef394e !important;

    color: #ef394e !important;

}



.dark-theme .ps-cs-add-btn:hover,

body.dark .ps-cs-add-btn:hover,

.dark .ps-cs-add-btn:hover {

    background: #ef394e !important;

    color: #ffffff !important;

}





/* ==========================================================================

   FOMO Sales Booster & Countdown Timers

   ========================================================================== */

.ps-sale-countdown-banner {

    background: linear-gradient(90deg, var(--ps-primary, #ef394e) 0%, var(--ps-primary-hover, #d81f37) 100%);

    color: #ffffff;

    border-radius: 12px;

    padding: 12px 20px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 12px;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.25);

    transition: all 0.3s ease;

}



.ps-sale-countdown-clock {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    font-size: 14.5px;

    font-weight: 800;

    direction: ltr;

    background: rgba(0, 0, 0, 0.22);

    padding: 5px 12px;

    border-radius: 8px;

    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);

}



.ps-sale-countdown-clock span {

    min-width: 18px;

    text-align: center;

    display: inline-block;

}



/* Social Proof Toast Base & Dark Styles */

.ps-sales-toast {

    position: fixed;

    bottom: 24px;

    right: 24px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    max-width: 350px;

    z-index: 9998;

    direction: rtl;

    animation: psToastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;

}



/* Dark Mode FOMO Elements */

[data-theme="dark"] .ps-sale-countdown-banner,

body.dark-mode .ps-sale-countdown-banner,

body.dark .ps-sale-countdown-banner,

.dark-theme .ps-sale-countdown-banner,

.dark .ps-sale-countdown-banner {

    background: linear-gradient(90deg, #991b1b 0%, #7f1d1d 100%) !important;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5) !important;

}



[data-theme="dark"] .ps-sales-toast,

body.dark-mode .ps-sales-toast,

body.dark .ps-sales-toast,

.dark-theme .ps-sales-toast,

.dark .ps-sales-toast {

    background: #111827 !important;

    border-color: #374151 !important;

    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.65), 0 10px 10px rgba(0, 0, 0, 0.4) !important;

}



[data-theme="dark"] .ps-sales-toast .ps-toast-thumb-wrap,

body.dark-mode .ps-sales-toast .ps-toast-thumb-wrap,

body.dark .ps-sales-toast .ps-toast-thumb-wrap,

.dark-theme .ps-sales-toast .ps-toast-thumb-wrap,

.dark .ps-sales-toast .ps-toast-thumb-wrap {

    background: #1f2937 !important;

    border-color: #374151 !important;

}



[data-theme="dark"] .ps-sales-toast .ps-toast-lead,

body.dark-mode .ps-sales-toast .ps-toast-lead,

body.dark .ps-sales-toast .ps-toast-lead,

.dark-theme .ps-sales-toast .ps-toast-lead,

.dark .ps-sales-toast .ps-toast-lead {

    color: #e2e8f0 !important;

}



[data-theme="dark"] .ps-sales-toast .ps-toast-title,

body.dark-mode .ps-sales-toast .ps-toast-title,

body.dark .ps-sales-toast .ps-toast-title,

.dark-theme .ps-sales-toast .ps-toast-title,

.dark .ps-sales-toast .ps-toast-title {

    color: #ffffff !important;

}



[data-theme="dark"] .ps-sales-toast .ps-toast-time,

body.dark-mode .ps-sales-toast .ps-toast-time,

body.dark .ps-sales-toast .ps-toast-time,

.dark-theme .ps-sales-toast .ps-toast-time,

.dark .ps-sales-toast .ps-toast-time {

    color: #9ca3af !important;

}



[data-theme="dark"] .ps-sales-toast .ps-toast-close,

body.dark-mode .ps-sales-toast .ps-toast-close,

body.dark .ps-sales-toast .ps-toast-close,

.dark-theme .ps-sales-toast .ps-toast-close,

.dark .ps-sales-toast .ps-toast-close {

    color: #9ca3af !important;

}



[data-theme="dark"] .ps-sales-toast .ps-toast-badge,

body.dark-mode .ps-sales-toast .ps-toast-badge,

body.dark .ps-sales-toast .ps-toast-badge,

.dark-theme .ps-sales-toast .ps-toast-badge,

.dark .ps-sales-toast .ps-toast-badge {

    color: #34d399 !important;

}





/* ==========================================================================

   PWA Install Banner Dark Mode & Offline Status

   ========================================================================== */

[data-theme="dark"] .ps-pwa-banner,

html.dark-theme .ps-pwa-banner,

body.dark-mode .ps-pwa-banner,

body.dark .ps-pwa-banner,

.dark-theme .ps-pwa-banner,

.dark .ps-pwa-banner {

    background: #111827 !important;

    border-color: #374151 !important;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75) !important;

}



[data-theme="dark"] .ps-pwa-close-btn,

html.dark-theme .ps-pwa-close-btn,

body.dark-mode .ps-pwa-close-btn,

body.dark .ps-pwa-close-btn,

.dark-theme .ps-pwa-close-btn,

.dark .ps-pwa-close-btn {

    background: #1f2937 !important;

    color: #9ca3af !important;

}



[data-theme="dark"] .ps-pwa-app-title,

html.dark-theme .ps-pwa-app-title,

body.dark-mode .ps-pwa-app-title,

body.dark .ps-pwa-app-title,

.dark-theme .ps-pwa-app-title,

.dark .ps-pwa-app-title {

    color: #ffffff !important;

}



[data-theme="dark"] .ps-pwa-app-subtitle,

html.dark-theme .ps-pwa-app-subtitle,

body.dark-mode .ps-pwa-app-subtitle,

body.dark .ps-pwa-app-subtitle,

.dark-theme .ps-pwa-app-subtitle,

.dark .ps-pwa-app-subtitle {

    color: #9ca3af !important;

}



/* Offline Toast Notification */

.ps-network-toast {

    position: fixed;

    top: 16px;

    left: 50%;

    transform: translateX(-50%);

    background: #1f2937;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    padding: 8px 18px;

    border-radius: 30px;

    z-index: 100000;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);

    display: flex;

    align-items: center;

    gap: 8px;

    animation: psToastSlideIn 0.3s ease;

}

.ps-network-toast.is-offline {

    background: #e11d48;

}

.ps-network-toast.is-online {

    background: #059669;

}





/* ==========================================================================

   Checkout Order Bump Dark Mode & Interactive UX

   ========================================================================== */

.ps-checkout-order-bump {

    background: #fffbeb;

    border: 2px dashed #f59e0b;

    border-radius: 12px;

    padding: 14px 16px;

    margin: 18px 0;

    transition: all 0.25s ease;

    cursor: pointer;

}

.ps-checkout-order-bump.is-bump-active {

    background: #f0fdf4;

    border-color: #10b981;

    border-style: solid;

}

.ps-bump-badge-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 8px;

}

.ps-bump-badge {

    background: #fef3c7;

    color: #b45309;

    font-size: 11px;

    font-weight: 800;

    padding: 2px 8px;

    border-radius: 6px;

}

.is-bump-active .ps-bump-badge {

    background: #dcfce7;

    color: #15803d;

}

.ps-bump-price-tag {

    font-size: 13.5px;

    font-weight: 800;

    color: #0f172a;

}

.ps-bump-label {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    cursor: pointer;

    margin: 0;

}

.ps-bump-label input[type="checkbox"] {

    margin-top: 3px;

    width: 18px;

    height: 18px;

    accent-color: #10b981;

    cursor: pointer;

}

.ps-bump-title {

    font-size: 14px;

    color: #1e293b;

    display: block;

    margin-bottom: 4px;

}

.ps-bump-desc {

    font-size: 12px;

    color: #64748b;

    margin: 0;

    line-height: 1.6;

}

.ps-bump-check-icon {

    display: none;

    color: #10b981;

    font-weight: 900;

    margin-left: 4px;

}

.is-bump-active .ps-bump-check-icon {

    display: inline-block;

}



[data-theme="dark"] .ps-checkout-order-bump,

html.dark-theme .ps-checkout-order-bump,

body.dark-mode .ps-checkout-order-bump,

body.dark .ps-checkout-order-bump,

.dark-theme .ps-checkout-order-bump {

    background: #1c1917 !important;

    border-color: #b45309 !important;

}

[data-theme="dark"] .ps-checkout-order-bump.is-bump-active,

html.dark-theme .ps-checkout-order-bump.is-bump-active,

body.dark-mode .ps-checkout-order-bump.is-bump-active,

body.dark .ps-checkout-order-bump.is-bump-active,

.dark-theme .ps-checkout-order-bump.is-bump-active {

    background: #064e3b !important;

    border-color: #10b981 !important;

}

[data-theme="dark"] .ps-bump-badge,

html.dark-theme .ps-bump-badge,

body.dark-mode .ps-bump-badge,

.dark-theme .ps-bump-badge {

    background: #78350f !important;

    color: #fef3c7 !important;

}

[data-theme="dark"] .is-bump-active .ps-bump-badge,

html.dark-theme .is-bump-active .ps-bump-badge,

body.dark-mode .is-bump-active .ps-bump-badge,

.dark-theme .is-bump-active .ps-bump-badge {

    background: #065f46 !important;

    color: #a7f3d0 !important;

}

[data-theme="dark"] .ps-bump-price-tag,

html.dark-theme .ps-bump-price-tag,

body.dark-mode .ps-bump-price-tag,

.dark-theme .ps-bump-price-tag {

    color: #f8fafc !important;

}

[data-theme="dark"] .ps-bump-title,

html.dark-theme .ps-bump-title,

body.dark-mode .ps-bump-title,

.dark-theme .ps-bump-title {

    color: #ffffff !important;

}

[data-theme="dark"] .ps-bump-desc,

html.dark-theme .ps-bump-desc,

body.dark-mode .ps-bump-desc,

.dark-theme .ps-bump-desc {

    color: #94a3b8 !important;

}





/* ==========================================================================

   Smart Header Search Dropdown, History & Trending Suite

   ========================================================================== */

.dk-live-search-dropdown {

    position: absolute;

    top: 100%;

    right: 0;

    left: 0;

    margin-top: 8px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04);

    border: 1px solid #e2e8f0;

    z-index: 1005;

    max-height: 460px;

    overflow-y: auto;

    display: none;

    animation: psDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);

}



@keyframes psDropdownFadeIn {

    from { opacity: 0; transform: translateY(-6px); }

    to { opacity: 1; transform: translateY(0); }

}



.dk-live-search-dropdown.show {

    display: block !important;

}



#dk-search-box-wrap.is-active {

    z-index: 1010;

}



.ps-dd-inner {

    display: flex;

    flex-direction: column;

}



.ps-dd-section {

    padding: 14px 16px;

    border-bottom: 1px solid #f1f5f9;

}



.ps-dd-section:last-child {

    border-bottom: none;

}



.ps-dd-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 10px;

}



.ps-dd-head-title {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12.5px;

    font-weight: 700;

    color: #1e293b;

}



.ps-dd-head-title svg {

    flex-shrink: 0;

}



.ps-dd-clear-all {

    background: none;

    border: none;

    font-size: 11px;

    font-weight: 700;

    color: #ef394e;

    cursor: pointer;

    padding: 0;

    font-family: inherit;

    transition: opacity 0.2s;

}



.ps-dd-clear-all:hover {

    opacity: 0.8;

    text-decoration: underline;

}



.ps-dd-chips {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}



.ps-dd-chip,

.ps-dd-trend-chip {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 14px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 9999px;

    font-size: 12px;

    font-weight: 500;

    color: #334155;

    cursor: pointer;

    transition: all 0.18s ease;

    font-family: inherit;

    line-height: 1.4;

}



.ps-dd-chip:hover,

.ps-dd-trend-chip:hover {

    background: #fee2e2;

    border-color: #fca5a5;

    color: #ef394e;

    transform: translateY(-1px);

    box-shadow: 0 2px 8px rgba(239, 57, 78, 0.12);

}



.ps-dd-chip-del {

    background: none;

    border: none;

    font-size: 16px;

    line-height: 1;

    color: #94a3b8;

    cursor: pointer;

    padding: 0 0 0 2px;

    display: inline-flex;

    align-items: center;

    transition: color 0.15s;

}



.ps-dd-chip-del:hover {

    color: #ef4444;

}



.ps-dd-cats-list {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}



.ps-dd-cat-pill {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 5px 12px;

    background: #f1f5f9;

    border-radius: 8px;

    font-size: 11.5px;

    font-weight: 600;

    color: #475569;

    text-decoration: none;

    transition: all 0.15s ease;

}



.ps-dd-cat-pill:hover {

    background: #e2e8f0;

    color: #0f172a;

}



.ps-dd-cat-count {

    font-size: 10.5px;

    color: #94a3b8;

    font-weight: 400;

}



.dk-search-loading,

.dk-search-no-result {

    padding: 20px 16px;

    text-align: center;

    font-size: 13px;

    color: #767790;

}



.dk-live-results-list {

    display: flex;

    flex-direction: column;

}



.dk-search-result-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 16px;

    border-bottom: 1px solid #f1f2f4;

    text-decoration: none;

    color: inherit;

    transition: background 0.15s ease;

}



.dk-search-result-item:hover {

    background-color: #f8fafc;

}



.dk-search-result-item img {

    width: 48px;

    height: 48px;

    object-fit: contain;

    border-radius: 8px;

    background: #fafafa;

    border: 1px solid #f0f0f1;

    flex-shrink: 0;

}



.dk-search-result-info {

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 4px;

}



.dk-search-result-title {

    font-size: 12.5px;

    font-weight: 600;

    color: #0c0c0c;

    line-height: 18px;

}



.dk-search-result-meta {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.dk-search-result-cat {

    font-size: 11px;

    color: #81858b;

    background: #f0f0f1;

    padding: 1px 7px;

    border-radius: 4px;

}



.dk-search-result-price {

    font-size: 12.5px;

    font-weight: 700;

    color: #ef394e;

}



.dk-search-more-footer {

    padding: 12px 16px;

    background: #fafafa;

    text-align: center;

    border-top: 1px solid #f0f0f1;

}



.dk-search-more-footer a {

    font-size: 12.5px;

    color: #0284c7;

    font-weight: 700;

    text-decoration: none;

    transition: color 0.15s;

}



.dk-search-more-footer a:hover {

    color: #0369a1;

}



/* Dark Mode Dropdown Overrides */

[data-theme="dark"] .dk-live-search-dropdown,

html.dark-theme .dk-live-search-dropdown,

body.dark-mode .dk-live-search-dropdown,

.dark-theme .dk-live-search-dropdown {

    background: #111827 !important;

    border-color: #374151 !important;

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;

}



[data-theme="dark"] .ps-dd-section,

html.dark-theme .ps-dd-section,

body.dark-mode .ps-dd-section,

.dark-theme .ps-dd-section {

    border-bottom-color: #1f2937 !important;

}



[data-theme="dark"] .ps-dd-head-title,

html.dark-theme .ps-dd-head-title,

body.dark-mode .ps-dd-head-title,

.dark-theme .ps-dd-head-title {

    color: #f3f4f6 !important;

}



[data-theme="dark"] .ps-dd-head-title svg,

html.dark-theme .ps-dd-head-title svg,

body.dark-mode .ps-dd-head-title svg,

.dark-theme .ps-dd-head-title svg {

    stroke: #9ca3af !important;

}



[data-theme="dark"] .ps-dd-chip,

[data-theme="dark"] .ps-dd-trend-chip,

html.dark-theme .ps-dd-chip,

html.dark-theme .ps-dd-trend-chip,

body.dark-mode .ps-dd-chip,

body.dark-mode .ps-dd-trend-chip,

.dark-theme .ps-dd-chip,

.dark-theme .ps-dd-trend-chip {

    background: #1f2937 !important;

    border-color: #374151 !important;

    color: #e5e7eb !important;

}



[data-theme="dark"] .ps-dd-chip:hover,

[data-theme="dark"] .ps-dd-trend-chip:hover,

html.dark-theme .ps-dd-chip:hover,

html.dark-theme .ps-dd-trend-chip:hover,

body.dark-mode .ps-dd-chip:hover,

body.dark-mode .ps-dd-trend-chip:hover,

.dark-theme .ps-dd-chip:hover,

.dark-theme .ps-dd-trend-chip:hover {

    background: #374151 !important;

    border-color: #ef394e !important;

    color: #f87171 !important;

}



[data-theme="dark"] .ps-dd-chip-del,

html.dark-theme .ps-dd-chip-del,

body.dark-mode .ps-dd-chip-del,

.dark-theme .ps-dd-chip-del {

    color: #6b7280 !important;

}



[data-theme="dark"] .ps-dd-chip-del:hover,

html.dark-theme .ps-dd-chip-del:hover,

body.dark-mode .ps-dd-chip-del:hover,

.dark-theme .ps-dd-chip-del:hover {

    color: #ef4444 !important;

}



[data-theme="dark"] .ps-dd-cat-pill,

html.dark-theme .ps-dd-cat-pill,

body.dark-mode .ps-dd-cat-pill,

.dark-theme .ps-dd-cat-pill {

    background: #1f2937 !important;

    color: #cbd5e1 !important;

}



[data-theme="dark"] .ps-dd-cat-pill:hover,

html.dark-theme .ps-dd-cat-pill:hover,

body.dark-mode .ps-dd-cat-pill:hover,

.dark-theme .ps-dd-cat-pill:hover {

    background: #374151 !important;

    color: #f9fafb !important;

}



[data-theme="dark"] .dk-search-result-item,

html.dark-theme .dk-search-result-item,

body.dark-mode .dk-search-result-item,

.dark-theme .dk-search-result-item {

    border-bottom-color: #1f2937 !important;

    color: #f3f4f6 !important;

}



[data-theme="dark"] .dk-search-result-item:hover,

html.dark-theme .dk-search-result-item:hover,

body.dark-mode .dk-search-result-item:hover,

.dark-theme .dk-search-result-item:hover {

    background-color: #1f2937 !important;

}



[data-theme="dark"] .dk-search-result-title,

html.dark-theme .dk-search-result-title,

body.dark-mode .dk-search-result-title,

.dark-theme .dk-search-result-title {

    color: #f9fafb !important;

}



[data-theme="dark"] .dk-search-result-cat,

html.dark-theme .dk-search-result-cat,

body.dark-mode .dk-search-result-cat,

.dark-theme .dk-search-result-cat {

    background: #1f2937 !important;

    color: #9ca3af !important;

}



[data-theme="dark"] .dk-search-more-footer,

html.dark-theme .dk-search-more-footer,

body.dark-mode .dk-search-more-footer,

.dark-theme .dk-search-more-footer {

    background: #1f2937 !important;

    border-top-color: #374151 !important;

}



[data-theme="dark"] .dk-search-more-footer a,

html.dark-theme .dk-search-more-footer a,

body.dark-mode .dk-search-more-footer a,

.dark-theme .dk-search-more-footer a {

    color: #38bdf8 !important;

}



[data-theme="dark"] .dk-search-loading,

[data-theme="dark"] .dk-search-no-result,

html.dark-theme .dk-search-loading,

html.dark-theme .dk-search-no-result,

body.dark-mode .dk-search-loading,

body.dark-mode .dk-search-no-result,

.dark-theme .dk-search-loading,

.dark-theme .dk-search-no-result {

    color: #9ca3af !important;

}



/* ==========================================================================

   31. Smart Back-in-Stock & Price Drop Alert Modals (Dark & Enhanced)

   ========================================================================== */

/* Back in Stock Modal Dark Theme */

html.dark-theme .ps-stock-modal-box {

    background: #1e293b !important;

    border: 1px solid #334155 !important;

    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;

}

html.dark-theme .ps-stock-modal-title {

    color: #f8fafc !important;

}

html.dark-theme .ps-stock-modal-desc {

    color: #94a3b8 !important;

}

html.dark-theme .ps-stock-modal-desc strong {

    color: #e2e8f0 !important;

}

html.dark-theme .ps-stock-modal-close {

    background: #334155 !important;

    color: #cbd5e1 !important;

}

html.dark-theme .ps-stock-modal-close:hover {

    background: #475569 !important;

    color: #ffffff !important;

}

html.dark-theme .ps-stock-field-wrap label {

    color: #cbd5e1 !important;

}

html.dark-theme .ps-stock-input-inner input {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #f8fafc !important;

}

html.dark-theme .ps-stock-input-inner input:focus {

    border-color: #ef394e !important;

}

html.dark-theme .ps-stock-feedback {

    background: #0f172a !important;

    border: 1px solid #334155 !important;

}

html.dark-theme .ps-stock-icon-wrap {

    background: rgba(239, 57, 78, 0.15) !important;

}



/* Price Drop Alert Modal Dark Theme & Enhancements */

html.dark-theme .dk-alert-modal-box {

    background: #1e293b !important;

    border: 1px solid #334155 !important;

    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;

}

html.dark-theme .dk-alert-modal-box .dk-modal-header {

    border-bottom: 1px solid #334155 !important;

}

html.dark-theme .dk-alert-modal-box .dk-modal-header-title h3 {

    color: #f8fafc !important;

}

html.dark-theme .dk-alert-modal-box .dk-modal-desc {

    color: #94a3b8 !important;

}

html.dark-theme .dk-alert-modal-box .dk-form-group label {

    color: #cbd5e1 !important;

}

html.dark-theme .dk-alert-modal-box .dk-input-field {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #f8fafc !important;

}

html.dark-theme .dk-alert-modal-box .dk-input-field:focus {

    border-color: #ef394e !important;

}

html.dark-theme .dk-alert-modal-box .dk-field-help {

    color: #94a3b8 !important;

}

html.dark-theme .ps-alert-footer-note {

    color: #64748b !important;

}



/* Button Notify Stock interactive styling */

.ps-btn-notify-stock {

    background: #0f172a;

    color: #ffffff;

    transition: all 0.25s ease;

    border: 1px solid transparent;

}

.ps-btn-notify-stock:hover {

    background: #ef394e !important;

    color: #ffffff !important;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.35);

    transform: translateY(-1px);

}

html.dark-theme .ps-btn-notify-stock {

    background: #334155 !important;

    color: #f8fafc !important;

    border-color: #475569 !important;

}

html.dark-theme .ps-btn-notify-stock:hover {

    background: #ef394e !important;

    border-color: #ef394e !important;

}



/* ==========================================================================

   28. Dynamic Shoppable Stories Suite

   ========================================================================== */

.ps-stories-section {
    max-width: 1380px !important;
    width: 100% !important;
    margin: 18px auto 28px auto !important;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
}
@media (max-width: 1420px) {
    .ps-stories-section {
        max-width: calc(100% - 40px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
@media (max-width: 768px) {
    .ps-stories-section {
        max-width: 100% !important;
        width: calc(100% - 24px) !important;
        margin: 10px auto 18px auto !important;
        padding: 12px 14px;
        border-radius: 14px;
    }
}

.ps-stories-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 14px;

    padding-bottom: 8px;

    border-bottom: 1px solid #f8fafc;

}



.ps-stories-heading-wrap {

    display: flex;

    align-items: center;

    gap: 8px;

}



.ps-stories-header-icon {

    font-size: 18px;

}



.ps-stories-header-title {

    margin: 0;

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

    letter-spacing: -0.2px;

}



.ps-stories-header-hint {

    font-size: 12px;

    font-weight: 600;

    color: #94a3b8;

}





.ps-stories-track-wrapper {

    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

}



.ps-stories-scroll-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);

    display: flex;

    align-items: center;

    justify-content: center;

    color: #334155;

    cursor: pointer;

    z-index: 10;

    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);

    outline: none;

}



.ps-stories-scroll-arrow:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.35);

    transform: translateY(-50%) scale(1.08);

}



.ps-stories-scroll-arrow:active {

    transform: translateY(-50%) scale(0.96);

}



.ps-stories-arrow-prev {

    right: -14px;

}



.ps-stories-arrow-next {

    left: -14px;

}



.ps-stories-scroll-arrow.is-disabled {

    opacity: 0;

    pointer-events: none;

    visibility: hidden;

}



@media (max-width: 768px) {

    .ps-stories-scroll-arrow {

        display: none !important;

    }

}



.ps-stories-track {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    overflow-x: auto;

    overflow-y: hidden;

    padding: 6px 4px 10px 4px;

    width: 100%;

    scrollbar-width: none;

    -ms-overflow-style: none;

    -webkit-overflow-scrolling: touch;

    scroll-behavior: smooth;

    cursor: grab;

    user-select: none;

}



.ps-stories-track:active {

    cursor: grabbing;

}



.ps-stories-track::-webkit-scrollbar {

    display: none;

}



.ps-story-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    background: transparent;

    border: none;

    padding: 0;

    margin: 0;

    cursor: pointer;

    flex-shrink: 0;

    width: 82px;

    outline: none;

    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.ps-story-item:hover,

.ps-story-item:focus-visible {

    transform: translateY(-3px) scale(1.02);

}



.ps-story-ring-wrap {

    position: relative;

    width: 72px;

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.ps-story-ring {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    padding: 3px;

    box-sizing: border-box;

    background: linear-gradient(135deg, var(--story-ring-color, #ef394e), #f43f5e, #fb7185);

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.22);

    transition: box-shadow 0.25s ease, transform 0.25s ease;

}



.ps-story-item:hover .ps-story-ring {

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.35);

}



.ps-story-thumb {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    display: block;

    border: 2.5px solid #ffffff;

    box-sizing: border-box;

    background: #f8fafc;

}



.ps-story-thumb-placeholder {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

    background: #f1f5f9;

    border: 2.5px solid #ffffff;

}



.ps-story-badge {

    position: absolute;

    bottom: -3px;

    left: 50%;

    transform: translateX(-50%);

    color: #ffffff;

    font-size: 9.5px;

    font-weight: 800;

    line-height: 1;

    padding: 3px 7px;

    border-radius: 12px;

    white-space: nowrap;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);

    border: 1.5px solid #ffffff;

}



.ps-story-title {

    font-size: 12px;

    font-weight: 700;

    color: #334155;

    text-align: center;

    width: 100%;

    max-width: 80px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    line-height: 1.3;

}



/* Fullscreen Story Modal Player */

body.ps-story-modal-open {

    overflow: hidden !important;

}



.ps-story-modal {

    position: fixed;

    top: 0;

    right: 0;

    bottom: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    z-index: 999999;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(15, 23, 42, 0.92);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    padding: 16px;

    box-sizing: border-box;

    font-family: inherit;

    direction: rtl;

}



.ps-story-modal-overlay {

    position: absolute;

    inset: 0;

    cursor: pointer;

}



.ps-story-player-card {

    position: relative;

    width: 100%;

    max-width: 410px;

    height: 88vh;

    max-height: 780px;

    background: #090d16;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);

    display: flex;

    flex-direction: column;

    z-index: 10;

}



/* Progress Bars */

.ps-story-progress-container {

    position: absolute;

    top: 14px;

    left: 14px;

    right: 14px;

    height: 3px;

    display: flex;

    gap: 4px;

    z-index: 30;

}



.ps-story-progress-bar {

    flex: 1;

    height: 100%;

    background: rgba(255, 255, 255, 0.35);

    border-radius: 3px;

    overflow: hidden;

}



.ps-story-progress-fill {

    width: 0%;

    height: 100%;

    background: #ffffff;

    border-radius: 3px;

    transition: width 0.06s linear;

}



/* Top Player Header */

.ps-story-player-header {

    position: absolute;

    top: 24px;

    left: 14px;

    right: 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 30;

    pointer-events: none;

}



.ps-story-author-info {

    display: flex;

    align-items: center;

    gap: 10px;

    pointer-events: auto;

}



.ps-story-author-avatar {

    width: 38px;

    height: 38px;

    border-radius: 50%;

    overflow: hidden;

    border: 2px solid #ffffff;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);

    background: #1e293b;

    flex-shrink: 0;

}



.ps-story-author-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}



.ps-story-author-meta {

    display: flex;

    flex-direction: column;

    gap: 2px;

}



.ps-story-author-name {

    font-size: 13.5px;

    font-weight: 800;

    color: #ffffff;

    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);

}



.ps-story-author-badge {

    font-size: 10px;

    font-weight: 700;

    color: #fb7185;

    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);

}



.ps-story-header-actions {

    display: flex;

    align-items: center;

    gap: 6px;

    pointer-events: auto;

}



.ps-story-action-btn {

    background: rgba(0, 0, 0, 0.45);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    font-size: 14px;

    cursor: pointer;

    transition: background 0.2s;

}



.ps-story-action-btn:hover {

    background: rgba(0, 0, 0, 0.7);

}



.ps-story-close-btn {

    font-size: 16px;

    font-weight: 700;

    background: rgba(239, 57, 78, 0.75);

    border-color: rgba(239, 57, 78, 0.5);

}



.ps-story-close-btn:hover {

    background: #ef394e;

}



/* Media Viewport */

.ps-story-media-container {

    position: relative;

    width: 100%;

    height: 100%;

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    background: radial-gradient(circle at center, #1e293b 0%, #090d16 100%);

    user-select: none;

    -webkit-user-select: none;

}



.ps-story-media-el {

    width: 100%;

    height: 100%;

    object-fit: contain;

    max-height: 80%;

    display: block;

    margin: auto;

    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.7));

}



/* Tap Zones */

.ps-story-tap-zone {

    position: absolute;

    top: 70px;

    bottom: 120px;

    width: 40%;

    z-index: 20;

    cursor: pointer;

}



.ps-story-tap-right {

    right: 0;

}



.ps-story-tap-left {

    left: 0;

}



/* Desktop Navigation Arrows */

.ps-story-nav-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 44px;

    height: 44px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #0f172a;

    border: 1px solid rgba(0, 0, 0, 0.08);

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);

    transition: all 0.2s ease;

    z-index: 28;

}



.ps-story-nav-prev {

    right: 12px;

}



.ps-story-nav-next {

    left: 12px;

}



.ps-story-nav-arrow:hover {

    background: #ffffff;

    color: #ef394e;

    transform: translateY(-50%) scale(1.08);

}



/* Bottom Floating Shoppable Product Card */

.ps-story-product-card {

    position: absolute;

    bottom: 14px;

    left: 14px;

    right: 14px;

    z-index: 30;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.8);

    border-radius: 16px;

    padding: 10px 12px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);

}



.ps-story-product-inner {

    display: flex;

    align-items: center;

    gap: 12px;

}



.ps-story-prod-thumb-wrap {

    position: relative;

    width: 52px;

    height: 52px;

    border-radius: 10px;

    overflow: hidden;

    flex-shrink: 0;

    border: 1px solid #e2e8f0;

    background: #ffffff;

}



.ps-story-prod-thumb {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}



.ps-story-prod-discount {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: #ef394e;

    color: #ffffff;

    font-size: 8.5px;

    font-weight: 800;

    text-align: center;

    line-height: 1.3;

}



.ps-story-prod-info {

    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;

}



.ps-story-prod-title {

    font-size: 12.5px;

    font-weight: 800;

    color: #0f172a;

    text-decoration: none;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    line-height: 1.3;

}



.ps-story-prod-title:hover {

    color: #ef394e;

}



.ps-story-prod-prices {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

}



.ps-story-prod-price-cur {

    font-size: 13px;

    font-weight: 800;

    color: #ef394e;

}



.ps-story-prod-price-old {

    font-size: 11px;

    color: #94a3b8;

    text-decoration: line-through;

}



.ps-story-prod-stock-badge {

    font-size: 9.5px;

    font-weight: 700;

    padding: 1px 6px;

    border-radius: 8px;

}



.ps-story-prod-stock-badge.is-in {

    background: #dcfce7;

    color: #16a34a;

}



.ps-story-prod-stock-badge.is-out {

    background: #fee2e2;

    color: #dc2626;

}



.ps-story-prod-action {

    flex-shrink: 0;

}



.ps-story-buy-btn {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: linear-gradient(135deg, #ef394e, #f43f5e);

    color: #ffffff !important;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    padding: 8px 12px;

    border-radius: 12px;

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.35);

    transition: all 0.2s ease;

    white-space: nowrap;

    cursor: pointer;

    border: none;

}



.ps-story-buy-btn:hover {

    transform: translateY(-1px);

    box-shadow: 0 6px 16px rgba(239, 57, 78, 0.45);

    background: linear-gradient(135deg, #dc2626, #ef394e);

}



.ps-story-buy-btn.is-success {

    background: #16a34a !important;

    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35) !important;

}



/* ==========================================================================

   Dark Theme Adjustments for Shoppable Stories

   ========================================================================== */

html.dark-theme .ps-stories-section {

    background: #1e293b !important;

    border-color: #334155 !important;

    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.2) !important;

}



html.dark-theme .ps-stories-header {

    border-bottom-color: #334155 !important;

}



html.dark-theme .ps-stories-header-title {

    color: #f8fafc !important;

}



html.dark-theme .ps-stories-header-hint {

    color: #64748b !important;

}



html.dark-theme .ps-story-thumb {

    border-color: #1e293b !important;

    background: #0f172a !important;

}



html.dark-theme .ps-story-title {

    color: #cbd5e1 !important;

}



html.dark-theme .ps-story-product-card {

    background: rgba(30, 41, 59, 0.96) !important;

    border-color: rgba(51, 65, 85, 0.8) !important;

}



html.dark-theme .ps-story-prod-thumb-wrap {

    background: #0f172a !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-story-prod-title {

    color: #f8fafc !important;

}



html.dark-theme .ps-story-prod-title:hover {

    color: #fb7185 !important;

}



html.dark-theme .ps-story-nav-arrow {

    background: #1e293b !important;

    color: #f8fafc !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-story-nav-arrow:hover {

    background: #334155 !important;

    color: #ef394e !important;

}



/* Mobile responsive adjustments */

@media (max-width: 768px) {

    .ps-stories-section {

        margin: 10px 0 16px 0;

        padding: 12px 14px;

        border-radius: 14px;

    }

    

.ps-stories-track-wrapper {

    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

}



.ps-stories-scroll-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);

    display: flex;

    align-items: center;

    justify-content: center;

    color: #334155;

    cursor: pointer;

    z-index: 10;

    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);

    outline: none;

}



.ps-stories-scroll-arrow:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.35);

    transform: translateY(-50%) scale(1.08);

}



.ps-stories-scroll-arrow:active {

    transform: translateY(-50%) scale(0.96);

}



.ps-stories-arrow-prev {

    right: -14px;

}



.ps-stories-arrow-next {

    left: -14px;

}



.ps-stories-scroll-arrow.is-disabled {

    opacity: 0;

    pointer-events: none;

    visibility: hidden;

}



@media (max-width: 768px) {

    .ps-stories-scroll-arrow {

        display: none !important;

    }

}



.ps-stories-track {

        gap: 12px;

    }

    .ps-story-item {

        width: 72px;

    }

    .ps-story-ring-wrap {

        width: 62px;

        height: 62px;

    }

    .ps-story-title {

        font-size: 11px;

        max-width: 70px;

    }

    .ps-story-player-card {

        height: 100vh;

        max-height: 100vh;

        border-radius: 0;

    }

    .ps-story-nav-arrow {

        display: none !important;

    }

    .ps-story-product-card {

        bottom: 24px;

        left: 10px;

        right: 10px;

        padding: 8px 10px;

    }

    .ps-story-buy-btn {

        padding: 7px 10px;

        font-size: 11px;

    }

}



/* ==========================================================================

   29. Smart Exit-Intent Abandoned Cart Recovery & Instant Discount

   ========================================================================== */

body.ps-exit-modal-open {

    overflow: hidden !important;

}



.ps-exit-modal {

    position: fixed;

    top: 0;

    right: 0;

    bottom: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    z-index: 999999;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(15, 23, 42, 0.78);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    padding: 16px;

    box-sizing: border-box;

    direction: rtl;

    font-family: inherit;

}



.ps-exit-modal-overlay {

    position: absolute;

    inset: 0;

    cursor: pointer;

}



.ps-exit-modal-card {

    position: relative;

    width: 100%;

    max-width: 480px;

    background: #ffffff;

    border-radius: 24px;

    padding: 32px 28px 24px 28px;

    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);

    box-sizing: border-box;

    z-index: 10;

    text-align: center;

    display: flex;

    flex-direction: column;

    gap: 16px;

    animation: psExitModalPop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;

}



@keyframes psExitModalPop {

    0% {

        opacity: 0;

        transform: scale(0.88) translateY(20px);

    }

    100% {

        opacity: 1;

        transform: scale(1) translateY(0);

    }

}



.ps-exit-close-btn {

    position: absolute;

    top: 14px;

    left: 14px;

    width: 32px;

    height: 32px;

    border-radius: 50%;

    background: #f1f5f9;

    border: none;

    color: #64748b;

    font-size: 15px;

    font-weight: 700;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.2s;

}



.ps-exit-close-btn:hover {

    background: #fee2e2;

    color: #ef394e;

    transform: rotate(90deg);

}



.ps-exit-badge-wrap {

    display: flex;

    justify-content: center;

}



.ps-exit-badge {

    background: #fffbeb;

    color: #b45309;

    border: 1px solid #fde68a;

    font-size: 11.5px;

    font-weight: 800;

    padding: 4px 14px;

    border-radius: 20px;

    display: inline-block;

}



.ps-exit-header {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

}



.ps-exit-icon-glow {

    width: 64px;

    height: 64px;

    border-radius: 50%;

    background: linear-gradient(135deg, #fef3c7, #fde68a);

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.28);

    margin-bottom: 2px;

}



.ps-exit-gift-icon {

    font-size: 32px;

    animation: psGiftWiggle 2.5s infinite ease-in-out;

}



@keyframes psGiftWiggle {

    0%, 100% { transform: scale(1) rotate(0deg); }

    15% { transform: scale(1.1) rotate(-8deg); }

    30% { transform: scale(1.1) rotate(8deg); }

    45% { transform: scale(1) rotate(0deg); }

}



.ps-exit-title {

    margin: 0;

    font-size: 19px;

    font-weight: 800;

    color: #0f172a;

    line-height: 1.35;

}



.ps-exit-desc {

    margin: 0;

    font-size: 13px;

    font-weight: 500;

    color: #64748b;

    line-height: 1.6;

    max-width: 420px;

}



/* Countdown Timer */

.ps-exit-countdown-container {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    padding: 10px 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.ps-exit-countdown-label {

    font-size: 12.5px;

    font-weight: 700;

    color: #334155;

}



.ps-exit-timer-clock {

    display: flex;

    align-items: center;

    gap: 6px;

    direction: ltr;

}



.ps-exit-timer-segment {

    display: flex;

    align-items: baseline;

    gap: 2px;

    background: #0f172a;

    color: #ffffff;

    padding: 3px 8px;

    border-radius: 8px;

}



.ps-exit-timer-num {

    font-family: inherit;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 1px;

}



.ps-exit-timer-unit {

    font-size: 9px;

    color: #94a3b8;

}



.ps-exit-timer-colon {

    font-size: 16px;

    font-weight: 800;

    color: #0f172a;

}



/* Coupon Box */

.ps-exit-coupon-wrapper {

    position: relative;

    background: linear-gradient(135deg, #fffbeb, #fef3c7);

    border: 2px dashed #f59e0b;

    border-radius: 16px;

    padding: 14px 16px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

}



.ps-exit-discount-tag {

    position: absolute;

    top: -11px;

    right: 18px;

    background: #ef394e;

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;

    padding: 2px 10px;

    border-radius: 10px;

    box-shadow: 0 2px 6px rgba(239, 57, 78, 0.3);

}



.ps-exit-coupon-box {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.ps-exit-coupon-code {

    font-family: monospace;

    font-size: 18px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #b45309;

    direction: ltr;

}



.ps-exit-copy-btn {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #b45309;

    color: #ffffff;

    border: none;

    padding: 7px 14px;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 800;

    cursor: pointer;

    transition: all 0.2s;

}



.ps-exit-copy-btn:hover {

    background: #92400e;

    transform: translateY(-1px);

}



.ps-exit-copy-btn.is-copied {

    background: #16a34a !important;

}



/* Abandoned Cart Preview */

.ps-exit-cart-preview {

    background: #f1f5f9;

    border-radius: 14px;

    padding: 10px 14px;

    display: flex;

    flex-direction: column;

    gap: 8px;

    text-align: right;

}



.ps-exit-cart-preview-lead {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 12px;

    color: #334155;

}



.ps-exit-cart-total {

    font-weight: 800;

    color: #ef394e;

}



.ps-exit-cart-thumbs {

    display: flex;

    align-items: center;

    gap: 8px;

}



.ps-exit-cart-thumb-item {

    position: relative;

    width: 44px;

    height: 44px;

    border-radius: 8px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e2e8f0;

}



.ps-exit-cart-thumb-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}



.ps-exit-cart-qty {

    position: absolute;

    bottom: 2px;

    left: 2px;

    background: rgba(15, 23, 42, 0.85);

    color: #ffffff;

    font-size: 9px;

    font-weight: 700;

    padding: 1px 4px;

    border-radius: 4px;

    line-height: 1;

}



.ps-exit-cart-more {

    font-size: 11px;

    font-weight: 700;

    color: #64748b;

    background: #e2e8f0;

    width: 34px;

    height: 34px;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

}



/* Action CTAs */

.ps-exit-actions {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 4px;

}



.ps-exit-cta-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 48px;

    background: linear-gradient(135deg, #ef394e, #f43f5e);

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 15px;

    font-weight: 800;

    border-radius: 14px;

    box-shadow: 0 6px 20px rgba(239, 57, 78, 0.35);

    transition: all 0.25s ease;

    box-sizing: border-box;

}



.ps-exit-cta-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 24px rgba(239, 57, 78, 0.45);

    background: linear-gradient(135deg, #dc2626, #ef394e);

}



.ps-exit-dismiss-btn {

    background: transparent;

    border: none;

    color: #94a3b8;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: color 0.2s;

    padding: 4px 8px;

}



.ps-exit-dismiss-btn:hover {

    color: #64748b;

    text-decoration: underline;

}



/* ==========================================================================

   Dark Theme for Exit-Intent Modal

   ========================================================================== */

html.dark-theme .ps-exit-modal-card {

    background: #1e293b !important;

    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px #334155 !important;

}



html.dark-theme .ps-exit-close-btn {

    background: #334155 !important;

    color: #94a3b8 !important;

}



html.dark-theme .ps-exit-close-btn:hover {

    background: #fee2e2 !important;

    color: #ef394e !important;

}



html.dark-theme .ps-exit-title {

    color: #f8fafc !important;

}



html.dark-theme .ps-exit-desc {

    color: #94a3b8 !important;

}



html.dark-theme .ps-exit-countdown-container {

    background: #0f172a !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-exit-countdown-label {

    color: #cbd5e1 !important;

}



html.dark-theme .ps-exit-timer-segment {

    background: #1e293b !important;

}



html.dark-theme .ps-exit-timer-colon {

    color: #cbd5e1 !important;

}



html.dark-theme .ps-exit-coupon-wrapper {

    background: rgba(245, 158, 11, 0.08) !important;

    border-color: #f59e0b !important;

}



html.dark-theme .ps-exit-coupon-code {

    color: #fcd34d !important;

}



html.dark-theme .ps-exit-cart-preview {

    background: #0f172a !important;

}



html.dark-theme .ps-exit-cart-preview-lead {

    color: #cbd5e1 !important;

}



html.dark-theme .ps-exit-cart-thumb-item {

    background: #1e293b !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-exit-cart-more {

    background: #334155 !important;

    color: #94a3b8 !important;

}



html.dark-theme .ps-exit-dismiss-btn {

    color: #64748b !important;

}



html.dark-theme .ps-exit-dismiss-btn:hover {

    color: #94a3b8 !important;

}



@media (max-width: 576px) {

    .ps-exit-modal-card {

        padding: 26px 20px 20px 20px;

        border-radius: 20px;

    }

    .ps-exit-title {

        font-size: 17px;

    }

    .ps-exit-desc {

        font-size: 12px;

    }

    .ps-exit-coupon-code {

        font-size: 16px;

    }

    .ps-exit-cta-btn {

        height: 44px;

        font-size: 14px;

    }

}



/* ==========================================================================

   Interactive Gamified Fortune Wheel Suite

   ========================================================================== */



/* 1. Floating Trigger Button */

.ps-wheel-floating-trigger {

    position: fixed;

    z-index: 9998;

    bottom: 28px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 11px 18px;

    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);

    color: #ffffff;

    border: none;

    border-radius: 50px;

    font-family: inherit;

    font-size: 13.5px;

    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 10px 25px -4px rgba(124, 58, 237, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);

    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;

}



.ps-wheel-pos-left {

    left: 24px;

}



.ps-wheel-pos-right {

    right: 24px;

}



.ps-wheel-floating-trigger:hover {

    transform: translateY(-4px) scale(1.04);

    box-shadow: 0 14px 30px -4px rgba(124, 58, 237, 0.65), 0 0 0 2px rgba(255, 255, 255, 0.35);

}



.ps-wheel-floating-icon {

    font-size: 20px;

    display: inline-block;

    animation: psWheelSpinTada 3s infinite;

}



@keyframes psWheelSpinTada {

    0%, 100% { transform: scale(1) rotate(0deg); }

    10%, 20% { transform: scale(0.9) rotate(-10deg); }

    30%, 50%, 70% { transform: scale(1.15) rotate(10deg); }

    40%, 60% { transform: scale(1.15) rotate(-10deg); }

    80% { transform: scale(1) rotate(0deg); }

}



.ps-wheel-floating-ping {

    position: absolute;

    inset: -3px;

    border-radius: 50px;

    border: 2px solid #a78bfa;

    opacity: 0.8;

    pointer-events: none;

    animation: psWheelPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;

}



@keyframes psWheelPing {

    75%, 100% {

        transform: scale(1.22);

        opacity: 0;

    }

}



/* 2. Modal Structure */

.ps-wheel-modal {

    position: fixed;

    inset: 0;

    z-index: 100000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.3s ease, visibility 0.3s ease;

}



.ps-wheel-modal.is-active {

    opacity: 1;

    visibility: visible;

}



.ps-wheel-modal-overlay {

    position: absolute;

    inset: 0;

    background: rgba(15, 23, 42, 0.78);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

}



.ps-wheel-modal-card {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 840px;

    background: #ffffff;

    border-radius: 28px;

    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(226, 232, 240, 0.6);

    overflow: hidden;

    transform: scale(0.92) translateY(20px);

    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.ps-wheel-modal.is-active .ps-wheel-modal-card {

    transform: scale(1) translateY(0);

}



.ps-wheel-close-btn {

    position: absolute;

    top: 18px;

    left: 18px;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: #f1f5f9;

    border: none;

    color: #64748b;

    font-size: 16px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 20;

    transition: all 0.2s ease;

}



.ps-wheel-close-btn:hover {

    background: #e2e8f0;

    color: #0f172a;

    transform: rotate(90deg);

}



.ps-wheel-modal-body {

    display: grid;

    grid-template-columns: 400px 1fr;

    gap: 24px;

    padding: 36px;

    align-items: center;

}



/* 3. Wheel Canvas Graphic */

.ps-wheel-canvas-col {

    display: flex;

    justify-content: center;

    align-items: center;

}



.ps-wheel-outer-ring {

    position: relative;

    width: 380px;

    height: 380px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.ps-wheel-pointer {

    position: absolute;

    top: -12px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 15;

    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.35));

    transition: transform 0.04s cubic-bezier(0.2, 0.8, 0.4, 1.2);

    transform-origin: 50% 10px;

}



.ps-wheel-pointer.is-ticking {

    transform: translateX(-50%) rotate(16deg);

}



#ps-fortune-wheel-canvas {

    width: 380px;

    height: 380px;

    border-radius: 50%;

    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.35);

}



.ps-wheel-center-hub {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 48px;

    height: 48px;

    pointer-events: none;

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

}



/* 4. Content Column */

.ps-wheel-content-col {

    display: flex;

    flex-direction: column;

    justify-content: center;

}



.ps-wheel-state {

    transition: opacity 0.25s ease;

}



.ps-wheel-kicker-badge {

    display: inline-block;

    padding: 4px 12px;

    background: #ede9fe;

    color: #6d28d9;

    font-size: 12px;

    font-weight: 700;

    border-radius: 20px;

    margin-bottom: 12px;

}



.ps-wheel-heading {

    font-size: 22px;

    font-weight: 900;

    color: #0f172a;

    margin: 0 0 10px 0;

    line-height: 1.35;

}



.ps-wheel-desc {

    font-size: 13.5px;

    color: #64748b;

    line-height: 1.65;

    margin: 0 0 20px 0;

}



.ps-wheel-form {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.ps-wheel-input-group label {

    display: block;

    font-size: 12.5px;

    font-weight: 700;

    color: #334155;

    margin-bottom: 6px;

}



.ps-wheel-input-wrap {

    position: relative;

    display: flex;

    align-items: center;

}



#ps-wheel-mobile {

    width: 100%;

    height: 46px;

    padding: 0 14px 0 42px;

    background: #f8fafc;

    border: 2px solid #e2e8f0;

    border-radius: 12px;

    font-size: 15px;

    font-weight: 700;

    color: #0f172a;

    outline: none;

    transition: border-color 0.2s, box-shadow 0.2s;

    font-family: monospace;

}



#ps-wheel-mobile:focus {

    border-color: #7c3aed;

    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);

    background: #ffffff;

}



#ps-wheel-mobile.ps-input-error {

    border-color: #ef4444;

    animation: psWheelShake 0.4s ease;

}



@keyframes psWheelShake {

    0%, 100% { transform: translateX(0); }

    20%, 60% { transform: translateX(-6px); }

    40%, 80% { transform: translateX(6px); }

}



.ps-wheel-input-icon {

    position: absolute;

    left: 14px;

    font-size: 18px;

    pointer-events: none;

}



.ps-wheel-spin-cta {

    width: 100%;

    height: 50px;

    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);

    color: #ffffff;

    border: none;

    border-radius: 12px;

    font-family: inherit;

    font-size: 16px;

    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.45);

    transition: transform 0.18s, box-shadow 0.18s;

    display: flex;

    align-items: center;

    justify-content: center;

}



.ps-wheel-spin-cta:hover {

    transform: translateY(-2px);

    box-shadow: 0 12px 24px -4px rgba(239, 68, 68, 0.6);

}



.ps-wheel-spin-cta:disabled {

    opacity: 0.65;

    cursor: not-allowed;

    transform: none;

}



.ps-wheel-terms-text {

    display: block;

    margin-top: 14px;

    font-size: 11.5px;

    color: #94a3b8;

    line-height: 1.5;

}



/* 5. State 2: Spinning Progress */

.ps-wheel-state-spinning {

    text-align: center;

    padding: 40px 10px;

}



.ps-wheel-spin-spinner {

    font-size: 48px;

    display: inline-block;

    animation: none !important;
    transform: none !important;

    margin-bottom: 14px;

}



@keyframes psSpinRound {

    from { transform: rotate(0deg); }

    to { transform: rotate(360deg); }

}



.ps-wheel-state-spinning h4 {

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    margin: 0 0 8px 0;

}



.ps-wheel-state-spinning p {

    font-size: 13.5px;

    color: #64748b;

    margin: 0;

}



/* 6. State 3: Winner Box */

.ps-wheel-state-winner {

    text-align: center;

    padding: 10px 0;

}



.ps-wheel-winner-glow {

    font-size: 42px;

    margin-bottom: 8px;

    animation: psBounce 1s infinite alternate;

}



@keyframes psBounce {

    from { transform: translateY(0); }

    to { transform: translateY(-8px); }

}



.ps-wheel-winner-badge {

    display: inline-block;

    padding: 4px 14px;

    background: #dcfce7;

    color: #15803d;

    font-size: 12.5px;

    font-weight: 800;

    border-radius: 20px;

    margin-bottom: 10px;

}



.ps-wheel-prize-title {

    font-size: 23px;

    font-weight: 900;

    color: #7c3aed;

    margin: 0 0 6px 0;

}



.ps-wheel-prize-desc {

    font-size: 13.5px;

    color: #475569;

    line-height: 1.55;

    margin: 0 0 16px 0;

}



.ps-wheel-coupon-box {

    background: #f8fafc;

    border: 2px dashed #cbd5e1;

    border-radius: 14px;

    padding: 12px 14px;

    margin-bottom: 18px;

}



.ps-wheel-coupon-label {

    display: block;

    font-size: 12px;

    font-weight: 700;

    color: #64748b;

    margin-bottom: 8px;

}



.ps-wheel-coupon-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 6px 10px;

}



#ps-wheel-coupon-code,

.ps-wheel-coupon-code {

    font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New";

    font-size: 18px;

    font-weight: 800;

    color: #0284c7;

    letter-spacing: 1.5px;

    direction: ltr !important;

    display: inline-block;

}



.ps-wheel-copy-btn {

    background: #0284c7;

    color: #ffffff;

    border: none;

    border-radius: 8px;

    padding: 8px 16px;

    font-family: inherit;

    font-size: 12.5px;

    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s, transform 0.15s;

}



.ps-wheel-copy-btn:hover {

    background: #0369a1;

}



.ps-wheel-copy-btn.is-copied {

    background: #10b981;

}



.ps-wheel-shop-cta {

    display: inline-block;

    width: 100%;

    padding: 13px 20px;

    background: linear-gradient(135deg, #10b981 0%, #059669 100%);

    color: #ffffff;

    text-decoration: none;

    border-radius: 12px;

    font-size: 15px;

    font-weight: 800;

    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);

    transition: transform 0.15s, box-shadow 0.15s;

}



.ps-wheel-shop-cta:hover {

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.55);

}



.ps-wheel-respin-cta {

    display: inline-block;

    width: 100%;

    padding: 13px 20px;

    background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);

    color: #ffffff;

    border: none;

    border-radius: 12px;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 8px 24px -4px rgba(236, 72, 153, 0.45);

    transition: transform 0.15s, box-shadow 0.15s;

    outline: none;

    text-align: center;

}



.ps-wheel-respin-cta:hover {

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 12px 28px -4px rgba(236, 72, 153, 0.6);

}



.ps-wheel-club-cta {

    display: inline-block;

    width: 100%;

    padding: 13px 20px;

    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);

    color: #ffffff;

    text-decoration: none;

    border-radius: 12px;

    font-size: 15px;

    font-weight: 800;

    box-shadow: 0 8px 20px -4px rgba(139, 92, 246, 0.45);

    transition: transform 0.15s, box-shadow 0.15s;

    text-align: center;

}



.ps-wheel-club-cta:hover {

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 12px 24px -4px rgba(139, 92, 246, 0.6);

}



.ps-wheel-wallet-cta {

    display: inline-block;

    width: 100%;

    padding: 13px 20px;

    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

    color: #ffffff;

    text-decoration: none;

    border-radius: 12px;

    font-size: 15px;

    font-weight: 800;

    box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.45);

    transition: transform 0.15s, box-shadow 0.15s;

    text-align: center;

}



.ps-wheel-wallet-cta:hover {

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 12px 24px -4px rgba(245, 158, 11, 0.6);

}



.ps-wheel-winner-badge.ps-wheel-badge-existing {

    background: #e0f2fe;

    color: #0369a1;

}



.ps-wheel-new-phone-btn {

    display: inline-block;

    margin-top: 10px;

    background: transparent;

    border: 1px dashed var(--ps-border, #cbd5e1);

    border-radius: 8px;

    padding: 7px 16px;

    font-size: 12px;

    font-weight: 700;

    color: var(--ps-text-muted, #64748b);

    cursor: pointer;

    transition: all 0.2s ease;

}



.ps-wheel-new-phone-btn:hover {

    background: var(--ps-bg-light, #f1f5f9);

    color: var(--ps-primary, #ef394e);

    border-color: var(--ps-primary, #ef394e);

}



/* 7. Confetti Particles */

.ps-wheel-confetti-container {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 100005;

    overflow: hidden;

}



.ps-confetti-piece {

    position: absolute;

    top: -20px;

    width: 10px;

    height: 16px;

    border-radius: 2px;

    animation: psConfettiFall 3.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;

}



@keyframes psConfettiFall {

    0% {

        top: -20px;

        opacity: 1;

        transform: rotate(0deg) scale(1);

    }

    100% {

        top: 105vh;

        opacity: 0;

        transform: rotate(720deg) scale(0.6);

    }

}



/* 8. Dark Theme Support */

html.dark-theme .ps-wheel-modal-card {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #f8fafc !important;

}



html.dark-theme .ps-wheel-close-btn {

    background: #1e293b !important;

    color: #94a3b8 !important;

}



html.dark-theme .ps-wheel-close-btn:hover {

    background: #334155 !important;

    color: #ffffff !important;

}



html.dark-theme .ps-wheel-heading {

    color: #f8fafc !important;

}



html.dark-theme .ps-wheel-desc {

    color: #94a3b8 !important;

}



html.dark-theme .ps-wheel-input-group label {

    color: #cbd5e1 !important;

}



html.dark-theme #ps-wheel-mobile {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #ffffff !important;

}



html.dark-theme #ps-wheel-mobile:focus {

    border-color: #a78bfa !important;

}



html.dark-theme .ps-wheel-kicker-badge {

    background: rgba(124, 58, 237, 0.2) !important;

    color: #c4b5fd !important;

}



html.dark-theme .ps-wheel-coupon-box {

    background: #1e293b !important;

    border-color: #475569 !important;

}



html.dark-theme .ps-wheel-coupon-inner {

    background: #0f172a !important;

    border-color: #334155 !important;

}



html.dark-theme #ps-wheel-coupon-code,

html.dark-theme .ps-wheel-coupon-code {

    color: #38bdf8 !important;

}



html.dark-theme .ps-wheel-coupon-label {

    color: #94a3b8 !important;

}



html.dark-theme .ps-wheel-prize-title {

    color: #c4b5fd !important;

}



html.dark-theme .ps-wheel-prize-desc {

    color: #cbd5e1 !important;

}



html.dark-theme .ps-wheel-state-spinning h4 {

    color: #f8fafc !important;

}



html.dark-theme .ps-wheel-state-spinning p {

    color: #94a3b8 !important;

}



/* 9. Mobile Responsiveness */

@media (max-width: 820px) {

    .ps-wheel-modal-card {

        max-width: 440px;

        max-height: 90vh;

        overflow-y: auto;

        border-radius: 22px;

    }



    .ps-wheel-modal-body {

        grid-template-columns: 1fr;

        padding: 24px 18px 28px 18px;

        gap: 20px;

    }



    .ps-wheel-outer-ring,

    #ps-fortune-wheel-canvas {

        width: 300px;

        height: 300px;

    }



    .ps-wheel-heading {

        font-size: 18px;

    }



    .ps-wheel-floating-trigger {

        bottom: 78px;

        padding: 9px 15px;

        font-size: 12.5px;

    }

}



/* ==========================================================================

   Tiered Volume Discounts & Frequently Bought Together Suite

   ========================================================================== */



/* 1. Tiered Volume Pricing Widget in Buy Box */

.ps-tiered-pricing-widget {

    margin: 16px 0 20px 0;

    padding: 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

}



.ps-tiered-header {

    margin-bottom: 12px;

}



.ps-tiered-title-wrap {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 4px;

}



.ps-tiered-icon {

    font-size: 16px;

}



.ps-tiered-title {

    margin: 0;

    font-size: 14.5px;

    font-weight: 800;

    color: #0f172a;

}



.ps-tiered-subtitle {

    margin: 0;

    font-size: 12px;

    color: #64748b;

    line-height: 1.5;

}



.ps-tiered-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

}



.ps-tiered-card {

    position: relative;

    padding: 12px 14px;

    background: #ffffff;

    border: 2px solid #e2e8f0;

    border-radius: 12px;

    cursor: pointer;

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}



.ps-tiered-card:hover {

    border-color: #cbd5e1;

    transform: translateY(-2px);

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);

}



.ps-tiered-card.is-selected {

    border-color: #0284c7;

    background: #f0f9ff;

    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);

}



.ps-tiered-card.is-selected .ps-tiered-radio-dot {

    border-color: #0284c7;

    background: #0284c7;

    box-shadow: inset 0 0 0 3px #ffffff;

}



.ps-tiered-badge {

    position: absolute;

    top: -9px;

    left: 10px;

    font-size: 10.5px;

    font-weight: 800;

    padding: 2px 8px;

    border-radius: 20px;

    white-space: nowrap;

}



.ps-tiered-badge.badge-discount {

    background: #e0f2fe;

    color: #0284c7;

    border: 1px solid #bae6fd;

}



.ps-tiered-badge.badge-fire {

    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

    color: #ffffff;

    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);

}



.ps-tiered-card-top {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 6px;

}



.ps-tiered-radio-dot {

    width: 14px;

    height: 14px;

    border-radius: 50%;

    border: 2px solid #94a3b8;

    transition: all 0.2s ease;

    flex-shrink: 0;

}



.ps-tiered-card-label {

    font-size: 13px;

    font-weight: 800;

    color: #1e293b;

    line-height: 1.3;

}



.ps-tiered-card-prices {

    display: flex;

    flex-direction: column;

    gap: 2px;

}



.ps-tiered-unit-price {

    font-size: 12.5px;

    color: #0284c7;

    font-weight: 700;

}



.ps-tiered-unit-price strong {

    font-size: 13.5px;

}



.ps-tiered-total-price {

    font-size: 11px;

    color: #64748b;

}



/* 2. Frequently Bought Together Styles & Actions */

.ps-bought-together-section {

    margin: 32px 0;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);

}



.ps-fbt-header {

    margin-bottom: 20px;

}



.ps-fbt-title-row {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 4px;

    flex-wrap: wrap;

}



.ps-fbt-title-row h3 {

    margin: 0;

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

}



.ps-fbt-sub {

    margin: 0;

    font-size: 13px;

    color: #64748b;

}



.ps-fbt-container {

    display: grid;

    grid-template-columns: 1fr 280px;

    gap: 24px;

    align-items: start;

}



.ps-fbt-cards-row {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;

    margin-bottom: 18px;

}



.ps-fbt-card {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    max-width: 260px;

    flex: 1 1 200px;

    transition: all 0.2s;

}



.ps-fbt-card:hover {

    border-color: #cbd5e1;

    transform: translateY(-2px);

}



.ps-fbt-card-img {

    width: 64px;

    height: 64px;

    border-radius: 10px;

    overflow: hidden;

    background: #ffffff;

    flex-shrink: 0;

    border: 1px solid #e2e8f0;

}



.ps-fbt-card-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.ps-fbt-card-info {

    display: flex;

    flex-direction: column;

    gap: 3px;

}



.ps-fbt-badge {

    font-size: 10px;

    font-weight: 700;

    color: #0284c7;

    background: #e0f2fe;

    padding: 2px 6px;

    border-radius: 4px;

    align-self: flex-start;

}



.ps-fbt-card-title {

    font-size: 12.5px;

    font-weight: 700;

    color: #0f172a;

    line-height: 1.4;

    text-decoration: none;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.ps-fbt-card-price {

    font-size: 12.5px;

    font-weight: 800;

    color: #ef394e;

}



.ps-fbt-plus-icon {

    font-size: 20px;

    font-weight: 800;

    color: #94a3b8;

}



.ps-fbt-checkboxes-list {

    display: flex;

    flex-direction: column;

    gap: 8px;

    border-top: 1px solid #f1f5f9;

    padding-top: 14px;

}



.ps-fbt-checkbox-label {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;

    color: #334155;

    cursor: pointer;

}



.ps-fbt-checkbox-label input[type="checkbox"] {

    width: 17px;

    height: 17px;

    border-radius: 4px;

    accent-color: #ef394e;

    cursor: pointer;

}



.ps-fbt-summary-box {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 18px;

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.ps-fbt-sum-label {

    font-size: 12.5px;

    font-weight: 700;

    color: #64748b;

}



.ps-fbt-sum-prices {

    display: flex;

    align-items: baseline;

    gap: 6px;

    flex-wrap: wrap;

}



.ps-fbt-total-val {

    font-size: 24px;

    font-weight: 900;

    color: #10b981;

}



.ps-fbt-curr {

    font-size: 13px;

    font-weight: 700;

    color: #64748b;

}



.ps-fbt-add-all-btn {

    width: 100%;

    height: 48px;

    background: linear-gradient(135deg, #ef394e 0%, #dc2626 100%);

    color: #ffffff;

    border: none;

    border-radius: 12px;

    font-family: inherit;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 8px 18px -4px rgba(239, 57, 78, 0.4);

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    transition: all 0.2s ease;

}



.ps-fbt-add-all-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 12px 22px -4px rgba(239, 57, 78, 0.55);

}



.ps-fbt-add-all-btn.loading {

    opacity: 0.7;

    cursor: wait;

}



/* 3. Dark Theme Support */

html.dark-theme .ps-tiered-pricing-widget {

    background: #0f172a !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-tiered-title {

    color: #f8fafc !important;

}



html.dark-theme .ps-tiered-subtitle {

    color: #94a3b8 !important;

}



html.dark-theme .ps-tiered-card {

    background: #1e293b !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-tiered-card:hover {

    border-color: #475569 !important;

}



html.dark-theme .ps-tiered-card.is-selected {

    background: #0c4a6e !important;

    border-color: #38bdf8 !important;

}



html.dark-theme .ps-tiered-card-label {

    color: #f8fafc !important;

}



html.dark-theme .ps-tiered-unit-price {

    color: #38bdf8 !important;

}



html.dark-theme .ps-tiered-total-price {

    color: #94a3b8 !important;

}



html.dark-theme .ps-bought-together-section {

    background: #0f172a !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-fbt-title-row h3 {

    color: #f8fafc !important;

}



html.dark-theme .ps-fbt-sub {

    color: #94a3b8 !important;

}



html.dark-theme .ps-fbt-card {

    background: #1e293b !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-fbt-card-title {

    color: #f8fafc !important;

}



html.dark-theme .ps-fbt-card-img {

    background: #0f172a !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-fbt-summary-box {

    background: #1e293b !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-fbt-sum-label {

    color: #94a3b8 !important;

}



html.dark-theme .ps-fbt-checkbox-label {

    color: #cbd5e1 !important;

}



/* 4. Responsive Viewports */

@media (max-width: 768px) {

    .ps-fbt-container {

        grid-template-columns: 1fr;

    }

    .ps-tiered-grid {

        grid-template-columns: 1fr;

    }

}













/* ==========================================================================

   ADVANCED MULTI-CRITERIA REVIEWS & UGC GALLERY SUITE

   ========================================================================== */



/* 1. Recommendation Meter Badge */

.ps-recommend-meter-badge {

    display: flex;

    align-items: center;

    gap: 10px;

    background: #f0fdf4;

    border: 1.5px solid #bbf7d0;

    border-radius: 12px;

    padding: 12px 14px;

    margin: 16px 0;

    box-sizing: border-box;

    transition: transform 0.2s ease, box-shadow 0.2s ease;

}



.ps-recommend-meter-badge:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.08);

}



.ps-meter-icon {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: #dcfce7;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.ps-meter-text {

    font-size: 12.5px;

    line-height: 1.6;

    color: #166534;

}



.ps-meter-text strong {

    font-size: 14px;

    font-weight: 800;

    color: #15803d;

    margin-left: 2px;

}



/* 2. Rating Criteria Progress Bars & Typography */

.ps-criteria-bars-title {

    font-size: 13px;

    font-weight: 800;

    color: #334155;

    margin: 16px 0 10px 0;

    display: block;

}



.ps-rating-criteria-bars .dk-bar-item {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 8px;

}



.ps-criterion-label {

    flex: 1;

    font-size: 12px;

    color: #475569;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



.ps-criterion-val {

    width: 32px;

    text-align: left;

    font-size: 12px;

    font-weight: 700;

    color: #0f172a;

}



/* 3. UGC Customer Photos Gallery Carousel (Top) */

.ps-ugc-gallery-card {

    background: #ffffff;

    border: 1.5px solid #f1f5f9;

    border-radius: 16px;

    padding: 16px 18px;

    margin-bottom: 24px;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);

}



.ps-ugc-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 14px;

}



.ps-ugc-title-wrap {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

}



.ps-ugc-icon {

    width: 32px;

    height: 32px;

    border-radius: 8px;

    background: #fff1f2;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.ps-ugc-title {

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

    margin: 0;

}



.ps-ugc-badge-pill {

    background: #eff6ff;

    color: #2563eb;

    border: 1px solid #bfdbfe;

    font-size: 11px;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: 20px;

}



.ps-ugc-count-tag {

    font-size: 12px;

    font-weight: 600;

    color: #64748b;

    background: #f8fafc;

    padding: 3px 10px;

    border-radius: 12px;

    border: 1px solid #e2e8f0;

}



.ps-ugc-carousel {

    display: flex;

    gap: 12px;

    overflow-x: auto;

    padding-bottom: 8px;

    scroll-snap-type: x mandatory;

    scrollbar-width: thin;

    scrollbar-color: #cbd5e1 transparent;

}



.ps-ugc-carousel::-webkit-scrollbar {

    height: 6px;

}



.ps-ugc-carousel::-webkit-scrollbar-thumb {

    background: #cbd5e1;

    border-radius: 6px;

}



.ps-ugc-thumb-item {

    position: relative;

    flex: 0 0 96px;

    height: 96px;

    border-radius: 12px;

    overflow: hidden;

    cursor: pointer;

    scroll-snap-align: start;

    border: 1.5px solid #e2e8f0;

    background: #f8fafc;

    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;

}



.ps-ugc-thumb-item:hover {

    transform: translateY(-3px) scale(1.02);

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);

    border-color: #ef394e;

}



.ps-ugc-thumb-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.35s ease;

}



.ps-ugc-thumb-item:hover img {

    transform: scale(1.08);

}



.ps-ugc-thumb-overlay {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);

    color: #ffffff;

    padding: 6px 6px 4px 6px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 10px;

    line-height: 1.2;

}



.ps-ugc-buyer-name {

    max-width: 55px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    font-weight: 600;

}



.ps-ugc-buyer-star {

    color: #facc15;

    font-weight: 700;

}



/* 4. Photos Grid Inside Single Review Card */

.ps-review-photos-grid {

    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    margin: 14px 0 10px 0;

}



.ps-review-photo-thumb {

    position: relative;

    width: 80px;

    height: 80px;

    border-radius: 10px;

    overflow: hidden;

    cursor: pointer;

    border: 1.5px solid #e2e8f0;

    background: #f8fafc;

    transition: all 0.2s ease;

}



.ps-review-photo-thumb:hover {

    transform: scale(1.05);

    border-color: #ef394e;

    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.2);

}



.ps-review-photo-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}



.ps-photo-zoom-icon {

    position: absolute;

    bottom: 4px;

    left: 4px;

    width: 22px;

    height: 22px;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transition: opacity 0.2s ease;

}



.ps-review-photo-thumb:hover .ps-photo-zoom-icon {

    opacity: 1;

}



/* 5. Multi-Criteria Summary Pills Inside Review Card */

.ps-review-criteria-summary {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 10px 12px;

    margin: 12px 0;

}



.ps-criteria-badge-title {

    font-size: 11.5px;

    font-weight: 700;

    color: #64748b;

    display: block;

    margin-bottom: 6px;

}



.ps-criteria-pills-wrap {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

}



.ps-criterion-pill {

    background: #ffffff;

    border: 1px solid #cbd5e1;

    border-radius: 20px;

    padding: 3px 10px;

    font-size: 11px;

    color: #334155;

    display: inline-flex;

    align-items: center;

    gap: 4px;

}



.ps-criterion-pill em {

    font-style: normal;

    color: #64748b;

}



.ps-criterion-pill strong {

    color: #059669;

}



/* 6. Multi-Criteria Picker in Review Submission Form */

.ps-criteria-form-section {

    background: #f8fafc;

    border: 1.5px solid #e2e8f0;

    border-radius: 14px;

    padding: 16px;

    margin-bottom: 20px;

}



.ps-criteria-pickers-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 12px;

    margin-top: 10px;

}



.ps-crit-picker-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 8px 12px;

    gap: 8px;

    transition: border-color 0.2s ease;

}



.ps-crit-picker-row:hover {

    border-color: #cbd5e1;

}



.ps-crit-name {

    font-size: 12.5px;

    font-weight: 600;

    color: #334155;

    flex: 1;

}



.ps-crit-stars {

    display: flex;

    gap: 2px;

    direction: ltr;

}



.ps-crit-star-btn {

    background: none;

    border: none;

    font-size: 17px;

    color: #cbd5e1;

    cursor: pointer;

    padding: 0 2px;

    line-height: 1;

    transition: color 0.15s ease, transform 0.15s ease;

}



.ps-crit-star-btn:hover {

    transform: scale(1.25);

}



.ps-crit-star-btn.active {

    color: #f59e0b;

}



.ps-crit-score-label {

    width: 28px;

    text-align: center;

    font-size: 12px;

    font-weight: 700;

    color: #0f172a;

}



/* 7. Dropzone Upload Area */

.ps-form-photo-upload-row {

    margin-bottom: 20px;

}



.ps-upload-dropzone {

    border: 2px dashed #cbd5e1;

    background: #f8fafc;

    border-radius: 14px;

    padding: 22px 18px;

    text-align: center;

    transition: all 0.2s ease;

    cursor: pointer;

}



.ps-upload-dropzone.dragover,

.ps-upload-dropzone:hover {

    border-color: #ef394e;

    background: #fff5f5;

}



.ps-dropzone-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

}



.ps-dropzone-icon {

    width: 52px;

    height: 52px;

    border-radius: 50%;

    background: #fee2e2;

    display: flex;

    align-items: center;

    justify-content: center;

}



.ps-dropzone-text strong {

    display: block;

    font-size: 13.5px;

    color: #1e293b;

    margin-bottom: 2px;

}



.ps-dropzone-text span {

    font-size: 11.5px;

    color: #64748b;

}



.ps-btn-choose-photos {

    margin-top: 6px;

    background: #ffffff !important;

    border: 1.5px solid #cbd5e1 !important;

    color: #334155 !important;

    font-size: 12.5px !important;

    font-weight: 700 !important;

    padding: 6px 18px !important;

    border-radius: 8px !important;

    cursor: pointer;

    transition: all 0.2s ease !important;

}



.ps-btn-choose-photos:hover {

    background: #ef394e !important;

    border-color: #ef394e !important;

    color: #ffffff !important;

}



.ps-uploaded-previews {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 14px;

    justify-content: center;

}



.ps-preview-thumb-box {

    position: relative;

    width: 72px;

    height: 72px;

    border-radius: 8px;

    overflow: hidden;

    border: 1.5px solid #cbd5e1;

    background: #ffffff;

}



.ps-preview-thumb-box img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.ps-preview-remove-btn {

    position: absolute;

    top: 3px;

    right: 3px;

    width: 20px;

    height: 20px;

    border-radius: 50%;

    background: #ef394e;

    color: #ffffff;

    border: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    line-height: 1;

    font-weight: 800;

    transition: transform 0.15s ease;

}



.ps-preview-remove-btn:hover {

    transform: scale(1.15);

    background: #b91c1c;

}



/* 8. Lightbox Modal */

.ps-ugc-lightbox-modal {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    z-index: 999999;

    display: flex;

    align-items: center;

    justify-content: center;

    direction: rtl;

}



.ps-lightbox-overlay {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(15, 23, 42, 0.88);

    backdrop-filter: blur(8px);

}



.ps-lightbox-container {

    position: relative;

    z-index: 2;

    background: #ffffff;

    border-radius: 18px;

    max-width: 680px;

    width: 90%;

    max-height: 90vh;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);

    animation: psLbPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}



@keyframes psLbPop {

    from { opacity: 0; transform: scale(0.92); }

    to { opacity: 1; transform: scale(1); }

}



.ps-lightbox-close {

    position: absolute;

    top: 14px;

    left: 14px;

    z-index: 10;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.6);

    color: #ffffff;

    border: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s ease;

}



.ps-lightbox-close:hover {

    background: #ef394e;

    transform: rotate(90deg);

}



.ps-lightbox-nav {

    position: absolute;

    top: 45%;

    transform: translateY(-50%);

    z-index: 10;

    width: 44px;

    height: 44px;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.6);

    color: #ffffff;

    border: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s ease;

}



.ps-lightbox-nav:hover {

    background: #ef394e;

    transform: translateY(-50%) scale(1.1);

}



.ps-lightbox-prev {

    right: 14px;

}



.ps-lightbox-next {

    left: 14px;

}



.ps-lightbox-image-wrap {

    width: 100%;

    height: 60vh;

    max-height: 520px;

    background: #0b0f19;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}



.ps-lightbox-image-wrap img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

    display: block;

}



.ps-lightbox-info-bar {

    padding: 14px 20px;

    background: #ffffff;

    border-top: 1px solid #e2e8f0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

}



.ps-lightbox-buyer-meta {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

}



.ps-lightbox-author {

    font-size: 14px;

    font-weight: 800;

    color: #0f172a;

}



.ps-lightbox-badge {

    background: #ecfdf5;

    color: #059669;

    border: 1px solid #a7f3d0;

    font-size: 11px;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: 20px;

    display: inline-flex;

    align-items: center;

    gap: 4px;

}



.ps-lightbox-date {

    font-size: 11.5px;

    color: #64748b;

}



.ps-lightbox-rating {

    display: flex;

    align-items: center;

    gap: 4px;

    background: #fefce8;

    border: 1px solid #fef08a;

    padding: 3px 10px;

    border-radius: 20px;

}



.ps-lightbox-rating span {

    font-size: 12.5px;

    font-weight: 800;

    color: #854d0e;

}



/* 9. Dark Mode Overrides for  */

body.dark-mode .ps-recommend-meter-badge,

[data-theme="dark"] .ps-recommend-meter-badge,

html.dark-theme .ps-recommend-meter-badge {

    background: rgba(22, 101, 52, 0.2);

    border-color: rgba(74, 222, 128, 0.3);

    color: #86efac;

}



body.dark-mode .ps-meter-icon,

[data-theme="dark"] .ps-meter-icon,

html.dark-theme .ps-meter-icon {

    background: rgba(34, 197, 94, 0.25);

}



body.dark-mode .ps-meter-text,

[data-theme="dark"] .ps-meter-text,

html.dark-theme .ps-meter-text {

    color: #86efac;

}



body.dark-mode .ps-meter-text strong,

[data-theme="dark"] .ps-meter-text strong,

html.dark-theme .ps-meter-text strong {

    color: #4ade80;

}



body.dark-mode .ps-criteria-bars-title,

[data-theme="dark"] .ps-criteria-bars-title,

html.dark-theme .ps-criteria-bars-title {

    color: #e2e8f0;

}



body.dark-mode .ps-criterion-label,

[data-theme="dark"] .ps-criterion-label,

html.dark-theme .ps-criterion-label {

    color: #94a3b8;

}



body.dark-mode .ps-criterion-val,

[data-theme="dark"] .ps-criterion-val,

html.dark-theme .ps-criterion-val {

    color: #f1f5f9;

}



body.dark-mode .ps-ugc-gallery-card,

[data-theme="dark"] .ps-ugc-gallery-card,

html.dark-theme .ps-ugc-gallery-card {

    background: #1e293b;

    border-color: #334155;

}



body.dark-mode .ps-ugc-title,

[data-theme="dark"] .ps-ugc-title,

html.dark-theme .ps-ugc-title {

    color: #f1f5f9;

}



body.dark-mode .ps-ugc-thumb-item,

[data-theme="dark"] .ps-ugc-thumb-item,

html.dark-theme .ps-ugc-thumb-item {

    border-color: #334155;

    background: #0f172a;

}



body.dark-mode .ps-review-photo-thumb,

[data-theme="dark"] .ps-review-photo-thumb,

html.dark-theme .ps-review-photo-thumb {

    border-color: #334155;

    background: #0f172a;

}



body.dark-mode .ps-review-criteria-summary,

[data-theme="dark"] .ps-review-criteria-summary,

html.dark-theme .ps-review-criteria-summary {

    background: #0f172a;

    border-color: #334155;

}



body.dark-mode .ps-criterion-pill,

[data-theme="dark"] .ps-criterion-pill,

html.dark-theme .ps-criterion-pill {

    background: #1e293b;

    border-color: #334155;

    color: #cbd5e1;

}



body.dark-mode .ps-criteria-form-section,

[data-theme="dark"] .ps-criteria-form-section,

html.dark-theme .ps-criteria-form-section {

    background: #0f172a;

    border-color: #334155;

}



body.dark-mode .ps-crit-picker-row,

[data-theme="dark"] .ps-crit-picker-row,

html.dark-theme .ps-crit-picker-row {

    background: #1e293b;

    border-color: #334155;

}



body.dark-mode .ps-crit-name,

[data-theme="dark"] .ps-crit-name,

html.dark-theme .ps-crit-name {

    color: #e2e8f0;

}



body.dark-mode .ps-crit-score-label,

[data-theme="dark"] .ps-crit-score-label,

html.dark-theme .ps-crit-score-label {

    color: #f1f5f9;

}



body.dark-mode .ps-upload-dropzone,

[data-theme="dark"] .ps-upload-dropzone,

html.dark-theme .ps-upload-dropzone {

    background: #0f172a;

    border-color: #334155;

}



body.dark-mode .ps-upload-dropzone.dragover,

body.dark-mode .ps-upload-dropzone:hover,

[data-theme="dark"] .ps-upload-dropzone:hover,

html.dark-theme .ps-upload-dropzone:hover {

    border-color: #ef394e;

    background: rgba(239, 57, 78, 0.08);

}



body.dark-mode .ps-dropzone-text strong,

[data-theme="dark"] .ps-dropzone-text strong,

html.dark-theme .ps-dropzone-text strong {

    color: #f1f5f9;

}



body.dark-mode .ps-btn-choose-photos,

[data-theme="dark"] .ps-btn-choose-photos,

html.dark-theme .ps-btn-choose-photos {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #f1f5f9 !important;

}



body.dark-mode .ps-lightbox-container,

[data-theme="dark"] .ps-lightbox-container,

html.dark-theme .ps-lightbox-container {

    background: #1e293b;

}



body.dark-mode .ps-lightbox-info-bar,

[data-theme="dark"] .ps-lightbox-info-bar,

html.dark-theme .ps-lightbox-info-bar {

    background: #1e293b;

    border-color: #334155;

}



body.dark-mode .ps-lightbox-author,

[data-theme="dark"] .ps-lightbox-author,

html.dark-theme .ps-lightbox-author {

    color: #f1f5f9;

}





/* Full Dark Mode Polish for Product Reviews */

body.dark-mode .dk-reviews-summary-card,

[data-theme="dark"] .dk-reviews-summary-card,

html.dark-theme .dk-reviews-summary-card {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #f1f5f9 !important;

}



body.dark-mode .dk-review-card,

[data-theme="dark"] .dk-review-card,

html.dark-theme .dk-review-card {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #f1f5f9 !important;

}



body.dark-mode .dk-review-form-box,

[data-theme="dark"] .dk-review-form-box,

html.dark-theme .dk-review-form-box {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #f1f5f9 !important;

}



body.dark-mode .dk-score-val,

[data-theme="dark"] .dk-score-val,

html.dark-theme .dk-score-val,

body.dark-mode .dk-form-title,

[data-theme="dark"] .dk-form-title,

html.dark-theme .dk-form-title,

body.dark-mode .dk-review-author,

[data-theme="dark"] .dk-review-author,

html.dark-theme .dk-review-author,

body.dark-mode .dk-field-label,

[data-theme="dark"] .dk-field-label,

html.dark-theme .dk-field-label {

    color: #f1f5f9 !important;

}



body.dark-mode .dk-score-caption,

[data-theme="dark"] .dk-score-caption,

html.dark-theme .dk-score-caption,

body.dark-mode .dk-cta-desc,

[data-theme="dark"] .dk-cta-desc,

html.dark-theme .dk-cta-desc,

body.dark-mode .dk-review-sub-meta,

[data-theme="dark"] .dk-review-sub-meta,

html.dark-theme .dk-review-sub-meta {

    color: #94a3b8 !important;

}



body.dark-mode .dk-bar-track,

[data-theme="dark"] .dk-bar-track,

html.dark-theme .dk-bar-track {

    background: #334155 !important;

}



body.dark-mode .dk-bar-item span,

[data-theme="dark"] .dk-bar-item span,

html.dark-theme .dk-bar-item span {

    color: #e2e8f0 !important;

}



body.dark-mode .dk-form-header,

[data-theme="dark"] .dk-form-header,

html.dark-theme .dk-form-header {

    border-bottom-color: #334155 !important;

}



body.dark-mode .dk-input-group input[type="text"],

body.dark-mode .dk-input-group input[type="email"],

body.dark-mode .dk-form-row textarea,

[data-theme="dark"] .dk-input-group input[type="text"],

[data-theme="dark"] .dk-input-group input[type="email"],

[data-theme="dark"] .dk-form-row textarea,

html.dark-theme .dk-input-group input[type="text"],

html.dark-theme .dk-input-group input[type="email"],

html.dark-theme .dk-form-row textarea {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #f1f5f9 !important;

}



body.dark-mode .dk-btn-open-review-form,

[data-theme="dark"] .dk-btn-open-review-form,

html.dark-theme .dk-btn-open-review-form {

    border-color: #ef394e !important;

    color: #ef394e !important;

}



/* ==========================================================================

   SMART VOICE SEARCH & INSTANT FACETED AJAX FILTERS SUITE

   ========================================================================== */



/* 1. Header Voice Search Buttons */

.ps-voice-search-btn {

    background: transparent;

    border: none;

    outline: none;

    cursor: pointer;

    color: #64748b;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    padding: 0;

}



.ps-voice-search-btn:hover {

    color: #2563eb;

    background: rgba(37, 99, 235, 0.08);

    transform: scale(1.08);

}



.dk-search-box form .ps-voice-search-btn {

    position: absolute;

    left: 10px;

    top: 50%;

    transform: translateY(-50%);

    z-index: 5;

}



.dk-search-box form .ps-voice-search-btn:hover {

    transform: translateY(-50%) scale(1.1);

}



.ps-v2-search-form .ps-v2-voice-btn {

    position: absolute;

    left: 42px;

    top: 50%;

    transform: translateY(-50%);

    z-index: 5;

}



.ps-mso-header .ps-mso-voice-btn {

    color: #64748b;

    margin-right: 4px;

}



.ps-mso-header .ps-mso-voice-btn:hover {

    color: #2563eb;

}



/* 2. Voice Search Modal & Backdrop */

.ps-voice-modal-backdrop {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    width: 100%;

    height: 100%;

    background: rgba(15, 23, 42, 0.68);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    z-index: 999999;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    direction: rtl;

    padding: 16px;

    box-sizing: border-box;

}



.ps-voice-modal-backdrop.is-active {

    opacity: 1;

    visibility: visible;

}



.ps-voice-search-modal {

    background: #ffffff;

    border-radius: 24px;

    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);

    max-width: 460px;

    width: 100%;

    padding: 24px 26px;

    position: relative;

    transform: scale(0.92) translateY(20px);

    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    text-align: center;

    box-sizing: border-box;

}



.ps-voice-modal-backdrop.is-active .ps-voice-search-modal {

    transform: scale(1) translateY(0);

}



.ps-voice-modal-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #f1f5f9;

    padding-bottom: 14px;

    margin-bottom: 20px;

}



.ps-voice-modal-title-wrap {

    display: flex;

    align-items: center;

    gap: 8px;

}



.ps-voice-modal-badge {

    font-size: 11px;

    background: #eff6ff;

    color: #2563eb;

    font-weight: 700;

    padding: 3px 9px;

    border-radius: 12px;

    border: 1px solid #bfdbfe;

}



.ps-voice-modal-header h3 {

    font-size: 15px;

    font-weight: 700;

    color: #0f172a;

    margin: 0;

}



.ps-voice-modal-close {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    color: #64748b;

    cursor: pointer;

    border-radius: 50%;

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s ease;

}



.ps-voice-modal-close:hover {

    background: #fee2e2;

    border-color: #fca5a5;

    color: #ef4444;

}



/* 3. Concentric Ripple Wave Animation */

.ps-voice-wave-container {

    position: relative;

    width: 130px;

    height: 130px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.ps-voice-mic-core {

    width: 72px;

    height: 72px;

    border-radius: 50%;

    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);

    color: #ffffff;

    border: none;

    outline: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    z-index: 5;

    box-shadow: 0 10px 25px -4px rgba(37, 99, 235, 0.45);

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}



.ps-voice-mic-core:hover {

    transform: scale(1.06);

    box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.6);

}



.ps-voice-ripple-ring {

    position: absolute;

    width: 72px;

    height: 72px;

    border-radius: 50%;

    border: 2px solid rgba(59, 130, 246, 0.4);

    pointer-events: none;

    z-index: 2;

}



@keyframes psVoicePulse {

    0% {

        transform: scale(1);

        opacity: 0.85;

    }

    50% {

        transform: scale(1.45);

        opacity: 0.4;

    }

    100% {

        transform: scale(1.95);

        opacity: 0;

    }

}



.ps-voice-ripple-ring.ring-1 {

    animation: psVoicePulse 2.4s infinite cubic-bezier(0.2, 0.8, 0.2, 1);

}



.ps-voice-ripple-ring.ring-2 {

    animation: psVoicePulse 2.4s infinite cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s;

}



.ps-voice-ripple-ring.ring-3 {

    animation: psVoicePulse 2.4s infinite cubic-bezier(0.2, 0.8, 0.2, 1) 1.6s;

}



/* 4. Audio Equalizer Waveform */

.ps-voice-equalizer {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 4px;

    height: 28px;

    margin-bottom: 14px;

}



.ps-voice-bar {

    width: 3.5px;

    height: 6px;

    background: #3b82f6;

    border-radius: 4px;

    animation: psEqualizerJump 1s ease-in-out infinite alternate;

}



@keyframes psEqualizerJump {

    0% { height: 5px; opacity: 0.4; }

    50% { height: 22px; opacity: 1; }

    100% { height: 9px; opacity: 0.6; }

}



.ps-voice-bar.bar-1 { animation-delay: 0.05s; }

.ps-voice-bar.bar-2 { animation-delay: 0.25s; }

.ps-voice-bar.bar-3 { animation-delay: 0.45s; }

.ps-voice-bar.bar-4 { animation-delay: 0.65s; }

.ps-voice-bar.bar-5 { animation-delay: 0.35s; }

.ps-voice-bar.bar-6 { animation-delay: 0.15s; }

.ps-voice-bar.bar-7 { animation-delay: 0.55s; }



/* 5. Prompt & Transcript Container */

.ps-voice-status-text {

    font-size: 13.5px;

    color: #475569;

    margin: 0 0 14px 0;

    font-weight: 500;

    line-height: 1.6;

}



.ps-voice-transcript-box {

    background: #f8fafc;

    border: 1.5px dashed #cbd5e1;

    border-radius: 14px;

    padding: 14px 18px;

    min-height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    font-size: 14px;

    box-sizing: border-box;

}



.ps-voice-transcript-placeholder {

    color: #94a3b8;

    font-size: 13px;

}



.ps-voice-transcript-text {

    color: #0f172a;

    font-weight: 700;

    font-size: 15px;

    word-break: break-word;

}



/* 6. Quick Voice Suggestion Chips */

.ps-voice-suggestions {

    margin-bottom: 18px;

}



.ps-voice-sugg-title {

    font-size: 11.5px;

    color: #64748b;

    display: block;

    margin-bottom: 8px;

}



.ps-voice-chips-list {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    justify-content: center;

}



.ps-voice-chip-btn {

    background: #f1f5f9;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    padding: 5px 12px;

    font-size: 12px;

    color: #334155;

    cursor: pointer;

    transition: all 0.2s ease;

    font-family: inherit;

}



.ps-voice-chip-btn:hover {

    background: #eff6ff;

    border-color: #93c5fd;

    color: #1d4ed8;

    transform: translateY(-1px);

}



.ps-voice-modal-footer {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

}



.ps-voice-action-btn {

    padding: 9px 22px;

    border-radius: 12px;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    border: none;

    font-family: inherit;

    transition: all 0.2s ease;

}



.ps-voice-stop-btn {

    background: #f1f5f9;

    color: #64748b;

}



.ps-voice-stop-btn:hover {

    background: #e2e8f0;

    color: #334155;

}



.ps-voice-search-confirm-btn {

    background: #2563eb;

    color: #ffffff;

}



.ps-voice-search-confirm-btn:hover {

    background: #1d4ed8;

}



/* 7. Dual Range Price Slider */

.ps-dual-slider-wrap {

    margin: 14px 0 16px 0;

    padding: 6px 2px 2px 2px;

}



.ps-range-slider-track {

    position: relative;

    height: 6px;

    background: #e2e8f0;

    border-radius: 4px;

    margin-bottom: 12px;

}



.ps-range-slider-fill {

    position: absolute;

    height: 100%;

    background: #2563eb;

    border-radius: 4px;

    pointer-events: none;

    top: 0;

}



.ps-range-input {

    position: absolute;

    width: 100%;

    top: -6px;

    height: 18px;

    -webkit-appearance: none;

    appearance: none;

    background: transparent;

    pointer-events: none;

    margin: 0;

    outline: none;

}



.ps-range-input::-webkit-slider-thumb {

    pointer-events: auto;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    background: #ffffff;

    border: 2.5px solid #2563eb;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

    cursor: pointer;

    -webkit-appearance: none;

    appearance: none;

    transition: transform 0.15s ease, box-shadow 0.15s ease;

}



.ps-range-input::-moz-range-thumb {

    pointer-events: auto;

    width: 18px;

    height: 18px;

    border-radius: 50%;

    background: #ffffff;

    border: 2.5px solid #2563eb;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

    cursor: pointer;

    transition: transform 0.15s ease, box-shadow 0.15s ease;

}



.ps-range-input::-webkit-slider-thumb:hover {

    transform: scale(1.18);

    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.4);

}



.ps-range-input::-moz-range-thumb:hover {

    transform: scale(1.18);

    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.4);

}



.ps-range-slider-labels {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 11.5px;

    color: #64748b;

    font-weight: 600;

}



/* 8. Dark Mode Overrides for  */

body.dark-mode .ps-voice-modal-backdrop,

[data-theme="dark"] .ps-voice-modal-backdrop,

html.dark-theme .ps-voice-modal-backdrop {

    background: rgba(15, 23, 42, 0.85);

}



body.dark-mode .ps-voice-search-modal,

[data-theme="dark"] .ps-voice-search-modal,

html.dark-theme .ps-voice-search-modal {

    background: #1e293b;

    border: 1px solid #334155;

    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);

}



body.dark-mode .ps-voice-modal-header,

[data-theme="dark"] .ps-voice-modal-header,

html.dark-theme .ps-voice-modal-header {

    border-bottom-color: #334155;

}



body.dark-mode .ps-voice-modal-header h3,

[data-theme="dark"] .ps-voice-modal-header h3,

html.dark-theme .ps-voice-modal-header h3 {

    color: #f1f5f9;

}



body.dark-mode .ps-voice-modal-close,

[data-theme="dark"] .ps-voice-modal-close,

html.dark-theme .ps-voice-modal-close {

    background: #0f172a;

    border-color: #334155;

    color: #94a3b8;

}



body.dark-mode .ps-voice-modal-close:hover,

[data-theme="dark"] .ps-voice-modal-close:hover,

html.dark-theme .ps-voice-modal-close:hover {

    background: rgba(239, 68, 68, 0.2);

    border-color: #ef4444;

    color: #fca5a5;

}



body.dark-mode .ps-voice-status-text,

[data-theme="dark"] .ps-voice-status-text,

html.dark-theme .ps-voice-status-text {

    color: #94a3b8;

}



body.dark-mode .ps-voice-transcript-box,

[data-theme="dark"] .ps-voice-transcript-box,

html.dark-theme .ps-voice-transcript-box {

    background: #0f172a;

    border-color: #334155;

}



body.dark-mode .ps-voice-transcript-text,

[data-theme="dark"] .ps-voice-transcript-text,

html.dark-theme .ps-voice-transcript-text {

    color: #f8fafc;

}



body.dark-mode .ps-voice-chip-btn,

[data-theme="dark"] .ps-voice-chip-btn,

html.dark-theme .ps-voice-chip-btn {

    background: #0f172a;

    border-color: #334155;

    color: #cbd5e1;

}



body.dark-mode .ps-voice-chip-btn:hover,

[data-theme="dark"] .ps-voice-chip-btn:hover,

html.dark-theme .ps-voice-chip-btn:hover {

    background: rgba(37, 99, 235, 0.25);

    border-color: #3b82f6;

    color: #93c5fd;

}



body.dark-mode .ps-voice-stop-btn,

[data-theme="dark"] .ps-voice-stop-btn,

html.dark-theme .ps-voice-stop-btn {

    background: #0f172a;

    color: #94a3b8;

}



body.dark-mode .ps-range-slider-track,

[data-theme="dark"] .ps-range-slider-track,

html.dark-theme .ps-range-slider-track {

    background: #334155;

}



body.dark-mode .ps-range-input::-webkit-slider-thumb,

[data-theme="dark"] .ps-range-input::-webkit-slider-thumb,

html.dark-theme .ps-range-input::-webkit-slider-thumb {

    background: #0f172a;

    border-color: #3b82f6;

}



body.dark-mode .ps-range-input::-moz-range-thumb,

[data-theme="dark"] .ps-range-input::-moz-range-thumb,

html.dark-theme .ps-range-input::-moz-range-thumb {

    background: #0f172a;

    border-color: #3b82f6;

}



body.dark-mode .ps-range-slider-labels,

[data-theme="dark"] .ps-range-slider-labels,

html.dark-theme .ps-range-slider-labels {

    color: #94a3b8;

}



/* ==========================================================================

   SMART DIGITAL WALLET, CASHBACK ENGINE & ONE-CLICK CHECKOUT SUITE

   ========================================================================== */



/* 1. Single Product Cashback Badge */

.ps-cashback-badge-wrap {

    display: flex;

    align-items: center;

    gap: 12px;

    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);

    border: 1.5px solid #a7f3d0;

    border-radius: 12px;

    padding: 10px 14px;

    margin: 14px 0;

    direction: rtl;

    transition: all 0.25s ease;

}



.ps-cashback-badge-wrap:hover {

    border-color: #34d399;

    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);

}



.ps-cashback-badge-icon {

    width: 34px;

    height: 34px;

    border-radius: 10px;

    background: #10b981;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.ps-cashback-badge-content {

    display: flex;

    flex-direction: column;

    gap: 2px;

}



.ps-cashback-badge-content strong {

    font-size: 13px;

    color: #065f46;

    font-weight: 700;

}



.ps-cashback-badge-content span {

    font-size: 11.5px;

    color: #047857;

}



/* 2. Checkout Cashback Banner */

.ps-checkout-cashback-banner {

    display: flex;

    align-items: center;

    gap: 12px;

    background: #ecfdf5;

    border: 1.5px dashed #10b981;

    border-radius: 12px;

    padding: 12px 16px;

    margin-bottom: 16px;

    direction: rtl;

}



.ps-checkout-cashback-banner .ps-ccb-icon {

    font-size: 22px;

}



.ps-checkout-cashback-banner .ps-ccb-text {

    font-size: 13px;

    color: #065f46;

    line-height: 1.6;

}



.ps-checkout-cashback-banner .ps-ccb-text strong {

    color: #047857;

}



/* 3. Checkout One-Click Wallet Deduction Box */

.ps-checkout-wallet-box {

    background: #ffffff;

    border: 2px solid #10b981;

    border-radius: 14px;

    padding: 16px 18px;

    margin-bottom: 20px;

    direction: rtl;

    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);

}



.ps-checkout-wallet-box .ps-cwb-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 8px;

}



.ps-checkout-wallet-box .ps-cwb-title-wrap {

    display: flex;

    align-items: center;

    gap: 10px;

}



.ps-checkout-wallet-box .ps-cwb-icon {

    font-size: 24px;

}



.ps-checkout-wallet-box strong {

    font-size: 14px;

    color: #0f172a;

    display: block;

}



.ps-checkout-wallet-box .ps-cwb-sub {

    font-size: 12px;

    color: #64748b;

    display: block;

    margin-top: 2px;

}



.ps-checkout-wallet-box .ps-cwb-balance {

    font-weight: 700;

    color: #059669;

}



.ps-checkout-wallet-box .ps-cwb-desc {

    margin: 0;

    font-size: 11.5px;

    color: #475569;

    line-height: 1.6;

}



/* 4. Transaction Badges */

.dk-tx-badge.badge-cashback {

    background: #ecfdf5;

    color: #059669;

    border: 1px solid #a7f3d0;

}



.dk-tx-badge.badge-deposit {

    background: #eff6ff;

    color: #2563eb;

    border: 1px solid #bfdbfe;

}



.dk-tx-badge.badge-purchase {

    background: #fef2f2;

    color: #dc2626;

    border: 1px solid #fecaca;

}



.dk-tx-badge.badge-refund {

    background: #fefce8;

    color: #ca8a04;

    border: 1px solid #fef08a;

}



.dk-tx-badge.badge-club {

    background: #faf5ff;

    color: #9333ea;

    border: 1px solid #e9d5ff;

}



/* 5. Dark Mode Overrides for  */

body.dark-mode .ps-cashback-badge-wrap,

[data-theme="dark"] .ps-cashback-badge-wrap,

html.dark-theme .ps-cashback-badge-wrap {

    background: rgba(16, 185, 129, 0.12);

    border-color: rgba(52, 211, 153, 0.3);

}



body.dark-mode .ps-cashback-badge-content strong,

[data-theme="dark"] .ps-cashback-badge-content strong,

html.dark-theme .ps-cashback-badge-content strong {

    color: #6ee7b7;

}



body.dark-mode .ps-cashback-badge-content span,

[data-theme="dark"] .ps-cashback-badge-content span,

html.dark-theme .ps-cashback-badge-content span {

    color: #a7f3d0;

}



body.dark-mode .ps-checkout-cashback-banner,

[data-theme="dark"] .ps-checkout-cashback-banner,

html.dark-theme .ps-checkout-cashback-banner {

    background: rgba(16, 185, 129, 0.12);

    border-color: #059669;

}



body.dark-mode .ps-checkout-cashback-banner .ps-ccb-text,

[data-theme="dark"] .ps-checkout-cashback-banner .ps-ccb-text,

html.dark-theme .ps-checkout-cashback-banner .ps-ccb-text {

    color: #a7f3d0;

}



body.dark-mode .ps-checkout-cashback-banner .ps-ccb-text strong,

[data-theme="dark"] .ps-checkout-cashback-banner .ps-ccb-text strong,

html.dark-theme .ps-checkout-cashback-banner .ps-ccb-text strong {

    color: #6ee7b7;

}



body.dark-mode .ps-checkout-wallet-box,

[data-theme="dark"] .ps-checkout-wallet-box,

html.dark-theme .ps-checkout-wallet-box {

    background: #1e293b;

    border-color: #059669;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);

}



body.dark-mode .ps-checkout-wallet-box strong,

[data-theme="dark"] .ps-checkout-wallet-box strong,

html.dark-theme .ps-checkout-wallet-box strong {

    color: #f1f5f9;

}



body.dark-mode .ps-checkout-wallet-box .ps-cwb-sub,

[data-theme="dark"] .ps-checkout-wallet-box .ps-cwb-sub,

html.dark-theme .ps-checkout-wallet-box .ps-cwb-sub {

    color: #94a3b8;

}



body.dark-mode .ps-checkout-wallet-box .ps-cwb-balance,

[data-theme="dark"] .ps-checkout-wallet-box .ps-cwb-balance,

html.dark-theme .ps-checkout-wallet-box .ps-cwb-balance {

    color: #34d399;

}



body.dark-mode .ps-checkout-wallet-box .ps-cwb-desc,

[data-theme="dark"] .ps-checkout-wallet-box .ps-cwb-desc,

html.dark-theme .ps-checkout-wallet-box .ps-cwb-desc {

    color: #cbd5e1;

}



body.dark-mode .dk-wallet-card,

[data-theme="dark"] .dk-wallet-card,

html.dark-theme .dk-wallet-card {

    background: #1e293b !important;

    border-color: #334155 !important;

}



body.dark-mode .dk-wallet-card-header h3,

[data-theme="dark"] .dk-wallet-card-header h3,

html.dark-theme .dk-wallet-card-header h3 {

    color: #f1f5f9 !important;

}



body.dark-mode .dk-wallet-card-header .dk-wallet-header-desc,

[data-theme="dark"] .dk-wallet-card-header .dk-wallet-header-desc,

html.dark-theme .dk-wallet-card-header .dk-wallet-header-desc {

    color: #94a3b8 !important;

}



body.dark-mode .dk-quick-amt-btn,

[data-theme="dark"] .dk-quick-amt-btn,

html.dark-theme .dk-quick-amt-btn {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #cbd5e1 !important;

}



body.dark-mode .dk-quick-amt-btn.active,

[data-theme="dark"] .dk-quick-amt-btn.active,

html.dark-theme .dk-quick-amt-btn.active {

    background: rgba(239, 57, 78, 0.2) !important;

    border-color: #ef394e !important;

    color: #f87171 !important;

}



body.dark-mode .dk-wallet-input-wrapper input,

[data-theme="dark"] .dk-wallet-input-wrapper input,

html.dark-theme .dk-wallet-input-wrapper input {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #f1f5f9 !important;

}



body.dark-mode .dk-wallet-table th,

[data-theme="dark"] .dk-wallet-table th,

html.dark-theme .dk-wallet-table th {

    background: #0f172a !important;

    color: #94a3b8 !important;

    border-bottom-color: #334155 !important;

}



body.dark-mode .dk-wallet-table td,

[data-theme="dark"] .dk-wallet-table td,

html.dark-theme .dk-wallet-table td {

    border-bottom-color: #334155 !important;

    color: #cbd5e1 !important;

}



/* ==========================================================================

   AFFILIATE MARKETING & REFERRAL PARTNER NETWORK SUITE

   ========================================================================== */

.ps-affiliate-dashboard {

    direction: rtl;

    width: 100%;

}



.ps-aff-hero-card {

    position: relative;

    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);

    border-radius: 18px;

    padding: 32px 36px;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: space-between;

    overflow: hidden;

    margin-bottom: 24px;

    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);

}



.ps-aff-hero-content {

    position: relative;

    z-index: 2;

    max-width: 650px;

}



.ps-aff-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(8px);

    padding: 6px 14px;

    border-radius: 30px;

    font-size: 12.5px;

    font-weight: 700;

    margin-bottom: 14px;

    border: 1px solid rgba(255, 255, 255, 0.25);

}



.ps-aff-hero-content h2 {

    color: #ffffff !important;

    font-size: 22px;

    font-weight: 800;

    margin: 0 0 10px 0;

    line-height: 1.4;

}



.ps-aff-hero-content .ps-aff-sub {

    color: rgba(255, 255, 255, 0.9);

    font-size: 13.5px;

    line-height: 1.7;

    margin: 0;

}



.ps-aff-hero-icon {

    position: relative;

    z-index: 1;

    opacity: 0.85;

    flex-shrink: 0;

    margin-right: 20px;

}



.ps-aff-card {

    background: #ffffff;

    border: 1.5px solid #e2e8f0;

    border-radius: 16px;

    padding: 24px;

    margin-bottom: 24px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);

}



.ps-aff-card-header {

    display: flex;

    flex-direction: column;

    gap: 4px;

    margin-bottom: 18px;

}



.ps-aff-header-title {

    display: flex;

    align-items: center;

    gap: 10px;

}



.ps-aff-header-title h3 {

    margin: 0;

    font-size: 16px;

    font-weight: 800;

    color: #0f172a;

}



.ps-aff-header-desc {

    font-size: 12.5px;

    color: #64748b;

    margin-top: 2px;

}



/* Referral Link Box */

.ps-aff-link-box {

    display: flex;

    flex-direction: column;

    gap: 16px;

}



.ps-aff-input-wrapper {

    display: flex;

    align-items: center;

    background: #f8fafc;

    border: 1.5px solid #cbd5e1;

    border-radius: 12px;

    padding: 6px;

    transition: border-color 0.2s ease;

}



.ps-aff-input-wrapper:focus-within {

    border-color: #2563eb;

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);

}



.ps-aff-input-wrapper input {

    flex: 1;

    background: transparent !important;

    border: none !important;

    outline: none !important;

    padding: 8px 14px;

    font-size: 13.5px;

    color: #1e293b;

    direction: ltr;

    text-align: left;

    font-family: monospace, inherit;

    box-shadow: none !important;

}



.ps-aff-btn-copy {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #2563eb;

    color: #ffffff;

    border: none;

    border-radius: 10px;

    padding: 10px 18px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

    flex-shrink: 0;

}



.ps-aff-btn-copy:hover {

    background: #1d4ed8;

    transform: translateY(-1px);

}



.ps-aff-btn-copy.copied {

    background: #10b981 !important;

}



.ps-aff-share-buttons {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

}



.ps-aff-share-label {

    font-size: 12.5px;

    color: #64748b;

    font-weight: 600;

}



.ps-aff-share-btn {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    color: #ffffff;

    transition: opacity 0.2s ease, transform 0.2s ease;

}



.ps-aff-share-btn:hover {

    opacity: 0.9;

    transform: translateY(-1px);

    color: #ffffff;

}



.ps-aff-share-btn.tg { background: #229ED9; }

.ps-aff-share-btn.wa { background: #25D366; }

.ps-aff-share-btn.eitaa { background: #ff7900; }

.ps-aff-share-btn.bale { background: #009688; }



/* 4 Stats Cards Grid */

.ps-aff-stats-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));

    gap: 16px;

    margin-bottom: 24px;

}



.ps-aff-stat-card {

    background: #ffffff;

    border: 1.5px solid #e2e8f0;

    border-radius: 14px;

    padding: 18px;

    display: flex;

    align-items: center;

    gap: 14px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.02);

    transition: transform 0.2s ease;

}



.ps-aff-stat-card:hover {

    transform: translateY(-2px);

}



.ps-aff-stat-card.highlight {

    border-color: #10b981;

    background: #f0fdf4;

}



.ps-aff-stat-icon {

    width: 46px;

    height: 46px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.ps-aff-stat-icon.clicks { background: #eff6ff; color: #2563eb; }

.ps-aff-stat-icon.orders { background: #fdf2f8; color: #ec4899; }

.ps-aff-stat-icon.earnings { background: #fefce8; color: #ca8a04; }

.ps-aff-stat-icon.balance { background: #ecfdf5; color: #059669; }



.ps-aff-stat-details {

    display: flex;

    flex-direction: column;

}



.ps-aff-stat-label {

    font-size: 12px;

    color: #64748b;

    margin-bottom: 4px;

}



.ps-aff-stat-val {

    font-size: 18px;

    font-weight: 800;

    color: #0f172a;

    line-height: 1.2;

}



.ps-aff-stat-val small {

    font-size: 11.5px;

    font-weight: 600;

    color: #64748b;

}



.ps-aff-stat-hint {

    font-size: 11px;

    color: #94a3b8;

    margin-top: 2px;

}



/* Payout Card */

.ps-aff-payout-actions-wrap {

    display: flex;

    flex-direction: column;

    gap: 16px;

}



.ps-aff-payout-option {

    border: 1.5px solid #e2e8f0;

    border-radius: 14px;

    padding: 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 14px;

    background: #f8fafc;

}



.ps-aff-payout-option.wallet {

    border-color: #a7f3d0;

    background: #f0fdf4;

}



.ps-aff-po-info {

    display: flex;

    align-items: center;

    gap: 12px;

    flex: 1;

    min-width: 260px;

}



.ps-aff-po-icon {

    font-size: 24px;

}



.ps-aff-po-info strong {

    font-size: 14px;

    color: #0f172a;

    display: block;

    margin-bottom: 2px;

}



.ps-aff-po-info p {

    margin: 0;

    font-size: 12px;

    color: #64748b;

    line-height: 1.5;

}



.ps-aff-btn-action {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    border: none;

    border-radius: 10px;

    padding: 10px 20px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

    white-space: nowrap;

}



.ps-aff-btn-action.wallet {

    background: #059669;

    color: #ffffff;

}



.ps-aff-btn-action.wallet:hover:not(:disabled) {

    background: #047857;

    transform: translateY(-1px);

}



.ps-aff-btn-action.shaba {

    background: #2563eb;

    color: #ffffff;

}



.ps-aff-btn-action.shaba:hover:not(:disabled) {

    background: #1d4ed8;

    transform: translateY(-1px);

}



.ps-aff-btn-action:disabled {

    opacity: 0.5;

    cursor: not-allowed;

}



.ps-aff-shaba-input-row {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

}



.ps-aff-shaba-input-wrap {

    position: relative;

    width: 280px;

}



.ps-aff-shaba-input-wrap input {

    width: 100%;

    padding: 8px 12px 8px 40px;

    border: 1.5px solid #cbd5e1;

    border-radius: 10px;

    font-size: 13px;

    direction: ltr;

    text-align: left;

    font-family: monospace, inherit;

    color: #1e293b;

    box-sizing: border-box;

}



.ps-aff-shaba-prefix {

    position: absolute;

    left: 12px;

    top: 50%;

    transform: translateY(-50%);

    font-weight: 800;

    font-size: 12px;

    color: #94a3b8;

}



.ps-aff-msg {

    margin-top: 10px;

    padding: 12px 16px;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 600;

    display: none;

}



.ps-aff-msg.success {

    display: block;

    background: #ecfdf5;

    color: #065f46;

    border: 1px solid #a7f3d0;

}



.ps-aff-msg.error {

    display: block;

    background: #fef2f2;

    color: #991b1b;

    border: 1px solid #fecaca;

}



/* History Table */

.ps-aff-table-responsive {

    overflow-x: auto;

}



.ps-aff-table {

    width: 100%;

    border-collapse: collapse;

    font-size: 13px;

}



.ps-aff-table th {

    background: #f8fafc;

    color: #64748b;

    font-weight: 700;

    padding: 12px 16px;

    text-align: right;

    border-bottom: 1.5px solid #e2e8f0;

}



.ps-aff-table td {

    padding: 14px 16px;

    border-bottom: 1px solid #f1f5f9;

    color: #334155;

}



.ps-aff-badge-tag {

    display: inline-block;

    padding: 4px 10px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;

}



.ps-aff-badge-tag.badge-commission { background: #eff6ff; color: #1d4ed8; }

.ps-aff-badge-tag.badge-wallet { background: #ecfdf5; color: #047857; }

.ps-aff-badge-tag.badge-shaba { background: #fefce8; color: #854d0e; }



.ps-aff-status-tag {

    font-size: 11.5px;

    font-weight: 700;

}



.ps-aff-status-tag.completed { color: #059669; }

.ps-aff-status-tag.pending { color: #d97706; }



.ps-aff-amt.credit { color: #059669; font-weight: 700; }

.ps-aff-amt.debit { color: #ef4444; font-weight: 700; }



.ps-aff-empty-state {

    text-align: center;

    padding: 40px 20px;

    color: #64748b;

}



.ps-aff-empty-state p {

    font-size: 15px;

    font-weight: 700;

    margin: 12px 0 4px 0;

    color: #1e293b;

}



.ps-aff-empty-state small {

    font-size: 12.5px;

    color: #94a3b8;

}



/* ==========================================================================

   DARK MODE OVERRIDES

   ========================================================================== */

body.dark-mode .ps-aff-card,

[data-theme="dark"] .ps-aff-card,

html.dark-theme .ps-aff-card {

    background: #1e293b !important;

    border-color: #334155 !important;

}



body.dark-mode .ps-aff-header-title h3,

[data-theme="dark"] .ps-aff-header-title h3,

html.dark-theme .ps-aff-header-title h3 {

    color: #f8fafc !important;

}



body.dark-mode .ps-aff-header-desc,

[data-theme="dark"] .ps-aff-header-desc,

html.dark-theme .ps-aff-header-desc {

    color: #94a3b8 !important;

}



body.dark-mode .ps-aff-input-wrapper,

[data-theme="dark"] .ps-aff-input-wrapper,

html.dark-theme .ps-aff-input-wrapper {

    background: #0f172a !important;

    border-color: #334155 !important;

}



body.dark-mode .ps-aff-input-wrapper input,

[data-theme="dark"] .ps-aff-input-wrapper input,

html.dark-theme .ps-aff-input-wrapper input {

    color: #f1f5f9 !important;

}



body.dark-mode .ps-aff-stat-card,

[data-theme="dark"] .ps-aff-stat-card,

html.dark-theme .ps-aff-stat-card {

    background: #1e293b !important;

    border-color: #334155 !important;

}



body.dark-mode .ps-aff-stat-card.highlight,

[data-theme="dark"] .ps-aff-stat-card.highlight,

html.dark-theme .ps-aff-stat-card.highlight {

    background: rgba(16, 185, 129, 0.12) !important;

    border-color: #059669 !important;

}



body.dark-mode .ps-aff-stat-val,

[data-theme="dark"] .ps-aff-stat-val,

html.dark-theme .ps-aff-stat-val {

    color: #f8fafc !important;

}



body.dark-mode .ps-aff-payout-option,

[data-theme="dark"] .ps-aff-payout-option,

html.dark-theme .ps-aff-payout-option {

    background: #0f172a !important;

    border-color: #334155 !important;

}



body.dark-mode .ps-aff-payout-option.wallet,

[data-theme="dark"] .ps-aff-payout-option.wallet,

html.dark-theme .ps-aff-payout-option.wallet {

    background: rgba(5, 150, 105, 0.1) !important;

    border-color: #059669 !important;

}



body.dark-mode .ps-aff-po-info strong,

[data-theme="dark"] .ps-aff-po-info strong,

html.dark-theme .ps-aff-po-info strong {

    color: #f1f5f9 !important;

}



body.dark-mode .ps-aff-shaba-input-wrap input,

[data-theme="dark"] .ps-aff-shaba-input-wrap input,

html.dark-theme .ps-aff-shaba-input-wrap input {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #f1f5f9 !important;

}



body.dark-mode .ps-aff-table th,

[data-theme="dark"] .ps-aff-table th,

html.dark-theme .ps-aff-table th {

    background: #0f172a !important;

    color: #94a3b8 !important;

    border-bottom-color: #334155 !important;

}



body.dark-mode .ps-aff-table td,

[data-theme="dark"] .ps-aff-table td,

html.dark-theme .ps-aff-table td {

    color: #cbd5e1 !important;

    border-bottom-color: #334155 !important;

}



body.dark-mode .ps-aff-empty-state p,

[data-theme="dark"] .ps-aff-empty-state p,

html.dark-theme .ps-aff-empty-state p {

    color: #f1f5f9 !important;

}



/* ==========================================================================

   Smart Welcome Gift & Registration Credit Engine Styles

   ========================================================================== */

.ps-welcome-modal {

    position: fixed;

    top: 0;

    right: 0;

    bottom: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    z-index: 999998;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(15, 23, 42, 0.82);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    padding: 16px;

    box-sizing: border-box;

    direction: rtl;

    font-family: inherit;

    animation: psFadeIn 0.25s ease-out;

}



.ps-welcome-modal-overlay {

    position: absolute;

    inset: 0;

    cursor: pointer;

}



.ps-welcome-modal-card {

    position: relative;

    width: 100%;

    max-width: 520px;

    background: #ffffff;

    border-radius: 26px;

    padding: 34px 28px 28px 28px;

    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05);

    box-sizing: border-box;

    z-index: 10;

    text-align: center;

    animation: psWelcomePop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;

}



@keyframes psWelcomePop {

    0% { opacity: 0; transform: scale(0.85) translateY(24px); }

    100% { opacity: 1; transform: scale(1) translateY(0); }

}



.ps-welcome-close-btn {

    position: absolute;

    top: 16px;

    left: 16px;

    width: 32px;

    height: 32px;

    border-radius: 50%;

    border: none;

    background: #f1f5f9;

    color: #64748b;

    font-size: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.2s;

}



.ps-welcome-close-btn:hover {

    background: #fee2e2;

    color: #ef4444;

    transform: rotate(90deg);

}



.ps-welcome-badge-wrap {

    margin-bottom: 8px;

}



.ps-welcome-kicker-badge {

    display: inline-block;

    padding: 4px 14px;

    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);

    color: #047857;

    font-size: 12.5px;

    font-weight: 800;

    border-radius: 20px;

    border: 1px solid #a7f3d0;

}



.ps-welcome-header {

    margin-bottom: 20px;

}



.ps-welcome-gift-glow {

    width: 72px;

    height: 72px;

    margin: 8px auto 14px auto;

    border-radius: 50%;

    background: radial-gradient(circle, #fef3c7 0%, #fde68a 60%, rgba(254, 243, 199, 0) 100%);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 42px;

    animation: psBounce 2s infinite ease-in-out;

}



.ps-welcome-title {

    font-size: 21px;

    font-weight: 900;

    color: #0f172a;

    margin: 0 0 8px 0;

}



.ps-welcome-desc {

    font-size: 13.5px;

    color: #64748b;

    line-height: 1.6;

    margin: 0;

}



.ps-welcome-rewards-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-bottom: 18px;

}



.ps-welcome-reward-box {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    border-radius: 16px;

    text-align: right;

    transition: transform 0.2s;

}



.ps-welcome-reward-box.wallet {

    background: #eff6ff;

    border: 1.5px solid #bfdbfe;

}



.ps-welcome-reward-box.club {

    background: #fefce8;

    border: 1.5px solid #fef08a;

}



.ps-reward-box-icon {

    font-size: 26px;

    flex-shrink: 0;

}



.ps-reward-box-content {

    display: flex;

    flex-direction: column;

}



.ps-reward-box-value {

    font-size: 16px;

    font-weight: 900;

    color: #1e3a8a;

}



.ps-welcome-reward-box.club .ps-reward-box-value {

    color: #854d0e;

}



.ps-reward-box-label {

    font-size: 11px;

    font-weight: 700;

    color: #64748b;

    margin-top: 2px;

}



.ps-welcome-coupon-banner {

    background: #f8fafc;

    border: 1.5px dashed #cbd5e1;

    border-radius: 14px;

    padding: 12px 16px;

    margin-bottom: 22px;

    text-align: right;

}



.ps-welcome-coupon-title {

    display: block;

    font-size: 12px;

    font-weight: 700;

    color: #475569;

    margin-bottom: 8px;

}



.ps-welcome-coupon-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    padding: 6px 12px;

}



.ps-welcome-code {

    font-family: monospace;

    font-size: 16px;

    font-weight: 800;

    color: #ef394e;

    letter-spacing: 1px;

}



.ps-welcome-copy-btn {

    background: #ef394e;

    color: #ffffff;

    border: none;

    border-radius: 8px;

    padding: 6px 14px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s;

}



.ps-welcome-copy-btn:hover {

    background: #dc2626;

}



.ps-welcome-copy-btn.is-copied {

    background: #10b981 !important;

}



.ps-welcome-actions {

    display: flex;

    flex-direction: column;

    gap: 10px;

}



.ps-welcome-shop-btn {

    display: block;

    width: 100%;

    padding: 13px 20px;

    background: linear-gradient(135deg, #10b981 0%, #059669 100%);

    color: #ffffff !important;

    text-decoration: none;

    border-radius: 12px;

    font-size: 15px;

    font-weight: 800;

    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);

    transition: transform 0.15s, box-shadow 0.15s;

    box-sizing: border-box;

}



.ps-welcome-shop-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.55);

}



.ps-welcome-wallet-link {

    font-size: 13px;

    font-weight: 700;

    color: #64748b;

    text-decoration: none;

    transition: color 0.2s;

}



.ps-welcome-wallet-link:hover {

    color: #0f172a;

}



/* Dark Mode for Welcome Modal */

body.dark-mode .ps-welcome-modal-card,

[data-theme="dark"] .ps-welcome-modal-card,

html.dark-theme .ps-welcome-modal-card {

    background: #1e293b !important;

    color: #f1f5f9 !important;

    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px #334155 !important;

}



body.dark-mode .ps-welcome-title,

[data-theme="dark"] .ps-welcome-title,

html.dark-theme .ps-welcome-title {

    color: #f8fafc !important;

}



body.dark-mode .ps-welcome-desc,

[data-theme="dark"] .ps-welcome-desc,

html.dark-theme .ps-welcome-desc {

    color: #94a3b8 !important;

}



body.dark-mode .ps-welcome-reward-box.wallet,

[data-theme="dark"] .ps-welcome-reward-box.wallet,

html.dark-theme .ps-welcome-reward-box.wallet {

    background: #0f172a !important;

    border-color: #1e3a8a !important;

}



body.dark-mode .ps-welcome-reward-box.club,

[data-theme="dark"] .ps-welcome-reward-box.club,

html.dark-theme .ps-welcome-reward-box.club {

    background: #0f172a !important;

    border-color: #854d0e !important;

}



body.dark-mode .ps-welcome-coupon-banner,

[data-theme="dark"] .ps-welcome-coupon-banner,

html.dark-theme .ps-welcome-coupon-banner {

    background: #0f172a !important;

    border-color: #334155 !important;

}



body.dark-mode .ps-welcome-coupon-row,

[data-theme="dark"] .ps-welcome-coupon-row,

html.dark-theme .ps-welcome-coupon-row {

    background: #1e293b !important;

    border-color: #334155 !important;

}



body.dark-mode .ps-welcome-close-btn,

[data-theme="dark"] .ps-welcome-close-btn,

html.dark-theme .ps-welcome-close-btn {

    background: #334155 !important;

    color: #94a3b8 !important;

}









/* ==========================================================================

   Wide Screen & Full HD (1920x1080 / 2K) Responsive Optimization

   Dedicated for Xiaomi Mi 24" / 27" Monitors & Modern High-Res Desktops

   ========================================================================== */



/* 1. Breakpoint 1440px (MacBook / Large Laptops / 1440px Screens) */

@media (min-width: 1440px) {

    .container,

    .dk-container,

    .ps-container,

    .elementor-section.elementor-section-boxed > .elementor-container {

        max-width: 1420px !important;

        padding-left: 20px !important;

        padding-right: 20px !important;

    }

}



/* 2. Breakpoint 1680px (Wide Screens) */

@media (min-width: 1680px) {

    .container,

    .dk-container,

    .ps-container,

    .elementor-section.elementor-section-boxed > .elementor-container {

        max-width: 1640px !important;

        padding-left: 24px !important;

        padding-right: 24px !important;

    }

    .dk-hero-banners-row {

        height: 460px !important;

    }

}



/* 3. Breakpoint 1920px (Full HD 24" / 27" Xiaomi Monitors & Desktops) */

@media (min-width: 1920px) {

    .container,

    .dk-container,

    .ps-container,

    .elementor-section.elementor-section-boxed > .elementor-container {

        max-width: 1720px !important;

        padding-left: 28px !important;

        padding-right: 28px !important;

    }

    

    /* Header search and navigation adjustments */

    .dk-header .dk-container,

    .site-header .container {

        max-width: 1720px !important;

    }

    .dk-header-search-wrap,

    .header-search {

        max-width: 680px;

    }



    /* Hero Section (Main Slider + 2 Side Banners) */

    .dk-hero-banners-row {

        height: 480px !important;

        gap: 20px !important;

    }

    .dk-hero-side-banners-col {

        flex: 0 0 360px !important;

        width: 360px !important;

        gap: 20px !important;

    }

    .dk-hero-slider-col {

        max-width: calc(100% - 380px) !important;

    }



    /* Story bar balance */

    .dk-story-section,

    .dk-stories-wrap {

        padding-top: 10px;

        padding-bottom: 10px;

    }



    /* Category icons and Banners */

    .dk-banners-grid-4 {

        gap: 20px !important;

    }

    .dk-banners-grid-2 {

        gap: 24px !important;

    }



    /* Compare Matrix on 1920px */

    .dk-compare-page .dk-container {

        max-width: 1720px !important;

    }

    .dk-compare-table-matrix th.dk-comp-prod-col,

    .dk-compare-table-matrix th.dk-comp-add-col {

        min-width: 320px !important;

    }

}





/* ==========================================================================

   Advanced Product Comparison Engine & Digikala Matrix Styles

   ========================================================================== */



/* 1. Comparison Page Root & Header */

.dk-compare-page {

    padding: 32px 0 60px;

    background: #f8fafc;

    min-height: 80vh;

}



.dk-compare-page-header {

    margin-bottom: 24px;

}



.dk-compare-breadcrumb {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    color: #64748b;

    margin-bottom: 12px;

}



.dk-compare-breadcrumb a {

    color: #64748b;

    transition: color 0.2s;

}



.dk-compare-breadcrumb a:hover {

    color: #ef394e;

}



.dk-compare-header-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 16px;

}



.dk-compare-main-title {

    font-size: 24px;

    font-weight: 800;

    color: #0f172a;

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 6px;

}



.dk-compare-main-title svg {

    color: #ef394e;

}



.dk-compare-sub {

    font-size: 14px;

    color: #64748b;

    margin: 0;

}



/* 2. Compare Actions Toolbar */

.dk-compare-toolbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 16px;

    background: #ffffff;

    padding: 14px 20px;

    border-radius: 14px;

    border: 1px solid #e2e8f0;

    margin-bottom: 24px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);

}



.dk-compare-toolbar-right,

.dk-compare-toolbar-left {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

}



/* Toggle Switch: Highlight Differences */

.dk-compare-diff-toggle {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    cursor: pointer;

    user-select: none;

    font-size: 14px;

    font-weight: 700;

    color: #1e293b;

    background: #f1f5f9;

    padding: 8px 16px;

    border-radius: 30px;

    border: 1px solid #cbd5e1;

    transition: all 0.25s ease;

}



.dk-compare-diff-toggle:hover {

    background: #e2e8f0;

}



.dk-compare-diff-toggle input {

    position: absolute;

    opacity: 0;

    width: 0;

    height: 0;

}



.dk-diff-slider {

    position: relative;

    width: 38px;

    height: 22px;

    background-color: #cbd5e1;

    border-radius: 20px;

    transition: background-color 0.25s;

    flex-shrink: 0;

}



.dk-diff-slider::before {

    content: "";

    position: absolute;

    height: 16px;

    width: 16px;

    right: 3px;

    bottom: 3px;

    background-color: #ffffff;

    border-radius: 50%;

    transition: transform 0.25s;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);

}



.dk-compare-diff-toggle input:checked + .dk-diff-slider {

    background-color: #10b981;

}



.dk-compare-diff-toggle input:checked + .dk-diff-slider::before {

    transform: translateX(-16px);

}



.dk-diff-badge {

    font-size: 12px;

    background: #fef3c7;

    color: #b45309;

    padding: 2px 10px;

    border-radius: 12px;

    font-weight: 700;

    border: 1px solid #fde68a;

    transition: all 0.2s;

}



/* Toolbar Buttons */

.dk-comp-tool-btn {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 16px;

    border-radius: 10px;

    border: 1.5px solid #e2e8f0;

    background: #ffffff;

    color: #334155;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;

}



.dk-comp-tool-btn:hover {

    border-color: #cbd5e1;

    background: #f8fafc;

    color: #0f172a;

}



.dk-comp-tool-btn.danger {

    color: #dc2626;

    border-color: #fecaca;

    background: #fef2f2;

}



.dk-comp-tool-btn.danger:hover {

    background: #fee2e2;

    border-color: #fca5a5;

}



/* 3. Matrix Table Enhancements */

.dk-compare-matrix-wrapper {

    background: #ffffff;

    border-radius: 16px;

    border: 1px solid #e2e8f0;

    overflow-x: auto;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);

    margin-bottom: 32px;

}



.dk-compare-table-matrix {

    width: 100%;

    border-collapse: collapse;

    min-width: 860px;

}



.dk-compare-table-matrix th,

.dk-compare-table-matrix td {

    padding: 16px 20px;

    text-align: right;

    border-bottom: 1px solid #f1f5f9;

    border-left: 1px solid #f1f5f9;

    vertical-align: middle;

}



.dk-comp-label-col {

    width: 240px;

    min-width: 240px;

    background: #f8fafc;

}



.dk-comp-label-header-box {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

}



.dk-comp-prod-col {

    min-width: 280px;

    max-width: 340px;

    background: #ffffff;

    position: relative;

}



.dk-comp-prod-card {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 8px 4px;

}



.dk-comp-btn-remove {

    position: absolute;

    top: 0;

    left: 0;

    width: 28px;

    height: 28px;

    border-radius: 50%;

    background: #fee2e2;

    color: #dc2626;

    border: none;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.2s ease;

    z-index: 5;

}



.dk-comp-btn-remove:hover {

    background: #ef4444;

    color: #ffffff;

    transform: scale(1.1);

}



.dk-comp-thumb-wrap {

    width: 150px;

    height: 150px;

    margin-bottom: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    overflow: hidden;

    background: #f8fafc;

    padding: 8px;

}



.dk-comp-thumb-wrap img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;

}



.dk-comp-card-title {

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;

    margin-bottom: 10px;

    height: 42px;

    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

}



.dk-comp-card-title a {

    color: #1e293b;

    transition: color 0.2s;

}



.dk-comp-card-title a:hover {

    color: #ef394e;

}



.dk-comp-card-price {

    margin-bottom: 14px;

}



.dk-comp-old-price-row {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-bottom: 4px;

}



.dk-discount-badge {

    background: #ef394e;

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    padding: 2px 7px;

    border-radius: 12px;

}



.dk-comp-old-price-row del {

    color: #94a3b8;

    font-size: 12px;

}



.dk-comp-cur-price-row strong {

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;

}



.dk-comp-cur-price-row small {

    font-size: 11px;

    color: #64748b;

    margin-right: 4px;

}



.dk-btn-add-comp-cart {

    width: 100%;

    background: #ef394e;

    color: #ffffff;

    border: none;

    padding: 10px 14px;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    transition: all 0.25s ease;

    box-shadow: 0 2px 8px rgba(239, 57, 78, 0.25);

}



.dk-btn-add-comp-cart:hover {

    background: #d82e42;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.35);

}



/* Add Slot Placeholder */

.dk-comp-add-col {

    min-width: 260px;

    background: #fafafb;

}



.dk-comp-add-placeholder {

    border: 2px dashed #cbd5e1;

    border-radius: 14px;

    padding: 30px 16px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: all 0.25s ease;

    background: #ffffff;

    height: 100%;

}



.dk-comp-add-placeholder:hover {

    border-color: #ef394e;

    background: #fff5f5;

    transform: translateY(-2px);

}



.dk-add-icon-circle {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    background: #f1f5f9;

    color: #64748b;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

    transition: all 0.25s;

}



.dk-comp-add-placeholder:hover .dk-add-icon-circle {

    background: #ef394e;

    color: #ffffff;

}



.dk-add-title {

    font-size: 14px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 4px;

}



.dk-add-sub {

    font-size: 12px;

    color: #64748b;

    text-align: center;

    margin-bottom: 4px;

}



.dk-add-limit {

    font-size: 11px;

    color: #94a3b8;

}



/* Section Header Rows */

.dk-comp-section-row td {

    background: #f1f5f9 !important;

    padding: 10px 20px !important;

    border-bottom: 2px solid #e2e8f0 !important;

}



.dk-section-badge {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13.5px;

    font-weight: 800;

    color: #1e293b;

}



.dk-comp-label-cell {

    background: #f8fafc;

    font-size: 13px;

    font-weight: 700;

    color: #334155;

    position: relative;

}



.dk-diff-indicator {

    display: inline-block;

    color: #f59e0b;

    font-size: 16px;

    line-height: 1;

    margin-right: 4px;

    vertical-align: middle;

}



.dk-comp-val-cell {

    font-size: 13px;

    color: #1e293b;

    line-height: 1.6;

}



/* Highlighting Difference Rows & Hiding Identical Rows */

.dk-comp-spec-row.is-different-row.highlight-diff {

    background-color: #fffdf5 !important;

}



.dk-comp-spec-row.is-different-row.highlight-diff .dk-comp-label-cell {

    background-color: #fef9c3 !important;

    color: #854d0e !important;

    border-right: 3px solid #f59e0b;

}



.dk-comp-spec-row.is-identical-row.is-hidden {

    display: none !important;

}



.dk-satisfaction-pill {

    display: inline-block;

    font-size: 12px;

    font-weight: 700;

    color: #047857;

    background: #ecfdf5;

    padding: 4px 10px;

    border-radius: 8px;

    border: 1px solid #a7f3d0;

}



.dk-star-rating {

    font-size: 13px;

    font-weight: 700;

    color: #d97706;

}



.dk-stock-pill.in-stock {

    font-size: 12px;

    font-weight: 700;

    color: #047857;

}



.dk-stock-pill.out-of-stock {

    font-size: 12px;

    font-weight: 700;

    color: #dc2626;

}



.dk-comp-features-list {

    list-style: none;

    padding: 0;

    margin: 0;

}



.dk-comp-features-list li {

    position: relative;

    padding-right: 14px;

    margin-bottom: 6px;

    font-size: 12.5px;

    color: #334155;

}



.dk-comp-features-list li::before {

    content: "•";

    position: absolute;

    right: 0;

    color: #ef394e;

    font-weight: bold;

}



/* 4. Similar Suggestions Box */

.dk-compare-suggestions-box {

    background: #ffffff;

    border-radius: 16px;

    border: 1px solid #e2e8f0;

    padding: 24px;

    margin-top: 32px;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);

}



.dk-comp-sug-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 18px;

}



.dk-comp-sug-header h3 {

    font-size: 16px;

    font-weight: 800;

    color: #0f172a;

    margin: 0;

}



.dk-comp-sug-sub {

    font-size: 13px;

    color: #64748b;

}



.dk-comp-sug-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));

    gap: 16px;

}



.dk-comp-sug-card {

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    padding: 14px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    transition: all 0.2s ease;

}



.dk-comp-sug-card:hover {

    border-color: #cbd5e1;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);

    transform: translateY(-2px);

}



.dk-comp-sug-card img {

    width: 90px;

    height: 90px;

    object-fit: contain;

    margin-bottom: 10px;

}



.dk-comp-sug-info h4 {

    font-size: 13px;

    font-weight: 700;

    color: #1e293b;

    margin-bottom: 6px;

    height: 38px;

    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

}



.dk-comp-sug-info span {

    font-size: 13px;

    font-weight: 800;

    color: #0f172a;

    display: block;

    margin-bottom: 12px;

}



.dk-btn-add-sug-to-comp {

    width: 100%;

    background: #f1f5f9;

    color: #1e293b;

    border: 1px solid #cbd5e1;

    padding: 7px 12px;

    border-radius: 8px;

    font-size: 12.5px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

}



.dk-btn-add-sug-to-comp:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

}



/* 5. Single Product Page Compare Button */

.ps-single-compare-wrap {

    display: flex;

    align-items: center;

    gap: 12px;

    margin: 16px 0;

    padding: 12px 16px;

    background: #f8fafc;

    border-radius: 12px;

    border: 1px solid #e2e8f0;

}



.ps-btn-toggle-compare {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #ffffff;

    color: #1e293b;

    border: 1.5px solid #cbd5e1;

    padding: 8px 16px;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;

}



.ps-btn-toggle-compare:hover {

    border-color: #ef394e;

    color: #ef394e;

}



.ps-btn-toggle-compare.is-active {

    background: #ecfdf5;

    border-color: #10b981;

    color: #047857;

}



.ps-link-quick-compare {

    font-size: 13px;

    font-weight: 700;

    color: #ef394e;

    text-decoration: none;

    transition: opacity 0.2s;

}



.ps-link-quick-compare:hover {

    text-decoration: underline;

}



/* 6. Print Styles */

@media print {

    .site-header,

    .dk-header,

    .site-footer,

    .dk-footer,

    .dk-compare-toolbar,

    .dk-comp-btn-remove,

    .dk-btn-add-comp-cart,

    .dk-comp-add-col,

    .dk-compare-suggestions-box,

    #ps-sticky-compare-drawer,

    .dk-scroll-top-btn {

        display: none !important;

    }

    .dk-compare-page {

        background: #ffffff !important;

        padding: 0 !important;

    }

    .dk-compare-matrix-wrapper {

        box-shadow: none !important;

        border: 1px solid #000 !important;

    }

}





.ps-single-compare-bar-row {

    display: flex;

    align-items: center;

    gap: 12px;

    margin: 10px 0 14px;

}

.ps-btn-toggle-compare-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #f1f5f9;

    color: #334155;

    border: 1px solid #cbd5e1;

    padding: 5px 12px;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

}

.ps-btn-toggle-compare-badge:hover {

    background: #ef394e;

    color: #ffffff;

    border-color: #ef394e;

}

.ps-quick-compare-link {

    font-size: 12px;

    font-weight: 700;

    color: #0369a1;

    text-decoration: none;

    transition: color 0.2s;

}

.ps-quick-compare-link:hover {

    color: #ef394e;

    text-decoration: underline;

}





/* ========================================================

   FIX: Product Hover Actions (Quick View & Compare No-Overlap)

   & Sticky Compare Drawer Hover Clarity

   ======================================================== */

.dk-catalog-hover-actions {

    position: absolute !important;

    top: 10px !important;

    left: 10px !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 8px !important;

    z-index: 25 !important;

    opacity: 0 !important;

    transform: translateX(-6px) !important;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;

    pointer-events: none !important;

}



.dk-catalog-item:hover .dk-catalog-hover-actions,

li.ps-loop-product-card:hover .dk-catalog-hover-actions,

.dk-catalog-card:hover .dk-catalog-hover-actions,

.product:hover .dk-catalog-hover-actions {

    opacity: 1 !important;

    transform: translateX(0) !important;

    pointer-events: auto !important;

}



.dk-catalog-hover-actions button,

.dk-catalog-hover-actions .ps-quickview-btn,

.dk-catalog-hover-actions .dk-card-action-compare {

    position: relative !important;

    top: auto !important;

    left: auto !important;

    bottom: auto !important;

    right: auto !important;

    width: 36px !important;

    height: 36px !important;

    min-width: 36px !important;

    min-height: 36px !important;

    border-radius: 50% !important;

    background: #ffffff !important;

    border: 1px solid #e2e8f0 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    color: #475569 !important;

    cursor: pointer !important;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;

    margin: 0 !important;

    opacity: 1 !important;

    transform: scale(1) !important;

    z-index: 2 !important;

}



.dk-catalog-hover-actions button:hover,

.dk-catalog-hover-actions .ps-quickview-btn:hover,

.dk-catalog-hover-actions .dk-card-action-compare:hover {

    background: #ef394e !important;

    border-color: #ef394e !important;

    color: #ffffff !important;

    transform: scale(1.1) !important;

    box-shadow: 0 6px 14px rgba(239, 57, 78, 0.35) !important;

}



.dk-catalog-hover-actions button:hover svg,

.dk-catalog-hover-actions .ps-quickview-btn:hover svg,

.dk-catalog-hover-actions .dk-card-action-compare:hover svg {

    stroke: #ffffff !important;

    color: #ffffff !important;

}



.dk-catalog-hover-actions .dk-card-action-compare input {

    display: none !important;

}



.dk-catalog-hover-actions .dk-card-action-compare.active,

.dk-catalog-hover-actions .dk-card-action-compare:has(input:checked) {

    background: #0f172a !important;

    border-color: #0f172a !important;

    color: #ffffff !important;

}



.dk-catalog-hover-actions .dk-card-action-compare.active svg,

.dk-catalog-hover-actions .dk-card-action-compare:has(input:checked) svg {

    stroke: #ffffff !important;

    color: #ffffff !important;

}



/* Compare drawer submit link hover text clarity */

#ps-sticky-compare-drawer .ps-sc-btn-compare,

.ps-sc-btn-compare {

    color: #ffffff !important;

}

#ps-sticky-compare-drawer .ps-sc-btn-compare span,

.ps-sc-btn-compare span {

    color: #ffffff !important;

}

#ps-sticky-compare-drawer .ps-sc-btn-compare svg,

.ps-sc-btn-compare svg {

    stroke: #ffffff !important;

}



#ps-sticky-compare-drawer .ps-sc-btn-compare:hover,

.ps-sc-btn-compare:hover {

    background: #ef394e !important;

    color: #ffffff !important;

}



#ps-sticky-compare-drawer .ps-sc-btn-compare:hover span,

.ps-sc-btn-compare:hover span {

    color: #ffffff !important;

}



#ps-sticky-compare-drawer .ps-sc-btn-compare:hover svg,

.ps-sc-btn-compare:hover svg {

    stroke: #ffffff !important;

}



/* ==========================================================================

   Single Product Page Layout Modernization & Buy Box Declutter

   ========================================================================== */



/* Product Guides Row in Center Details Column */

.ps-product-guides-row {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

    margin: 14px 0 16px;

}



.ps-btn-guide-pill {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 14px;

    border: 1px solid #cbd5e1;

    background: #ffffff;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

    color: #334155;

    cursor: pointer;

    transition: all 0.2s ease;

    font-family: inherit;

}



.ps-btn-guide-pill:hover {

    border-color: #0284c7;

    color: #0284c7;

    background: #f0f9ff;

    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);

}



/* Refined Buy Box Container */

.dk-buy-box {

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 20px;

    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);

    transition: all 0.3s ease;

}



/* Modern Seller Card */

.dk-seller-row {

    background: #f8fafc;

    border: 1px solid #edf2f7;

    border-radius: 12px;

    padding: 10px 12px;

    margin-bottom: 12px;

    display: flex;

    align-items: center;

    gap: 12px;

}



.dk-seller-icon {

    width: 38px;

    height: 38px;

    min-width: 38px;

    background: #ecfdf5;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.dk-seller-store-link {

    text-decoration: none;

    color: #0f172a;

    transition: color 0.2s;

}



.dk-seller-store-link:hover {

    color: var(--ps-primary, #ef394e);

}



/* Guarantee & Verification Row */

.dk-guarantee-row {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 12.5px;

    color: #334155;

    margin-bottom: 12px;

}



.dk-guarantee-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    flex-wrap: wrap;

    gap: 6px;

}



.ps-warranty-verify-link {

    font-size: 11px;

    font-weight: 700;

    color: #0284c7;

    text-decoration: none;

    padding: 2px 8px;

    background: #f0f9ff;

    border-radius: 6px;

    transition: all 0.2s;

}



.ps-warranty-verify-link:hover {

    background: #e0f2fe;

    color: #0369a1;

}



/* Shipping Section & Goal Meter */

.ps-buybox-shipping-wrap {

    margin: 12px 0;

}



.ps-city-shipping-accordion {

    margin-top: 8px;

}



.ps-city-shipping-toggle-btn {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 7px 10px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    font-size: 11.5px;

    font-weight: 700;

    color: #475569;

    cursor: pointer;

    transition: all 0.2s ease;

    font-family: inherit;

}



.ps-city-shipping-toggle-btn:hover {

    background: #f1f5f9;

    color: #0f172a;

}



.ps-city-shipping-toggle-btn .ps-cs-toggle-title {

    display: flex;

    align-items: center;

    gap: 6px;

}



.ps-city-shipping-toggle-btn .ps-cs-arrow {

    transition: transform 0.2s ease;

}



.ps-city-shipping-toggle-btn.open .ps-cs-arrow {

    transform: rotate(180deg);

}



/* Buy Box BNPL Micro Strip */

.ps-buybox-bnpl-strip {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 8px 12px;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;

    border-radius: 10px;

    margin: 10px 0;

    cursor: pointer;

    transition: all 0.2s ease;

}



.ps-buybox-bnpl-strip:hover {

    background: #dcfce7;

    border-color: #86efac;

    transform: translateY(-1px);

}



.ps-bb-bnpl-left {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 12px;

    color: #166534;

}



.ps-bb-bnpl-badge {

    font-size: 11px;

    font-weight: 800;

    color: #15803d;

}



/* Purchase Mode Segmented Tabs */

.ps-purchase-modes-bar {

    display: flex;

    gap: 4px;

    background: #f1f5f9;

    padding: 4px;

    border-radius: 10px;

    margin: 14px 0 10px;

}



.ps-mode-tab {

    flex: 1;

    padding: 7px 6px;

    border: none;

    background: transparent;

    font-size: 11.5px;

    font-weight: 700;

    color: #64748b;

    border-radius: 7px;

    cursor: pointer;

    transition: all 0.2s ease;

    text-align: center;

    font-family: inherit;

    white-space: nowrap;

}



.ps-mode-tab:hover {

    color: #0f172a;

}



.ps-mode-tab.active {

    background: #ffffff;

    color: #0f172a;

    font-weight: 800;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);

}



/* Secondary Actions Stack / Grid */

.ps-buybox-secondary-grid {

    display: flex !important;

    flex-direction: column !important;

    gap: 8px !important;

    margin-top: 10px !important;

    width: 100% !important;

}



/* Quick Order Trigger Button (1-Click Phone Checkout) */

.ps-buybox-secondary-grid .ps-btn-quick-order-trigger,

.ps-btn-quick-order-trigger {

    min-height: 48px !important;

    height: auto !important;

    margin: 0 !important;

    box-sizing: border-box !important;

    font-size: 13.5px !important;

    font-weight: 800 !important;

    border-radius: 12px !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    width: 100% !important;

    padding: 10px 16px !important;

    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;

    color: #ffffff !important;

    border: 1px solid rgba(255, 255, 255, 0.25) !important;

    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28) !important;

    cursor: pointer !important;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;

    text-decoration: none !important;

    white-space: nowrap !important;

}



.ps-buybox-secondary-grid .ps-btn-quick-order-trigger:hover,

.ps-btn-quick-order-trigger:hover {

    background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;

    transform: translateY(-2px) !important;

    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.4) !important;

}



.ps-buybox-secondary-grid .ps-btn-quick-order-trigger:active,

.ps-btn-quick-order-trigger:active {

    transform: translateY(0) scale(0.99) !important;

}



.ps-btn-quick-order-trigger .ps-quick-order-icon-wrap {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 28px;

    height: 28px;

    background: rgba(255, 255, 255, 0.2);

    border-radius: 8px;

    flex-shrink: 0;

}



.ps-btn-quick-order-trigger .ps-quick-order-text {

    flex: 1;

    text-align: right;

    margin-right: 8px;

    font-size: 13px;

    font-weight: 800;

    color: #ffffff;

    white-space: nowrap;

}



.ps-btn-quick-order-trigger .ps-quick-order-badge {

    background: rgba(255, 255, 255, 0.25);

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    padding: 4px 9px;

    border-radius: 20px;

    flex-shrink: 0;

    border: 1px solid rgba(255, 255, 255, 0.3);

    white-space: nowrap;

}



/* Secondary Quick Buy (Direct Checkout) Button */

.ps-buybox-secondary-grid .ps-btn-quick-buy,

.ps-btn-quick-buy {

    width: 100% !important;

    height: 44px !important;

    border-radius: 12px !important;

    font-size: 13px !important;

    font-weight: 700 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 8px !important;

    background: #ffffff !important;

    color: #0f172a !important;

    border: 1.5px solid #0f172a !important;

    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;

    cursor: pointer !important;

    transition: all 0.25s ease !important;

    box-sizing: border-box !important;

}



.ps-buybox-secondary-grid .ps-btn-quick-buy:hover,

.ps-btn-quick-buy:hover {

    background: #0f172a !important;

    color: #ffffff !important;

    transform: translateY(-1.5px) !important;

    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2) !important;

}



/* B2B Official Corporate & Tax Proforma Card */

.ps-proforma-buybox-container {

    width: 100% !important;

    margin-top: 8px !important;

}



.ps-single-product-proforma-btn {

    width: 100% !important;

    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    padding: 10px 14px !important;

    background: #f8fafc !important;

    border: 1.5px solid #e2e8f0 !important;

    border-radius: 12px !important;

    cursor: pointer !important;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;

    text-align: right !important;

    box-sizing: border-box !important;

    text-decoration: none !important;

}



.ps-single-product-proforma-btn:hover {

    background: #f0f7ff !important;

    border-color: #0284c7 !important;

    transform: translateY(-1.5px) !important;

    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12) !important;

}



.ps-single-product-proforma-btn .ps-proforma-btn-content {

    display: flex !important;

    align-items: center !important;

    gap: 10px !important;

    flex: 1 !important;

    min-width: 0 !important;

}



.ps-single-product-proforma-btn .ps-proforma-icon-box {

    width: 32px !important;

    height: 32px !important;

    border-radius: 8px !important;

    background: #e0f2fe !important;

    color: #0284c7 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    flex-shrink: 0 !important;

    transition: all 0.2s ease !important;

}



.ps-single-product-proforma-btn:hover .ps-proforma-icon-box {

    background: #0284c7 !important;

    color: #ffffff !important;

}



.ps-single-product-proforma-btn .ps-proforma-btn-texts {

    display: flex !important;

    flex-direction: column !important;

    gap: 2px !important;

    min-width: 0 !important;

}



.ps-single-product-proforma-btn .ps-proforma-main-text {

    font-size: 12.5px !important;

    font-weight: 800 !important;

    color: #1e293b !important;

    line-height: 1.3 !important;

}



.ps-single-product-proforma-btn .ps-proforma-sub-text {

    font-size: 10.5px !important;

    font-weight: 500 !important;

    color: #64748b !important;

    line-height: 1.2 !important;

    white-space: nowrap !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;

}



.ps-single-product-proforma-btn .ps-proforma-btn-action {

    display: flex !important;

    align-items: center !important;

    gap: 5px !important;

    flex-shrink: 0 !important;

}



.ps-single-product-proforma-btn .ps-proforma-pdf-badge {

    font-size: 10.5px !important;

    font-weight: 700 !important;

    background: #e2e8f0 !important;

    color: #334155 !important;

    padding: 3px 8px !important;

    border-radius: 6px !important;

    transition: all 0.2s ease !important;

}



.ps-single-product-proforma-btn:hover .ps-proforma-pdf-badge {

    background: #bae6fd !important;

    color: #0369a1 !important;

}



.ps-single-product-proforma-btn .ps-proforma-arrow {

    color: #94a3b8 !important;

    transition: transform 0.2s ease, color 0.2s ease !important;

}



.ps-single-product-proforma-btn:hover .ps-proforma-arrow {

    color: #0284c7 !important;

    transform: translateX(-3px) !important;

}



/* Price Drop Alert Strip */

.ps-buybox-alert-strip {

    width: 100%;

    margin-top: 6px;

}

.ps-buybox-alert-strip .dk-price-alert-trigger-btn {

    height: 38px !important;

    font-size: 12px !important;

    border-radius: 10px !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 6px !important;

    width: 100% !important;

    box-sizing: border-box !important;

    margin: 0 !important;

    padding: 0 12px !important;

    background: #f8fafc !important;

    border: 1px dashed #cbd5e1 !important;

    color: #64748b !important;

    font-weight: 700 !important;

    cursor: pointer !important;

    transition: all 0.2s ease !important;

}

.ps-buybox-alert-strip .dk-price-alert-trigger-btn:hover {

    background: #f1f5f9 !important;

    color: #0f172a !important;

    border-color: #94a3b8 !important;

}



/* City Shipping Estimator Accordion */

.ps-city-shipping-accordion {

    width: 100%;

    margin-top: 8px;

}

.ps-city-shipping-toggle-btn {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 14px;

    background: #ffffff;

    border: 1.5px solid #e2e8f0;

    border-radius: 12px;

    font-size: 12.5px;

    font-weight: 700;

    color: #334155;

    cursor: pointer;

    transition: all 0.2s ease;

    box-sizing: border-box;

}

.ps-city-shipping-toggle-btn:hover,

.ps-city-shipping-toggle-btn.open {

    background: #f8fafc;

    border-color: #cbd5e1;

    color: #0f172a;

}

.ps-city-shipping-toggle-btn .ps-cs-toggle-title {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12.5px;

    font-weight: 700;

}

.ps-city-shipping-toggle-btn .ps-cs-arrow {

    transition: transform 0.25s ease;

}

.ps-city-shipping-toggle-btn.open .ps-cs-arrow {

    transform: rotate(180deg);

}



/* Compact Price Satisfaction Poll */

.ps-compact-poll-bar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 6px 10px;

    background: #f8fafc;

    border: 1px solid #f1f5f9;

    border-radius: 8px;

    font-size: 11px;

    color: #64748b;

}



.ps-compact-poll-bar .ps-poll-actions {

    display: flex;

    gap: 6px;

}



.ps-poll-btn-mini {

    padding: 3px 8px;

    border: 1px solid #e2e8f0;

    background: #ffffff;

    border-radius: 6px;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

    font-family: inherit;

    display: inline-flex;

    align-items: center;

    gap: 3px;

    color: #334155;

}



.ps-poll-btn-mini.yes:hover {

    border-color: #10b981;

    color: #059669;

    background: #ecfdf5;

}



.ps-poll-btn-mini.no:hover {

    border-color: #ef4444;

    color: #dc2626;

    background: #fef2f2;

}



/* Compact Warranty Selector in Buy Box */

.ps-warranty-box-wrap {

    padding: 12px !important;

    margin: 12px 0 !important;

    border-radius: 12px !important;

    background: #f8fafc !important;

    border: 1px solid #e2e8f0 !important;

}



.ps-warranty-box-wrap .ps-warranty-box-header {

    margin-bottom: 8px !important;

    padding-bottom: 8px !important;

}



.ps-warranty-box-wrap .ps-warranty-title-line {

    font-size: 12.5px !important;

    font-weight: 800 !important;

}



.ps-warranty-box-wrap .ps-warranty-options-list {

    gap: 6px !important;

}



.ps-warranty-box-wrap .ps-warranty-card {

    padding: 6px 10px !important;

    min-height: 38px !important;

    border-radius: 8px !important;

    border: 1px solid #e2e8f0 !important;

    background: #ffffff !important;

}



.ps-warranty-box-wrap .ps-warranty-card.is-selected {

    border-color: #10b981 !important;

    background: #f0fdf4 !important;

}



.ps-warranty-box-wrap .ps-warranty-name {

    font-size: 12px !important;

}



.ps-warranty-box-wrap .ps-warranty-duration {

    font-size: 10.5px !important;

}



.ps-warranty-box-wrap .ps-warranty-price-val {

    font-size: 12px !important;

}



.ps-warranty-box-wrap .ps-warranty-price-free {

    font-size: 11px !important;

    padding: 1px 6px !important;

}



/* Dark Theme Adaptations */

html.dark-theme .dk-buy-box {

    background: #1e293b !important;

    border-color: #334155 !important;

}



html.dark-theme .dk-seller-row {

    background: #0f172a !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-purchase-modes-bar {

    background: #0f172a !important;

}



html.dark-theme .ps-mode-tab.active {

    background: #334155 !important;

    color: #ffffff !important;

}



html.dark-theme .ps-buybox-bnpl-strip {

    background: rgba(16, 185, 129, 0.1) !important;

    border-color: rgba(16, 185, 129, 0.3) !important;

}



html.dark-theme .ps-compact-poll-bar {

    background: #0f172a !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-warranty-box-wrap {

    background: #0f172a !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-warranty-box-wrap .ps-warranty-card {

    background: #1e293b !important;

    border-color: #334155 !important;

}



html.dark-theme .ps-buybox-bottom-tools .ps-single-product-proforma-btn,

html.dark-theme .ps-buybox-bottom-tools .dk-price-alert-trigger-btn {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #94a3b8 !important;

}



html.dark-theme .ps-buybox-bottom-tools .ps-single-product-proforma-btn:hover,

html.dark-theme .ps-buybox-bottom-tools .dk-price-alert-trigger-btn:hover {

    background: #1e293b !important;

    color: #f8fafc !important;

    border-color: #475569 !important;

}



/* ==========================================================================

   VIP Support Contact Form 7 Styling

   ========================================================================== */

.ps-vip-support-intro {

    background: #f0fdf4;

    border-right: 4px solid #10b981;

    border-radius: 10px;

    padding: 14px 18px;

    margin-bottom: 24px;

}

.ps-vip-support-intro p {

    margin: 0;

    font-size: 14px;

    color: #166534;

    line-height: 1.8;

}

.ps-vip-support-form-grid {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.ps-form-row.ps-form-row-2col {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

}

@media (max-width: 640px) {

    .ps-form-row.ps-form-row-2col {

        grid-template-columns: 1fr;

    }

}

.ps-form-group {

    display: flex;

    flex-direction: column;

    gap: 6px;

}

.ps-form-label {

    font-size: 13.5px;

    font-weight: 700;

    color: #334155;

    display: flex;

    align-items: center;

    gap: 4px;

}

.ps-required {

    color: #ef4444;

    font-weight: 800;

}

.ps-form-input,

.ps-form-select,

.ps-form-textarea,

.wpcf7-form-control.wpcf7-text,

.wpcf7-form-control.wpcf7-textarea,

.wpcf7-form-control.wpcf7-select {

    width: 100% !important;

    background: #f8fafc;

    border: 1.5px solid #e2e8f0;

    border-radius: 12px;

    padding: 12px 16px;

    font-family: inherit;

    font-size: 14px;

    color: #0f172a;

    transition: all 0.2s ease;

    outline: none;

    box-sizing: border-box;

}

.ps-form-input:focus,

.ps-form-select:focus,

.ps-form-textarea:focus,

.wpcf7-form-control:focus {

    background: #ffffff;

    border-color: #0284c7;

    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);

}

.ps-form-submit-wrap {

    margin-top: 10px;

}

.ps-vip-submit-btn,

.wpcf7-submit {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: linear-gradient(135deg, #0284c7, #0369a1);

    color: #ffffff !important;

    border: none;

    border-radius: 12px;

    padding: 14px 28px;

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);

    transition: all 0.25s ease;

}

.ps-vip-submit-btn:hover,

.wpcf7-submit:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);

    background: linear-gradient(135deg, #0369a1, #075985);

}

.wpcf7-not-valid-tip {

    font-size: 12px;

    color: #ef4444;

    margin-top: 4px;

    font-weight: 600;

}

.wpcf7-response-output {

    border-radius: 12px !important;

    padding: 12px 18px !important;

    margin: 16px 0 0 0 !important;

    font-size: 14px !important;

    font-weight: 600 !important;

}

.wpcf7 form.sent .wpcf7-response-output {

    background: #f0fdf4 !important;

    border: 1.5px solid #86efac !important;

    color: #166534 !important;

}

.wpcf7 form.failed .wpcf7-response-output,

.wpcf7 form.aborted .wpcf7-response-output {

    background: #fef2f2 !important;

    border: 1.5px solid #fca5a5 !important;

    color: #991b1b !important;

}

html.dark-theme .ps-vip-support-intro {

    background: #064e3b !important;

    border-right-color: #34d399 !important;

}

html.dark-theme .ps-vip-support-intro p {

    color: #a7f3d0 !important;

}

html.dark-theme .ps-form-label {

    color: #e2e8f0 !important;

}

html.dark-theme .ps-form-input,

html.dark-theme .ps-form-select,

html.dark-theme .ps-form-textarea,

html.dark-theme .wpcf7-form-control.wpcf7-text,

html.dark-theme .wpcf7-form-control.wpcf7-textarea {

    background: #0f172a !important;

    border-color: #334155 !important;

    color: #f8fafc !important;

}







/* ========================================================
   Homepage Slider Cards Hover Actions (Quick View, Compare, Wishlist)
   ======================================================== */
.dk-product-thumb,
.dk-card-thumb,
.ps-special-thumb {
    position: relative !important;
}

.dk-catalog-item:hover .dk-catalog-hover-actions,
li.ps-loop-product-card:hover .dk-catalog-hover-actions,
.dk-catalog-card:hover .dk-catalog-hover-actions,
.product:hover .dk-catalog-hover-actions,
.dk-carousel-card:hover .dk-catalog-hover-actions,
.dk-product-card:hover .dk-catalog-hover-actions,
.ps-special-prod-card:hover .dk-catalog-hover-actions,
.swiper-slide:hover .dk-catalog-hover-actions {
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

.dk-catalog-hover-actions button,
.dk-catalog-hover-actions .ps-quickview-btn,
.dk-catalog-hover-actions .dk-card-action-compare,
.dk-catalog-hover-actions .dk-btn-wishlist,
.dk-catalog-hover-actions .ps-wishlist-action-btn {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    right: auto !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #475569 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
    text-decoration: none !important;
}

.dk-catalog-hover-actions button:hover,
.dk-catalog-hover-actions .ps-quickview-btn:hover,
.dk-catalog-hover-actions .dk-card-action-compare:hover,
.dk-catalog-hover-actions .dk-btn-wishlist:hover,
.dk-catalog-hover-actions .ps-wishlist-action-btn:hover {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 14px rgba(239, 57, 78, 0.35) !important;
}

.dk-catalog-hover-actions button:hover svg,
.dk-catalog-hover-actions .ps-quickview-btn:hover svg,
.dk-catalog-hover-actions .dk-card-action-compare:hover svg,
.dk-catalog-hover-actions .dk-btn-wishlist:hover svg,
.dk-catalog-hover-actions .ps-wishlist-action-btn:hover svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.dk-catalog-hover-actions .dk-card-action-compare input {
    display: none !important;
}

.dk-catalog-hover-actions .dk-card-action-compare.active,
.dk-catalog-hover-actions .dk-card-action-compare:has(input:checked) {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
}

.dk-catalog-hover-actions .dk-card-action-compare.active svg,
.dk-catalog-hover-actions .dk-card-action-compare:has(input:checked) svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.dk-catalog-hover-actions .dk-btn-wishlist.active,
.dk-catalog-hover-actions .ps-wishlist-action-btn.active {
    background: #fef2f2 !important;
    border-color: #ef394e !important;
    color: #ef394e !important;
}

.dk-catalog-hover-actions .dk-btn-wishlist.active svg,
.dk-catalog-hover-actions .ps-wishlist-action-btn.active svg {
    stroke: #ef394e !important;
    fill: #ef394e !important;
}

@media (max-width: 768px) {
    .dk-catalog-hover-actions {
        opacity: 1 !important;
        transform: translateX(0) !important;
        pointer-events: auto !important;
        top: 6px !important;
        left: 6px !important;
        gap: 5px !important;
    }
    .dk-catalog-hover-actions button,
    .dk-catalog-hover-actions .ps-quickview-btn,
    .dk-catalog-hover-actions .dk-card-action-compare,
    .dk-catalog-hover-actions .dk-btn-wishlist,
    .dk-catalog-hover-actions .ps-wishlist-action-btn {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }
}


/* =========================================================================
   ADVANCED LOYALTY CLUB & GAMIFICATION SUITE (PARSICLUB)
   Frontend Interactive UI, 3D Chests, Missions, Calculator & Cooldown Styles
   ========================================================================= */

.ps-club-gamification-suite {
    font-family: var(--dk-font, "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    color: var(--dk-text-body, #3f4064);
    direction: rtl;
    text-align: right;
    margin-top: 15px;
}

.ps-club-section {
    margin-top: 36px;
    margin-bottom: 24px;
}

.ps-club-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.ps-club-header-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ps-section-badge-icon {
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ps-club-header-title h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: var(--dk-text-title, #0c0c0c);
}

.ps-section-subtitle {
    margin: 4px 0 0 0;
    font-size: 13.5px;
    color: var(--dk-text-muted, #767790);
    font-weight: 400;
}

.ps-club-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    line-height: 1.4;
}

.ps-club-btn:active {
    transform: scale(0.97);
}

.ps-club-btn:disabled,
.ps-club-btn.is-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* -------------------------------------------------------------
   Hero Banner Enhancements
   ------------------------------------------------------------- */
.ps-hero-wallet-tag {
    margin-top: 10px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    font-size: 12.5px;
    color: #475569;
}

.ps-hero-wallet-tag strong {
    color: #059669;
    font-weight: 800;
}

/* -------------------------------------------------------------
   Pillar 1: Daily Fortune Wheel Section Banner
   ------------------------------------------------------------- */
.ps-wheel-banner-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    border-radius: 20px;
    overflow: hidden;
    gap: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.ps-wheel-banner-card.is-ready {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    color: #ffffff;
    border: 1px solid #4338ca;
}

.ps-wheel-banner-card.is-spun {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
}

.ps-wheel-banner-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    right: -60px;
    top: -60px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
}

.ps-wheel-banner-art {
    flex-shrink: 0;
}

.ps-wheel-art-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    font-size: 46px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: ps-art-float 4s ease-in-out infinite;
}

.ps-wheel-banner-card.is-spun .ps-wheel-art-icon {
    background: #ffffff;
    border-color: #e2e8f0;
}

@keyframes ps-art-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(6deg); }
}

.ps-wheel-banner-info {
    flex: 1;
}

.ps-wheel-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ps-wheel-status-pill.is-active {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.4);
}

.ps-wheel-status-pill.is-cooldown {
    background: #e2e8f0;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.ps-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.ps-pulse {
    animation: ps-pulse-glow 1.5s infinite;
}

@keyframes ps-pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

.ps-wheel-banner-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.ps-wheel-banner-desc {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    opacity: 0.9;
}

.ps-banner-coupon-code {
    background: #ffffff;
    color: #ef394e;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px dashed #ef394e;
    font-weight: 800;
}

.ps-wheel-banner-action {
    flex-shrink: 0;
}

.ps-club-wheel-btn {
    padding: 13px 26px;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.ps-club-wheel-btn.is-spin-ready {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.ps-club-wheel-btn.is-spin-ready:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

.ps-club-wheel-btn.is-view-spin {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.ps-club-wheel-btn.is-view-spin:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

/* -------------------------------------------------------------
   Pillar 2: Mystery Reward Boxes Section (3-Card Responsive Grid)
   ------------------------------------------------------------- */
.ps-mystery-boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ps-mystery-box-card {
    position: relative;
    background: var(--ps-card-bg, #ffffff);
    border: 1.5px solid #e2e8f0;
    border-radius: 22px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ps-mystery-box-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.12);
}

/* Tier Specific Themes */
.ps-mystery-box-card.ps-box-tier-bronze {
    border-color: #b45309;
}
.ps-mystery-box-card.ps-box-tier-bronze:hover {
    box-shadow: 0 20px 40px -10px rgba(180, 83, 9, 0.25);
}

.ps-mystery-box-card.ps-box-tier-silver {
    border-color: #94a3b8;
}
.ps-mystery-box-card.ps-box-tier-silver:hover {
    box-shadow: 0 20px 40px -10px rgba(148, 163, 184, 0.35);
}

.ps-mystery-box-card.ps-box-tier-gold {
    border-color: #f59e0b;
    animation: ps-box-glow 4s ease-in-out infinite;
}
.ps-mystery-box-card.ps-box-tier-gold:hover {
    box-shadow: 0 20px 45px -10px rgba(245, 158, 11, 0.45);
}

.ps-box-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ps-mystery-box-card:hover .ps-box-card-glow {
    opacity: 1;
}

.ps-box-tier-bronze .ps-box-card-glow {
    background: radial-gradient(circle at top, rgba(180, 83, 9, 0.08) 0%, transparent 70%);
}
.ps-box-tier-silver .ps-box-card-glow {
    background: radial-gradient(circle at top, rgba(148, 163, 184, 0.12) 0%, transparent 70%);
}
.ps-box-tier-gold .ps-box-card-glow {
    background: radial-gradient(circle at top, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}

.ps-box-tier-badge {
    align-self: center;
    padding: 3px 12px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 12px;
    background: #f8fafc;
}

/* 3D Isometric Chest Illustration */
.ps-box-chest-stage {
    position: relative;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    perspective: 800px;
}

.ps-box-chest-3d {
    position: relative;
    width: 80px;
    height: 72px;
    transition: transform 0.4s ease;
}

.ps-mystery-box-card:hover .ps-box-chest-3d {
    transform: translateY(-4px) rotateX(10deg);
}

.ps-chest-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 52px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.ps-box-tier-bronze .ps-chest-body {
    background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #92400e 100%);
}
.ps-box-tier-silver .ps-chest-body {
    background: linear-gradient(135deg, #334155 0%, #64748b 50%, #475569 100%);
}
.ps-box-tier-gold .ps-chest-body {
    background: linear-gradient(135deg, #92400e 0%, #d97706 50%, #b45309 100%);
}

.ps-chest-lid {
    position: absolute;
    top: 4px;
    left: -4px;
    right: -4px;
    height: 24px;
    border-radius: 12px 12px 6px 6px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform-origin: top center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.ps-box-tier-bronze .ps-chest-lid {
    background: linear-gradient(135deg, #92400e 0%, #d97706 100%);
}
.ps-box-tier-silver .ps-chest-lid {
    background: linear-gradient(135deg, #475569 0%, #94a3b8 100%);
}
.ps-box-tier-gold .ps-chest-lid {
    background: linear-gradient(135deg, #b45309 0%, #fbbf24 100%);
}

.ps-chest-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    z-index: 3;
}

.ps-chest-icon {
    font-size: 16px;
}

/* Floating Particles */
.ps-box-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ps-particle {
    position: absolute;
    font-size: 12px;
    opacity: 0.6;
    animation: ps-particle-float 3s ease-in-out infinite;
}

.ps-particle.p1 { top: 10px; right: 20px; animation-delay: 0s; }
.ps-particle.p2 { bottom: 15px; left: 15px; animation-delay: 1s; font-size: 10px; }
.ps-particle.p3 { top: 30px; left: 25px; animation-delay: 2s; font-size: 14px; }

@keyframes ps-particle-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-8px) scale(1.2); opacity: 0.9; }
}

/* Unlocking Shake Animation */
@keyframes ps-box-shake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    15% { transform: translate(-5px, 2px) rotate(-4deg); }
    30% { transform: translate(5px, -2px) rotate(4deg); }
    45% { transform: translate(-4px, -2px) rotate(-3deg); }
    60% { transform: translate(4px, 2px) rotate(3deg); }
    75% { transform: translate(-2px, 1px) rotate(-1deg); }
    90% { transform: translate(2px, -1px) rotate(1deg); }
}

.ps-mystery-box-card.ps-box-shaking {
    animation: ps-box-shake 0.45s ease-in-out infinite !important;
}

.ps-mystery-box-card.ps-box-shaking .ps-chest-lid {
    transform: rotateX(-35deg) translateY(-4px);
}

/* Golden Box Pulse Glow */
@keyframes ps-box-glow {
    0%, 100% { box-shadow: 0 6px 20px rgba(245, 158, 11, 0.15); }
    50% { box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35), 0 0 15px rgba(245, 158, 11, 0.2); }
}

.ps-box-title {
    margin: 0 0 6px 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--dk-text-title, #0c0c0c);
}

.ps-box-desc {
    margin: 0 0 14px 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--dk-text-muted, #767790);
    min-height: 38px;
}

.ps-box-highlights {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    text-align: right;
    font-size: 12px;
    color: #475569;
    line-height: 1.8;
}

.ps-highlight-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ps-box-cost-pill {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}

.ps-cost-val {
    font-size: 22px;
    font-weight: 900;
    color: var(--dk-text-title, #0c0c0c);
}

.ps-cost-unit {
    font-size: 12px;
    color: var(--dk-text-muted, #767790);
}

.ps-box-action-wrap {
    margin-top: auto;
}

.ps-open-box-btn {
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.ps-open-box-btn:hover:not(:disabled) {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.ps-open-box-btn.ps-tier-silver {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
}

.ps-open-box-btn.ps-tier-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.ps-open-box-btn.ps-tier-gold:hover:not(:disabled) {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

/* -------------------------------------------------------------
   Celebratory Mystery Box Modal (#ps-mystery-box-modal)
   ------------------------------------------------------------- */
.ps-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: ps-fade-in 0.25s ease-out;
}

@keyframes ps-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ps-box-reveal-dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 26px;
    padding: 40px 32px 32px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: ps-modal-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ps-modal-pop {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.ps-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.ps-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.ps-box-modal-rays {
    position: absolute;
    top: 35%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(from 0deg, rgba(245, 158, 11, 0.12) 0deg 15deg, transparent 15deg 30deg);
    border-radius: 50%;
    pointer-events: none;
    animation: ps-ray-spin 25s linear infinite;
    z-index: 1;
}

@keyframes ps-ray-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.ps-box-modal-content {
    position: relative;
    z-index: 2;
}

.ps-box-celebrate-chest {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ps-box-opened-visual {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    animation: ps-prize-bounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ps-prize-bounce {
    0% { transform: scale(0.3) rotate(-20deg); }
    70% { transform: scale(1.15) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.ps-chest-sparkle-burst {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 26px;
    animation: ps-art-float 2s infinite ease-in-out;
}

.ps-reveal-kicker {
    display: inline-block;
    padding: 4px 14px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 999px;
    color: #b45309;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}

.ps-box-prize-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
}

.ps-box-prize-desc {
    margin: 0 0 20px 0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
}

.ps-box-coupon-wrapper {
    margin-bottom: 22px;
}

.ps-box-coupon-card {
    background: #f8fafc;
    border: 1.5px dashed #3b82f6;
    border-radius: 14px;
    padding: 14px 18px;
}

.ps-box-coupon-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.ps-box-coupon-code-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ps-box-code-text {
    font-size: 20px;
    font-weight: 900;
    color: #1e3a8a;
    letter-spacing: 1.5px;
}

.ps-box-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-box-copy-btn:hover {
    background: #2563eb;
}

.ps-box-copy-btn.copied {
    background: #10b981;
}

.ps-box-wallet-credit-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    color: #065f46;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 22px;
}

.ps-box-modal-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ps-modal-shop-btn {
    background: #0f172a;
    color: #ffffff;
}
.ps-modal-shop-btn:hover {
    background: #1e293b;
}

.ps-modal-dismiss-btn {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}
.ps-modal-dismiss-btn:hover {
    background: #e2e8f0;
}

/* -------------------------------------------------------------
   Pillar 3: Missions & Gamified Points Section
   ------------------------------------------------------------- */
.ps-missions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.dk-mission-card.ps-mission-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--ps-card-bg, #ffffff);
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.dk-mission-card.ps-mission-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.dk-mission-card.is-claimable {
    border-color: #10b981;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.dk-mission-icon-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dk-mission-emoji {
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03);
}

.dk-mission-cat-tag {
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
}

.dk-mission-details {
    flex: 1;
    min-width: 0;
}

.dk-mission-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.dk-mission-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--dk-text-title, #0c0c0c);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dk-mission-points-badge {
    flex-shrink: 0;
    padding: 2px 10px;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
}

.dk-mission-desc {
    margin: 0 0 10px 0;
    font-size: 12px;
    color: var(--dk-text-muted, #767790);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dk-mission-progress-wrap {
    margin-top: 6px;
}

.dk-mission-progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.dk-mission-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef394e, #f97316);
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dk-mission-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

.dk-mission-action {
    flex-shrink: 0;
}

.ps-mission-claim-btn {
    padding: 9px 16px;
    font-size: 12.5px;
    white-space: nowrap;
}

.ps-mission-claim-btn.is-ready {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    animation: ps-claim-pulse 2s infinite ease-in-out;
}

@keyframes ps-claim-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35); }
    50% { box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6); }
}

.ps-mission-claim-btn.is-claimed {
    background: #f1f5f9;
    color: #059669;
    border: 1px solid #cbd5e1;
    font-weight: 800;
}

.ps-mission-claim-btn.is-pending {
    background: #f8fafc;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
}

/* -------------------------------------------------------------
   Pillar 4: Points-to-Wallet Direct Conversion Calculator
   ------------------------------------------------------------- */
.ps-rate-indicator-pill {
    padding: 6px 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    color: #065f46;
    font-size: 12.5px;
}

.ps-wallet-converter-card {
    background: var(--ps-card-bg, #ffffff);
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.ps-calc-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

.ps-calc-avail-box,
.ps-calc-current-wallet-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 14px;
}

.ps-calc-label {
    color: var(--dk-text-muted, #767790);
}

.ps-calc-val {
    font-size: 20px;
    font-weight: 900;
    color: var(--dk-text-title, #0c0c0c);
}

.ps-calc-unit {
    font-size: 12px;
    color: #64748b;
}

.ps-calc-controls-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 22px;
}

.ps-calc-slider-box {
    display: flex;
    flex-direction: column;
}

.ps-slider-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dk-text-title, #0c0c0c);
}

.ps-slider-pct-label {
    padding: 2px 10px;
    background: #fee2e2;
    color: #ef394e;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

/* Custom Range Slider */
.ps-calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef394e, #f59e0b);
    outline: none;
    margin: 8px 0;
    cursor: pointer;
}

.ps-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #ef394e;
    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ps-calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(239, 57, 78, 0.55);
}

.ps-calc-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #ef394e;
    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.4);
    cursor: pointer;
}

.ps-slider-marks {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

.ps-calc-input-box {
    display: flex;
    flex-direction: column;
}

.ps-calc-input-box label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dk-text-title, #0c0c0c);
    margin-bottom: 10px;
}

.ps-numeric-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ps-calc-input {
    width: 100%;
    padding: 11px 48px 11px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-calc-input:focus {
    border-color: #ef394e;
    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.15);
}

.ps-input-unit-tag {
    position: absolute;
    right: 14px;
    font-size: 12px;
    color: #64748b;
    pointer-events: none;
}

/* Quick Percentage Chips */
.ps-calc-chips-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ps-chips-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.ps-calc-chip {
    padding: 6px 16px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-calc-chip:hover {
    border-color: #ef394e;
    color: #ef394e;
    background: #fff1f2;
}

.ps-calc-chip.is-active {
    background: #ef394e;
    color: #ffffff;
    border-color: #ef394e;
    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.25);
}

.ps-calc-chip.is-max {
    background: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
}
.ps-calc-chip.is-max:hover {
    background: #fde68a;
    border-color: #f59e0b;
}

/* Resulting Wallet Preview Box */
.ps-calc-preview-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1.5px solid #6ee7b7;
    border-radius: 18px;
    padding: 20px 24px;
    gap: 20px;
    flex-wrap: wrap;
}

.ps-preview-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ps-preview-icon {
    font-size: 34px;
    line-height: 1;
}

.ps-preview-details {
    display: flex;
    flex-direction: column;
}

.ps-preview-sub {
    font-size: 12px;
    color: #065f46;
    margin-bottom: 2px;
}

.ps-preview-amount {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    color: #064e3b;
}

.ps-convert-btn {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    padding: 13px 26px;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.ps-convert-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.45);
}

/* -------------------------------------------------------------
   Ledger Table Badges
   ------------------------------------------------------------- */
.dk-cl-badge.badge-box {
    background: #fef3c7;
    color: #b45309;
}

.dk-cl-badge.badge-mission {
    background: #ecfdf5;
    color: #047857;
}

/* -------------------------------------------------------------
   Dark Mode Styles (html.dark-theme & body.dark)
   ------------------------------------------------------------- */
html.dark-theme .ps-club-gamification-suite,
body.dark .ps-club-gamification-suite {
    --dk-text-title: #f1f5f9;
    --dk-text-body: #cbd5e1;
    --dk-text-muted: #94a3b8;
    --ps-card-bg: #1e293b;
}

html.dark-theme .ps-section-badge-icon,
body.dark .ps-section-badge-icon {
    background: #1e293b;
    border-color: #334155;
}

html.dark-theme .ps-mystery-box-card,
body.dark .ps-mystery-box-card {
    background: #1e293b;
    border-color: #334155;
}

html.dark-theme .ps-box-highlights,
body.dark .ps-box-highlights {
    background: #0f172a;
    border-color: #1e293b;
    color: #cbd5e1;
}

html.dark-theme .dk-mission-card.ps-mission-item,
body.dark .dk-mission-card.ps-mission-item {
    background: #1e293b;
    border-color: #334155;
}

html.dark-theme .dk-mission-emoji,
body.dark .dk-mission-emoji {
    background: #0f172a;
    border-color: #334155;
}

html.dark-theme .dk-mission-progress-bar,
body.dark .dk-mission-progress-bar {
    background: #334155;
}

html.dark-theme .ps-wallet-converter-card,
body.dark .ps-wallet-converter-card {
    background: #1e293b;
    border-color: #334155;
}

html.dark-theme .ps-calc-input,
body.dark .ps-calc-input {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

html.dark-theme .ps-calc-chip,
body.dark .ps-calc-chip {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

html.dark-theme .ps-calc-preview-card,
body.dark .ps-calc-preview-card {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
    border-color: #059669;
}

html.dark-theme .ps-preview-sub,
body.dark .ps-preview-sub {
    color: #6ee7b7;
}

html.dark-theme .ps-preview-amount,
body.dark .ps-preview-amount {
    color: #a7f3d0;
}

html.dark-theme .ps-box-reveal-dialog,
body.dark .ps-box-reveal-dialog {
    background: #1e293b;
    color: #f1f5f9;
}

html.dark-theme .ps-box-prize-title,
body.dark .ps-box-prize-title {
    color: #f1f5f9;
}

html.dark-theme .ps-modal-close,
body.dark .ps-modal-close {
    background: #334155;
    color: #cbd5e1;
}

html.dark-theme .ps-modal-dismiss-btn,
body.dark .ps-modal-dismiss-btn {
    background: #334155;
    border-color: #475569;
    color: #cbd5e1;
}

/* -------------------------------------------------------------
   Responsive Breakpoints for Gamification Components
   ------------------------------------------------------------- */
@media (max-width: 992px) {
    .ps-mystery-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ps-missions-grid {
        grid-template-columns: 1fr;
    }
    .ps-calc-controls-wrap {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 680px) {
    .ps-mystery-boxes-grid {
        grid-template-columns: 1fr;
    }
    .ps-wheel-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .ps-wheel-banner-glow {
        display: none;
    }
    .ps-calc-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .ps-calc-preview-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .ps-convert-btn {
        width: 100%;
    }
    .ps-box-modal-buttons {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------
   My Account Dark Mode Overrides (html.dark-theme & body.dark)
   ------------------------------------------------------------- */
html.dark-theme .dk-account-sidebar,
body.dark .dk-account-sidebar,
html.dark-theme .dk-account-profile-card,
body.dark .dk-account-profile-card,
html.dark-theme .dk-dashboard-welcome-banner,
body.dark .dk-dashboard-welcome-banner,
html.dark-theme .dk-stat-card,
body.dark .dk-stat-card,
html.dark-theme .dk-dashboard-section,
body.dark .dk-dashboard-section,
html.dark-theme .dk-order-card,
body.dark .dk-order-card {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

html.dark-theme .dk-account-user-name,
body.dark .dk-account-user-name,
html.dark-theme .dk-welcome-title,
body.dark .dk-welcome-title,
html.dark-theme .dk-section-title,
body.dark .dk-section-title,
html.dark-theme .dk-stat-num,
body.dark .dk-stat-num,
html.dark-theme .dk-meta-val,
body.dark .dk-meta-val,
html.dark-theme .dk-order-price strong,
body.dark .dk-order-price strong {
    color: #f8fafc !important;
}

html.dark-theme .dk-account-user-contact,
body.dark .dk-account-user-contact,
html.dark-theme .dk-welcome-sub,
body.dark .dk-welcome-sub,
html.dark-theme .dk-meta-label,
body.dark .dk-meta-label,
html.dark-theme .dk-stat-label,
body.dark .dk-stat-label,
html.dark-theme .dk-order-info-meta,
body.dark .dk-order-info-meta {
    color: #94a3b8 !important;
}

html.dark-theme .dk-account-meta-strip,
body.dark .dk-account-meta-strip {
    background: #0f172a !important;
    border-color: #334155 !important;
}

html.dark-theme .dk-account-meta-item,
body.dark .dk-account-meta-item {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html.dark-theme .dk-account-meta-item:hover,
body.dark .dk-account-meta-item:hover {
    background: #334155 !important;
    border-color: #475569 !important;
}

html.dark-theme .dk-account-nav-item a,
body.dark .dk-account-nav-item a {
    color: #94a3b8 !important;
}

html.dark-theme .dk-account-nav-item:hover a,
body.dark .dk-account-nav-item:hover a {
    background: #334155 !important;
    color: #ef4056 !important;
}

html.dark-theme .dk-account-nav-item.active a,
body.dark .dk-account-nav-item.active a {
    background: rgba(239, 57, 78, 0.18) !important;
    color: #ef4056 !important;
    border-right-color: #ef4056 !important;
}

html.dark-theme .dk-welcome-club-badge,
body.dark .dk-welcome-club-badge {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%) !important;
    border-color: #b45309 !important;
    color: #fef3c7 !important;
}

/* -------------------------------------------------------------
   Mobile Optimization for Inner Account Subpages
   ------------------------------------------------------------- */
@media (max-width: 991px) {
    .dk-account-mobile-nav-toggle-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
    }
    .dk-account-mobile-back-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12.5px;
        font-weight: 700;
        color: #ef394e;
        text-decoration: none;
    }
    .dk-account-mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 12px;
        font-weight: 600;
        color: #64748b;
        background: #ffffff;
        border: 1px solid #cbd5e1;
        padding: 5px 10px;
        border-radius: 8px;
        cursor: pointer;
    }
    body.woocommerce-account:not(.woocommerce-dashboard) .dk-account-sidebar:not(.is-menu-open) .dk-account-nav-list {
        display: none;
    }
}
@media (min-width: 992px) {
    .dk-account-mobile-nav-toggle-wrap {
        display: none !important;
    }
}


/* =========================================================================
   RECENTLY VIEWED SLIDER ACTION BUTTONS (COMPARE, WISHLIST, QUICKVIEW, CART)
   ========================================================================= */
#dk-recently-viewed-wrap .dk-rv-thumb-wrap {
    position: relative;
    border-radius: 10px;
    overflow: visible;
}
#dk-recently-viewed-wrap .dk-rv-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
#dk-recently-viewed-wrap .dk-catalog-hover-actions {
    position: absolute;
    top: 5px;
    left: 5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
#dk-recently-viewed-wrap .dk-rv-card:hover .dk-catalog-hover-actions,
#dk-recently-viewed-wrap .dk-catalog-hover-actions:hover,
#dk-recently-viewed-wrap .dk-catalog-hover-actions:has(.active),
#dk-recently-viewed-wrap .dk-catalog-hover-actions:has(input:checked) {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
#dk-recently-viewed-wrap .dk-catalog-hover-actions button,
#dk-recently-viewed-wrap .dk-catalog-hover-actions .dk-card-action-compare {
    width: 27px;
    height: 27px;
    min-width: 27px;
    min-height: 27px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    margin: 0;
    padding: 0;
    position: relative;
    pointer-events: auto;
}
#dk-recently-viewed-wrap .dk-catalog-hover-actions svg {
    width: 13px;
    height: 13px;
}
#dk-recently-viewed-wrap .dk-catalog-hover-actions button:hover,
#dk-recently-viewed-wrap .dk-catalog-hover-actions .dk-card-action-compare:hover {
    background: #ef394e;
    border-color: #ef394e;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.28);
}
#dk-recently-viewed-wrap .dk-catalog-hover-actions button:hover svg,
#dk-recently-viewed-wrap .dk-catalog-hover-actions .dk-card-action-compare:hover svg {
    stroke: #ffffff;
}
#dk-recently-viewed-wrap .dk-card-action-compare input {
    display: none;
}
#dk-recently-viewed-wrap .dk-card-action-compare .compare-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#dk-recently-viewed-wrap .dk-card-action-compare.active,
#dk-recently-viewed-wrap .dk-card-action-compare:has(input:checked) {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
}
#dk-recently-viewed-wrap .dk-card-action-compare.active svg,
#dk-recently-viewed-wrap .dk-card-action-compare:has(input:checked) svg {
    stroke: #ffffff !important;
}
#dk-recently-viewed-wrap .dk-btn-wishlist.active,
#dk-recently-viewed-wrap .ps-wishlist-action-btn.active {
    background: #fef2f2 !important;
    border-color: #ef394e !important;
    color: #ef394e !important;
}
#dk-recently-viewed-wrap .dk-btn-wishlist.active svg,
#dk-recently-viewed-wrap .ps-wishlist-action-btn.active svg {
    stroke: #ef394e !important;
    fill: #ef394e !important;
}
@media (max-width: 768px) {
    #dk-recently-viewed-wrap .dk-catalog-hover-actions {
        opacity: 1 !important;
        transform: translateX(0) !important;
        pointer-events: auto !important;
        top: 4px !important;
        left: 4px !important;
        gap: 4px !important;
    }
    #dk-recently-viewed-wrap .dk-catalog-hover-actions button,
    #dk-recently-viewed-wrap .dk-catalog-hover-actions .dk-card-action-compare {
        width: 27px !important;
        height: 27px !important;
        min-width: 27px !important;
        min-height: 27px !important;
    }
    #dk-recently-viewed-wrap .dk-catalog-hover-actions svg {
        width: 13px !important;
        height: 13px !important;
    }
}
html.dark-theme #dk-recently-viewed-wrap .dk-catalog-hover-actions button,
html.dark-theme #dk-recently-viewed-wrap .dk-catalog-hover-actions .dk-card-action-compare {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}
html.dark-theme #dk-recently-viewed-wrap .dk-catalog-hover-actions button:hover,
html.dark-theme #dk-recently-viewed-wrap .dk-catalog-hover-actions .dk-card-action-compare:hover {
    background: #ef394e;
    border-color: #ef394e;
    color: #ffffff;
}


/* =========================================================================
   PERSIANSHOP UNIVERSAL BEAUTIFUL MODAL & ALERT REPLACEMENT
   ========================================================================= */
.ps-universal-modal,
#ps-universal-modal {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    direction: rtl;
    text-align: right;
    font-family: var(--dk-font, "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    box-sizing: border-box !important;
}

#ps-universal-modal.is-open,
.ps-universal-modal.is-open,
.ps-universal-modal[style*="display: block"],
.ps-universal-modal[style*="display:block"],
.ps-universal-modal[style*="display: flex"],
.ps-universal-modal[style*="display:flex"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ps-universal-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: ps-modal-fade-in 0.22s ease-out forwards;
    cursor: pointer;
}

.ps-universal-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: auto !important;
    background: #ffffff;
    border-radius: 24px;
    padding: 34px 28px 28px;
    text-align: center;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    z-index: 2;
    animation: ps-modal-pop-in 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes ps-modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ps-modal-pop-in {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.ps-universal-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 5;
}

.ps-universal-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.ps-universal-modal-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    transition: transform 0.25s ease;
}

.ps-universal-modal-icon-wrap.ps-icon-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.22));
    color: #16a34a;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}

.ps-universal-modal-icon-wrap.ps-icon-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.22));
    color: #ef4444;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
}

.ps-universal-modal-icon-wrap.ps-icon-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.22));
    color: #f59e0b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.ps-universal-modal-icon-wrap.ps-icon-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.22));
    color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.ps-universal-modal-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 12px;
    background: #f1f5f9;
    color: #475569;
}

.ps-universal-modal-title {
    font-size: 18.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.45;
}

.ps-universal-modal-desc {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 20px 0;
    word-break: break-word;
}

.ps-universal-modal-points {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef3c7, #fef08a);
    border: 1px solid #fde047;
    padding: 8px 20px;
    border-radius: 24px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 800;
    color: #854d0e;
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.3);
}

.ps-universal-modal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ps-universal-modal-btn {
    flex: 1;
    min-height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ps-universal-modal-btn.ps-btn-confirm {
    background: #ef394e;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.3);
}

.ps-universal-modal-btn.ps-btn-confirm:hover {
    background: #e0243a;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.4);
}

.ps-universal-modal-btn.ps-btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.ps-universal-modal-btn.ps-btn-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Dark theme */
html.dark-theme .ps-universal-modal-dialog {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6);
}
html.dark-theme .ps-universal-modal-title {
    color: #f8fafc;
}
html.dark-theme .ps-universal-modal-desc {
    color: #cbd5e1;
}
html.dark-theme .ps-universal-modal-close {
    background: #334155;
    color: #94a3b8;
}
html.dark-theme .ps-universal-modal-close:hover {
    background: #475569;
    color: #ffffff;
}
html.dark-theme .ps-universal-modal-btn.ps-btn-cancel {
    background: #334155;
    color: #cbd5e1;
    border-color: #475569;
}
html.dark-theme .ps-universal-modal-btn.ps-btn-cancel:hover {
    background: #475569;
    color: #ffffff;
}

/* --- MOBILE SINGLE HERO SLIDER & CLEAN SWIPE (< 480px) --- */
@media (max-width: 480px) {
    /* Flash Deals & Tabbed Sliders: 1 dominant card + next card peek */
    .ps-flash-card,
    .ps-tabbed-product-card,
    .ps-is-mobile-view .ps-flash-card,
    .ps-is-mobile-view .ps-tabbed-product-card {
        flex: 0 0 255px !important;
        width: 255px !important;
        min-width: 255px !important;
        max-width: 78vw !important;
        box-sizing: border-box !important;
    }

    /* Hide overlay arrow buttons on mobile touchscreens */
    .ps-flash-nav,
    .ps-tab-nav-btn {
        display: none !important;
    }

    /* Spacious and crisp product thumbnails */
    .ps-flash-thumb-wrap,
    .ps-tabbed-thumb-wrap {
        width: 100% !important;
        height: 170px !important;
        aspect-ratio: 1 !important;
        margin-bottom: 8px !important;
    }

    .ps-flash-thumb-wrap img,
    .ps-tabbed-thumb-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    /* Legible product titles and prices */
    .ps-flash-product-title,
    .ps-tabbed-product-title {
        font-size: 13px !important;
        line-height: 1.45 !important;
        height: 38px !important;
        overflow: hidden !important;
        margin-bottom: 6px !important;
    }

    .ps-flash-final-price strong,
    .ps-tabbed-final-price strong {
        font-size: 15px !important;
    }
}


/* =========================================================================
   PERSIANSHOP ADVANCED GAMIFICATION POINTS LEDGER & REAL-TIME AJAX HISTORY
   ========================================================================= */
.dk-club-history-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    margin-top: 14px;
    transition: all 0.25s ease;
}

.dk-club-history-card .dk-club-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.dk-club-history-card .dk-club-header-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dk-club-history-card .dk-club-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(99, 102, 241, 0.22));
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.dk-club-history-card .dk-club-header-headings h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
}

.dk-club-history-card .dk-club-header-desc {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.dk-club-history-card .dk-club-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Quick Filter Chips */
.dk-history-filter-chips {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    gap: 4px;
}

.dk-filter-chip {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.dk-filter-chip:hover {
    color: #0f172a;
}

.dk-filter-chip.is-active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dk-filter-chip .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.dk-filter-chip .gain-dot { background: #10b981; }
.dk-filter-chip .loss-dot { background: #ef4444; }

/* Total count badge */
.dk-history-total-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
}
.dk-history-total-pill .pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8b5cf6;
}

/* Table wrapper & loading state */
.dk-club-table-wrapper {
    position: relative;
    min-height: 220px;
}

.dk-table-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.22s ease;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
}

.dk-club-table-wrapper.is-loading .dk-table-loading-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dk-club-table-wrapper .ps-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #e2e8f0;
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: psSpinRound 0.75s linear infinite;
}

/* Modern Club Table */
.dk-club-table-responsive {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    background: #ffffff;
}

.dk-club-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.dk-club-table th {
    background: #f8fafc;
    padding: 14px 18px;
    text-align: right;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    border-bottom: 1.5px solid #e2e8f0;
    white-space: nowrap;
}

.dk-club-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
    transition: background 0.15s ease;
}

.dk-club-table tbody tr:hover td {
    background: #f8fafc;
}

.dk-club-table tbody tr:last-child td {
    border-bottom: none;
}

/* Badges with Emojis & Soft Gradients */
.dk-cl-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.4;
}

.dk-cl-badge .dk-badge-emoji {
    font-size: 13px;
}

.dk-cl-badge.badge-order {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.dk-cl-badge.badge-welcome {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.dk-cl-badge.badge-review {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.dk-cl-badge.badge-wallet {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.dk-cl-badge.badge-box {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.dk-cl-badge.badge-mission {
    background: rgba(6, 182, 212, 0.12);
    color: #0891b2;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.dk-cl-badge.badge-coupon {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.dk-cl-badge.badge-wheel {
    background: rgba(217, 70, 239, 0.12);
    color: #c026d3;
    border: 1px solid rgba(217, 70, 239, 0.25);
}

.dk-cl-badge.badge-admin {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Date Cell Presentation */
.dk-date-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dk-date-main {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}

.dk-date-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: #94a3b8;
    white-space: nowrap;
}

/* Description & Interactive Copy Chip */
.dk-desc-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dk-desc-text {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
}

.dk-table-coupon-chip.ps-copy-coupon-btn {
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11.5px;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.dk-table-coupon-chip.ps-copy-coupon-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.dk-table-coupon-chip.is-copied {
    background: #ecfdf5;
    border-color: #10b981;
    color: #047857;
}

/* Points Change Badge */
.dk-points-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.dk-points-badge.is-gain {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.dk-points-badge.is-loss {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

/* Balance Pill */
.dk-balance-pill {
    display: inline-block;
    padding: 4px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    min-width: 50px;
    text-align: center;
}

/* Empty State */
.dk-club-table-empty {
    text-align: center;
    padding: 36px 16px;
    color: #64748b;
}
.dk-club-table-empty .empty-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
}
.dk-club-table-empty p {
    font-size: 13.5px;
    font-weight: 600;
    margin: 0;
}

/* Pagination UI */
.dk-club-pagination-wrap {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.dk-history-pagination-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.dk-pagination-summary {
    font-size: 12.5px;
    color: #64748b;
}
.dk-pagination-summary strong {
    color: #0f172a;
    font-weight: 700;
}

.dk-pagination-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dk-page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dk-page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: inherit;
}

.dk-page-btn:hover:not(:disabled):not(.is-active) {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}

.dk-page-btn.is-active {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.35);
    cursor: default;
}

.dk-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.dk-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    color: #94a3b8;
    font-weight: 800;
}

/* Dark Theme Overrides */
html.dark-theme .dk-club-history-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.4);
}
html.dark-theme .dk-club-history-card .dk-club-card-header {
    border-bottom-color: #334155;
}
html.dark-theme .dk-club-history-card .dk-club-header-headings h3 {
    color: #f8fafc;
}
html.dark-theme .dk-club-history-card .dk-club-header-desc {
    color: #94a3b8;
}
html.dark-theme .dk-history-filter-chips {
    background: #0f172a;
}
html.dark-theme .dk-filter-chip {
    color: #94a3b8;
}
html.dark-theme .dk-filter-chip.is-active {
    background: #1e293b;
    color: #f8fafc;
}
html.dark-theme .dk-history-total-pill {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}
html.dark-theme .dk-table-loading-overlay {
    background: rgba(15, 23, 42, 0.85);
    color: #e2e8f0;
}
html.dark-theme .dk-club-table-responsive {
    border-color: #334155;
    background: #1e293b;
}
html.dark-theme .dk-club-table th {
    background: #0f172a;
    color: #94a3b8;
    border-bottom-color: #334155;
}
html.dark-theme .dk-club-table td {
    color: #e2e8f0;
    border-bottom-color: #334155;
}
html.dark-theme .dk-club-table tbody tr:hover td {
    background: rgba(51, 65, 85, 0.4);
}
html.dark-theme .dk-date-main {
    color: #f8fafc;
}
html.dark-theme .dk-desc-text {
    color: #cbd5e1;
}
html.dark-theme .dk-table-coupon-chip.ps-copy-coupon-btn {
    background: #0f172a;
    border-color: #475569;
    color: #cbd5e1;
}
html.dark-theme .dk-balance-pill {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}
html.dark-theme .dk-club-pagination-wrap {
    border-top-color: #334155;
}
html.dark-theme .dk-pagination-summary {
    color: #94a3b8;
}
html.dark-theme .dk-pagination-summary strong {
    color: #f8fafc;
}
html.dark-theme .dk-page-btn {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}
html.dark-theme .dk-page-btn:hover:not(:disabled):not(.is-active) {
    background: #1e293b;
    color: #f8fafc;
}
html.dark-theme .dk-page-btn:disabled {
    background: #0f172a;
    border-color: #1e293b;
    opacity: 0.35;
}

/* Mobile Responsiveness (< 768px) */
@media (max-width: 768px) {
    .dk-club-history-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .dk-club-history-card .dk-club-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .dk-club-history-card .dk-club-header-actions {
        width: 100%;
        justify-content: space-between;
    }
    .dk-history-pagination-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}


/* ==========================================================================
   Comprehensive WooCommerce My-Account Dark Theme Suite (html.dark-theme)
   ========================================================================== */

/* 1. Page Background & Outer Wrappers */
html.dark-theme .dk-account-page-wrapper,
html.dark-theme .dk-account-container,
html.dark-theme .dk-account-layout,
html.dark-theme .dk-account-main-content,
html.dark-theme .woocommerce-MyAccount-content,
html.dark-theme .dk-account-content {
    background-color: #0b1120 !important;
    color: #cbd5e1 !important;
}

/* 2. Delivery Location Sync Card (Dashboard & Addresses) */
html.dark-theme .dk-account-delivery-location-card,
html.dark-theme .ps-delivery-location-sync,
html.dark-theme .ps-delivery-loc-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    padding: 20px 22px !important;
    color: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 22px !important;
    gap: 16px !important;
}

html.dark-theme .dk-adlc-subtitle {
    color: #94a3b8 !important;
}

html.dark-theme .dk-adlc-title,
html.dark-theme #dk-account-active-city-display {
    color: #f8fafc !important;
}

html.dark-theme .dk-adlc-desc {
    color: #cbd5e1 !important;
}

html.dark-theme .dk-adlc-icon {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

html.dark-theme .dk-adlc-badge {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}

html.dark-theme .dk-btn-change-city {
    background: #0f172a !important;
    border: 1px solid #ef4056 !important;
    color: #ef4056 !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

html.dark-theme .dk-btn-change-city:hover {
    background: #ef4056 !important;
    color: #ffffff !important;
}

/* 3. Orders Page & Cards (/my-account/orders/) */
html.dark-theme .dk-orders-page-wrap,
html.dark-theme .dk-orders-card,
html.dark-theme .dk-orders-list-cards {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 18px !important;
    padding: 22px !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-orders-page-header {
    border-bottom: 1px solid #334155 !important;
    padding-bottom: 14px !important;
    margin-bottom: 18px !important;
}

html.dark-theme .dk-orders-page-title,
html.dark-theme .dk-orders-card h2,
html.dark-theme .dk-orders-card h3 {
    color: #f8fafc !important;
}

html.dark-theme .dk-order-card {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    border-radius: 14px !important;
    color: #cbd5e1 !important;
    margin-bottom: 16px !important;
}

html.dark-theme .dk-order-card-top {
    border-bottom: 1px solid #1e293b !important;
}

html.dark-theme .dk-order-card-bottom {
    background: #0b1120 !important;
    border-top: 1px solid #1e293b !important;
}

html.dark-theme .dk-order-id,
html.dark-theme .dk-order-date {
    color: #94a3b8 !important;
}

html.dark-theme .dk-order-price-label {
    color: #94a3b8 !important;
}

html.dark-theme .dk-order-price strong {
    color: #f8fafc !important;
}

html.dark-theme .dk-order-product-thumb,
html.dark-theme .dk-order-thumb-wrap,
html.dark-theme .dk-product-thumb {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 10px !important;
}

html.dark-theme .dk-order-action-btn,
html.dark-theme .dk-btn-view-order,
html.dark-theme .dk-btn-official-invoice {
    background: #1e293b !important;
    border: 1px solid #475569 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-order-action-btn:hover,
html.dark-theme .dk-btn-view-order:hover,
html.dark-theme .dk-btn-official-invoice:hover {
    background: #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme table.woocommerce-orders-table,
html.dark-theme table.woocommerce-MyAccount-orders {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme table.woocommerce-orders-table th {
    background: #0f172a !important;
    color: #94a3b8 !important;
    border-bottom: 1px solid #334155 !important;
}

html.dark-theme table.woocommerce-orders-table td {
    color: #cbd5e1 !important;
    border-bottom: 1px solid #334155 !important;
}

/* 4. Subscriptions Portal (/my-account/subscriptions/) */
html.dark-theme .ps-sub-portal-header {
    background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%) !important;
    border: 1px solid #312e81 !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-sph-icon {
    background: #0f172a !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme .ps-sph-content h2,
html.dark-theme .ps-sph-content h3 {
    color: #f8fafc !important;
}

html.dark-theme .ps-sph-content p {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-sub-stat-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-stat-label {
    color: #94a3b8 !important;
}

html.dark-theme .ps-stat-value {
    color: #f8fafc !important;
}

html.dark-theme .ps-sub-management-box {
    background: #1e293b !important;
    border: 1.5px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-smb-header {
    border-bottom: 1px solid #334155 !important;
}

html.dark-theme .ps-smb-icon-title {
    background: #0f172a !important;
}

html.dark-theme .ps-smb-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-smb-subtitle {
    color: #94a3b8 !important;
}

html.dark-theme .ps-smb-counter {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

html.dark-theme .ps-sub-item-card {
    background: #0f172a !important;
    border: 1.5px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-sub-item-card:hover {
    background: #111827 !important;
    border-color: #475569 !important;
}

html.dark-theme .ps-sub-item-card.paused {
    background: #151922 !important;
}

html.dark-theme .ps-sub-prod-thumb {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html.dark-theme .ps-sub-prod-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-sub-submeta {
    color: #94a3b8 !important;
}

html.dark-theme .ps-sub-id-pill {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .ps-sub-matrix {
    background: #111827 !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .ps-matrix-label {
    color: #94a3b8 !important;
}

html.dark-theme .ps-matrix-val {
    color: #f8fafc !important;
}

html.dark-theme .ps-sub-freq-changer {
    border-right-color: #334155 !important;
}

html.dark-theme .ps-sub-freq-changer label {
    color: #94a3b8 !important;
}

html.dark-theme .ps-sub-freq-select {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-sub-guide-box {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-sub-guide-box h4 {
    color: #f8fafc !important;
}

/* 5. Loyalty Rewards & Club Showcase (/my-account/loyalty-rewards/) */
html.dark-theme .dk-club-page-wrapper {
    background: #0b1120 !important;
}

html.dark-theme .dk-club-reward-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .dk-club-reward-card:hover {
    border-color: #ef4056 !important;
    transform: translateY(-2px);
}

html.dark-theme .dk-reward-icon-wrap {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .dk-reward-title {
    color: #f8fafc !important;
}

html.dark-theme .dk-reward-desc {
    color: #94a3b8 !important;
}

html.dark-theme .dk-reward-cost {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #fbbf24 !important;
}

html.dark-theme .dk-reward-action-btn:disabled {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #64748b !important;
}

html.dark-theme .dk-club-coupons-section {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 18px !important;
    padding: 22px !important;
}

html.dark-theme .dk-coupon-ticket {
    background: #0f172a !important;
    border: 1px dashed #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-coupon-amount {
    color: #f8fafc !important;
}

html.dark-theme .dk-coupon-min-spend {
    color: #94a3b8 !important;
}

html.dark-theme .dk-coupon-code-box {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .dk-coupon-code-text {
    color: #f8fafc !important;
}

html.dark-theme .dk-coupon-footer {
    border-top: 1px solid #1e293b !important;
    color: #94a3b8 !important;
}

html.dark-theme .dk-club-empty-state {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #94a3b8 !important;
}

html.dark-theme .dk-club-empty-state p {
    color: #f8fafc !important;
}

/* 6. Addresses, Account Details, Downloads, Forms */
html.dark-theme .woocommerce-Address,
html.dark-theme .woocommerce-Addresses .u-column1,
html.dark-theme .woocommerce-Addresses .u-column2,
html.dark-theme .dk-address-card,
html.dark-theme .dk-edit-account-card,
html.dark-theme form.woocommerce-EditAccountForm {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 16px !important;
    padding: 22px !important;
    color: #cbd5e1 !important;
}

html.dark-theme .woocommerce-Address-title h3,
html.dark-theme .woocommerce-EditAccountForm legend {
    color: #f8fafc !important;
    border-bottom: 1px solid #334155 !important;
}

html.dark-theme form.woocommerce-EditAccountForm input.woocommerce-Input,
html.dark-theme form.woocommerce-EditAccountForm select,
html.dark-theme .woocommerce-form-row input,
html.dark-theme .woocommerce-form-row select,
html.dark-theme .woocommerce-form-row textarea {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme form.woocommerce-EditAccountForm input:focus,
html.dark-theme .woocommerce-form-row input:focus,
html.dark-theme .woocommerce-form-row select:focus {
    border-color: #ef4056 !important;
}

html.dark-theme table.woocommerce-table--order-details,
html.dark-theme table.woocommerce-customer-details,
html.dark-theme table.woocommerce-MyAccount-downloads {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme table.woocommerce-table--order-details th,
html.dark-theme table.woocommerce-MyAccount-downloads th {
    background: #0f172a !important;
    color: #94a3b8 !important;
    border-bottom: 1px solid #334155 !important;
}

html.dark-theme table.woocommerce-table--order-details td,
html.dark-theme table.woocommerce-MyAccount-downloads td {
    color: #cbd5e1 !important;
    border-bottom: 1px solid #334155 !important;
}

/* 7. Support Tickets & Warranty/Returns */
html.dark-theme .dk-ticket-list-card,
html.dark-theme .dk-ticket-card,
html.dark-theme .dk-returns-card,
html.dark-theme .dk-warranty-request-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 16px !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-ticket-item {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-ticket-title {
    color: #f8fafc !important;
}


/* 8. Modern Account Subpages: Addresses, Downloads, Edit Account, Error 404 */
html.dark-theme .dk-downloads-page-wrap,
html.dark-theme .dk-addresses-page-wrap,
html.dark-theme .dk-edit-account-wrap,
html.dark-theme .dk-account-main-content,
html.dark-theme .dk-account-card {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    border-radius: 16px !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-downloads-page-wrap h1,
html.dark-theme .dk-downloads-page-wrap h2,
html.dark-theme .dk-downloads-page-wrap h3,
html.dark-theme .dk-addresses-page-wrap h1,
html.dark-theme .dk-addresses-page-wrap h2,
html.dark-theme .dk-addresses-page-wrap h3,
html.dark-theme .dk-edit-account-wrap h1,
html.dark-theme .dk-edit-account-wrap h2,
html.dark-theme .dk-edit-account-wrap h3,
html.dark-theme .dk-account-page-title,
html.dark-theme .dk-account-section-title {
    color: #f8fafc !important;
}

html.dark-theme .dk-dashboard-empty {
    background: #0f172a !important;
    border: 1px dashed #334155 !important;
    border-radius: 14px !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-dashboard-empty p {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-account-addr-card {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    border-radius: 14px !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-account-addr-card.is-selected,
html.dark-theme .ps-account-addr-card.is-default {
    border-color: #ef4056 !important;
}

html.dark-theme .ps-account-addr-card h4,
html.dark-theme .ps-account-addr-card strong,
html.dark-theme .ps-account-addr-card .ps-addr-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-account-addr-card .ps-addr-city-badge {
    background: #1e293b !important;
    color: #94a3b8 !important;
}

html.dark-theme .ps-account-addr-card .ps-addr-text {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-account-addr-card .ps-addr-meta {
    color: #94a3b8 !important;
}

html.dark-theme .dk-edit-account-wrap fieldset {
    border-color: #334155 !important;
}

html.dark-theme .dk-edit-account-wrap fieldset legend {
    color: #f8fafc !important;
    background: transparent !important;
}

/* 404 Error Page in Dark Mode */
html.dark-theme .dk-error-page-wrapper {
    background: #0b1120 !important;
}

html.dark-theme .dk-error-card.dk-error-404 {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
}

html.dark-theme .dk-error-card h1,
html.dark-theme .dk-error-card h2,
html.dark-theme .dk-error-card .dk-error-title {
    color: #f8fafc !important;
}

html.dark-theme .dk-error-card p,
html.dark-theme .dk-error-card .dk-error-desc {
    color: #94a3b8 !important;
}

html.dark-theme .dk-error-search input {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}


/* Password Fieldset & Address Recipient Box (Dark Mode Polish) */
html.dark-theme .dk-password-fieldset {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-fieldset-legend {
    color: #f8fafc !important;
    background: transparent !important;
}

html.dark-theme .ps-account-addr-card .ps-aac-recipient-box {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-account-addr-card .ps-aac-recipient-box * {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-btn-aac-activate {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-btn-aac-activate:hover {
    background: #334155 !important;
    color: #f8fafc !important;
}


/* ==========================================================================
   9. Incredible Offers Page (/incredible-offers/) Complete Dark Mode Overhaul
   ========================================================================== */

/* Page Background & Layout */
html.dark-theme .dk-incredible-page {
    background: #0b1120 !important;
    color: #cbd5e1 !important;
}

/* Hero Section Countdown Timer Cards */
html.dark-theme .dk-timer-cell {
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme .dk-timer-cell .dk-timer-num {
    color: #f8fafc !important;
}

html.dark-theme .dk-timer-cell .dk-timer-unit {
    color: #cbd5e1 !important;
}

/* Category Filter Bar */
html.dark-theme .dk-inc-cats-bar-wrap {
    background: rgba(11, 17, 32, 0.94) !important;
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-inc-cat-btn {
    background: #111827 !important;
    border: 1.5px solid #1f2937 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-inc-cat-btn small {
    color: #94a3b8 !important;
}

html.dark-theme .dk-inc-cat-btn:hover {
    border-color: #ef394e !important;
    color: #ef394e !important;
    background: #1e293b !important;
}

html.dark-theme .dk-inc-cat-btn.active {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(239, 57, 78, 0.4) !important;
}

html.dark-theme .dk-inc-cat-btn.active small {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Sorting Toolbar */
html.dark-theme .dk-inc-toolbar {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-inc-sort-label {
    color: #f8fafc !important;
}

html.dark-theme .dk-inc-sort-btn {
    color: #94a3b8 !important;
}

html.dark-theme .dk-inc-sort-btn:hover {
    color: #ef394e !important;
}

html.dark-theme .dk-inc-sort-btn.active {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #ef394e !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .dk-inc-total-count {
    color: #94a3b8 !important;
}

html.dark-theme .dk-inc-total-count strong {
    color: #ef394e !important;
}

/* Product Cards */
html.dark-theme .dk-inc-card {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

html.dark-theme .dk-inc-card:hover {
    border-color: #334155 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme .dk-inc-img-wrap {
    background: transparent !important;
}

html.dark-theme .dk-inc-title a {
    color: #f8fafc !important;
}

html.dark-theme .dk-inc-title a:hover {
    color: #ef394e !important;
}

html.dark-theme .dk-inc-delivery-info {
    color: #38bdf8 !important;
}

html.dark-theme .dk-inc-delivery-info svg {
    stroke: #38bdf8 !important;
}

html.dark-theme .dk-inc-stock-labels {
    color: #94a3b8 !important;
}

html.dark-theme .dk-stock-bar-track {
    background: #1e293b !important;
}

html.dark-theme .dk-inc-price-section {
    border-top: 1px dashed #1f2937 !important;
}

html.dark-theme .dk-inc-regular-price {
    color: #64748b !important;
}

html.dark-theme .dk-inc-final-price,
html.dark-theme .dk-inc-final-price strong {
    color: #f8fafc !important;
}

html.dark-theme .dk-inc-final-price small {
    color: #94a3b8 !important;
}

html.dark-theme .dk-btn-inc-add {
    background: rgba(239, 57, 78, 0.12) !important;
    border: 1px solid rgba(239, 57, 78, 0.3) !important;
    color: #f87171 !important;
}

html.dark-theme .dk-btn-inc-add:hover {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
}

html.dark-theme .dk-btn-inc-view {
    border: 1px solid #334155 !important;
    color: #94a3b8 !important;
    background: #0f172a !important;
}

html.dark-theme .dk-btn-inc-view:hover {
    border-color: #ef394e !important;
    color: #ef394e !important;
}

/* Sidebar Filters on Incredible Offers */
html.dark-theme .dk-inc-sidebar,
html.dark-theme .dk-inc-sidebar .dk-filter-box {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    border-radius: 16px !important;
}

html.dark-theme .dk-inc-sidebar .dk-filter-header {
    border-bottom: 1px solid #1f2937 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-inc-sidebar .dk-filter-section {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-inc-sidebar .dk-filter-section-head {
    color: #f8fafc !important;
}

html.dark-theme .dk-inc-sidebar .dk-filter-section-head:hover {
    color: #ef394e !important;
}

html.dark-theme .dk-inc-sidebar .dk-disc-pill {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-inc-sidebar .dk-disc-pill.active,
html.dark-theme .dk-inc-sidebar .dk-disc-pill:hover {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
}

html.dark-theme .dk-inc-sidebar .dk-price-field {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .dk-inc-sidebar .dk-price-field input {
    color: #f8fafc !important;
    background: transparent !important;
}

html.dark-theme .dk-inc-sidebar .dk-price-field label,
html.dark-theme .dk-inc-sidebar .dk-price-unit-txt {
    color: #94a3b8 !important;
}

html.dark-theme .dk-inc-sidebar .ps-range-label-min,
html.dark-theme .dk-inc-sidebar .ps-range-label-max {
    color: #94a3b8 !important;
}

html.dark-theme .dk-inc-sidebar .dk-btn-apply-price {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-inc-sidebar .dk-btn-apply-price:hover {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
}

html.dark-theme .dk-inc-sidebar .dk-btn-reset-price {
    color: #ef4056 !important;
}

html.dark-theme .dk-inc-sidebar .dk-brand-search-wrap {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .dk-inc-sidebar .dk-brand-search-wrap input {
    color: #f8fafc !important;
    background: transparent !important;
}

html.dark-theme .dk-inc-sidebar .dk-brand-item {
    color: #cbd5e1 !important;
}

html.dark-theme .dk-inc-sidebar .dk-brand-item:hover {
    color: #ef394e !important;
}

html.dark-theme .dk-inc-sidebar .dk-filter-instock-wrap {
    color: #f8fafc !important;
}

/* Active Filter Chips */
html.dark-theme .dk-active-filters-bar {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .dk-active-filters-title {
    color: #94a3b8 !important;
}

html.dark-theme .dk-active-chip {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-active-chip a {
    color: #ef394e !important;
}

/* Pagination on Incredible Offers */
html.dark-theme .dk-pagination-wrapper .page-numbers,
html.dark-theme .dk-page-item a,
html.dark-theme .dk-page-item span {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-pagination-wrapper .page-numbers.current,
html.dark-theme .dk-page-item span.current {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
}

html.dark-theme .dk-pagination-wrapper .page-numbers:hover,
html.dark-theme .dk-page-item a:hover {
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* Footer Trust Badges Box & Live Sales Toast in Dark Mode */
html.dark-theme .dk-footer-badges-box {
    border-color: #1f2937 !important;
}

html.dark-theme .dk-trust-badge-item {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .dk-trust-badge-item img {
    filter: brightness(0.9);
}

html.dark-theme .ps-live-toast-card {
    background: #111827 !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6) !important;
}

html.dark-theme .ps-live-toast-card * {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-live-toast-card strong,
html.dark-theme .ps-live-toast-card .ps-toast-title {
    color: #f8fafc !important;
}


/* ==========================================================================
   10. Delivery Location Button & Modal (ارسال به بالا سمت چپ) Dark Mode
   ========================================================================== */

/* Header Trigger Button */
html.dark-theme .dk-location-btn {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-location-btn:hover {
    background-color: #334155 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

html.dark-theme .dk-location-btn .dk-loc-prefix {
    color: #94a3b8 !important;
}

html.dark-theme .dk-location-btn .dk-loc-city {
    color: #f8fafc !important;
}

html.dark-theme .dk-location-btn .dk-loc-city-sub {
    color: #94a3b8 !important;
}

html.dark-theme .dk-location-chevron svg {
    stroke: #94a3b8 !important;
}

/* Modal Box & Head */
html.dark-theme .dk-city-modal-box,
html.dark-theme .ps-address-modal-box {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}

html.dark-theme .dk-modal-head {
    background: #0f172a !important;
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-modal-title {
    color: #f8fafc !important;
}

html.dark-theme .dk-modal-close {
    color: #94a3b8 !important;
}

html.dark-theme .dk-modal-close:hover {
    color: #ef4056 !important;
}

/* Modal Nav Tabs */
html.dark-theme .ps-modal-nav-tabs {
    background: #0f172a !important;
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .ps-modal-tab-btn {
    color: #94a3b8 !important;
    border-bottom-color: transparent !important;
}

html.dark-theme .ps-modal-tab-btn:hover {
    color: #ef4056 !important;
}

html.dark-theme .ps-modal-tab-btn.active {
    background: #111827 !important;
    color: #ef4056 !important;
    border-bottom-color: #ef4056 !important;
}

/* Notice Box inside Modal */
html.dark-theme .dk-city-modal-sync-notice {
    background: #0f172a !important;
    border: 1px solid #1e3a8a !important;
    color: #93c5fd !important;
}

html.dark-theme .dk-city-modal-sync-notice svg {
    stroke: #38bdf8 !important;
}

/* TAB 1: Saved Address Cards */
html.dark-theme .ps-modal-addr-card {
    background: #1e293b !important;
    border: 1.5px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-modal-addr-card:hover {
    background: #273549 !important;
    border-color: #475569 !important;
}

html.dark-theme .ps-modal-addr-card.is-active {
    background: #1e1115 !important;
    border-color: #ef394e !important;
    box-shadow: 0 4px 16px rgba(239, 57, 78, 0.25) !important;
}

html.dark-theme .ps-mac-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-mac-city-badge {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #94a3b8 !important;
}

html.dark-theme .ps-badge-active-addr {
    background: #064e3b !important;
    color: #6ee7b7 !important;
    border: 1px solid #059669 !important;
}

html.dark-theme .ps-badge-default-addr {
    background: #1e3a8a !important;
    color: #93c5fd !important;
    border: 1px solid #2563eb !important;
}

html.dark-theme .ps-mac-address {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-mac-postcode,
html.dark-theme .ps-mac-recipient {
    color: #94a3b8 !important;
}

html.dark-theme .ps-mac-recipient strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-mac-sep {
    color: #475569 !important;
}

html.dark-theme .ps-modal-no-addresses p {
    color: #94a3b8 !important;
}

/* Add New Address Button */
html.dark-theme .ps-btn-show-add-address {
    background: #0f172a !important;
    border: 1.5px dashed #ef394e !important;
    color: #f87171 !important;
}

html.dark-theme .ps-btn-show-add-address:hover {
    background: #1e1115 !important;
    color: #ef394e !important;
    border-style: solid !important;
}

/* Add New Address Inline Form */
html.dark-theme .ps-modal-add-form {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .ps-maf-head {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .ps-maf-head h4 {
    color: #f8fafc !important;
}

html.dark-theme .ps-maf-cancel-btn {
    color: #94a3b8 !important;
}

html.dark-theme .ps-maf-cancel-btn:hover {
    color: #ef4056 !important;
}

html.dark-theme .ps-maf-field label {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-maf-field input,
html.dark-theme .ps-maf-field select,
html.dark-theme .ps-maf-field textarea {
    background: #111827 !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-maf-field input:focus,
html.dark-theme .ps-maf-field select:focus,
html.dark-theme .ps-maf-field textarea:focus {
    border-color: #ef4056 !important;
    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.2) !important;
}

html.dark-theme .ps-checkbox-label {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-btn-save-new-addr {
    background: #ef394e !important;
    color: #ffffff !important;
}

html.dark-theme .ps-btn-dismiss-new-addr {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-btn-dismiss-new-addr:hover {
    background: #334155 !important;
    color: #f8fafc !important;
}

/* TAB 2: Quick Province & City Selector */
html.dark-theme .dk-city-search-wrap input {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-city-search-wrap input:focus {
    border-color: #ef4056 !important;
    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.2) !important;
}

html.dark-theme .dk-city-search-icon svg {
    stroke: #94a3b8 !important;
}

html.dark-theme .dk-popular-title {
    color: #94a3b8 !important;
}

html.dark-theme .dk-popular-city-chips .dk-city-chip {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-popular-city-chips .dk-city-chip:hover {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
}

html.dark-theme .dk-province-accordion {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-province-head {
    color: #cbd5e1 !important;
}

html.dark-theme .dk-province-head:hover,
html.dark-theme .dk-province-head.open {
    color: #ef394e !important;
    background: #1e293b !important;
    border-radius: 8px !important;
}

html.dark-theme .dk-province-cities {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .dk-city-select-btn {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-city-select-btn:hover {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
}


/* ==========================================================================
   11. Floating Support Widget & Dropdown (پشتیبانی شناور) Dark Mode
   ========================================================================== */

/* Floating Trigger Button */
html.dark-theme .ps-support-trigger {
    background: linear-gradient(135deg, #ef394e 0%, #b80d28 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(239, 57, 78, 0.45) !important;
}

html.dark-theme .ps-support-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(239, 57, 78, 0.6) !important;
}

/* Floating Dropdown Card */
html.dark-theme .ps-support-dropdown {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65) !important;
}

html.dark-theme .ps-support-head {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .ps-support-head strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-support-head small {
    color: #94a3b8 !important;
}

/* Support Channel Items (Phone, WA, TG, Eitaa) */
html.dark-theme .ps-support-item {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
    transition: all 0.2s ease !important;
    border-radius: 10px !important;
}

html.dark-theme .ps-support-item:hover {
    background: #1e293b !important;
    border-color: #334155 !important;
    transform: translateX(-3px);
}

html.dark-theme .ps-sup-text strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-sup-text small {
    color: #94a3b8 !important;
}

/* Specific Channel Accents in Dark Mode */
html.dark-theme .ps-support-item.item-call:hover {
    border-color: #38bdf8 !important;
}

html.dark-theme .ps-support-item.item-wa:hover {
    border-color: #22c55e !important;
}

html.dark-theme .ps-support-item.item-tg:hover {
    border-color: #0ea5e9 !important;
}

html.dark-theme .ps-support-item.item-eitaa:hover {
    border-color: #f97316 !important;
}

/* Floating Back-to-Top Button */
html.dark-theme .ps-back-to-top-wrap .ps-back-to-top,
html.dark-theme #ps-back-to-top,
html.dark-theme .ps-back-to-top-btn {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

html.dark-theme .ps-back-to-top-wrap .ps-back-to-top:hover,
html.dark-theme #ps-back-to-top:hover,
html.dark-theme .ps-back-to-top-btn:hover {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
}


/* ==========================================================================
   12. Single Product Page Comprehensive Dark Mode Overhaul (صفحه محصول تکی)
   ========================================================================== */

/* 1. Smart Recommendations (پیشنهادهای هوشمند مکمل) */
html.dark-theme #persianshop-smart-recommendations-wrap {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}

html.dark-theme .ps-sr-header {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .ps-sr-title-wrap .ps-sr-icon-circle {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: #38bdf8 !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .ps-sr-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-sr-subtitle {
    color: #94a3b8 !important;
}

html.dark-theme .ps-sr-ai-badge {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

html.dark-theme .ps-sr-card {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .ps-sr-card:hover {
    background: #1e293b !important;
    border-color: #334155 !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45) !important;
}

html.dark-theme .ps-sr-match-badge {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
}

html.dark-theme .ps-sr-thumb-wrap {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .ps-sr-card-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-sr-old-price {
    color: #64748b !important;
}

html.dark-theme .ps-sr-current-amount {
    color: #f8fafc !important;
}

html.dark-theme .ps-sr-currency {
    color: #94a3b8 !important;
}

/* 2. Bundle & Frequently Bought Together (خرید پکیج هم‌زمان) */
html.dark-theme .ps-fbt-bundle-container {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}

html.dark-theme .ps-fbt-header {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .ps-fbt-icon-circle {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: #ef4444 !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .ps-fbt-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-fbt-subtitle {
    color: #94a3b8 !important;
}

html.dark-theme .ps-fbt-thumb-card {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .ps-fbt-thumb-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-fbt-thumb-price {
    color: #38bdf8 !important;
}

html.dark-theme .ps-fbt-pricing-box {
    background: #0f172a !important;
    border: 1px dashed #334155 !important;
}

html.dark-theme .ps-fbt-price-label {
    color: #94a3b8 !important;
}

html.dark-theme .ps-fbt-price-val.strike {
    color: #64748b !important;
}

html.dark-theme .ps-fbt-final-val {
    color: #ef4444 !important;
}

/* 3. BNPL Installment Widget (محاسبه‌گر اقساط اسنپ‌پی / دیجی‌پی) */
html.dark-theme .ps-bnpl-widget {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme .ps-bnpl-widget:hover {
    border-color: #334155 !important;
}

html.dark-theme .ps-bnpl-header {
    border-bottom: 1px dashed #1f2937 !important;
}

html.dark-theme .ps-bnpl-badge {
    background: rgba(99, 102, 241, 0.15) !important;
    color: #818cf8 !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

html.dark-theme .ps-bnpl-sub {
    color: #94a3b8 !important;
}

html.dark-theme .ps-bnpl-info-btn {
    color: #38bdf8 !important;
}

html.dark-theme .ps-bnpl-label {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-bnpl-value {
    color: #f8fafc !important;
}

html.dark-theme .ps-bnpl-curr {
    color: #94a3b8 !important;
}

html.dark-theme .ps-bnpl-period {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
}

html.dark-theme .ps-bnpl-pill {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .ps-bnpl-pill:hover,
html.dark-theme .ps-bnpl-pill.active {
    background: #1e293b !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme .ps-bnpl-timeline {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .ps-step-num {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-bnpl-step.active .ps-step-num {
    color: #38bdf8 !important;
}

html.dark-theme .ps-step-time {
    color: #94a3b8 !important;
}

html.dark-theme .ps-bnpl-line {
    background: #1f2937 !important;
}

/* BNPL Modal */
html.dark-theme .ps-bnpl-modal-box {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-bnpl-modal-header {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .ps-bnpl-modal-header h3 {
    color: #f8fafc !important;
}

html.dark-theme .ps-bnpl-modal-close {
    color: #94a3b8 !important;
}

html.dark-theme .ps-bnpl-modal-close:hover {
    color: #ef4444 !important;
}

html.dark-theme .ps-feature-card {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .ps-feature-card strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-feature-card p {
    color: #94a3b8 !important;
}

html.dark-theme .ps-steps-list {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-bnpl-modal-body button,
html.dark-theme .ps-bnpl-modal-footer button {
    background: #1e293b !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
}

/* 4. Delivery Range Estimator (تخمین زمان ارسال) */
html.dark-theme .ps-delivery-estimator-card {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
}

html.dark-theme .ps-dec-top-row {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .ps-dec-badge {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

html.dark-theme .ps-dec-timer-wrap {
    color: #94a3b8 !important;
}

html.dark-theme .ps-dec-timer {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

html.dark-theme .ps-dec-item {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .ps-dec-icon {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #38bdf8 !important;
}

html.dark-theme .ps-dec-label {
    color: #f8fafc !important;
}

html.dark-theme .ps-dec-date {
    color: #38bdf8 !important;
}

html.dark-theme .ps-dec-footer {
    border-top: 1px solid #1f2937 !important;
    color: #94a3b8 !important;
}

/* 5. Subscribe & Save Widget (خرید منظم و هوشمند) */
html.dark-theme .ps-sub-save-widget {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .ps-ss-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-ss-subtitle {
    color: #94a3b8 !important;
}

html.dark-theme .ps-ss-option {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html.dark-theme .ps-ss-option.active {
    background: #1e1b4b !important;
    border-color: #6366f1 !important;
}

html.dark-theme .ps-ss-opt-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-ss-opt-desc {
    color: #94a3b8 !important;
}

html.dark-theme .ps-ss-sub-selector {
    border-top: 1px solid #1f2937 !important;
}

html.dark-theme .ps-ss-select {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* 6. City Shipping Calculator & Free Shipping Meter */
html.dark-theme .ps-product-shipping-goal-pill {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(56, 189, 248, 0.12) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-psg-icon {
    background: #1e293b !important;
    color: #38bdf8 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .ps-psg-title,
html.dark-theme .ps-psg-title.ps-psg-free {
    color: #34d399 !important;
}

html.dark-theme .ps-psg-sub {
    color: #94a3b8 !important;
}

html.dark-theme .ps-city-shipping-toggle-btn {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-city-shipping-toggle-btn:hover,
html.dark-theme .ps-city-shipping-toggle-btn.open {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

html.dark-theme #persianshop-shipping-estimator-wrap {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
}

html.dark-theme #persianshop-shipping-estimator-wrap span {
    color: #cbd5e1 !important;
}

html.dark-theme #ps-shipping-city-select {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme #ps-shipping-result-box {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

html.dark-theme #ps-shipping-methods-list > div {
    border-bottom: 1px dashed #334155 !important;
}

html.dark-theme #ps-shipping-methods-list span {
    color: #cbd5e1 !important;
}

/* 7. Buybox Utilities & Actions */
html.dark-theme .ps-product-gift-hint {
    background: rgba(236, 72, 153, 0.12) !important;
    border: 1px solid rgba(236, 72, 153, 0.3) !important;
    color: #f472b6 !important;
}

html.dark-theme .ps-single-product-proforma-btn {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-single-product-proforma-btn:hover {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

/* 8. Tabs Empty States (Reviews & Q&A) */
html.dark-theme .dk-noreviews-empty {
    background: #0f172a !important;
    border: 1px dashed #334155 !important;
    color: #94a3b8 !important;
}

html.dark-theme .dk-noreviews-empty svg {
    stroke: #64748b !important;
}

html.dark-theme .dk-qa-empty-state {
    background: #0f172a !important;
    border: 1px dashed #334155 !important;
}

html.dark-theme .dk-qa-empty-state h4 {
    color: #f8fafc !important;
}

html.dark-theme .dk-qa-empty-state p {
    color: #94a3b8 !important;
}

/* 9. Universal Modal Box & Overlay */
html.dark-theme .dk-modal-box {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7) !important;
}

html.dark-theme .dk-modal-header {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-modal-header-title h3 {
    color: #f8fafc !important;
}

html.dark-theme .dk-modal-close {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #94a3b8 !important;
}

html.dark-theme .dk-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

/* 10. Price Chart Modal */
html.dark-theme .dk-chart-product-title {
    color: #f8fafc !important;
}

html.dark-theme .dk-chart-subtitle-note {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
    color: #94a3b8 !important;
}

html.dark-theme .dk-period-btn {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .dk-period-btn.active {
    background: #ef394e !important;
    color: #ffffff !important;
    border-color: #ef394e !important;
}

html.dark-theme .dk-chart-stats-grid {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .dk-chart-stat-item span {
    color: #94a3b8 !important;
}

html.dark-theme .dk-chart-stat-item strong {
    color: #f8fafc !important;
}

html.dark-theme .dk-chart-canvas-wrap {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

/* 11. Compare Modal */
html.dark-theme #dk-compare-search-input {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-compare-table {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .dk-compare-table th,
html.dark-theme .dk-compare-table td {
    border-color: #1f2937 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-compare-table .dk-highlight-col {
    background: #1e293b !important;
    color: #f8fafc !important;
}

/* 12. Alert & Ask Question Modals */
html.dark-theme .dk-alert-modal-box input,
html.dark-theme .dk-qa-modal-box input,
html.dark-theme .dk-qa-modal-box textarea {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-alert-modal-box label,
html.dark-theme .dk-qa-modal-box label {
    color: #cbd5e1 !important;
}

html.dark-theme .dk-modal-desc {
    color: #94a3b8 !important;
}

/* 13. Fullscreen Lightbox */
html.dark-theme .dk-lightbox-container {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-lightbox-top-bar {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-lb-heading {
    color: #f8fafc !important;
}

html.dark-theme .dk-lightbox-counter {
    background: #1e293b !important;
    color: #94a3b8 !important;
}

html.dark-theme .dk-lb-action-btn,
html.dark-theme .dk-lb-nav-btn {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-lb-thumb-item {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .dk-lb-thumb-item.active {
    border-color: #ef394e !important;
}

/* 14. Proforma Modal & Post-Add Drawer */
html.dark-theme .ps-proforma-modal-box {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-buyer-type-tabs {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .ps-buyer-type-btn {
    color: #94a3b8 !important;
}

html.dark-theme .ps-buyer-type-btn.is-active {
    background: #1e293b !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-form-group input,
html.dark-theme .ps-form-group select {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-form-group label {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-postadd-drawer {
    background: #111827 !important;
    border-right: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-postadd-header {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .ps-postadd-item-card {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .ps-postadd-thumb {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .ps-postadd-item-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-postadd-footer {
    background: #0f172a !important;
    border-top: 1px solid #1f2937 !important;
}

/* 15. Sticky Add-to-Cart Bar */
html.dark-theme .dk-sticky-buy-bar {
    background: #111827 !important;
    border-top: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
}


/* ==========================================================================
   13. Product Comparison Page (صفحه مقایسه کالا) Dark Mode Overhaul
   ========================================================================== */

/* 1. Page Container & Typography */
html.dark-theme .dk-compare-page {
    background: #0b1120 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .dk-compare-main-title {
    color: #f8fafc !important;
}

html.dark-theme .dk-compare-sub {
    color: #94a3b8 !important;
}

html.dark-theme .dk-compare-breadcrumb {
    color: #64748b !important;
}

html.dark-theme .dk-compare-breadcrumb a {
    color: #94a3b8 !important;
}

html.dark-theme .dk-compare-breadcrumb a:hover {
    color: #ef394e !important;
}

/* 2. Compare Toolbar */
html.dark-theme .dk-compare-toolbar {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

html.dark-theme .dk-comp-tool-btn {
    background: #1e293b !important;
    border: 1.5px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-comp-tool-btn:hover {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

html.dark-theme .dk-comp-tool-btn.danger {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #f87171 !important;
}

html.dark-theme .dk-comp-tool-btn.danger:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

html.dark-theme .dk-compare-diff-toggle {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-compare-diff-toggle:hover {
    background: #334155 !important;
}

html.dark-theme .dk-diff-slider {
    background-color: #334155 !important;
}

html.dark-theme .dk-diff-slider::before {
    background-color: #f8fafc !important;
}

html.dark-theme .dk-compare-diff-toggle input:checked + .dk-diff-slider {
    background-color: #ef394e !important;
}

/* 3. Matrix Table Wrapper */
html.dark-theme .dk-compare-matrix-wrapper {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}

html.dark-theme .dk-compare-table-matrix thead th {
    background: #111827 !important;
    border-bottom: 2px solid #1f2937 !important;
}

html.dark-theme .dk-comp-label-col {
    background: #111827 !important;
    border-left: 1px solid #1f2937 !important;
    border-bottom: 2px solid #1f2937 !important;
}

html.dark-theme .dk-comp-label-header-box {
    color: #f8fafc !important;
}

html.dark-theme .dk-comp-prod-col {
    background: #111827 !important;
    border-left: 1px solid #1f2937 !important;
    border-bottom: 2px solid #1f2937 !important;
}

html.dark-theme .dk-comp-add-col {
    background: #0f172a !important;
    border-left: 1px solid #1f2937 !important;
    border-bottom: 2px solid #1f2937 !important;
}

html.dark-theme .dk-comp-thumb-wrap {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .dk-comp-card-title a {
    color: #f8fafc !important;
}

html.dark-theme .dk-comp-card-title a:hover {
    color: #ef394e !important;
}

html.dark-theme .dk-comp-cur-price-row strong {
    color: #f8fafc !important;
}

html.dark-theme .dk-comp-cur-price-row small {
    color: #94a3b8 !important;
}

html.dark-theme .dk-comp-old-price-row del {
    color: #64748b !important;
}

html.dark-theme .dk-comp-btn-remove {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #94a3b8 !important;
}

html.dark-theme .dk-comp-btn-remove:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

/* 4. Add Product Placeholder Slot */
html.dark-theme .dk-comp-add-placeholder {
    background: #0f172a !important;
    border: 2px dashed #334155 !important;
}

html.dark-theme .dk-comp-add-placeholder:hover {
    background: #1e293b !important;
    border-color: #ef394e !important;
}

html.dark-theme .dk-add-icon-circle {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #ef394e !important;
}

html.dark-theme .dk-add-title {
    color: #f8fafc !important;
}

html.dark-theme .dk-add-sub {
    color: #94a3b8 !important;
}

/* 5. Matrix Table Cells & Sections */
html.dark-theme .dk-comp-section-row td {
    background: #0f172a !important;
    border-top: 1px solid #1f2937 !important;
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-section-badge {
    color: #38bdf8 !important;
}

html.dark-theme .dk-comp-label-cell {
    background: #111827 !important;
    border-left: 1px solid #1f2937 !important;
    border-bottom: 1px solid #1f2937 !important;
    color: #94a3b8 !important;
}

html.dark-theme .dk-comp-val-cell {
    background: #0f172a !important;
    border-left: 1px solid #1f2937 !important;
    border-bottom: 1px solid #1f2937 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-comp-empty-cell {
    background: #0f172a !important;
    border-left: 1px solid #1f2937 !important;
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-comp-features-list li {
    color: #cbd5e1 !important;
}

html.dark-theme .dk-empty-spec {
    color: #64748b !important;
}

html.dark-theme .dk-satisfaction-pill {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

html.dark-theme .dk-star-rating {
    color: #fbbf24 !important;
}

html.dark-theme .dk-stock-pill.in-stock {
    color: #34d399 !important;
}

/* 6. Highlight Differences */
html.dark-theme .dk-comp-spec-row.is-different-row.highlight-diff {
    background-color: rgba(245, 158, 11, 0.08) !important;
}

html.dark-theme .dk-comp-spec-row.is-different-row.highlight-diff .dk-comp-label-cell {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border-right: 3px solid #f59e0b !important;
}

html.dark-theme .dk-diff-indicator {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
}

/* 7. Suggestions Box */
html.dark-theme .dk-compare-suggestions-box {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

html.dark-theme .dk-comp-sug-header h3 {
    color: #f8fafc !important;
}

html.dark-theme .dk-comp-sug-sub {
    color: #94a3b8 !important;
}

html.dark-theme .dk-comp-sug-card {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .dk-comp-sug-card:hover {
    background: #1e293b !important;
    border-color: #334155 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
}

html.dark-theme .dk-comp-sug-card img {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 8px !important;
    padding: 4px !important;
}

html.dark-theme .dk-comp-sug-info h4 {
    color: #f8fafc !important;
}

html.dark-theme .dk-comp-sug-info span {
    color: #38bdf8 !important;
}

html.dark-theme .dk-btn-add-sug-to-comp {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-btn-add-sug-to-comp:hover {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
}

/* 8. Compare Search Modal */
html.dark-theme .dk-compare-modal-overlay .dk-compare-modal-box {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    color: #cbd5e1 !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75) !important;
}

html.dark-theme .dk-compare-modal-overlay .dk-modal-head {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-compare-modal-overlay .dk-modal-title {
    color: #f8fafc !important;
}

html.dark-theme .dk-compare-modal-overlay .dk-modal-close {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #94a3b8 !important;
}

html.dark-theme .dk-compare-modal-overlay .dk-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

html.dark-theme .dk-compare-input-box input {
    background: #0f172a !important;
    border: 1.5px solid #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-compare-input-box input:focus {
    border-color: #ef394e !important;
    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.2) !important;
}

html.dark-theme .dk-compare-modal-overlay .dk-compare-search-results {
    background: #0f172a !important;
    border: 1px solid #1f2937 !important;
}

html.dark-theme .dk-comp-suggest-item {
    border-bottom: 1px solid #1f2937 !important;
}

html.dark-theme .dk-comp-suggest-item:hover {
    background-color: #1e293b !important;
}

html.dark-theme .dk-comp-suggest-item img {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .dk-comp-suggest-info strong {
    color: #f8fafc !important;
}

html.dark-theme .dk-search-loading,
html.dark-theme .dk-search-no-result {
    color: #94a3b8 !important;
}

/* 9. Empty Compare State */
html.dark-theme .dk-compare-empty-state {
    background: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme .dk-compare-empty-state h3 {
    color: #f8fafc !important;
}

html.dark-theme .dk-compare-empty-state p {
    color: #94a3b8 !important;
}



/* ==========================================================================
   Section 14: Customer Account & Dashboard Portals Dark Mode Overhaul
   ========================================================================== */

/* 1. WooCommerce Notices, Alerts & Verification Boxes */
html.dark-theme .woocommerce-info,
html.dark-theme .woocommerce-notice--info {
    background: rgba(30, 58, 138, 0.22) !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
    color: #93c5fd !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    border-radius: 12px !important;
}

html.dark-theme .woocommerce-info::before,
html.dark-theme .woocommerce-notice--info::before {
    color: #60a5fa !important;
}

html.dark-theme .woocommerce-info a,
html.dark-theme .woocommerce-notice--info a {
    color: #bfdbfe !important;
}

html.dark-theme .woocommerce-info a.button,
html.dark-theme .woocommerce-info a.button.wc-forward,
html.dark-theme .woocommerce-notice--info a.button,
html.dark-theme .woocommerce-notice--info a.button.wc-forward,
html.dark-theme .woocommerce-info button.button {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

html.dark-theme .woocommerce-info a.button:hover,
html.dark-theme .woocommerce-info a.button.wc-forward:hover,
html.dark-theme .woocommerce-notice--info a.button:hover,
html.dark-theme .woocommerce-notice--info a.button.wc-forward:hover,
html.dark-theme .woocommerce-info button.button:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
}

html.dark-theme .woocommerce-message,
html.dark-theme .woocommerce-notice--success {
    background: rgba(16, 185, 129, 0.18) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #6ee7b7 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    border-radius: 12px !important;
}

html.dark-theme .woocommerce-message::before,
html.dark-theme .woocommerce-notice--success::before {
    color: #10b981 !important;
}

html.dark-theme .woocommerce-message a.button,
html.dark-theme .woocommerce-notice--success a.button {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
}

html.dark-theme .woocommerce-message a.button:hover,
html.dark-theme .woocommerce-notice--success a.button:hover {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
}

html.dark-theme .woocommerce-error,
html.dark-theme .woocommerce-notice--error {
    background: rgba(239, 68, 68, 0.18) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #fca5a5 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    border-radius: 12px !important;
}

html.dark-theme .woocommerce-error::before,
html.dark-theme .woocommerce-notice--error::before {
    color: #ef4444 !important;
}

html.dark-theme .woocommerce-error a.button,
html.dark-theme .woocommerce-notice--error a.button {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
}

html.dark-theme .woocommerce-error a.button:hover,
html.dark-theme .woocommerce-notice--error a.button:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
}

/* 2. Dashboard 3 Bottom Shortcut Cards */
html.dark-theme .dk-dashboard-shortcuts {
    gap: 16px !important;
}

html.dark-theme .dk-shortcut-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

html.dark-theme .dk-shortcut-card:hover {
    background: #1c2433 !important;
    border-color: #ef394e !important;
    box-shadow: 0 8px 24px rgba(239, 57, 78, 0.18) !important;
    transform: translateY(-2px) !important;
}

html.dark-theme .dk-shortcut-icon {
    background: rgba(239, 57, 78, 0.15) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 57, 78, 0.25) !important;
}

html.dark-theme .dk-shortcut-body h4 {
    color: #f8fafc !important;
}

html.dark-theme .dk-shortcut-body p {
    color: #94a3b8 !important;
}

/* 3. Account Login & Registration Form Card */
html.dark-theme .dk-login-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme .dk-login-heading {
    color: #f8fafc !important;
}

html.dark-theme .dk-login-sub {
    color: #94a3b8 !important;
}

html.dark-theme .dk-auth-tabs {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .dk-auth-tab-btn {
    color: #94a3b8 !important;
}

html.dark-theme .dk-auth-tab-btn.active {
    background: #1e293b !important;
    color: #f8fafc !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .dk-form-row label {
    color: #cbd5e1 !important;
}

html.dark-theme .dk-form-input,
html.dark-theme .woocommerce-form-login input.input-text {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}

html.dark-theme .dk-form-input:focus,
html.dark-theme .woocommerce-form-login input.input-text:focus {
    border-color: #ef394e !important;
    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.2) !important;
}

html.dark-theme .dk-remember-me label {
    color: #94a3b8 !important;
}

html.dark-theme .dk-login-terms {
    color: #64748b !important;
}

/* 4. Subscribe & Save Customer Portal */
html.dark-theme .ps-my-subscriptions-wrap {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-sub-portal-header {
    background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .ps-sph-icon {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #818cf8 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

html.dark-theme .ps-sph-content h2 {
    color: #f8fafc !important;
}

html.dark-theme .ps-sph-content p {
    color: #94a3b8 !important;
}

html.dark-theme .ps-sph-badge {
    background: #4f46e5 !important;
    color: #ffffff !important;
}

html.dark-theme .ps-sub-stat-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

html.dark-theme .ps-stat-label {
    color: #94a3b8 !important;
}

html.dark-theme .ps-stat-value {
    color: #f1f5f9 !important;
}

html.dark-theme .ps-sub-management-box {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .ps-smb-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-smb-icon-title {
    background: rgba(79, 70, 229, 0.2) !important;
    color: #a5b4fc !important;
    border: 1px solid rgba(79, 70, 229, 0.3) !important;
}

html.dark-theme .ps-smb-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-smb-subtitle {
    color: #94a3b8 !important;
}

html.dark-theme .ps-smb-counter {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-sub-item-card {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

html.dark-theme .ps-sub-item-card:hover {
    background: #161d2d !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .ps-sub-item-card.paused {
    background: #0f141f !important;
    opacity: 0.85;
}

html.dark-theme .ps-sub-prod-thumb {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

html.dark-theme .ps-sub-prod-thumb.detergent {
    background: rgba(14, 165, 233, 0.15) !important;
    border-color: rgba(14, 165, 233, 0.35) !important;
}

html.dark-theme .ps-sub-prod-thumb.coffee {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
}

html.dark-theme .ps-sub-prod-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-sub-submeta {
    color: #94a3b8 !important;
}

html.dark-theme .ps-sub-id-pill {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-badge-status.active {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

html.dark-theme .ps-badge-status.paused {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

html.dark-theme .ps-badge-status.cancelled {
    background: rgba(239, 68, 68, 0.18) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

html.dark-theme .ps-sub-matrix {
    background: #0d111a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-mb-title {
    color: #94a3b8 !important;
}

html.dark-theme .ps-mb-val {
    color: #f1f5f9 !important;
}

html.dark-theme .ps-matrix-box.highlight {
    background: rgba(79, 70, 229, 0.2) !important;
    border: 1px solid rgba(79, 70, 229, 0.3) !important;
}

html.dark-theme .ps-matrix-box.highlight .ps-mb-val {
    color: #a5b4fc !important;
}

html.dark-theme .ps-sub-actions-row {
    border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
}

html.dark-theme .ps-btn-action {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
}

html.dark-theme .ps-btn-action:hover {
    background: #273549 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

html.dark-theme .ps-btn-ship-now {
    background: rgba(79, 70, 229, 0.22) !important;
    border: 1px solid rgba(99, 102, 241, 0.4) !important;
    color: #c7d2fe !important;
}

html.dark-theme .ps-btn-ship-now:hover {
    background: rgba(79, 70, 229, 0.35) !important;
    color: #ffffff !important;
}

html.dark-theme .ps-btn-cancel-sub {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #fca5a5 !important;
}

html.dark-theme .ps-btn-cancel-sub:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    color: #ffffff !important;
}

html.dark-theme .ps-sub-freq-changer {
    color: #94a3b8 !important;
}

html.dark-theme .ps-sub-freq-select {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #f1f5f9 !important;
}

html.dark-theme .ps-sub-suggestions-wrap {
    background: linear-gradient(135deg, #052416 0%, #0d1e18 100%) !important;
    border: 1.5px solid rgba(34, 197, 94, 0.35) !important;
}

html.dark-theme .ps-sug-title {
    color: #4ade80 !important;
}

html.dark-theme .ps-sug-subtitle {
    color: #86efac !important;
}

html.dark-theme .ps-sug-badge {
    background: #16a34a !important;
    color: #ffffff !important;
}

html.dark-theme .ps-sug-card {
    background: #111622 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

html.dark-theme .ps-sug-card:hover {
    border-color: #22c55e !important;
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.15) !important;
}

html.dark-theme .ps-sug-pname {
    color: #f8fafc !important;
}

html.dark-theme .ps-sug-freq {
    color: #94a3b8 !important;
}

html.dark-theme .ps-sug-card-bot {
    border-top: 1px dashed rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-sug-price-val {
    color: #4ade80 !important;
}

html.dark-theme .ps-sug-price-col del {
    color: #64748b !important;
}

html.dark-theme .ps-btn-add-suggested {
    background: #16a34a !important;
    color: #ffffff !important;
}

html.dark-theme .ps-btn-add-suggested:hover {
    background: #15803d !important;
}

html.dark-theme .ps-sub-guide-box {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-guide-text strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-guide-text p {
    color: #94a3b8 !important;
}

html.dark-theme .ps-btn-reset-demo {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

/* Subscriptions Cancel Modal */
html.dark-theme .ps-modal-backdrop {
    background: rgba(0, 0, 0, 0.75) !important;
}

html.dark-theme .ps-modal-container {
    background: #161c28 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7) !important;
}

html.dark-theme .ps-modal-close {
    background: #1e293b !important;
    color: #94a3b8 !important;
}

html.dark-theme .ps-modal-close:hover {
    background: #334155 !important;
    color: #ffffff !important;
}

html.dark-theme .ps-modal-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-modal-desc {
    color: #94a3b8 !important;
}

html.dark-theme .ps-modal-radio-item {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-modal-radio-item:hover {
    border-color: rgba(239, 68, 68, 0.4) !important;
    background: #18202f !important;
}

html.dark-theme .ps-modal-custom-reason-input {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f1f5f9 !important;
}

html.dark-theme .ps-modal-btn.secondary {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html.dark-theme .ps-modal-btn.secondary:hover {
    background: #283548 !important;
    color: #ffffff !important;
}

html.dark-theme .ps-modal-item-box {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-mib-label {
    color: #94a3b8 !important;
}

html.dark-theme .ps-mib-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-mib-id {
    color: #818cf8 !important;
}

html.dark-theme .ps-modal-alt-tip {
    background: rgba(245, 158, 11, 0.15) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

html.dark-theme .ps-mat-title {
    color: #fbbf24 !important;
}

html.dark-theme .ps-modal-alt-tip p {
    color: #fde68a !important;
}

html.dark-theme .ps-mbtn-pause {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fde68a !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

html.dark-theme .ps-mbtn-pause:hover {
    background: rgba(245, 158, 11, 0.3) !important;
}

html.dark-theme .ps-mbtn-cancel {
    background: transparent !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

html.dark-theme .ps-mbtn-cancel:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ffffff !important;
}

/* 5. Digital License Vault Customer Portal */
html.dark-theme .ps-lic-empty-card strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-lic-empty-card p {
    color: #94a3b8 !important;
}
html.dark-theme .ps-admin-tab {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-admin-tab:hover {
    background: #283548 !important;
    color: #ffffff !important;
}

html.dark-theme .ps-admin-tab.active {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

html.dark-theme .ps-lic-empty-card {
    background: #151b26 !important;
    border: 2px dashed rgba(255, 255, 255, 0.15) !important;
    color: #94a3b8 !important;
}

html.dark-theme .ps-lic-toolbar {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

html.dark-theme .ps-lic-counter span {
    color: #94a3b8 !important;
}

html.dark-theme .ps-lic-counter strong {
    color: #38bdf8 !important;
}

html.dark-theme .ps-lic-search-input {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f1f5f9 !important;
}

html.dark-theme .ps-lic-search-input:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

html.dark-theme .ps-lic-card-item {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

html.dark-theme .ps-lic-card-item:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.15) !important;
}

html.dark-theme .ps-lic-prod-icon {
    background: rgba(2, 132, 199, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: #38bdf8 !important;
}

html.dark-theme .ps-lic-prod-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-lic-submeta {
    color: #94a3b8 !important;
}

html.dark-theme .ps-lic-submeta a {
    color: #38bdf8 !important;
}

html.dark-theme .ps-lic-badge-active {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

html.dark-theme .ps-lic-key-box {
    background: #090d16 !important;
    border: 1.5px dashed #38bdf8 !important;
}

html.dark-theme .ps-lic-key-label {
    color: #94a3b8 !important;
}

html.dark-theme .ps-lic-code-val {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #34d399 !important;
}

html.dark-theme .ps-lic-code-val:hover {
    border-color: #38bdf8 !important;
    background: #16243b !important;
}

html.dark-theme .ps-btn-copy-license {
    background: #0284c7 !important;
    color: #ffffff !important;
}

html.dark-theme .ps-btn-copy-license:hover {
    background: #0369a1 !important;
}

html.dark-theme .ps-lic-guide-snippet {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

html.dark-theme .ps-lic-guide-snippet strong {
    color: #e2e8f0 !important;
}

html.dark-theme .ps-lic-guide-snippet code {
    background: #1e293b !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}



/* ==========================================================================
   Section 15: Desktop Guard, Dokan/Admin Isolation, RMA, Addresses, VIP Support & Club Overhaul
   ========================================================================== */

/* 1. Desktop & Dokan/Admin Mobile Elements Guard */
@media (min-width: 768px) {
    body:not(.ps-is-mobile-view) .dk-mobile-bottom-bar,
    body:not(.ps-is-mobile-view) .ps-mobile-app-nav,
    body:not(.ps-is-mobile-view) .ps-mobile-header-bar,
    body:not(.ps-is-mobile-view) .ps-mobile-app-footer {
        display: none !important;
    }
    body:not(.ps-is-mobile-view) {
        padding-bottom: 0 !important;
    }
}

@media (min-width: 1025px) {
    .dk-mobile-bottom-bar,
    .ps-mobile-app-nav,
    .ps-mobile-header-bar,
    .ps-mobile-app-footer {
        display: none !important;
    }
    body {
        padding-bottom: 0 !important;
    }
    .dk-header-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
}

.dokan-dashboard .dk-mobile-bottom-bar,
.dokan-dashboard .ps-mobile-app-nav,
.dokan-dashboard .ps-mobile-header-bar,
.dokan-dashboard .ps-mobile-app-footer,
.dokan-dashboard-wrap .dk-mobile-bottom-bar,
body.wp-admin .dk-mobile-bottom-bar,
body.wp-admin .ps-mobile-app-nav,
body.wp-admin .ps-mobile-header-bar {
    display: none !important;
}

.dokan-dashboard,
.dokan-dashboard-wrap,
body.wp-admin {
    padding-bottom: 0 !important;
}

/* 2. RMA & Shoe Size Return/Exchange Portal */
html.dark-theme .ps-rma-portal-wrap {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-rma-header-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .ps-rma-header-text .ps-rma-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-rma-header-text .ps-rma-subtitle {
    color: #94a3b8 !important;
}

html.dark-theme .ps-rma-icon-badge {
    background: rgba(239, 57, 78, 0.18) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 57, 78, 0.25) !important;
}

html.dark-theme .ps-rma-guarantee-col {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

html.dark-theme .ps-rma-guarantee-col strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-rma-guarantee-col span {
    color: #94a3b8 !important;
}

html.dark-theme .ps-rma-section-title h3 {
    color: #f8fafc !important;
}

html.dark-theme .ps-rma-count-badge {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Requests Table */
html.dark-theme .ps-rma-table-wrap {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

html.dark-theme .ps-rma-table {
    background: #151b26 !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-rma-table th {
    background: #111622 !important;
    color: #94a3b8 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-rma-table td {
    background: #151b26 !important;
    color: #e2e8f0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html.dark-theme .ps-rma-table tr:hover td {
    background: #1a2230 !important;
}

html.dark-theme .ps-rma-req-code {
    color: #38bdf8 !important;
    background: #1e293b !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

html.dark-theme .ps-rma-size-val {
    color: #60a5fa !important;
    font-weight: 700 !important;
}

/* Eligible Orders Cards */
html.dark-theme .ps-rma-order-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

html.dark-theme .ps-rma-order-card:hover {
    border-color: #ef394e !important;
    box-shadow: 0 6px 20px rgba(239, 57, 78, 0.15) !important;
}

html.dark-theme .ps-rma-order-header {
    background: #111622 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-rma-order-header strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-rma-order-header span {
    color: #94a3b8 !important;
}

html.dark-theme .ps-rma-prod-thumb {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html.dark-theme .ps-rma-item-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-rma-item-meta {
    color: #94a3b8 !important;
}

html.dark-theme .ps-rma-btn-exchange-sm {
    background: rgba(239, 57, 78, 0.15) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 57, 78, 0.3) !important;
}

html.dark-theme .ps-rma-btn-exchange-sm:hover {
    background: #ef394e !important;
    color: #ffffff !important;
}

/* RMA Modal Dialog */
html.dark-theme .ps-rma-modal-overlay {
    background: rgba(0, 0, 0, 0.75) !important;
}

html.dark-theme .ps-rma-modal-box {
    background: #161c28 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7) !important;
}

html.dark-theme .ps-rma-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-rma-modal-header h3 {
    color: #f8fafc !important;
}

html.dark-theme .ps-rma-modal-close {
    background: #1e293b !important;
    color: #94a3b8 !important;
}

html.dark-theme .ps-rma-form-group label {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-rma-form-group input,
html.dark-theme .ps-rma-form-group select,
html.dark-theme .ps-rma-form-group textarea {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-rma-size-pill {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-rma-size-pill.active,
html.dark-theme .ps-rma-size-pill:hover {
    border-color: #ef394e !important;
    background: #ef394e !important;
    color: #ffffff !important;
}

/* 3. Multi-Address Book Management */
html.dark-theme .ps-saved-addresses-heading {
    color: #f8fafc !important;
}

html.dark-theme .ps-account-addr-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

html.dark-theme .ps-account-addr-card:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.12) !important;
}

html.dark-theme .ps-account-addr-card.is-active {
    background: linear-gradient(135deg, #151b26 0%, #062b1a 100%) !important;
    border: 1.5px solid #10b981 !important;
}

html.dark-theme .ps-aac-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-aac-city-chip {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

html.dark-theme .ps-aac-full-address,
html.dark-theme .ps-aac-meta-line {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-aac-meta-line strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-aac-recipient-box {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

html.dark-theme .ps-aac-recipient-box strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-btn-aac-activate {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f1f5f9 !important;
}

html.dark-theme .ps-btn-aac-activate:hover {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #ffffff !important;
}

html.dark-theme .ps-aac-delete-btn {
    background: #1e293b !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #f87171 !important;
}

html.dark-theme .ps-aac-delete-btn:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}

/* WooCommerce Standard Address Columns & Edit Forms */
html.dark-theme .woocommerce-Address {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 20px !important;
}

html.dark-theme header.woocommerce-Address-title h3 {
    color: #f8fafc !important;
}

html.dark-theme .woocommerce-Address a.edit {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
}

html.dark-theme .woocommerce-Address a.edit:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

html.dark-theme .woocommerce-Address address {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 16px !important;
}

html.dark-theme form.edit-address label {
    color: #cbd5e1 !important;
}

html.dark-theme form.edit-address input.input-text,
html.dark-theme form.edit-address select {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}

/* 4. VIP Dedicated Support & Custom Tabs */
html.dark-theme .ps-account-content-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .ps-account-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-account-card-header h3 {
    color: #f8fafc !important;
}

html.dark-theme .ps-account-card-header span {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
}

html.dark-theme .ps-account-card-body {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-account-card-body label {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-account-card-body input[type="text"],
html.dark-theme .ps-account-card-body input[type="email"],
html.dark-theme .ps-account-card-body input[type="tel"],
html.dark-theme .ps-account-card-body select,
html.dark-theme .ps-account-card-body textarea,
html.dark-theme .wpcf7-form input[type="text"],
html.dark-theme .wpcf7-form input[type="email"],
html.dark-theme .wpcf7-form input[type="tel"],
html.dark-theme .wpcf7-form select,
html.dark-theme .wpcf7-form textarea {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-account-card-body input:focus,
html.dark-theme .ps-account-card-body select:focus,
html.dark-theme .ps-account-card-body textarea:focus,
html.dark-theme .wpcf7-form input:focus,
html.dark-theme .wpcf7-form select:focus,
html.dark-theme .wpcf7-form textarea:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
}

html.dark-theme .wpcf7-submit,
html.dark-theme .ps-account-card-body input[type="submit"] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}

html.dark-theme .wpcf7-submit:hover,
html.dark-theme .ps-account-card-body input[type="submit"]:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
}

/* 5. Customer Club & Rewards Showcase Enclosed Card */
.dk-club-showcase-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.dk-club-showcase-card .dk-club-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
}

.dk-club-showcase-card .dk-club-header-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dk-club-showcase-card .dk-club-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dk-club-showcase-card .dk-club-header-headings h3 {
    margin: 0 0 4px 0;
    font-size: 17.5px;
    font-weight: 800;
    color: #0f172a;
}

.dk-club-showcase-card .dk-club-header-desc {
    font-size: 12.5px;
    color: #64748b;
}

.dk-club-rewards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 16px !important;
}

/* Dark Mode Overhaul for Club Showcase */
html.dark-theme .dk-club-showcase-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .dk-club-showcase-card .dk-club-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .dk-club-showcase-card .dk-club-header-headings h3 {
    color: #f8fafc !important;
}

html.dark-theme .dk-club-showcase-card .dk-club-header-desc {
    color: #94a3b8 !important;
}

html.dark-theme .dk-club-reward-card {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
}

html.dark-theme .dk-club-reward-card:hover {
    border-color: #ef394e !important;
    background: #161d2d !important;
    box-shadow: 0 8px 24px rgba(239, 57, 78, 0.16) !important;
}

html.dark-theme .dk-reward-icon-wrap {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html.dark-theme .dk-reward-cost {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .dk-reward-cost span {
    color: #fbbf24 !important;
}

html.dark-theme .dk-card-wheel {
    background: #111622 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

html.dark-theme .dk-card-wheel:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2) !important;
}


/* Additional Refinements for Multi-Address Book Dark Mode */
html.dark-theme .ps-btn-aac-delete {
    background: #1e293b !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #f87171 !important;
}
html.dark-theme .ps-btn-aac-delete svg {
    stroke: #f87171 !important;
}
html.dark-theme .ps-btn-aac-delete:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
}
html.dark-theme .ps-btn-aac-delete:hover svg {
    stroke: #ffffff !important;
}
html.dark-theme .ps-btn-aac-set-default {
    color: #38bdf8 !important;
}
html.dark-theme .ps-btn-aac-set-default:hover {
    color: #7dd3fc !important;
}
html.dark-theme .ps-wc-addresses-title {
    color: #f8fafc !important;
}
html.dark-theme .dk-address-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}
html.dark-theme .dk-address-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-address-card-title {
    color: #f8fafc !important;
}
html.dark-theme .dk-btn-edit-addr {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f1f5f9 !important;
}
html.dark-theme .dk-btn-edit-addr:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}
html.dark-theme address.dk-formatted-address {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}
html.dark-theme .dk-no-address-text {
    color: #94a3b8 !important;
}
html.dark-theme .dk-account-delivery-location-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}
html.dark-theme .dk-adlc-subtitle {
    color: #94a3b8 !important;
}
html.dark-theme .dk-adlc-title {
    color: #f8fafc !important;
}
html.dark-theme .dk-adlc-desc {
    color: #cbd5e1 !important;
}
html.dark-theme .dk-btn-change-city {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f1f5f9 !important;
}
html.dark-theme .dk-btn-change-city:hover {
    background: #ef394e !important;
    border-color: #ef394e !important;
    color: #ffffff !important;
}
html.dark-theme .dk-addresses-desc {
    color: #94a3b8 !important;
}


/* ==========================================================================
   Section 16: Page Preloader Dark Mode & Compare Empty State Refinements
   ========================================================================== */
html.dark-theme .dk-page-preloader {
    background: #0f172a !important;
}
html.dark-theme .dk-page-preloader .dk-preloader-logo .dk-logo-text {
    color: #ef394e !important;
}
html.dark-theme .dk-page-preloader .dk-preloader-progress-track {
    background: #1e293b !important;
}
html.dark-theme .dk-page-preloader .dk-preloader-progress-bar {
    background: linear-gradient(90deg, #ef394e, #f87171) !important;
}
html.dark-theme .dk-page-preloader .dk-preloader-status {
    color: #cbd5e1 !important;
}

/* Compare Empty State & Notifications Dark Mode */
html.dark-theme .dk-compare-empty-state {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html.dark-theme .dk-compare-empty-state h3 {
    color: #f8fafc !important;
}
html.dark-theme .dk-compare-empty-state p {
    color: #94a3b8 !important;
}
html.dark-theme .dk-btn-open-search-comp {
    background: #ef394e !important;
    color: #ffffff !important;
}
html.dark-theme .ps-dashboard-compare-count {
    background: #ef394e !important;
    color: #ffffff !important;
}


/* Desktop Sub-navigation Flex Layout & Location Alignment */
@media (min-width: 768px) {
    .dk-header-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .dk-header-nav .dk-nav-list {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .dk-header-nav .dk-location-btn {
        display: inline-flex !important;
        align-items: center !important;
        margin-right: auto !important; /* In RTL, pushes location button to the far left! */
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }
}

/* ==========================================================================
   SECTION 17: SINGLE PRODUCT DARK MODE & TYPOGRAPHY LEGIBILITY OVERHAUL
   Complete high-contrast dark theme for all single product widgets and modules
   ========================================================================== */

/* 1. Breadcrumbs & Badges */
html.dark-theme .dk-breadcrumb {
    color: #94a3b8 !important;
}
html.dark-theme .dk-breadcrumb a {
    color: #cbd5e1 !important;
}
html.dark-theme .dk-breadcrumb a:hover {
    color: #ef394e !important;
}
html.dark-theme .dk-breadcrumb .dk-bc-sep {
    color: #64748b !important;
}
html.dark-theme .dk-breadcrumb .dk-bc-current {
    color: #f8fafc !important;
    font-weight: 700 !important;
}

/* 2. Gallery & Actions */
html.dark-theme .dk-gallery-card {
    background: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
html.dark-theme .dk-action-icon-btn {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}
html.dark-theme .dk-action-icon-btn:hover {
    background: #334155 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #f8fafc !important;
}
html.dark-theme .dk-action-icon-btn.active {
    background: rgba(239, 57, 78, 0.15) !important;
    border-color: #ef394e !important;
    color: #ef394e !important;
}
html.dark-theme .dk-thumb-item {
    background: #111827 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-thumb-item:hover,
html.dark-theme .dk-thumb-item.active {
    border-color: #ef394e !important;
}
html.dark-theme .dk-thumb-item.dk-thumb-360 {
    background: #1e293b !important;
    border-color: #3b82f6 !important;
    color: #60a5fa !important;
}
html.dark-theme .dk-360-thumb-inner {
    color: #60a5fa !important;
}
html.dark-theme .dk-gallery-guarantees .dk-guarantee-pill {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

/* 3. Center Column - Titles, Rating, Features & Bullets */
html.dark-theme .dk-single-title {
    color: #f8fafc !important;
    font-weight: 800 !important;
}
html.dark-theme .dk-single-en-title {
    color: #94a3b8 !important;
}
html.dark-theme .dk-single-rating-bar {
    color: #cbd5e1 !important;
}
html.dark-theme .dk-rating-score,
html.dark-theme .dk-score-text,
html.dark-theme .dk-recommend-text,
html.dark-theme .dk-dot-sep {
    color: #94a3b8 !important;
}
html.dark-theme .ps-btn-toggle-compare-badge {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}
html.dark-theme .ps-btn-toggle-compare-badge:hover {
    background: #334155 !important;
    color: #f8fafc !important;
}
html.dark-theme .ps-quick-compare-link {
    color: #38bdf8 !important;
}
html.dark-theme .ps-quick-compare-link:hover {
    color: #7dd3fc !important;
}
html.dark-theme .ps-shoe-care-pill {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}
html.dark-theme .ps-shoe-care-pill .ps-scp-text,
html.dark-theme .ps-shoe-care-pill strong {
    color: #34d399 !important;
}
html.dark-theme .dk-features-heading {
    color: #f8fafc !important;
}
html.dark-theme .dk-features-list li {
    color: #cbd5e1 !important;
}
html.dark-theme .dk-feature-bullet {
    background-color: #ef394e !important;
}
html.dark-theme .dk-return-notice-box {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #fca5a5 !important;
}
html.dark-theme .dk-return-notice-box strong {
    color: #f87171 !important;
}
html.dark-theme .dk-return-notice-box p {
    color: #fca5a5 !important;
}

/* 4. Digikala-Style Multi-Tier Warranty Selector */
html.dark-theme .ps-warranty-box-wrap {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html.dark-theme .ps-warranty-title-line {
    color: #f8fafc !important;
    font-weight: 800 !important;
}
html.dark-theme .ps-warranty-badge-pill {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
}
html.dark-theme .ps-warranty-card {
    background: #111622 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-warranty-card:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: #161d2d !important;
}
html.dark-theme .ps-warranty-card.is-selected {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    box-shadow: 0 0 0 1px #10b981 !important;
}
html.dark-theme .ps-warranty-name {
    color: #f8fafc !important;
    font-weight: 700 !important;
}
html.dark-theme .ps-warranty-duration {
    color: #94a3b8 !important;
}
html.dark-theme .ps-warranty-price-val {
    color: #38bdf8 !important;
    font-weight: 800 !important;
}
html.dark-theme .ps-warranty-price-val small {
    color: #94a3b8 !important;
}
html.dark-theme .ps-warranty-price-free {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}
html.dark-theme .ps-warranty-mini-badge {
    background: rgba(147, 51, 234, 0.2) !important;
    color: #c084fc !important;
}
html.dark-theme .ps-warranty-mini-badge.badge-free {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34d399 !important;
}

/* 5. Delivery Estimator & Lead-Time Pill */
html.dark-theme .ps-delivery-estimator-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-dec-status-pill.lead-time {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}
html.dark-theme .ps-dec-title {
    color: #94a3b8 !important;
}
html.dark-theme .ps-dec-val {
    color: #f8fafc !important;
    font-weight: 800 !important;
}

/* 6. Buy Box Column & Guarantees */
html.dark-theme .dk-buy-box {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
html.dark-theme .dk-buybox-heading {
    color: #f8fafc !important;
}
html.dark-theme .dk-seller-store-link strong {
    color: #f8fafc !important;
}
html.dark-theme .dk-seller-satisfaction {
    color: #94a3b8 !important;
}
html.dark-theme .dk-guarantee-row,
html.dark-theme .dk-guarantee-content {
    color: #cbd5e1 !important;
}
html.dark-theme .ps-product-verify-trust-link {
    color: #94a3b8 !important;
}
html.dark-theme .ps-open-verify-modal {
    color: #38bdf8 !important;
}
html.dark-theme .ps-open-verify-modal:hover {
    color: #7dd3fc !important;
}
html.dark-theme .ps-bb-bnpl-left {
    color: #34d399 !important;
}
html.dark-theme .ps-bb-bnpl-badge {
    color: #10b981 !important;
}
html.dark-theme .ps-buybox-bnpl-strip {
    background: rgba(99, 102, 241, 0.12) !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
}
html.dark-theme .ps-bnpl-badge {
    background: rgba(99, 102, 241, 0.25) !important;
    color: #a5b4fc !important;
}
html.dark-theme .dk-bb-old-price {
    color: #64748b !important;
}
html.dark-theme .dk-bb-amount {
    color: #f8fafc !important;
}
html.dark-theme .dk-bb-currency {
    color: #94a3b8 !important;
}
html.dark-theme .dk-best-price-note {
    color: #10b981 !important;
}
html.dark-theme .dk-price-satisfaction-box {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

/* 7. Subscribe & Save Widget */
html.dark-theme .ps-sub-save-widget {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}
html.dark-theme .ps-ss-header-badge {
    background: rgba(99, 102, 241, 0.18) !important;
    color: #a5b4fc !important;
}
html.dark-theme .ps-ss-header-title {
    color: #94a3b8 !important;
}
html.dark-theme .ps-ss-option {
    background: #111622 !important;
    border: 2px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-ss-option:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: #161d2d !important;
}
html.dark-theme .ps-ss-option.active {
    border-color: #6366f1 !important;
    background: rgba(99, 102, 241, 0.12) !important;
}
html.dark-theme .ps-ss-option-text strong {
    color: #f8fafc !important;
}
html.dark-theme .ps-ss-option-text span {
    color: #94a3b8 !important;
}
html.dark-theme .ps-ss-save-badge {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34d399 !important;
}
html.dark-theme .ps-ss-option-price {
    color: #cbd5e1 !important;
}
html.dark-theme .ps-ss-option-price.discounted strong {
    color: #818cf8 !important;
}
html.dark-theme .ps-ss-frequency-wrap {
    border-top: 1px dashed rgba(255, 255, 255, 0.12) !important;
}
html.dark-theme .ps-ss-frequency-wrap label {
    color: #a5b4fc !important;
}
html.dark-theme .ps-ss-select {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #f8fafc !important;
}
html.dark-theme .ps-ss-perks {
    color: #818cf8 !important;
}

/* 8. Frequently Bought Together (FBT) */
html.dark-theme .ps-bought-together-section {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
html.dark-theme .ps-fbt-title {
    color: #f8fafc !important;
}
html.dark-theme .ps-fbt-card-title {
    color: #f8fafc !important;
}
html.dark-theme .ps-fbt-orig-price {
    color: #94a3b8 !important;
}
html.dark-theme .ps-fbt-orig-price del {
    color: #64748b !important;
}
html.dark-theme .ps-fbt-final-price {
    color: #ef394e !important;
    font-weight: 800 !important;
}
html.dark-theme .ps-fbt-save-amount {
    color: #34d399 !important;
    font-weight: 700 !important;
}
html.dark-theme .ps-fbt-summary-box {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-fbt-sum-label {
    color: #94a3b8 !important;
}
html.dark-theme .ps-fbt-total-val {
    color: #f8fafc !important;
}
html.dark-theme .ps-fbt-curr {
    color: #94a3b8 !important;
}

/* 9. Product Tabs & Specifications */
html.dark-theme .dk-product-tabs-section {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
html.dark-theme .dk-tabs-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-tab-btn {
    color: #94a3b8 !important;
    background: transparent !important;
}
html.dark-theme .dk-tab-btn:hover {
    color: #f8fafc !important;
}
html.dark-theme .dk-tab-btn.active {
    color: #ef394e !important;
    border-bottom: 3px solid #ef394e !important;
}
html.dark-theme .dk-tab-title {
    color: #f8fafc !important;
}
html.dark-theme .dk-spec-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html.dark-theme .dk-spec-label {
    background: #111622 !important;
    color: #94a3b8 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html.dark-theme .dk-spec-value {
    background: #151b26 !important;
    color: #f8fafc !important;
}
html.dark-theme .dk-desc-body {
    color: #cbd5e1 !important;
    line-height: 1.9 !important;
}
html.dark-theme .dk-desc-body p {
    color: #cbd5e1 !important;
}
html.dark-theme .dk-desc-body h2,
html.dark-theme .dk-desc-body h3,
html.dark-theme .dk-desc-body h4 {
    color: #f8fafc !important;
}

/* 10. Care Guide & Accessories */
html.dark-theme .ps-care-guide-drawer {
    background: #111827 !important;
    color: #cbd5e1 !important;
}
html.dark-theme .ps-care-drawer-title {
    color: #f8fafc !important;
}
html.dark-theme .ps-cdd-col {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-cdd-dos {
    border-right: 3px solid #10b981 !important;
}
html.dark-theme .ps-cdd-donts {
    border-right: 3px solid #ef4444 !important;
    background: rgba(239, 68, 68, 0.08) !important;
}
html.dark-theme .ps-cdd-col h4 {
    color: #f8fafc !important;
}
html.dark-theme .ps-cdd-col li {
    color: #cbd5e1 !important;
}
html.dark-theme .ps-care-accessories-section {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-cas-desc {
    color: #94a3b8 !important;
}
html.dark-theme .ps-cas-card {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-cas-name {
    color: #f8fafc !important;
}
html.dark-theme .ps-cas-sub {
    color: #94a3b8 !important;
}
html.dark-theme .ps-cas-price {
    color: #38bdf8 !important;
    font-weight: 800 !important;
}

/* 11. Customer Reviews & Q&A */
html.dark-theme .dk-reviews-section,
html.dark-theme .dk-qa-section {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-rating-score {
    color: #f8fafc !important;
}
html.dark-theme .dk-score-max {
    color: #64748b !important;
}
html.dark-theme .dk-bar-item {
    color: #cbd5e1 !important;
}
html.dark-theme .dk-bar-track {
    background: #1e293b !important;
}
html.dark-theme .dk-form-desc,
html.dark-theme .dk-rating-text-hint,
html.dark-theme .dk-submit-terms-note,
html.dark-theme .dk-qa-subtitle {
    color: #94a3b8 !important;
}
html.dark-theme .dk-btn-open-review-form,
html.dark-theme .dk-btn-ask-question {
    background: #ef394e !important;
    color: #ffffff !important;
    border: none !important;
}
html.dark-theme .dk-review-item,
html.dark-theme .dk-qa-item {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-review-author,
html.dark-theme .dk-qa-question {
    color: #f8fafc !important;
}
html.dark-theme .dk-review-date {
    color: #64748b !important;
}
html.dark-theme .dk-review-text,
html.dark-theme .dk-qa-answer {
    color: #cbd5e1 !important;
}

/* 12. Bottom Sticky Bar */
html.dark-theme .dk-sticky-cart-bar {
    background: #111827 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
}
html.dark-theme .dk-sticky-product-title {
    color: #f8fafc !important;
}
html.dark-theme .dk-sticky-guarantee {
    color: #94a3b8 !important;
}
html.dark-theme .dk-sticky-price-amount {
    color: #f8fafc !important;
}
html.dark-theme .dk-sticky-price-currency {
    color: #94a3b8 !important;
}

/* 13. Single Product Modals (Price Chart, BNPL, Warranty Verification, Share) */
html.dark-theme #dk-price-chart-modal .dk-modal-box,
html.dark-theme #dk-compare-modal .dk-modal-box,
html.dark-theme #dk-share-modal .dk-modal-box,
html.dark-theme #dk-price-alert-modal .dk-modal-box,
html.dark-theme #dk-review-form-modal .dk-modal-box,
html.dark-theme #dk-ask-modal .dk-modal-box,
html.dark-theme #ps-bnpl-modal .dk-modal-box,
html.dark-theme #ps-warranty-verify-modal .dk-modal-box {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
}
html.dark-theme .ps-bnpl-item {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}
html.dark-theme .ps-bnpl-item-title {
    color: #f8fafc !important;
}
html.dark-theme .ps-bnpl-item-date {
    color: #94a3b8 !important;
}
html.dark-theme .ps-bnpl-item-amount {
    color: #38bdf8 !important;
}
html.dark-theme .ps-verify-result-box {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}
html.dark-theme .ps-verify-status {
    color: #10b981 !important;
}
html.dark-theme .ps-verify-detail-row span {
    color: #94a3b8 !important;
}
html.dark-theme .ps-verify-detail-row strong {
    color: #f8fafc !important;
}

/* 14. Proforma Invoice & Satisfaction Poll */
html.dark-theme .ps-single-product-proforma-btn {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-single-product-proforma-btn:hover {
    background: #1e293b !important;
    border-color: #0284c7 !important;
}
html.dark-theme .ps-single-product-proforma-btn .ps-proforma-icon-box {
    background: #1e293b !important;
    color: #38bdf8 !important;
}
html.dark-theme .ps-single-product-proforma-btn .ps-proforma-main-text {
    color: #f8fafc !important;
}
html.dark-theme .ps-single-product-proforma-btn .ps-proforma-sub-text {
    color: #94a3b8 !important;
}
html.dark-theme .ps-single-product-proforma-btn .ps-proforma-pdf-badge {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html.dark-theme .ps-compact-poll-bar {
    background: #111622 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-poll-label {
    color: #cbd5e1 !important;
}
html.dark-theme .ps-poll-btn-mini {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
}
html.dark-theme .ps-poll-btn-mini:hover {
    background: #334155 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
html.dark-theme .ps-poll-btn-mini.yes span {
    color: #34d399 !important;
}
html.dark-theme .ps-poll-btn-mini.no span {
    color: #f87171 !important;
}
html.dark-theme .ps-poll-btn-mini small {
    color: #94a3b8 !important;
}

/* 15. Additional Single Product Typography & Badges */
html.dark-theme .ps-fbt-checkboxes-list {
    color: #cbd5e1 !important;
}
html.dark-theme .ps-fbt-checkbox-label {
    color: #cbd5e1 !important;
}
html.dark-theme .ps-fbt-checkbox-label span {
    color: #cbd5e1 !important;
}
html.dark-theme .ps-fbt-card-price {
    color: #f8fafc !important;
}
html.dark-theme .dk-price-old {
    color: #64748b !important;
}
html.dark-theme .ps-video-tab-badge {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
}
html.dark-theme .ps-video-pill-quality {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
}
html.dark-theme .ps-video-pill-studio {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
}
html.dark-theme .ps-lightbox-badge {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
}

/* ==========================================================================
   SECTION 18: SPECIALS, CAROUSELS & REAL-TIME FLASH DEALS ADD-TO-CART ENGINE
   ========================================================================== */

/* 1. Specials Slider Add to Cart Button & Hover Actions */
.ps-special-card-action {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #f0f0f1;
    width: 100%;
}
.ps-btn-special-add-cart {
    width: 100%;
    height: 34px;
    border-radius: 8px;
    background: #ef394e;
    color: #ffffff !important;
    border: none;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}
.ps-btn-special-add-cart:hover {
    background: #d82338;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.28);
}
.ps-btn-special-add-cart.is-loading {
    background: #64748b;
    pointer-events: none;
}
.ps-btn-special-add-cart.is-added {
    background: #10b981;
}
.ps-btn-special-add-cart.is-out-of-stock {
    background: #f1f2f4;
    color: #9e9eb0 !important;
    cursor: not-allowed;
    border: 1px solid #e0e0e2;
}
.ps-special-out-stock-label {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    padding: 6px 0;
}

/* Hover Action Quick-Add Button */
.dk-catalog-hover-actions .ps-quickadd-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ffffff;
    color: #ef394e;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.dk-catalog-hover-actions .ps-quickadd-action-btn:hover {
    background: #ef394e;
    color: #ffffff;
    border-color: #ef394e;
    transform: scale(1.08);
}
.dk-catalog-hover-actions .ps-quickadd-action-btn.is-loading {
    background: #64748b;
    color: #fff;
    pointer-events: none;
}
.dk-catalog-hover-actions .ps-quickadd-action-btn.is-added {
    background: #10b981;
    color: #fff;
}

/* 2. Real-Time Deal Enhanced Card & Loader Bar */
.dk-realtime-box {
    background: #ffffff;
    border: 1.5px solid #f0f0f1;
    border-radius: 16px;
    padding: 16px 14px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.dk-realtime-box:hover {
    border-color: rgba(239, 57, 78, 0.3);
    box-shadow: 0 8px 24px rgba(239, 57, 78, 0.08);
}

/* Headline */
.dk-realtime-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f1;
    margin-bottom: 10px;
}
.dk-rt-head-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dk-rt-head-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}
.dk-rt-pulse-beacon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}
.dk-rt-pulse-core {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef394e;
}
.dk-rt-pulse-ring {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(239, 57, 78, 0.4);
    animation: psRtPulse 1.6s infinite ease-out;
}
@keyframes psRtPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}
.dk-rt-flash-icon-box {
    color: #ef394e;
    display: flex;
    align-items: center;
}

/* Timer Progress Bar & Countdown */
.dk-realtime-timer-bar-wrap {
    margin-bottom: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
}
.dk-rt-timer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
}
.dk-rt-countdown-badge {
    color: #ef394e;
    font-weight: 700;
}
.dk-rt-progress-track {
    width: 100%;
    height: 5px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}
.dk-rt-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ef394e, #f97316);
    border-radius: 99px;
    transition: width 0.2s linear;
}

/* Deal Card Body & Smooth Transitions */
.dk-realtime-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.dk-realtime-card-content.is-animating {
    opacity: 0.15;
    transform: scale(0.96);
}
.dk-realtime-img-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dk-realtime-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}
.dk-rt-discount-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ef394e;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    z-index: 2;
}

/* Footer Actions */
.dk-realtime-footer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #f0f0f1;
}
.dk-rt-quick-add-btn {
    flex: 1;
    height: 34px;
    border-radius: 8px;
    background: #ef394e;
    color: #ffffff !important;
    border: none;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.dk-rt-quick-add-btn:hover {
    background: #d82338;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(239, 57, 78, 0.28);
}
.dk-rt-nav-buttons {
    display: flex;
    gap: 4px;
}
.dk-rt-arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.dk-rt-arrow-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* 3. Dark Theme Overrides */
html.dark-theme .ps-special-prod-card {
    background: #151b26 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-special-prod-card .ps-special-title {
    color: #f8fafc !important;
}
html.dark-theme .ps-special-prod-card .ps-special-cur-price {
    color: #f8fafc !important;
}
html.dark-theme .ps-special-prod-card .ps-special-unit {
    color: #94a3b8 !important;
}
html.dark-theme .ps-special-prod-card .ps-special-old-price {
    color: #64748b !important;
}
html.dark-theme .ps-special-card-action {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-catalog-hover-actions .ps-quickadd-action-btn {
    background: #1e293b !important;
    color: #ef394e !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
html.dark-theme .dk-catalog-hover-actions .ps-quickadd-action-btn:hover {
    background: #ef394e !important;
    color: #ffffff !important;
}
html.dark-theme .dk-realtime-box {
    background: #151b26 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
html.dark-theme .dk-realtime-headline {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-rt-head-title {
    color: #f8fafc !important;
}
html.dark-theme .dk-realtime-timer-bar-wrap {
    background: #111622 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-rt-timer-meta {
    color: #94a3b8 !important;
}
html.dark-theme .dk-rt-progress-track {
    background: #1e293b !important;
}
html.dark-theme .dk-realtime-title {
    color: #cbd5e1 !important;
}
html.dark-theme .dk-realtime-title a {
    color: #cbd5e1 !important;
}
html.dark-theme .dk-realtime-footer-actions {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-rt-arrow-btn {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}
html.dark-theme .dk-rt-arrow-btn:hover {
    background: #334155 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Section 18 (UPGRADED): Realtime Deal Premium Styling & Specials Add-To-Cart
   ========================================================================== */

/* 1. Specials Slider Add-to-Cart Buttons */
.ps-special-card-action {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #f0f0f1;
    width: 100%;
}
.ps-btn-special-add-cart {
    width: 100% !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #ef394e 0%, #d82338 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    box-shadow: 0 3px 10px rgba(239, 57, 78, 0.25) !important;
    text-decoration: none !important;
}
.ps-btn-special-add-cart:hover {
    background: linear-gradient(135deg, #d82338 0%, #b91c1c 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(239, 57, 78, 0.4) !important;
}
.ps-btn-special-add-cart:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(239, 57, 78, 0.2) !important;
}
.ps-btn-special-add-cart.is-out-of-stock {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* 2. Real-time Flash Deal Container */
.dk-realtime-box {
    background: #ffffff !important;
    border: 1px solid #fee2e2 !important;
    border-radius: 18px !important;
    padding: 18px 14px 14px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 4px 20px rgba(239, 57, 78, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Real-time Headline */
.dk-realtime-headline {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #fecdd3 !important;
    margin-bottom: 12px !important;
}
.dk-rt-head-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.dk-rt-pulse-beacon {
    position: relative !important;
    display: inline-flex !important;
    width: 12px !important;
    height: 12px !important;
}
.dk-rt-pulse-ring {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: #ef394e !important;
    opacity: 0.75 !important;
    animation: dkRtBeaconPing 1.6s cubic-bezier(0, 0, 0.2, 1) infinite !important;
}
.dk-rt-pulse-core {
    position: relative !important;
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    margin: 1px !important;
    border-radius: 50% !important;
    background: #ef394e !important;
    box-shadow: 0 0 6px rgba(239, 57, 78, 0.8) !important;
}
@keyframes dkRtBeaconPing {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}
.dk-rt-head-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ef394e !important;
    letter-spacing: -0.3px !important;
}
.dk-rt-flash-icon-box {
    color: #f97316 !important;
    display: flex !important;
    align-items: center !important;
    filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.3)) !important;
    animation: dkRtFlamePulse 2s ease-in-out infinite !important;
}
@keyframes dkRtFlamePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15) rotate(-5deg); }
}

/* High-Visibility Animated Progress Bar Track & Live Countdown Badge */
.dk-realtime-timer-bar-wrap {
    margin-bottom: 14px !important;
    background: #fff1f2 !important;
    border: 1px solid #ffe4e6 !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    box-shadow: inset 0 1px 3px rgba(239, 57, 78, 0.05) !important;
}
.dk-rt-timer-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 11px !important;
    color: #881337 !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
}
.dk-rt-countdown-badge {
    background: linear-gradient(135deg, #ef394e, #e11d48) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 2px 6px rgba(239, 57, 78, 0.35) !important;
    letter-spacing: -0.2px !important;
}
.dk-rt-countdown-sec {
    font-size: 13px !important;
    font-weight: 900 !important;
}
.dk-rt-progress-track {
    width: 100% !important;
    height: 7px !important;
    background: #fecdd3 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    position: relative !important;
}
.dk-rt-progress-bar {
    height: 100% !important;
    background: linear-gradient(90deg, #ef394e 0%, #f97316 50%, #e11d48 100%) !important;
    border-radius: 999px !important;
    box-shadow: 0 0 10px rgba(239, 57, 78, 0.6) !important;
    transition: width 0.2s linear !important;
}

/* Card Body & Transitions */
.dk-realtime-card-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
    transition: opacity 0.25s ease, transform 0.25s ease !important;
}
.dk-realtime-card-content.is-animating {
    opacity: 0.1 !important;
    transform: scale(0.95) !important;
}
.dk-realtime-img-wrap {
    position: relative !important;
    width: 155px !important;
    height: 155px !important;
    margin: 0 auto 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.dk-realtime-img-wrap img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}
.dk-realtime-link:hover .dk-realtime-img-wrap img {
    transform: scale(1.06) !important;
}
.dk-rt-discount-badge {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    background: #ef394e !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 6px rgba(239, 57, 78, 0.35) !important;
    z-index: 2 !important;
}
.dk-realtime-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
    color: #1e293b !important;
    margin: 0 0 10px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 40px !important;
    text-align: right !important;
}
.dk-realtime-price-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    margin-bottom: 12px !important;
    padding: 6px 10px !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
}
.dk-realtime-old-price {
    font-size: 12px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
}
.dk-realtime-final-price {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
}
.dk-rt-num {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #ef394e !important;
    letter-spacing: -0.5px !important;
}
.dk-rt-unit {
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

/* Footer Actions */
.dk-realtime-footer-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px dashed #fecdd3 !important;
}
.dk-rt-quick-add-btn {
    flex: 1 !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #ef394e 0%, #d82338 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: inherit !important;
    box-shadow: 0 3px 10px rgba(239, 57, 78, 0.3) !important;
}
.dk-rt-quick-add-btn:hover {
    background: linear-gradient(135deg, #d82338 0%, #b91c1c 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(239, 57, 78, 0.45) !important;
}
.dk-rt-quick-add-btn:active {
    transform: translateY(0) !important;
}
.dk-rt-nav-buttons {
    display: flex !important;
    gap: 4px !important;
}
.dk-rt-arrow-btn {
    width: 36px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.dk-rt-arrow-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    transform: translateY(-1.5px) !important;
}

/* 3. Dark Theme Premium Overrides */
html.dark-theme .ps-special-prod-card {
    background: #151b26 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .ps-special-prod-card .ps-special-title {
    color: #f8fafc !important;
}
html.dark-theme .ps-special-prod-card .ps-special-cur-price {
    color: #f8fafc !important;
}
html.dark-theme .ps-special-prod-card .ps-special-unit {
    color: #94a3b8 !important;
}
html.dark-theme .ps-special-prod-card .ps-special-old-price {
    color: #64748b !important;
}
html.dark-theme .ps-special-card-action {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-realtime-box {
    background: #151b26 !important;
    border-color: rgba(239, 57, 78, 0.25) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}
html.dark-theme .dk-realtime-headline {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-rt-head-title {
    color: #ff6b6b !important;
}
html.dark-theme .dk-realtime-timer-bar-wrap {
    background: #111622 !important;
    border-color: rgba(239, 57, 78, 0.2) !important;
}
html.dark-theme .dk-rt-timer-meta {
    color: #cbd5e1 !important;
}
html.dark-theme .dk-rt-progress-track {
    background: #1e293b !important;
}
html.dark-theme .dk-realtime-title {
    color: #f1f5f9 !important;
}
html.dark-theme .dk-realtime-price-block {
    background: #1e293b !important;
}
html.dark-theme .dk-realtime-footer-actions {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark-theme .dk-rt-arrow-btn {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}
html.dark-theme .dk-rt-arrow-btn:hover {
    background: #334155 !important;
    color: #ffffff !important;
}
/* ==========================================================================
   PersianShop Delivery Location Modal - Complete Responsive & Scroll Engine
   ========================================================================== */

.ps-address-modal-overlay,
.dk-city-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 12px !important;
    box-sizing: border-box !important;
}

.ps-address-modal-overlay.active,
.dk-city-modal-overlay.active {
    display: flex !important;
}

.ps-address-modal-box,
.dk-city-modal-box {
    max-width: 620px !important;
    width: 100% !important;
    max-height: calc(100vh - 36px) !important;
    max-height: calc(100dvh - 36px) !important;
    border-radius: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28) !important;
    background: #ffffff !important;
    margin: auto !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Pinned Header & Tabs */
.ps-address-modal-box .dk-modal-head,
.dk-city-modal-box .dk-modal-head {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    z-index: 10 !important;
}

.ps-address-modal-box .ps-modal-nav-tabs,
.dk-city-modal-box .ps-modal-nav-tabs {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 6px 14px 0 !important;
    gap: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 9 !important;
}

/* Dedicated Scrollable Modal Body */
.ps-address-modal-box .dk-modal-body,
.dk-city-modal-box .dk-modal-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 16px 20px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 transparent !important;
    box-sizing: border-box !important;
}

.ps-address-modal-box .dk-modal-body::-webkit-scrollbar,
.dk-city-modal-box .dk-modal-body::-webkit-scrollbar {
    width: 6px !important;
}

.ps-address-modal-box .dk-modal-body::-webkit-scrollbar-thumb,
.dk-city-modal-box .dk-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 99px !important;
}

.ps-address-modal-box .dk-modal-body::-webkit-scrollbar-track,
.dk-city-modal-box .dk-modal-body::-webkit-scrollbar-track {
    background: transparent !important;
}

/* Tab Panes */
.ps-modal-tab-pane {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Saved Addresses List */
.ps-modal-addresses-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    padding: 4px 2px !important;
    scrollbar-width: thin !important;
    box-sizing: border-box !important;
}

/* Add New Address Form */
.ps-modal-add-form {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    margin-top: 14px !important;
}

.ps-maf-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}

.ps-maf-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    min-width: 0 !important;
}

.ps-maf-field.fullwidth {
    grid-column: span 2 !important;
}

.ps-maf-field input,
.ps-maf-field select,
.ps-maf-field textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
}

.ps-maf-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px dashed #e2e8f0 !important;
}

/* Responsive & Mobile Breakpoints */
@media (max-width: 580px) {
    .ps-maf-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .ps-maf-field.fullwidth {
        grid-column: span 1 !important;
    }
    .ps-maf-buttons {
        flex-direction: column-reverse !important;
        gap: 8px !important;
    }
    .ps-btn-save-new-addr,
    .ps-btn-dismiss-new-addr {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 640px) {
    .ps-address-modal-overlay,
    .dk-city-modal-overlay {
        padding: 10px 8px !important;
    }
    .ps-address-modal-box,
    .dk-city-modal-box {
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100vh - 16px) !important;
        max-height: calc(100dvh - 16px) !important;
        border-radius: 16px !important;
    }
    .ps-address-modal-box .dk-modal-head,
    .dk-city-modal-box .dk-modal-head {
        padding: 12px 14px !important;
    }
    .ps-modal-tab-btn {
        padding: 8px 12px !important;
        font-size: 12.5px !important;
    }
    .ps-address-modal-box .dk-modal-body,
    .dk-city-modal-box .dk-modal-body {
        padding: 12px 14px !important;
    }
    .ps-modal-add-form {
        padding: 12px !important;
        border-radius: 12px !important;
    }
}

/* Short Screen / Landscape Height */
@media (max-height: 650px) {
    .ps-address-modal-overlay,
    .dk-city-modal-overlay {
        padding: 6px !important;
    }
    .ps-address-modal-box,
    .dk-city-modal-box {
        max-height: calc(100vh - 12px) !important;
        max-height: calc(100dvh - 12px) !important;
        border-radius: 12px !important;
    }
    .ps-address-modal-box .dk-modal-head,
    .dk-city-modal-box .dk-modal-head {
        padding: 10px 14px !important;
    }
    .ps-modal-nav-tabs {
        padding: 2px 8px 0 !important;
    }
    .ps-modal-tab-btn {
        padding: 6px 10px !important;
        font-size: 11.5px !important;
    }
    .ps-address-modal-box .dk-modal-body,
    .dk-city-modal-box .dk-modal-body {
        padding: 10px 14px !important;
    }
    .ps-modal-addresses-list {
        max-height: 120px !important;
    }
    .ps-modal-add-form {
        padding: 10px 12px !important;
        margin-top: 8px !important;
    }
    .ps-maf-grid {
        gap: 8px !important;
        margin-bottom: 10px !important;
    }
    .ps-maf-field input,
    .ps-maf-field select,
    .ps-maf-field textarea {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

/* Dark Theme Comprehensive Overrides */
html.dark-theme .ps-address-modal-box,
html.dark-theme .dk-city-modal-box {
    background: #151b26 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-address-modal-box .dk-modal-head,
html.dark-theme .dk-city-modal-box .dk-modal-head {
    background: #151b26 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-address-modal-box .dk-modal-title,
html.dark-theme .dk-city-modal-box .dk-modal-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-address-modal-box .dk-modal-close,
html.dark-theme .dk-city-modal-box .dk-modal-close {
    color: #94a3b8 !important;
}

html.dark-theme .ps-address-modal-box .dk-modal-close:hover,
html.dark-theme .dk-city-modal-box .dk-modal-close:hover {
    color: #f8fafc !important;
}

html.dark-theme .ps-modal-nav-tabs {
    background: #0f172a !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-modal-tab-btn {
    color: #94a3b8 !important;
}

html.dark-theme .ps-modal-tab-btn:hover {
    color: #ef394e !important;
}

html.dark-theme .ps-modal-tab-btn.active {
    background: #151b26 !important;
    color: #ef394e !important;
    border-bottom-color: #ef394e !important;
}

html.dark-theme .ps-address-modal-box .dk-modal-body,
html.dark-theme .dk-city-modal-box .dk-modal-body {
    scrollbar-color: #334155 transparent !important;
}

html.dark-theme .ps-address-modal-box .dk-modal-body::-webkit-scrollbar-thumb,
html.dark-theme .dk-city-modal-box .dk-modal-body::-webkit-scrollbar-thumb {
    background: #334155 !important;
}

html.dark-theme .ps-modal-addr-card {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-modal-addr-card:hover {
    border-color: rgba(255, 255, 255, 0.18) !important;
    background: #242f42 !important;
}

html.dark-theme .ps-modal-addr-card.is-active {
    background: rgba(239, 57, 78, 0.12) !important;
    border-color: #ef394e !important;
}

html.dark-theme .ps-mac-title {
    color: #f8fafc !important;
}

html.dark-theme .ps-mac-address {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-mac-recipient {
    color: #94a3b8 !important;
}

html.dark-theme .ps-mac-recipient strong {
    color: #f8fafc !important;
}

html.dark-theme .ps-btn-show-add-address {
    background: rgba(239, 57, 78, 0.1) !important;
    border-color: rgba(239, 57, 78, 0.3) !important;
    color: #ff6b6b !important;
}

html.dark-theme .ps-btn-show-add-address:hover {
    background: #ef394e !important;
    color: #ffffff !important;
}

html.dark-theme .ps-modal-add-form {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-maf-head {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-maf-head h4 {
    color: #f8fafc !important;
}

html.dark-theme .ps-maf-cancel-btn {
    color: #64748b !important;
}

html.dark-theme .ps-maf-cancel-btn:hover {
    color: #f8fafc !important;
}

html.dark-theme .ps-maf-field label {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-maf-field input,
html.dark-theme .ps-maf-field select,
html.dark-theme .ps-maf-field textarea {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html.dark-theme .ps-maf-field input:focus,
html.dark-theme .ps-maf-field select:focus,
html.dark-theme .ps-maf-field textarea:focus {
    border-color: #ef394e !important;
    box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.2) !important;
}

html.dark-theme .ps-checkbox-label {
    color: #cbd5e1 !important;
}

html.dark-theme .ps-maf-buttons {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark-theme .ps-btn-dismiss-new-addr {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border: 1px solid #334155 !important;
}

html.dark-theme .ps-btn-dismiss-new-addr:hover {
    background: #334155 !important;
    color: #ffffff !important;
}

html.dark-theme .dk-city-modal-sync-notice {
    background: rgba(2, 132, 199, 0.12) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    color: #7dd3fc !important;
}