body {
    background: #f3f4f6;
    color: #24262d;
}

.wrapper {
    background: #f3f4f6;
}

.main-container {
    max-width: 1320px;
}

.main-header {
    background: #fff;
    box-shadow: 0 8px 30px rgba(20, 28, 45, .06);
    margin-bottom: 22px;
}

.topbar {
    padding: 14px 0 10px;
}

header.main-header .topbar-main-row {
    display: grid;
    grid-template-columns: 245px minmax(280px, 1fr) 230px;
    gap: 18px;
    align-items: center;
}

.dg-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #222736;
}

.dg-logo-link:hover {
    color: #e51542;
}

.dg-logo-mark-image {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex: 0 0 46px;
}

.dg-logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.7;
    min-width: 0;
}

.dg-logo-copy strong {
    font-size: 17px;
    font-weight: 900;
    color: #151820;
}

.dg-logo-copy small {
    font-size: 11px;
    color: #7a8192;
}

.topbar-search .search {
    height: 50px;
    background: #f5f6f8;
    border: 1px solid #eceff3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.topbar-search .search input {
    height: 100%;
    border: 0;
    background: transparent;
    padding: 0 18px;
    font-size: 13px;
    color: #252936;
}

.topbar-search .search input:focus {
    box-shadow: none;
}

.topbar-search .search button {
    width: 58px;
    height: 100%;
    border: 0;
    background: #e51542;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-account .nav {
    justify-content: flex-end;
}

.topbar-login-link,
.profile-menu-toggle {
    height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #eceff3;
    border-radius: 8px;
    padding: 0 14px;
    color: #303544;
    background: #fff;
    white-space: nowrap;
}

.topbar-login-link i,
.profile-menu-toggle i {
    color: #e51542;
    font-size: 20px;
}

.pwa-topbar-location {
    margin-top: 10px;
    color: #7a8192;
    font-size: 12px;
}

.bottom-header {
    background: #fff;
    border-top: 1px solid #f0f1f4;
    border-bottom: 1px solid #eceff3;
    margin-bottom: 0;
}

.main-menu {
    min-height: 52px;
}

.main-menu > ul.list {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    margin: 0;
}

.main-menu .list-item > a,
.main-menu .list-item .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 52px;
    padding: 0 13px;
    color: #242935;
    font-weight: 700;
    font-size: 13px;
}

.main-menu .category-list > a {
    background: #e51542;
    color: #fff;
    border-radius: 8px;
    min-height: 42px;
    margin-left: 8px;
}

.main-menu .list-item > a:hover,
.main-menu .list-item .nav-link:hover {
    color: #e51542;
}

.main-menu .category-list > a:hover {
    color: #fff;
}

header.main-header .main-menu .list > .dg-mega-menu {
    position: static;
}

header.main-header .main-menu .list > .dg-mega-menu > a {
    background: #e51542;
    color: #fff;
    border-radius: 8px;
    min-height: 42px;
    margin-left: 8px;
    padding: 0 14px;
    font-weight: 900;
    top: 0;
}

header.main-header .main-menu .list > .dg-mega-menu > a::before {
    display: none !important;
}

header.main-header .main-menu .list > .dg-mega-menu > a::after {
    position: static;
    margin-right: 4px;
    margin-left: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

header.main-header .main-menu .list > .dg-mega-menu > a:hover,
header.main-header .main-menu .list > .dg-mega-menu:hover > a {
    background: #d8123d;
    color: #fff;
}

header.main-header .main-menu .list > .dg-mega-menu > .dg-mega-menu-panel.sub-menu.nav {
    right: 50%;
    left: auto;
    transform: translateX(50%);
    width: min(1120px, calc(100vw - 32px));
    min-width: 0;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 20px;
    padding: 18px;
    border: 1px solid #edf0f4;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 18px 40px rgba(31, 45, 61, .14);
}

header.main-header .main-menu .list > .dg-mega-menu > .dg-mega-menu-panel > .dg-mega-menu-column {
    float: none;
    width: auto;
    padding: 0;
    min-width: 0;
}

header.main-header .main-menu .list > .dg-mega-menu .dg-mega-category-link {
    display: block;
    min-height: 0;
    padding: 0 0 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f0f1f4;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.8;
}

header.main-header .main-menu .list > .dg-mega-menu .dg-mega-sub-list.sub-menu {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
    visibility: visible;
    opacity: 1;
    background: transparent !important;
    box-shadow: none;
}

header.main-header .main-menu .list > .dg-mega-menu .dg-mega-sub-list li {
    float: none;
    width: 100%;
}

header.main-header .main-menu .list > .dg-mega-menu .dg-mega-sub-list a {
    display: block;
    min-height: 0;
    padding: 3px 0;
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.9;
}

header.main-header .main-menu .list > .dg-mega-menu .dg-mega-sub-list a:hover,
header.main-header .main-menu .list > .dg-mega-menu .dg-mega-category-link:hover {
    color: #e51542;
}

header.main-header .main-menu .list > .dg-brand-menu > .dg-brand-menu-panel.sub-menu.nav,
header.main-header .main-menu .list > .dg-products-menu > .dg-products-menu-panel.sub-menu.nav {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 8px 18px;
    padding: 20px 22px;
}

header.main-header .main-menu .list > .dg-products-menu > .dg-products-menu-panel.sub-menu.nav {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
}

header.main-header .main-menu .list > .dg-brand-menu > .dg-brand-menu-panel > .dg-brand-menu-item,
header.main-header .main-menu .list > .dg-products-menu > .dg-products-menu-panel > .dg-products-menu-item {
    float: none;
    width: auto;
    padding: 0;
    min-width: 0;
}

header.main-header .main-menu .list > .dg-brand-menu .dg-brand-menu-item > a,
header.main-header .main-menu .list > .dg-products-menu .dg-products-menu-item > a {
    display: block;
    min-height: 0;
    padding: 7px 10px;
    border-radius: 8px;
    color: #263245;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

header.main-header .main-menu .list > .dg-brand-menu .dg-brand-menu-item > a:hover,
header.main-header .main-menu .list > .dg-products-menu .dg-products-menu-item > a:hover {
    background: #fff1f4;
    color: #e51542;
}

.main-content {
    padding-top: 0;
}

.dg-mh-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 12px;
    margin-bottom: 12px;
}

.dg-mh-hero > *,
.dg-mh-category-list,
.dg-mh-category-list a,
.dg-mh-main-banner,
.dg-mh-side-banners,
.dg-mh-services,
.dg-mh-image-cats,
.dg-mh-product-grid,
.product-card {
    min-width: 0;
}

.dg-mh-category-panel,
.dg-mh-main-banner,
.dg-mh-side-banner,
.dg-mh-services,
.dg-mh-product-strip,
.dt-sn,
.dt-sl.dt-sn,
.slider-section {
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(30, 38, 54, .04);
}

.dg-mh-category-panel {
    padding: 12px;
    min-height: 320px;
    overflow: hidden;
}

.dg-mh-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 10px;
    color: #111827;
    font-weight: 900;
    border-bottom: 1px solid #f0f1f4;
}

.dg-mh-panel-title i {
    color: #e51542;
    font-size: 22px;
}

.dg-mh-category-list {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
}

.dg-mh-category-list a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 5px 7px;
    border-radius: 8px;
    color: #343946;
}

.dg-mh-category-list a:hover {
    background: #fff1f4;
    color: #e51542;
}

.dg-mh-category-list img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.dg-mh-category-list span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
}

.dg-mh-category-list small {
    color: #9aa0ad;
    font-size: 10px;
}

.dg-mh-main-banner {
    position: relative;
    height: 324px;
    min-height: 0;
    overflow: hidden;
    background: #e51542;
}

.dg-mh-banner-link,
.dg-mh-banner-link img {
    display: block;
    width: 100%;
    height: 100%;
}

.dg-mh-banner-mobile {
    display: none !important;
}

.dg-mh-banner-link img {
    object-fit: cover;
    object-position: center;
}

.dg-mh-main-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(229, 21, 66, .06), rgba(229, 21, 66, .72));
    pointer-events: none;
}

.dg-mh-hero-copy {
    position: absolute;
    inset: auto 36px 34px auto;
    z-index: 1;
    width: min(420px, 58%);
    color: #fff;
}

.dg-mh-hero-copy span {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .16);
    font-size: 12px;
    margin-bottom: 10px;
}

.dg-mh-hero-copy strong {
    display: block;
    font-size: 30px;
    line-height: 1.7;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.dg-mh-hero-copy p {
    color: rgba(255, 255, 255, .88);
    margin: 6px 0 18px;
    font-size: 14px;
    line-height: 2;
}

.dg-mh-hero-copy a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    background: #fff;
    color: #e51542;
    font-weight: 900;
}

.dg-mh-side-banners {
    display: grid;
    grid-template-rows: 1fr;
    gap: 0;
    height: 324px;
}

.dg-mh-side-banner {
    overflow: hidden;
}

.dg-mh-side-banner img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    display: block;
}

.dg-mh-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 14px;
    padding: 10px 14px;
}

.dg-mh-services div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border-left: 1px solid #f0f1f4;
    color: #303544;
    font-weight: 800;
}

.dg-mh-services div:last-child {
    border-left: 0;
}

.dg-mh-services img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.dg-mh-image-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.dg-mh-image-cats a {
    position: relative;
    display: block;
    overflow: hidden;
    height: 185px;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 8px;
}

.dg-mh-image-cats img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dg-mh-image-cats span {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #272b35;
    font-size: 22px;
    font-weight: 950;
}

.dg-mh-product-strip {
    padding: 16px;
    margin-bottom: 18px;
}

.dg-mh-section-head,
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.dg-mh-section-head span {
    display: block;
    color: #e51542;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 3px;
}

.dg-mh-section-head h2,
.section-title h2 {
    margin: 0;
    color: #181b24;
    font-size: 18px;
    font-weight: 950;
}

.dg-mh-section-head a {
    color: #e51542;
    font-weight: 900;
    font-size: 12px;
}

.dg-mh-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.product-card {
    height: 100%;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(30, 38, 54, .08);
}

.product-card .product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 14px;
    background: #fafafa;
}

.product-card .product-thumb img,
.product-card .product-thumb .seo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-body {
    padding: 12px;
}

.product-title,
.product-title a {
    color: #20242f;
    font-size: 13px;
    font-weight: 900;
    line-height: 2;
}

.product-meta {
    display: block;
    min-height: 28px;
    color: #8b92a0;
    font-size: 11px;
    line-height: 1.8;
}

.dg-product-cta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 8px;
    background: #f4f5f7;
    color: #e51542;
    font-size: 12px;
    font-weight: 900;
}

.dg-product-cta:hover {
    background: #e51542;
    color: #fff;
}

.dt-sn,
.dt-sl.dt-sn {
    padding: 16px;
}

.main-footer {
    margin-top: 28px;
    background: #fff;
    border-top: 1px solid #edf0f4;
}

.footer-services {
    border-radius: 8px;
    background: #f7f8fa;
}

@media (max-width: 1199px) {
    header.main-header .topbar-main-row {
        grid-template-columns: 220px minmax(240px, 1fr) auto;
    }

    .dg-mh-hero {
        grid-template-columns: minmax(0, 1fr) 180px;
    }

    .dg-mh-side-banners {
        grid-column: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    header.main-header .main-menu .list > .dg-mega-menu > .dg-mega-menu-panel.sub-menu.nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    header.main-header .main-menu .list > .dg-products-menu > .dg-products-menu-panel.sub-menu.nav {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }

    .dg-mh-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Final requested home fixes */
.dg-demo-category-card.is-active {
    transform: none !important;
    background: #f2f5fa !important;
    color: var(--dg-text, #1f2430) !important;
    box-shadow: none !important;
}

.dg-demo-category-card.is-active::before {
    background: var(--dg-accent, #e51542) !important;
}

.dg-demo-category-card.is-active small {
    background: var(--dg-accent, #e51542) !important;
    color: #fff !important;
}

.dg-demo-category-card:hover,
.dg-demo-category-card:focus {
    transform: translateY(-8px) !important;
    background: var(--dg-accent, #e51542) !important;
    color: #fff !important;
    box-shadow: 0 18px 36px rgba(229, 21, 66, .22) !important;
}

.dg-demo-category-card:hover::before,
.dg-demo-category-card:focus::before {
    background: #fff !important;
}

.dg-demo-category-card:hover small,
.dg-demo-category-card:focus small {
    background: #ffdce5 !important;
    color: var(--dg-accent, #e51542) !important;
}

.dg-demo-spotlight-panel {
    grid-template-columns: 285px minmax(0, 1fr) !important;
    direction: ltr;
}

.dg-demo-spotlight-thumbs {
    display: flex !important;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid #eef2f8;
    border-left: 0;
    padding-right: 20px;
    padding-left: 0;
}

.dg-demo-thumb-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 92px;
    max-height: 312px;
    overflow: hidden;
}

.dg-demo-thumb {
    display: flex;
    width: 92px;
    height: 92px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 18px;
    background: #f3f6fb;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dg-demo-thumb:hover,
.dg-demo-thumb:focus,
.dg-demo-thumb.is-active {
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 36, 48, .08);
    transform: translateX(4px);
}

.dg-demo-thumb img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.dg-demo-spotlight-mini {
    display: grid;
    width: 100%;
    max-width: 264px;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr) 62px;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 8px;
    direction: rtl;
    overflow: hidden;
}

.dg-demo-spotlight-mini strong {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    text-align: right;
}

.dg-demo-spotlight-mini small {
    grid-column: 1;
    grid-row: 2;
    width: min(126px, 100%);
    max-width: 100%;
    justify-self: start;
    box-sizing: border-box;
    padding: 0 8px;
    white-space: nowrap;
}

.dg-demo-spotlight-mini small span {
    max-width: 78px;
}

.dg-demo-spotlight-mini img {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: center;
}

.dg-demo-spotlight-mini {
    overflow: hidden;
}

.dg-demo-spotlight-mini small {
    width: 96px;
    max-width: 96px;
    justify-content: center;
    padding: 0 10px;
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
}

.dg-demo-spotlight-mini small span {
    display: inline-block;
    max-width: 62px;
    overflow: hidden;
    direction: ltr;
    text-overflow: ellipsis;
    unicode-bidi: plaintext;
}

.dg-demo-slides {
    min-width: 0;
}

.dg-demo-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) 325px;
    gap: 24px;
    height: 100%;
    direction: ltr;
}

.dg-demo-slide.is-active {
    display: grid;
}

.dg-demo-spotlight-visual {
    justify-content: center;
    min-height: 330px;
}

.dg-demo-countdown {
    display: none !important;
}

.dg-demo-deal-stats {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
}

.dg-demo-deal-stats > span {
    min-width: 74px;
}

.dg-demo-price-box {
    min-width: 174px;
    align-items: center !important;
    padding: 10px 16px;
    direction: rtl;
}

.dg-demo-price-box del {
    color: #9ca5b4;
    font-size: 12px;
    line-height: 1.6;
}

.dg-demo-price-box strong {
    color: var(--dg-accent, #e51542);
    font-size: 19px;
    font-weight: 950;
    line-height: 1.6;
}

.dg-demo-price-box small {
    color: var(--dg-text, #1f2430);
    font-size: 12px;
    font-weight: 900;
}

.home-feature-columns__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px;
    align-items: stretch;
}

.home-feature-columns .section-title {
    position: relative;
}

.home-feature-columns .section-title h2 {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: right;
}

.home-feature-columns .section-title h2::before,
.home-feature-columns .section-title h2::after {
    display: none !important;
}

.home-feature-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    min-height: 168px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e8edf4;
    border-radius: 8px;
    background: #fff;
    direction: rtl;
}

.home-feature-card__thumb {
    display: flex;
    width: 112px;
    height: 112px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fafbfc;
}

.home-feature-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-feature-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: right;
}

.home-feature-card__title {
    width: 100%;
    text-decoration: none;
}

.home-feature-card__title h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 0;
    overflow: hidden;
    color: #ff6b77;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.75;
    text-align: right;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-feature-card__price {
    display: flex;
    width: min(100%, 210px);
    min-height: 48px;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #fff;
    white-space: nowrap;
}

.home-feature-card__price del {
    color: #9ca5b4;
    font-size: 11px;
}

.home-feature-card__price strong {
    color: var(--dg-text, #1f2430);
    font-size: 16px;
    font-weight: 950;
}

.home-feature-card__price span {
    color: var(--dg-text, #1f2430);
    font-size: 12px;
    font-weight: 900;
}

.home-feature-card__cta {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #2b303a;
    border-radius: 8px;
    color: #2b303a;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.home-feature-card__cta:hover,
.home-feature-card__cta:focus {
    border-color: var(--dg-accent, #e51542);
    background: var(--dg-accent, #e51542);
    color: #fff;
}

@media (max-width: 1199px) {
    .dg-demo-spotlight-panel {
        grid-template-columns: 210px minmax(0, 1fr) !important;
    }

    .dg-demo-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .dg-demo-thumb-list,
    .dg-demo-thumb {
        width: 72px;
    }

    .dg-demo-thumb {
        height: 72px;
    }

    .dg-demo-thumb img {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 991px) {
    .dg-demo-spotlight-panel {
        grid-template-columns: 1fr !important;
    }

    .dg-demo-spotlight-thumbs {
        display: none !important;
    }

    .dg-demo-slide {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .home-feature-columns__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .dg-demo-slide {
        grid-template-columns: 1fr;
    }

    .dg-demo-spotlight-copy {
        order: 2;
    }

    .dg-demo-spotlight-visual {
        order: 1;
        min-height: 0;
    }

    .home-feature-columns__grid {
        grid-template-columns: 1fr !important;
    }

    .home-feature-card {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 150px;
    }

    .home-feature-card__thumb {
        width: 96px;
        height: 96px;
    }
}

/* Home demo completion: editable high-count categories, offer slider, footer */
.dg-demo-category-rail {
    padding-top: 58px !important;
}

.dg-demo-category-scroll {
    display: flex !important;
    gap: 20px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 46px 4px 16px;
    scroll-padding-inline: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.dg-demo-category-scroll::-webkit-scrollbar,
.dg-priority-category-scroll::-webkit-scrollbar {
    height: 7px;
}

.dg-demo-category-scroll::-webkit-scrollbar-track,
.dg-priority-category-scroll::-webkit-scrollbar-track {
    background: rgba(238, 242, 248, .75);
    border-radius: 999px;
}

.dg-demo-category-scroll::-webkit-scrollbar-thumb,
.dg-priority-category-scroll::-webkit-scrollbar-thumb {
    background: rgba(229, 21, 66, .45);
    border-radius: 999px;
}

.dg-demo-category-card {
    flex: 0 0 182px;
    scroll-snap-align: start;
}

.dg-demo-category-icon {
    top: -38px !important;
}

.dg-priority-category-strip {
    margin: 18px 0 48px;
    padding: 4px 0 8px;
    overflow: hidden;
}

.dg-priority-category-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 2px 16px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.dg-priority-category-card {
    position: relative;
    display: grid;
    flex: 0 0 205px;
    min-height: 96px;
    place-items: center;
    padding: 18px 16px 14px;
    border: 1px solid #e8edf4;
    border-radius: 8px;
    background: #fff;
    color: var(--dg-text, #1f2430);
    text-align: center;
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: 0 10px 24px rgba(31, 36, 48, .04);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.dg-priority-category-card:hover,
.dg-priority-category-card:focus {
    transform: translateY(-3px);
    border-color: rgba(229, 21, 66, .32);
    color: var(--dg-accent, #e51542);
    box-shadow: 0 16px 34px rgba(31, 36, 48, .08);
}

.dg-priority-category-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.dg-priority-category-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.dg-priority-category-card strong {
    display: block;
    width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dg-priority-category-card small {
    margin-top: 4px;
    color: #ff6b77;
    font-size: 12px;
    font-weight: 900;
}

.dg-demo-spotlight {
    overflow: hidden;
    padding-bottom: 86px !important;
}

.dg-demo-spotlight::before,
.dg-demo-spotlight::after {
    bottom: -86px !important;
    width: 44vw !important;
    height: 180px !important;
}

.dg-demo-stock,
.dg-demo-stock-caption {
    display: none !important;
}

.dg-demo-spotlight-subtitle {
    margin-bottom: 22px;
}

.dg-demo-deal-stats {
    margin-bottom: 24px !important;
}

.main-footer.dt-sl {
    position: relative;
    margin: 58px calc(50% - 50vw) 0;
    padding: 58px 0 0;
    overflow: hidden;
    border-top: 0;
    background: #f4f7fb;
}

.main-footer.dt-sl::before {
    content: "";
    position: absolute;
    top: -98px;
    right: -8vw;
    left: -8vw;
    height: 155px;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background: #fff;
}

.main-footer .back-to-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin: -26px 0 26px;
}

.main-footer .back-to-top a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--dg-accent, #e51542);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(229, 21, 66, .2);
}

.main-footer .container.main-container {
    position: relative;
    z-index: 1;
}

.footer-services {
    padding: 20px 18px;
    border: 1px solid #e8edf4;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 18px 45px rgba(31, 36, 48, .06);
}

.footer-services .service-item {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 0;
    text-align: center;
}

.footer-services .service-item img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.footer-services .service-item p {
    margin: 0;
    color: #4a5363;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.9;
}

.footer-widgets {
    margin-top: 24px;
}

.footer-widgets .widget,
.main-footer .newsletter,
.main-footer .socials {
    height: 100%;
    padding: 18px;
    border: 1px solid #e8edf4;
    border-radius: 10px !important;
    background: #fff;
    box-shadow: 0 16px 36px rgba(31, 36, 48, .045);
}

.footer-widgets .widget.card {
    border-color: #e8edf4;
}

.footer-widgets .card-header {
    padding: 0 0 12px;
    border-bottom: 1px solid #eef2f8;
    background: transparent;
}

.footer-widgets .card-title {
    margin: 0;
    font-size: 15px;
}

.footer-menu {
    margin: 14px 0 0;
}

.footer-menu li a {
    color: #4a5363;
    font-size: 13px;
    font-weight: 800;
    line-height: 2.2;
}

.footer-menu li a:hover,
.footer-menu li a:focus {
    color: var(--dg-accent, #e51542);
}

.main-footer .description {
    margin-top: 28px;
    padding: 28px 0;
    border-radius: 0 !important;
    background: #fff;
}

.main-footer .site-title {
    color: var(--dg-text, #1f2430);
    font-size: 18px;
    font-weight: 950;
}

.main-footer .symbol {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.main-footer .symbol a {
    display: inline-flex;
    min-width: 132px;
    min-height: 132px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8edf4;
    border-radius: 10px;
    background: #f7f9fc;
}

.main-footer .symbol img {
    max-width: 112px;
    max-height: 112px;
    object-fit: contain;
}

.main-footer .copyright {
    padding: 18px 0 24px;
    background: var(--dg-accent, #e51542);
    color: #fff;
}

.main-footer .copyright p,
.main-footer .copyright a {
    color: #fff;
}

@media (max-width: 991px) {
    .dg-demo-category-rail {
        padding-top: 54px !important;
    }

    .dg-demo-category-scroll {
        padding-top: 42px;
    }

    .footer-services .row {
        row-gap: 18px;
    }

    .main-footer .symbol {
        justify-content: center;
        margin-top: 18px;
    }
}

@media (max-width: 767px) {
    .dg-demo-category-rail {
        padding-top: 42px !important;
    }

    .dg-demo-category-card {
        flex-basis: 150px;
    }

    .dg-priority-category-card {
        flex-basis: 168px;
    }

    .dg-demo-spotlight {
        padding-bottom: 42px !important;
    }

    .main-footer.dt-sl {
        margin-right: -15px;
        margin-left: -15px;
        padding-top: 44px;
    }

    .main-footer .back-to-top {
        display: none;
    }

    .footer-services .service-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Template-matching product and banner frames. Content stays data-driven. */
.dg-template-product-strip {
    padding: 18px 18px 20px !important;
    border: 1px solid #edf1f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(31, 36, 48, .05);
}

.dg-template-product-showcase {
    display: grid;
    grid-template-columns: minmax(190px, 22%) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    direction: rtl;
}

.dg-template-side-banner {
    position: relative;
    display: block;
    height: 460px;
    min-height: 460px;
    align-self: start;
    overflow: hidden;
    border-radius: 24px;
    background: #e51542;
    box-shadow: 0 14px 34px rgba(229, 21, 66, .18);
}

.dg-template-side-banner img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: contain;
    object-position: center;
}

.dg-template-product-showcase .dg-mh-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

.dg-template-product-showcase .product-card {
    min-height: 460px;
    border: 0;
    border-radius: 22px;
    background: #f2f6fc;
    box-shadow: none;
}

.dg-template-product-showcase .product-card:hover {
    box-shadow: 0 18px 38px rgba(31, 36, 48, .08);
}

.dg-template-product-showcase .product-card .product-head {
    min-height: 38px;
    padding: 10px 10px 0;
}

.dg-template-product-showcase .product-card .product-thumb {
    height: 190px;
    flex-basis: 190px;
    margin: 0 14px 12px;
    border-radius: 20px;
    background: #fff;
}

.dg-template-product-showcase .product-card .product-thumb img {
    transform: none;
}

.dg-template-product-showcase .product-card-body {
    padding: 0 14px 16px;
}

.dg-template-product-showcase .product-title,
.dg-template-product-showcase .product-title a {
    min-height: 50px;
    max-height: 50px;
    color: #141d26;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.8;
}

.dg-template-product-showcase .product-meta {
    min-height: 34px;
    max-height: 34px;
    color: #6d7f99;
    font-size: 12px;
    line-height: 1.7;
}

.dg-template-product-showcase .product-price {
    min-height: 70px;
    border: 0;
    border-radius: 18px;
    background: #fff;
}

.dg-template-product-showcase .dg-product-cta {
    min-height: 38px;
    border-radius: 19px;
}

.dg-template-wide-banner {
    margin: 0 0 18px;
}

.dg-template-wide-banner a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #e51542;
    box-shadow: 0 16px 34px rgba(229, 21, 66, .12);
}

.dg-template-wide-banner img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 150px;
    object-fit: cover;
}

@media (max-width: 1199px) {
    .dg-template-product-showcase {
        grid-template-columns: 1fr;
    }

    .dg-template-side-banner {
        min-height: auto;
    }

    .dg-template-side-banner img {
        min-height: 180px;
        max-height: 260px;
    }
}

@media (max-width: 991px) {
    .dg-template-product-showcase .dg-mh-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .dg-template-product-strip {
        padding: 14px 12px !important;
    }

    .dg-template-product-showcase .dg-mh-product-grid {
        grid-template-columns: 1fr;
    }

    .dg-template-wide-banner img {
        min-height: 105px;
    }
}

@media (max-width: 991px) {
    header.main-header .topbar-main-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .topbar-account .nav {
        justify-content: flex-start;
    }

    header.main-header .main-menu .list > .dg-mega-menu > .dg-mega-menu-panel.sub-menu.nav,
    header.main-header .main-menu .list > .dg-products-menu > .dg-products-menu-panel.sub-menu.nav {
        width: calc(100vw - 24px);
        max-height: 68vh;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dg-mh-hero {
        grid-template-columns: 1fr;
    }

    .dg-mh-category-panel {
        min-height: 0;
    }

    .dg-mh-category-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dg-mh-services,
    .dg-mh-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dg-mh-side-banners {
        height: 170px;
    }
}

@media (max-width: 767px) {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .wrapper,
    .main-header,
    .main-content,
    .main-content > .container,
    .main-footer {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden;
    }

    .main-container,
    .container.main-container {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        padding-right: 10px;
        padding-left: 10px;
    }

    header.main-header .topbar-main-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    header.main-header .topbar-logo {
        justify-self: center;
        max-width: 220px;
        min-width: 0;
    }

    header.main-header .topbar-account {
        justify-self: center;
        margin-inline-start: 0;
    }

    .topbar-login-link,
    .profile-menu-toggle {
        max-width: 176px;
        padding: 0 10px;
        font-size: 12px;
    }

    .topbar-login-link .label-dropdown,
    .profile-menu-toggle .label-dropdown {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    header.main-header .main-menu > ul.list {
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    header.main-header .main-menu .list > .dg-mega-menu > a {
        min-width: 108px;
        justify-content: center;
        margin-left: 0;
        padding: 0 12px;
    }

    header.main-header .main-menu .list > .dg-mega-menu > .dg-mega-menu-panel.sub-menu.nav,
    header.main-header .main-menu .list > .dg-products-menu > .dg-products-menu-panel.sub-menu.nav {
        width: calc(100vw - 20px);
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px;
    }

    header.main-header .main-menu .list > .dg-products-menu .dg-products-menu-item > a {
        white-space: normal;
    }

    .main-header {
        margin-bottom: 12px;
    }

    .dg-logo-copy strong {
        font-size: 15px;
    }

    .dg-mh-main-banner {
        height: 250px;
        min-height: 0;
        width: 100%;
        max-width: 100%;
    }

    .dg-mh-main-banner .dg-mh-banner-link img {
        object-fit: contain;
        object-position: center;
        background: #e51542;
    }

    .dg-mh-banner-desktop {
        display: none !important;
    }

    .dg-mh-banner-mobile {
        display: block !important;
    }

    .dg-mh-category-panel {
        display: none;
    }

    .dg-mh-category-list {
        grid-template-columns: 1fr;
    }

    .dg-mh-category-list a {
        grid-template-columns: 28px minmax(0, 1fr) 62px;
        width: 100%;
    }

    .dg-mh-category-list small {
        text-align: left;
    }

    .dg-mh-hero-copy {
        inset: auto 18px 22px 18px;
        width: auto;
    }

    .dg-mh-hero-copy strong {
        font-size: 20px;
        line-height: 1.8;
    }

    .dg-mh-hero-copy p {
        font-size: 12px;
    }

    .dg-mh-hero-copy {
        display: none;
    }

    .dg-mh-side-banners,
    .dg-mh-image-cats,
    .dg-mh-services,
    .dg-mh-product-grid {
        grid-template-columns: 1fr;
    }

    .dg-mh-services div {
        justify-content: flex-start;
        border-left: 0;
        border-bottom: 1px solid #f0f1f4;
        padding: 0 8px;
    }

    .dg-mh-services div:last-child {
        border-bottom: 0;
    }

    .dg-mh-image-cats a {
        height: 150px;
    }
}

/* Revised home demo slider and feature grid */
.dg-demo-category-card.is-active {
    transform: none;
    background: #f2f5fa;
    color: var(--dg-text, #1f2430);
    box-shadow: none;
}

.dg-demo-category-card.is-active::before {
    background: var(--dg-accent, #e51542);
}

.dg-demo-category-card.is-active small {
    background: var(--dg-accent, #e51542);
    color: #fff;
}

.dg-demo-category-card:hover,
.dg-demo-category-card:focus {
    transform: translateY(-8px);
    background: var(--dg-accent, #e51542);
    color: #fff;
    box-shadow: 0 18px 36px rgba(229, 21, 66, .22);
}

.dg-demo-category-card:hover::before,
.dg-demo-category-card:focus::before {
    background: #fff;
}

.dg-demo-category-card:hover small,
.dg-demo-category-card:focus small {
    background: #ffdce5;
    color: var(--dg-accent, #e51542);
}

.dg-demo-spotlight-panel {
    grid-template-columns: 285px minmax(0, 1fr);
}

.dg-demo-spotlight-thumbs {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid #eef2f8;
    padding-right: 20px;
}

.dg-demo-thumb-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 92px;
    max-height: 312px;
    overflow: hidden;
}

.dg-demo-thumb {
    display: flex;
    width: 92px;
    height: 92px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 18px;
    background: #f3f6fb;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dg-demo-thumb:hover,
.dg-demo-thumb:focus,
.dg-demo-thumb.is-active {
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 36, 48, .08);
    transform: translateX(4px);
}

.dg-demo-thumb img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.dg-demo-slides {
    min-width: 0;
}

.dg-demo-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) 325px;
    gap: 24px;
    height: 100%;
    direction: ltr;
}

.dg-demo-slide.is-active {
    display: grid;
}

.dg-demo-spotlight-visual {
    justify-content: center;
    min-height: 330px;
}

.dg-demo-deal-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
}

.dg-demo-deal-stats > span {
    min-width: 74px;
}

.dg-demo-price-box {
    min-width: 174px;
    align-items: center !important;
    padding: 10px 16px;
    direction: rtl;
}

.dg-demo-price-box del {
    color: #9ca5b4;
    font-size: 12px;
    line-height: 1.6;
}

.dg-demo-price-box strong {
    color: var(--dg-accent, #e51542);
    font-size: 19px;
    font-weight: 950;
    line-height: 1.6;
}

.dg-demo-price-box small {
    color: var(--dg-text, #1f2430);
    font-size: 12px;
    font-weight: 900;
}

.home-feature-columns {
    padding: 18px 16px 20px;
}

.home-feature-columns__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px;
    align-items: stretch;
}

.home-feature-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    min-height: 168px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e8edf4;
    border-radius: 8px;
    background: #fff;
    direction: rtl;
}

.home-feature-card__thumb {
    display: flex;
    width: 112px;
    height: 112px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fafbfc;
}

.home-feature-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-feature-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: right;
}

.home-feature-card__title {
    width: 100%;
    text-decoration: none;
}

.home-feature-card__title h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 0;
    overflow: hidden;
    color: #ff6b77;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.75;
    text-align: right;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-feature-card__price {
    display: flex;
    width: min(100%, 210px);
    min-height: 48px;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #fff;
    white-space: nowrap;
}

.home-feature-card__price del {
    color: #9ca5b4;
    font-size: 11px;
}

.home-feature-card__price strong {
    color: var(--dg-text, #1f2430);
    font-size: 16px;
    font-weight: 950;
}

.home-feature-card__price span {
    color: var(--dg-text, #1f2430);
    font-size: 12px;
    font-weight: 900;
}

.home-feature-card__cta {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #2b303a;
    border-radius: 8px;
    color: #2b303a;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.home-feature-card__cta:hover,
.home-feature-card__cta:focus {
    border-color: var(--dg-accent, #e51542);
    background: var(--dg-accent, #e51542);
    color: #fff;
}

@media (max-width: 1199px) {
    .dg-demo-spotlight-panel {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .dg-demo-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .dg-demo-thumb-list,
    .dg-demo-thumb {
        width: 72px;
    }

    .dg-demo-thumb {
        height: 72px;
    }

    .dg-demo-thumb img {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 991px) {
    .dg-demo-spotlight-panel {
        grid-template-columns: 1fr;
    }

    .dg-demo-spotlight-thumbs {
        display: none;
    }

    .dg-demo-slide {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .home-feature-columns__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .dg-demo-slide {
        grid-template-columns: 1fr;
    }

    .dg-demo-spotlight-copy {
        order: 2;
    }

    .dg-demo-spotlight-visual {
        order: 1;
        min-height: 0;
    }

    .home-feature-columns__grid {
        grid-template-columns: 1fr !important;
    }

    .home-feature-card {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 150px;
    }

    .home-feature-card__thumb {
        width: 96px;
        height: 96px;
    }
}

/* Requested polish pass */
@font-face {
    font-family: "DGShabnam";
    src: url("../Fonts/shabnam/Shabnam-Bold.woff2") format("woff2"),
         url("../Fonts/shabnam/Shabnam-Bold.woff") format("woff");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DGYekan";
    src: url("../Fonts/BYekan.woff") format("woff");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

header.main-header .topbar-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

header.main-header .dg-logo-link {
    width: auto;
    gap: 9px;
}

header.main-header .dg-logo-mark-image {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 8px;
    box-shadow: 0 9px 18px rgba(229, 21, 66, .18);
}

header.main-header .dg-logo-copy {
    font-family: "DGShabnam", "DGYekan", Tahoma, Arial, sans-serif;
    line-height: 1.55;
}

header.main-header .dg-logo-copy strong {
    font-family: "DGShabnam", "DGYekan", Tahoma, Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #111827;
}

header.main-header .dg-logo-copy small {
    font-family: "DGYekan", "IRANSans", Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #626b7f;
}

header.main-header .nav-item.account {
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

header.main-header .topbar-login-link,
header.main-header .profile-menu-toggle {
    min-width: 190px;
    justify-content: center;
    border: 1px solid #e7ebf0;
    box-shadow: 0 8px 18px rgba(31, 36, 48, .045);
}

header.main-header .topbar-login-link:hover,
header.main-header .profile-menu-toggle:hover {
    border-color: rgba(229, 21, 66, .28);
    color: var(--dg-accent);
}

.dg-mh-hero {
    margin-top: 2px;
}

.dg-mh-main-banner,
.dg-mh-side-banners,
.dg-mh-category-panel {
    height: 310px;
}

.dg-mh-main-banner {
    min-height: 310px;
}

.dg-mh-side-banner img,
.dg-mh-banner-link img {
    object-fit: cover;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 505px;
}

.product-card .product-head {
    flex: 0 0 38px;
}

.product-card .product-thumb {
    flex: 0 0 210px;
    height: 210px;
    padding: 8px;
}

.product-card .product-thumb img,
.product-card .product-thumb picture,
.product-card .product-thumb .seo-image,
.product-card .product-thumb .banner-seo-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain;
    object-position: center;
}

.product-card .product-thumb img {
    transform: scale(1.08);
}

.product-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 12px 14px 14px;
}

.product-title,
.product-title a {
    min-height: 56px;
    max-height: 56px;
    overflow: hidden;
}

.product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-meta {
    min-height: 40px;
    max-height: 40px;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    min-height: 76px;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    background: #fff;
}

.product-price-line {
    min-height: 26px;
}

.dg-product-cta {
    margin-top: auto;
}

.product-carousel .owl-stage {
    display: flex;
}

.product-carousel .owl-item,
.product-carousel .item {
    display: flex;
    height: auto;
}

.product-carousel .item > .product-card {
    width: 100%;
}

.home-feature-columns {
    padding: 16px;
}

.home-feature-columns__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-feature-columns__column {
    min-width: 0;
    padding: 0;
}

.home-feature-columns__column-inner {
    display: grid;
    gap: 10px;
}

.home-feature-columns .card-horizontal-product {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    min-height: 132px;
    padding: 10px;
    border: 1px solid #edf0f4 !important;
    border-radius: 8px !important;
    background: #fff;
}

.home-feature-columns .card-horizontal-product-thumb {
    width: 96px;
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-radius: 8px;
}

.home-feature-columns .card-horizontal-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.08);
}

.home-feature-columns .card-horizontal-product-content {
    min-width: 0;
}

.home-feature-columns .card-horizontal-product-title h3 {
    display: -webkit-box;
    min-height: 42px;
    max-height: 42px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    line-height: 1.8;
}

.home-feature-columns .rating-stars {
    display: none;
}

.home-feature-columns .product-price {
    min-height: 44px;
    padding: 6px 8px;
    margin-top: 4px;
}

.home-feature-columns .product-price-label {
    display: none;
}

.home-feature-columns .card-horizontal-product-buttons .btn {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 11px;
}

.contact-reg-card {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: 360px;
    overflow: hidden;
    padding: 0 !important;
    background: #fff;
}

.contact-reg-card__rail {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border-left: 4px solid #0b4f79;
    background: #f2f6fa;
}

.contact-reg-card__rail span {
    position: absolute;
    top: 24px;
    right: 46px;
    min-width: 122px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #1684bd;
    color: #fff;
    font-weight: 900;
    text-align: center;
}

.contact-reg-card__rail i {
    position: absolute;
    top: 82px;
    right: 54px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #063b62;
    color: #fff;
    font-size: 25px;
}

.contact-reg-card__body {
    padding: 24px 28px;
}

.contact-reg-card dl {
    margin: 0;
    border: 1px solid #e6edf3;
    border-radius: 8px;
    overflow: hidden;
}

.contact-reg-card dl > div {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 12px;
    min-height: 58px;
    padding: 14px 16px;
    border-bottom: 1px solid #e6edf3;
    background: #fff;
}

.contact-reg-card dl > div:nth-child(even) {
    background: #f6fbfd;
}

.contact-reg-card dl > div:last-child {
    border-bottom: 0;
}

.contact-reg-card dt {
    margin: 0;
    color: #2f3947;
    font-weight: 900;
}

.contact-reg-card dd {
    margin: 0;
    color: #4d5868;
    line-height: 2;
    overflow-wrap: anywhere;
}

.contact-reg-card a {
    color: #1684bd;
    font-weight: 800;
}

.contact-action-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 70px;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    background: #fff;
    color: var(--dg-text);
    font-weight: 900;
}

.contact-action-card i {
    color: var(--dg-accent);
    font-size: 24px;
}

.footer-contact-lines {
    display: grid;
    gap: 7px;
    margin-top: 12px;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.9;
}

.footer-contact-lines span {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.footer-contact-lines i {
    color: var(--dg-accent);
    font-size: 17px;
    line-height: 1.7;
}

@media (min-width: 1200px) {
    .dg-mh-hero {
        grid-template-columns: 215px minmax(0, 1fr) 195px;
    }
}

@media (max-width: 991px) {
    .product-card {
        min-height: 480px;
    }

    .product-card .product-thumb {
        flex-basis: 190px;
        height: 190px;
    }

    .home-feature-columns__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-reg-card dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 767px) {
    .main-header {
        margin-bottom: 0;
    }

    .main-content {
        padding-top: 10px;
        margin-top: 0;
    }

    header.main-header .dg-logo-link {
        justify-content: center;
    }

    header.main-header .dg-logo-copy strong {
        font-size: 18px;
    }

    header.main-header .topbar-login-link,
    header.main-header .profile-menu-toggle {
        min-width: 210px;
    }

    .product-card {
        min-height: 455px;
    }

    .product-card .product-thumb {
        flex-basis: 172px;
        height: 172px;
    }

    .product-price {
        min-height: 70px;
    }

    .home-feature-columns__grid {
        grid-template-columns: 1fr;
    }

    .home-feature-columns .card-horizontal-product {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .contact-reg-card {
        grid-template-columns: 1fr;
    }

    .contact-reg-card__rail {
        min-height: 86px;
        border-left: 0;
        border-bottom: 4px solid #0b4f79;
    }

    .contact-reg-card__rail span {
        top: 22px;
        right: 16px;
    }

    .contact-reg-card__rail i {
        top: 22px;
        right: auto;
        left: 18px;
    }

    .contact-reg-card__body {
        padding: 16px;
    }
}

/* Demo-inspired storefront refresh */
:root {
    --dg-accent: #e51542;
    --dg-accent-dark: #c90f39;
    --dg-accent-soft: #fff1f4;
    --dg-yellow: #ffb703;
    --dg-green: #12b981;
    --dg-text: #1f2430;
    --dg-soft-text: #697386;
    --dg-line: #edf0f4;
    --dg-panel: #ffffff;
}

body,
.wrapper {
    background: #f4f5f7;
}

.main-container {
    max-width: 1340px;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(237, 240, 244, .9);
    box-shadow: 0 10px 34px rgba(31, 36, 48, .07);
}

header.main-header .topbar-main-row {
    grid-template-columns: 230px minmax(320px, 1fr) 230px;
}

.dg-logo-link {
    width: 100%;
    min-width: 0;
}

.dg-logo-image {
    display: block;
    width: 214px;
    max-width: 100%;
    height: auto;
}

.topbar-search .search,
header.main-header .search-area form.search input {
    border-radius: 8px;
    border-color: #e7ebf0;
    background: #f7f8fa;
}

.topbar-search .search:focus-within {
    background: #fff;
    border-color: rgba(229, 21, 66, .36);
    box-shadow: 0 0 0 4px rgba(229, 21, 66, .08);
}

.topbar-search .search button,
header.main-header .search-area form.search button {
    background: var(--dg-accent);
}

.topbar-login-link,
.profile-menu-toggle,
header.main-header .nav-item.account {
    border-color: #e7ebf0;
    box-shadow: 0 8px 20px rgba(31, 36, 48, .04);
}

.bottom-header {
    background: #fff;
}

header.main-header .main-menu .list > .dg-mega-menu > a,
.main-menu .category-list > a {
    background: var(--dg-accent);
    box-shadow: 0 9px 18px rgba(229, 21, 66, .18);
}

header.main-header .main-menu .list > .dg-mega-menu > a:hover,
header.main-header .main-menu .list > .dg-mega-menu:hover > a,
.main-menu .category-list > a:hover {
    background: var(--dg-accent-dark);
}

.dg-mh-hero {
    grid-template-columns: 225px minmax(0, 1fr) 205px;
    gap: 14px;
    align-items: stretch;
}

.dg-mh-category-panel,
.dg-mh-main-banner,
.dg-mh-side-banner,
.dg-mh-services,
.dg-mh-image-cats a,
.dg-mh-product-strip,
.dt-sn,
.dt-sl.dt-sn,
.slider-section,
.widget,
.card {
    border: 1px solid var(--dg-line);
    border-radius: 8px;
    background: var(--dg-panel);
    box-shadow: 0 10px 28px rgba(31, 36, 48, .045);
}

.dg-mh-category-panel {
    display: block;
    height: 324px;
}

.dg-mh-panel-title {
    color: var(--dg-text);
}

.dg-mh-panel-title i {
    color: var(--dg-accent);
}

.dg-mh-category-list a {
    border: 1px solid transparent;
}

.dg-mh-category-list a:hover {
    border-color: #ffe0e7;
    background: var(--dg-accent-soft);
}

.dg-mh-main-banner {
    box-shadow: 0 16px 38px rgba(229, 21, 66, .12);
}

.dg-mh-main-banner::after {
    background:
        linear-gradient(90deg, rgba(31, 36, 48, .05), rgba(229, 21, 66, .74)),
        linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .18));
}

.dg-mh-hero-copy span {
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(4px);
}

.dg-mh-hero-copy a {
    box-shadow: 0 10px 22px rgba(31, 36, 48, .16);
}

.dg-mh-side-banner::after,
.dg-mh-image-cats a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .34));
    pointer-events: none;
}

.dg-mh-services {
    padding: 0;
}

.dg-mh-services div {
    min-height: 68px;
}

.dg-mh-services span {
    color: var(--dg-text);
}

.dg-mh-image-cats span {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    color: var(--dg-text);
}

.dg-mh-section-head,
.section-title,
.category-section-title {
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 10px;
}

.dg-mh-section-head h2,
.section-title h2,
.category-section-title h3 {
    color: var(--dg-text);
}

.product-card {
    border-color: var(--dg-line);
}

.product-card .product-head {
    min-height: 38px;
    padding: 8px 10px 0;
}

.product-card .product-thumb {
    background: linear-gradient(180deg, #fbfbfc, #f6f7f9);
}

.product-title,
.product-title a {
    min-height: 52px;
}

.product-price,
.price,
.product-card .price {
    color: var(--dg-text);
    font-weight: 950;
}

.dg-installment-badge {
    background: rgba(18, 185, 129, .12);
    color: var(--dg-green);
}

.discount span,
.product-card .discount span {
    background: var(--dg-accent);
}

.dg-product-cta {
    background: var(--dg-accent-soft);
    color: var(--dg-accent);
}

.dg-product-cta:hover,
.dg-product-cta:focus {
    background: var(--dg-accent);
    color: #fff;
}

.main-content .breadcrumb,
.main-content .dt-sn,
.main-content .widget,
.main-content .card,
.product-search-main,
.checkout-section,
.product-details,
.content-page,
.login-box,
.register-box {
    border-radius: 8px !important;
    border-color: var(--dg-line) !important;
    box-shadow: 0 10px 26px rgba(31, 36, 48, .045);
}

.main-content .breadcrumb {
    padding: 12px 16px;
    background: #fff;
}

.main-content h1,
.main-content h2,
.main-content h3,
.card-title {
    color: var(--dg-text);
    font-weight: 950;
}

.btn-primary,
.btn-info,
.btn-outline-info:hover,
.pagination .active .page-link {
    border-color: var(--dg-accent) !important;
    background-color: var(--dg-accent) !important;
}

.btn-outline-info,
.pagination .page-link {
    color: var(--dg-accent);
    border-color: #ffd6df;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(229, 21, 66, .42) !important;
    box-shadow: 0 0 0 4px rgba(229, 21, 66, .08) !important;
}

.main-footer {
    border-top: 1px solid var(--dg-line);
}

.footer-services,
.footer-widgets .widget,
.description {
    border-radius: 8px;
}

@media (max-width: 1199px) {
    .dg-mh-hero {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .dg-mh-side-banners {
        display: none;
    }
}

@media (max-width: 991px) {
    .main-header {
        position: relative;
    }

    header.main-header .topbar-main-row {
        grid-template-columns: 1fr;
    }

    .dg-mh-hero {
        grid-template-columns: 1fr;
    }

    .dg-mh-category-panel {
        height: auto;
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .dg-logo-image {
        width: 188px;
        margin-inline: auto;
    }

    header.main-header .bottom-header {
        display: none;
    }

    .dg-mh-category-panel {
        display: none;
    }

    .dg-mh-main-banner {
        height: 238px;
    }

    .dg-mh-services div {
        justify-content: center;
        gap: 8px;
        padding: 0 12px;
        text-align: center;
    }

    .dg-mh-services img {
        flex: 0 0 34px;
    }

    .dg-mh-services span {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .dg-mh-image-cats span {
        right: 12px;
        left: 12px;
        width: auto;
        max-width: calc(100% - 24px);
        font-size: 18px;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Final Donyaye Ghesti overrides */
.dg-mh-category-panel {
    display: none !important;
}

.dg-demo-home {
    position: relative;
    margin: 0 calc(50% - 50vw) 20px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #fff 0 245px, var(--dg-accent, #e51542) 245px 100%);
}

.dg-demo-home::before {
    content: "";
    position: absolute;
    z-index: 1;
    right: -8vw;
    left: -8vw;
    top: 177px;
    height: 145px;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background: #fff;
    pointer-events: none;
}

.dg-demo-category-rail,
.dg-demo-spotlight {
    position: relative;
    z-index: 2;
}

.dg-demo-category-rail {
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px 18px 118px;
}

.dg-demo-category-scroll {
    display: grid;
    grid-template-columns: repeat(6, minmax(138px, 1fr));
    gap: 20px;
    align-items: end;
}

.dg-demo-category-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 142px;
    padding: 50px 16px 16px;
    border-radius: 18px 18px 26px 8px;
    background: #f2f5fa;
    color: var(--dg-text, #1f2430);
    text-align: center;
    text-decoration: none;
    isolation: isolate;
    transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.dg-demo-category-card::before {
    content: "";
    position: absolute;
    right: -6px;
    top: 52px;
    width: 10px;
    height: 31px;
    border-radius: 10px;
    background: var(--dg-accent, #e51542);
}

.dg-demo-category-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 58%;
    height: 57px;
    border-radius: 26px 0 26px 0;
    background: #fff;
    z-index: -1;
}

.dg-demo-category-card:hover,
.dg-demo-category-card:focus,
.dg-demo-category-card.is-active {
    transform: translateY(-8px);
    background: var(--dg-accent, #e51542);
    color: #fff;
    box-shadow: 0 18px 36px rgba(229, 21, 66, .22);
}

.dg-demo-category-card.is-active::before,
.dg-demo-category-card:hover::before,
.dg-demo-category-card:focus::before {
    background: #fff;
}

.dg-demo-category-card strong {
    display: block;
    width: 100%;
    min-height: 30px;
    overflow: hidden;
    color: inherit;
    font-size: 16px;
    font-weight: 950;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dg-demo-category-card small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    height: 36px;
    margin-top: 14px;
    padding: 0 12px;
    border-radius: 18px;
    background: var(--dg-accent, #e51542);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.dg-demo-category-card.is-active small,
.dg-demo-category-card:hover small,
.dg-demo-category-card:focus small {
    background: #ffdce5;
    color: var(--dg-accent, #e51542);
}

.dg-demo-category-icon {
    position: absolute;
    top: -39px;
    right: 50%;
    display: inline-flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    transform: translateX(50%);
    border: 7px solid #eef2f8;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 36, 48, .08);
}

.dg-demo-category-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.dg-demo-spotlight {
    margin-top: -84px;
    padding: 96px 18px 42px;
    background: var(--dg-accent, #e51542);
}

.dg-demo-spotlight::before,
.dg-demo-spotlight::after {
    content: "";
    position: absolute;
    bottom: -44px;
    width: 35vw;
    height: 150px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: #fff;
    pointer-events: none;
}

.dg-demo-spotlight::before {
    right: -16vw;
}

.dg-demo-spotlight::after {
    left: -16vw;
}

.dg-demo-spotlight-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr) 325px;
    gap: 24px;
    width: min(100%, 1250px);
    min-height: 420px;
    margin: 0 auto;
    padding: 28px 32px;
    border: 1px solid #eef2f8;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(31, 36, 48, .16);
    direction: ltr;
}

.dg-demo-spotlight-panel::before {
    content: "";
    position: absolute;
    top: -28px;
    right: 28%;
    width: 44%;
    height: 28px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: rgba(247, 249, 252, .78);
}

.dg-demo-spotlight-thumbs {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px 18px;
    align-content: center;
    direction: rtl;
    border-right: 1px solid #eef2f8;
    padding-right: 20px;
}

.dg-demo-spotlight-thumbs > span {
    display: flex;
    width: 92px;
    height: 92px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #f3f6fb;
}

.dg-demo-spotlight-thumbs > span img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.dg-demo-spotlight-mini {
    position: relative;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 10px;
    align-items: center;
    min-height: 98px;
    padding: 14px 18px;
    border-radius: 20px 8px 20px 20px;
    background: var(--dg-accent, #e51542);
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.dg-demo-spotlight-mini strong {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.8;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dg-demo-spotlight-mini small {
    display: inline-flex;
    width: 96px;
    max-width: 96px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 17px;
    background: #fff;
    color: var(--dg-text, #1f2430);
    font-size: 11px;
    font-weight: 950;
    overflow: hidden;
    white-space: nowrap;
}

.dg-demo-spotlight-mini small span {
    display: inline-block;
    max-width: 62px;
    overflow: hidden;
    direction: ltr;
    text-overflow: ellipsis;
    unicode-bidi: plaintext;
}

.dg-demo-spotlight-mini img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

.dg-demo-spotlight-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    direction: rtl;
    text-align: center;
}

.dg-demo-spotlight-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--dg-text, #1f2430);
    font-size: 24px;
    font-weight: 950;
    line-height: 1.8;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dg-demo-spotlight-subtitle {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: #6d86ad;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dg-demo-stock {
    height: 10px;
    margin: 24px 18px 14px;
    overflow: hidden;
    border-radius: 99px;
    background: #eef2f8;
}

.dg-demo-stock span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: repeating-linear-gradient(-45deg, var(--dg-accent, #e51542) 0 14px, #d5113b 14px 24px);
}

.dg-demo-stock-caption {
    margin: 0 0 24px;
    color: var(--dg-text, #1f2430);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
}

.dg-demo-stock-caption b {
    color: var(--dg-accent, #e51542);
}

.dg-demo-deal-stats {
    display: grid;
    grid-template-columns: 86px 74px minmax(132px, 1fr);
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
}

.dg-demo-deal-stats > span {
    display: flex;
    min-height: 76px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f2f5fa;
    color: var(--dg-text, #1f2430);
    font-size: 13px;
    font-weight: 850;
}

.dg-demo-deal-stats b {
    color: var(--dg-accent, #e51542);
    font-size: 18px;
    font-weight: 950;
}

.dg-demo-price-pill {
    position: relative;
    align-items: flex-start !important;
    padding-right: 46px;
}

.dg-demo-price-pill::before,
.dg-demo-price-pill::after {
    position: absolute;
    right: 10px;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: var(--dg-accent, #e51542);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    line-height: 29px;
}

.dg-demo-price-pill::before {
    content: "تومـ";
    top: 10px;
}

.dg-demo-price-pill::after {
    content: "ــان";
    top: 39px;
}

.dg-demo-price-pill del {
    color: #9ca5b4;
    font-size: 12px;
    line-height: 1.4;
}

.dg-demo-price-pill small {
    display: none;
}

.dg-demo-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    color: var(--dg-text, #1f2430);
    font-size: 13px;
    font-weight: 850;
}

.dg-demo-features span {
    position: relative;
    padding-right: 14px;
}

.dg-demo-features span::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 4px;
    height: 18px;
    transform: translateY(-50%);
    border-radius: 8px;
    background: var(--dg-accent, #e51542);
}

.dg-demo-spotlight-visual {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    direction: rtl;
    border-radius: 24px;
    background: #f1f5fb;
    padding: 24px;
    color: inherit;
    text-decoration: none;
}

.dg-demo-spotlight-visual > img {
    display: block;
    width: 100%;
    height: 244px;
    margin: 0 auto;
    border-radius: 20px;
    background: #fff;
    object-fit: contain;
    padding: 18px;
}

.dg-demo-spotlight-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
    display: inline-flex;
    min-width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--dg-accent, #e51542);
    color: #fff;
    font-weight: 950;
}

.dg-demo-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 20px;
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(31, 36, 48, .06);
}

.dg-demo-countdown span {
    display: flex;
    min-width: 0;
    min-height: 64px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--dg-text, #1f2430);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.7;
}

.dg-demo-countdown b {
    color: var(--dg-accent, #e51542);
    font-size: 18px;
    font-weight: 950;
}

.dg-demo-services {
    margin-top: 18px;
}

.dg-mh-hero {
    grid-template-columns: minmax(0, 1fr) 205px !important;
}

.dg-mh-main-banner {
    min-width: 0;
}

.home-feature-columns {
    padding: 18px 16px 20px;
}

.home-feature-columns .section-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid #eef1f5;
}

.home-feature-columns .section-title::before,
.home-feature-columns .section-title::after {
    display: none !important;
}

.home-feature-columns .section-title h2 {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: right;
    line-height: 1.8;
}

.home-feature-columns__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
}

.home-feature-columns__column-inner {
    grid-template-rows: repeat(3, minmax(0, 1fr));
    height: 100%;
}

.home-feature-columns .card-horizontal-product {
    height: 100%;
    min-height: 144px;
    overflow: hidden;
}

.price-range-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    white-space: nowrap;
    color: #3f4451;
    font-size: 13px;
    line-height: 2;
}

.price-range-label,
.price-range-value {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.product-details-desc,
.product-details-desc p,
.product-details-long-desc,
.product-details-long-desc p,
.product-details-seo-intro .product-seo-intro,
.main-footer .description,
.main-footer .description p,
.site-description,
.site-description p {
    text-align: justify;
    text-align-last: auto;
}

/* Footer final overrides: main.css uses stronger footer selectors */
footer.main-footer .newsletter,
footer.main-footer .socials {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid #e8edf4 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 16px 36px rgba(31, 36, 48, .045) !important;
}

footer.main-footer .newsletter {
    margin-bottom: 16px !important;
}

footer.main-footer .socials {
    text-align: right;
}

footer.main-footer .copyright {
    padding: 18px 0 24px !important;
    background: var(--dg-accent, #e51542) !important;
    color: #fff !important;
}

footer.main-footer .copyright p,
footer.main-footer .copyright a {
    color: #fff !important;
}

footer.main-footer .copyright a:hover,
footer.main-footer .copyright a:focus {
    color: #fff !important;
    opacity: .9;
}

.dg-floating-back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1100;
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(229, 21, 66, .22);
    border-radius: 50%;
    background: var(--dg-accent, #e51542);
    color: #fff;
    box-shadow: 0 12px 28px rgba(31, 36, 48, .18);
    font-size: 28px;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.dg-floating-back-to-top:hover,
.dg-floating-back-to-top:focus {
    background: var(--dg-accent-dark, #c91038);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(31, 36, 48, .22);
}

@media (max-width: 1199px) {
    .dg-demo-category-scroll {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
        row-gap: 58px;
    }

    .dg-demo-spotlight {
        margin-top: -58px;
    }

    .dg-demo-spotlight-panel {
        grid-template-columns: 210px minmax(0, 1fr) 280px;
        gap: 18px;
        padding: 24px;
    }

    .dg-demo-spotlight-thumbs {
        grid-template-columns: 72px minmax(0, 1fr);
        padding-right: 14px;
    }

    .dg-demo-spotlight-thumbs > span {
        width: 72px;
        height: 72px;
    }

    .dg-demo-spotlight-title {
        font-size: 21px;
    }

    .dg-mh-hero {
        grid-template-columns: 1fr !important;
    }

    .dg-mh-side-banners {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .dg-demo-home {
        background:
            linear-gradient(180deg, #fff 0 360px, var(--dg-accent, #e51542) 360px 100%);
    }

    .dg-demo-home::before {
        top: 292px;
    }

    .dg-demo-category-rail {
        padding-bottom: 98px;
    }

    .dg-demo-spotlight-panel {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .dg-demo-spotlight-thumbs {
        display: none;
    }

    .home-feature-columns__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .dg-demo-home {
        margin-right: -15px;
        margin-left: -15px;
        background:
            linear-gradient(180deg, #fff 0 225px, var(--dg-accent, #e51542) 225px 100%);
    }

    .dg-demo-home::before {
        top: 160px;
        height: 108px;
    }

    .dg-demo-category-rail {
        padding: 22px 15px 84px;
    }

    .dg-demo-category-scroll {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: visible;
        padding: 42px 3px 12px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .dg-demo-category-card {
        flex: 0 0 138px;
        min-height: 132px;
        scroll-snap-align: start;
    }

    .dg-demo-category-card strong {
        font-size: 14px;
    }

    .dg-demo-category-icon {
        width: 64px;
        height: 64px;
        top: -32px;
    }

    .dg-demo-category-icon img {
        width: 35px;
        height: 35px;
    }

    .dg-demo-spotlight {
        margin-top: -56px;
        padding: 74px 15px 30px;
    }

    .dg-demo-spotlight::before,
    .dg-demo-spotlight::after {
        display: none;
    }

    .dg-demo-spotlight-panel {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 18px;
        border-radius: 22px;
    }

    .dg-demo-spotlight-copy {
        order: 2;
    }

    .dg-demo-spotlight-visual {
        order: 1;
        padding: 16px;
    }

    .dg-demo-spotlight-visual > img {
        height: 210px;
        padding: 14px;
    }

    .dg-demo-spotlight-title {
        font-size: 18px;
    }

    .dg-demo-spotlight-subtitle {
        white-space: normal;
    }

    .dg-demo-deal-stats {
        grid-template-columns: 1fr 1fr;
    }

    .dg-demo-price-pill {
        grid-column: 1 / -1;
    }

    .dg-demo-countdown {
        gap: 6px;
        padding: 10px;
    }

    .dg-demo-countdown span {
        min-height: 58px;
        font-size: 11px;
    }

    .home-feature-columns__grid {
        grid-template-columns: 1fr !important;
    }

    .dg-floating-back-to-top {
        right: 14px;
        bottom: 86px;
        width: 42px;
        height: 42px;
        font-size: 24px;
    }
}

/* Last-pass fixes for the RTLTheme-like home layout */
.dg-demo-category-card.is-active {
    transform: none !important;
    background: #f2f5fa !important;
    color: var(--dg-text, #1f2430) !important;
    box-shadow: none !important;
}

.dg-demo-category-card.is-active::before {
    background: var(--dg-accent, #e51542) !important;
}

.dg-demo-category-card.is-active small {
    background: var(--dg-accent, #e51542) !important;
    color: #fff !important;
}

.dg-demo-category-card:hover,
.dg-demo-category-card:focus {
    transform: translateY(-8px) !important;
    background: var(--dg-accent, #e51542) !important;
    color: #fff !important;
    box-shadow: 0 18px 36px rgba(229, 21, 66, .22) !important;
}

.dg-demo-category-card:hover::before,
.dg-demo-category-card:focus::before {
    background: #fff !important;
}

.dg-demo-category-card:hover small,
.dg-demo-category-card:focus small {
    background: #ffdce5 !important;
    color: var(--dg-accent, #e51542) !important;
}

.dg-demo-spotlight-panel {
    grid-template-columns: 285px minmax(0, 1fr) !important;
    direction: ltr;
}

.dg-demo-spotlight-thumbs {
    display: flex !important;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid #eef2f8;
    border-left: 0;
    padding-right: 20px;
    padding-left: 0;
}

.dg-demo-thumb-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 92px;
    max-height: 312px;
    overflow: hidden;
}

.dg-demo-thumb {
    display: flex;
    width: 92px;
    height: 92px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 18px;
    background: #f3f6fb;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dg-demo-thumb:hover,
.dg-demo-thumb:focus,
.dg-demo-thumb.is-active {
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 36, 48, .08);
    transform: translateX(4px);
}

.dg-demo-thumb img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.dg-demo-slides {
    min-width: 0;
}

.dg-demo-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) 325px;
    gap: 24px;
    height: 100%;
    direction: ltr;
}

.dg-demo-slide.is-active {
    display: grid;
}

.dg-demo-spotlight-visual {
    justify-content: center;
    min-height: 330px;
}

.dg-demo-countdown {
    display: none !important;
}

.dg-demo-deal-stats {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
}

.dg-demo-deal-stats > span {
    min-width: 74px;
}

.dg-demo-price-box {
    min-width: 174px;
    align-items: center !important;
    padding: 10px 16px;
    direction: rtl;
}

.dg-demo-price-box del {
    color: #9ca5b4;
    font-size: 12px;
    line-height: 1.6;
}

.dg-demo-price-box strong {
    color: var(--dg-accent, #e51542);
    font-size: 19px;
    font-weight: 950;
    line-height: 1.6;
}

.dg-demo-price-box small {
    color: var(--dg-text, #1f2430);
    font-size: 12px;
    font-weight: 900;
}

.home-feature-columns__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px;
    align-items: stretch;
}

.home-feature-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    min-height: 168px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e8edf4;
    border-radius: 8px;
    background: #fff;
    direction: rtl;
}

.home-feature-card__thumb {
    display: flex;
    width: 112px;
    height: 112px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fafbfc;
}

.home-feature-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-feature-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: right;
}

.home-feature-card__title {
    width: 100%;
    text-decoration: none;
}

.home-feature-card__title h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 0;
    overflow: hidden;
    color: #ff6b77;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.75;
    text-align: right;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-feature-card__price {
    display: flex;
    width: min(100%, 210px);
    min-height: 48px;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    background: #fff;
    white-space: nowrap;
}

.home-feature-card__price del {
    color: #9ca5b4;
    font-size: 11px;
}

.home-feature-card__price strong {
    color: var(--dg-text, #1f2430);
    font-size: 16px;
    font-weight: 950;
}

.home-feature-card__price span {
    color: var(--dg-text, #1f2430);
    font-size: 12px;
    font-weight: 900;
}

.home-feature-card__cta {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #2b303a;
    border-radius: 8px;
    color: #2b303a;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.home-feature-card__cta:hover,
.home-feature-card__cta:focus {
    border-color: var(--dg-accent, #e51542);
    background: var(--dg-accent, #e51542);
    color: #fff;
}

@media (max-width: 1199px) {
    .dg-demo-spotlight-panel {
        grid-template-columns: 210px minmax(0, 1fr) !important;
    }

    .dg-demo-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .dg-demo-thumb-list,
    .dg-demo-thumb {
        width: 72px;
    }

    .dg-demo-thumb {
        height: 72px;
    }

    .dg-demo-thumb img {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 991px) {
    .dg-demo-spotlight-panel {
        grid-template-columns: 1fr !important;
    }

    .dg-demo-spotlight-thumbs {
        display: none !important;
    }

    .dg-demo-slide {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .home-feature-columns__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .dg-demo-slide {
        grid-template-columns: 1fr;
    }

    .dg-demo-spotlight-copy {
        order: 2;
    }

    .dg-demo-spotlight-visual {
        order: 1;
        min-height: 0;
    }

    .home-feature-columns__grid {
        grid-template-columns: 1fr !important;
    }

    .home-feature-card {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 150px;
    }

    .home-feature-card__thumb {
        width: 96px;
        height: 96px;
    }
}
