@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap'); :root { --primary: #00a6a6; --primary-dark: #008585; --primary-light: #e7f8f7; --dark: #172d36; --text: #52646b; --muted: #89999e; --background: #f6f9fa; --white: #ffffff; --border: #e8eef0; --shadow: 0 12px 35px rgba(23, 45, 54, 0.07); } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: 'Vazirmatn', Tahoma, sans-serif; direction: rtl; background: var(--background); color: var(--dark); line-height: 1.8; } a { color: inherit; text-decoration: none; } button, input { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; } .container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; } /* Header */ .header { background: var(--white); position: relative; z-index: 10; box-shadow: 0 3px 18px rgba(23, 45, 54, 0.035); } .topbar { background: var(--dark); color: #d8e5e8; font-size: 12px; padding: 7px 0; } .topbar-content { display: flex; justify-content: space-between; gap: 15px; } .header-main { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 28px; } .brand { flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--white); padding: 7px 12px; border-radius: 12px; } .brand img { display: block; width: 165px; height: auto; object-fit: contain; } .search-box { display: flex; align-items: center; flex: 1; max-width: 550px; height: 48px; background: #f3f7f8; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: 0.2s ease; } .search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 166, 166, 0.09); } .search-box input { width: 100%; height: 100%; padding: 0 16px; background: transparent; border: 0; outline: 0; color: var(--dark); font-size: 13px; } .search-box button { height: 100%; padding: 0 22px; background: var(--primary); color: var(--white); border: 0; cursor: pointer; font-size: 13px; transition: 0.2s; } .search-box button:hover { background: var(--primary-dark); } .header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 13px; font-weight: 600; } .account-link, .cart-link { padding: 10px 13px; border-radius: 9px; border: 1px solid var(--border); transition: 0.2s; } .account-link:hover, .cart-link:hover { border-color: var(--primary); color: var(--primary-dark); } .cart-link span { background: var(--primary-light); color: var(--primary-dark); border-radius: 6px; padding: 2px 7px; margin-right: 5px; } .navigation { border-top: 1px solid #f0f3f4; } .nav-content { display: flex; align-items: center; gap: 35px; min-height: 49px; overflow-x: auto; white-space: nowrap; } .nav-content a { font-size: 13px; font-weight: 600; color: var(--text); transition: 0.2s; } .nav-content a:hover { color: var(--primary); } /* Hero */ .hero { min-height: 390px; margin-top: 32px; margin-bottom: 70px; padding: 55px 65px; border-radius: 22px; background: linear-gradient(115deg, #e6f8f7 0%, #f5fbfb 55%, #ffffff 100%); display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 30px; overflow: hidden; position: relative; } .hero-content { position: relative; z-index: 2; } .eyebrow { display: inline-block; color: var(--primary-dark); font-size: 12px; font-weight: 700; margin-bottom: 12px; } .hero h1 { color: var(--dark); font-size: clamp(30px, 4vw, 46px); line-height: 1.55; font-weight: 800; margin-bottom: 15px; } .hero h1 span { color: var(--primary); } .hero-content p { max-width: 470px; color: var(--text); font-size: 14px; margin-bottom: 28px; } .primary-button { display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: var(--white); padding: 12px 27px; border-radius: 9px; font-size: 13px; font-weight: 700; transition: 0.2s; } .primary-button:hover { background: var(--primary-dark); transform: translateY(-2px); } .hero-visual { min-height: 270px; display: flex; justify-content: center; align-items: center; position: relative; } .hero-circle { width: 250px; height: 250px; border-radius: 50%; background: rgba(0, 166, 166, 0.12); position: absolute; } .hero-placeholder { width: 230px; height: 150px; border: 1px solid rgba(0, 166, 166, 0.2); border-radius: 18px; background: rgba(255, 255, 255, 0.85); box-shadow: 0 25px 55px rgba(0, 100, 100, 0.12); display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(-5deg); } .hero-placeholder span { color: var(--primary-dark); font-size: 28px; font-weight: 800; } .hero-placeholder strong { color: var(--muted); font-size: 11px; letter-spacing: 4px; } /* Sections */ .categories-section, .products-section { margin-bottom: 75px; } .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; } .section-heading .eyebrow { margin-bottom: 3px; } .section-heading h2 { font-size: 25px; font-weight: 800; color: var(--dark); } .section-heading > a { color: var(--primary-dark); font-size: 13px; font-weight: 700; } .section-note { color: var(--muted); font-size: 12px; } /* Categories */ .category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; } .category-card { background: var(--white); border: 1px solid var(--border); border-radius: 13px; padding: 23px 10px; text-align: center; transition: 0.25s ease; } .category-card:hover { border-color: rgba(0, 166, 166, 0.4); transform: translateY(-5px); box-shadow: var(--shadow); } .category-icon { width: 65px; height: 65px; margin: 0 auto 12px; background: var(--primary-light); border-radius: 17px; display: flex; align-items: center; justify-content: center; font-size: 29px; } .category-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 4px; } .category-card p { color: var(--muted); font-size: 10px; } /* Offers */ .offers-section { margin-bottom: 75px; padding: 40px 0; background: linear-gradient(110deg, #008d91, #00b6ad); color: var(--white); } .offer-content { display: flex; justify-content: space-between; align-items: center; gap: 25px; } .offers-section .eyebrow { color: #d5ffff; } .offers-section h2 { font-size: 27px; margin-bottom: 7px; } .offers-section p { font-size: 13px; color: #e0ffff; } .light-button { background: var(--white); color: var(--primary-dark); padding: 12px 24px; border-radius: 9px; font-size: 13px; font-weight: 700; flex-shrink: 0; transition: 0.2s; } .light-button:hover { transform: translateY(-3px); } /* Products */ .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px; } .product-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: 0.25s ease; } .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); } .product-image { height: 195px; position: relative; display: flex; align-items: center; justify-content: center; } .product-image > span { position: absolute; top: 13px; right: 13px; background: rgba(255, 255, 255, 0.85); color: var(--text); padding: 4px 10px; border-radius: 6px; font-size: 10px; } .laptop-image { background: linear-gradient(140deg, #e5f5f5, #f5fafa); } .monitor-image { background: linear-gradient(140deg, #e9effb, #f5f7fc); } .gaming-image { background: linear-gradient(140deg, #eee9fb, #f8f5fc); } .accessory-image { background: linear-gradient(140deg, #f9efe5, #fcf8f3); } .product-symbol { font-size: 75px; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.08)); } .product-info { padding: 17px; } .product-category { color: var(--primary-dark); font-size: 10px; font-weight: 700; } .product-info h3 { font-size: 14px; margin: 6px 0; } .product-info p { color: var(--muted); font-size: 11px; } .product-bottom { margin-top: 20px; padding-top: 13px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; } .product-bottom strong { color: var(--dark); font-size: 13px; } .product-bottom button { background: var(--primary-light); color: var(--primary-dark); border: 0; padding: 7px 13px; border-radius: 7px; font-size: 11px; } /* Benefits */ .benefits-section { padding: 65px 0; background: #edf5f6; margin-bottom: 0; } .benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; } .benefit-card { padding: 25px 18px; border-radius: 13px; background: var(--white); border: 1px solid var(--border); } .benefit-card > span { display: block; font-size: 29px; margin-bottom: 12px; } .benefit-card h3 { font-size: 14px; margin-bottom: 7px; } .benefit-card p { color: var(--text); font-size: 11px; } /* Footer */ .footer { background: #172d36; color: #e1ebed; padding-top: 55px; } .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 35px; padding-bottom: 45px; } .footer-grid h3 { font-size: 15px; margin-bottom: 18px; color: var(--white); } .footer-grid a { display: block; width: fit-content; color: #b5c7cb; font-size: 12px; margin-bottom: 11px; transition: 0.2s; } .footer-grid a:hover { color: #5ce0d7; } .footer-grid p { color: #b5c7cb; font-size: 12px; max-width: 280px; } .footer-logo { display: inline-flex; background: var(--white); border-radius: 9px; padding: 7px 12px; margin-bottom: 12px; } .footer-logo img { width: 135px; height: auto; display: block; } .footer-brand h3 { margin-bottom: 9px; } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; color: #a9bec3; font-size: 11px; text-align: center; } /* Responsive */ @media (max-width: 1000px) { .header-main { gap: 15px; } .brand img { width: 135px; } .header-actions { gap: 6px; font-size: 11px; } .category-grid { grid-template-columns: repeat(3, 1fr); } .product-grid { grid-template-columns: repeat(2, 1fr); } .benefits-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 650px) { .container { width: min(100% - 28px, 1200px); } .topbar-content { justify-content: center; text-align: center; } .topbar-content span:last-child { display: none; } .header-main { min-height: auto; padding: 15px 0; flex-wrap: wrap; justify-content: space-between; gap: 12px; } .brand img { width: 120px; } .header-actions { font-size: 11px; } .account-link, .cart-link { padding: 8px; } .search-box { order: 3; flex-basis: 100%; max-width: none; } .nav-content { gap: 23px; min-height: 44px; } .nav-content a { font-size: 11px; } .hero { grid-template-columns: 1fr; text-align: center; padding: 35px 20px; margin-top: 18px; margin-bottom: 50px; } .hero-content p { margin-inline: auto; } .hero-visual { min-height: 190px; } .hero-circle { width: 175px; height: 175px; } .hero-placeholder { width: 180px; height: 115px; } .hero-placeholder span { font-size: 22px; } .section-heading h2 { font-size: 20px; } .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .category-card { padding: 18px 8px; } .offers-section { padding: 32px 0; } .offer-content { flex-direction: column; align-items: flex-start; } .offers-section h2 { font-size: 21px; } .product-grid { grid-template-columns: 1fr; gap: 14px; } .product-image { height: 180px; } .benefits-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .benefit-card { padding: 18px 12px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px 15px; } .footer-brand { grid-column: 1 / -1; } } @media (max-width: 380px) { .header-actions { width: 100%; } .account-link, .cart-link { flex: 1; text-align: center; } .benefits-grid, .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } } /* ===================================== DarizaTech - Visual Polish Update ===================================== */ :root { --primary: #079f9f; --primary-dark: #087f82; --primary-light: #eaf8f7; --background: #f7f9fa; --border: #e9eff1; --shadow: 0 8px 26px rgba(23, 45, 54, 0.055); } /* General refinement */ body { line-height: 1.9; -webkit-font-smoothing: antialiased; } ::selection { background: rgba(0, 166, 166, 0.18); color: var(--dark); } a, button { transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; } :focus-visible { outline: 3px solid rgba(0, 166, 166, 0.35); outline-offset: 3px; } /* Header */ .header { box-shadow: 0 2px 14px rgba(23, 45, 54, 0.045); } .header-main { min-height: 100px; } .brand { border-radius: 14px; } .brand img { width: 170px; } .search-box { background: #f7f9fa; border-radius: 12px; } .search-box button { min-width: 90px; } .account-link, .cart-link { border-radius: 11px; } /* Navigation */ .navigation { border-top-color: #edf1f2; } .nav-content { gap: 31px; } .nav-content a { position: relative; padding-block: 5px; } .nav-content a:hover { color: var(--primary-dark); } /* Hero */ .hero { border-radius: 25px; background: linear-gradient( 120deg, #e8f8f7 0%, #f3fbfa 52%, #ffffff 100% ); box-shadow: 0 12px 35px rgba(0, 100, 100, 0.045); } .hero-placeholder { border-radius: 22px; box-shadow: 0 20px 45px rgba(0, 100, 100, 0.10); } /* Section headings */ .section-heading { margin-bottom: 30px; } .section-heading h2 { letter-spacing: -0.5px; } .section-heading > a:hover { color: var(--primary); } /* Category cards */ .category-card { border-color: #edf1f2; border-radius: 16px; box-shadow: 0 3px 12px rgba(23, 45, 54, 0.025); } .category-card:hover { border-color: rgba(0, 166, 166, 0.3); box-shadow: 0 12px 28px rgba(0, 120, 120, 0.09); transform: translateY(-4px); } .category-icon { border-radius: 19px; } /* Offers */ .offers-section { background: linear-gradient(110deg, #087f82, #0aa9a3); } .light-button { border-radius: 11px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07); } /* Products */ .product-card { border-color: #edf1f2; border-radius: 17px; box-shadow: 0 3px 14px rgba(23, 45, 54, 0.025); } .product-card:hover { transform: translateY(-4px); border-color: rgba(0, 166, 166, 0.25); box-shadow: 0 14px 30px rgba(23, 45, 54, 0.075); } .product-image { overflow: hidden; } .product-symbol { transition: transform 0.3s ease; } .product-card:hover .product-symbol { transform: scale(1.06); } .product-info { padding: 19px; } .product-info h3 { line-height: 1.8; } .product-bottom button { cursor: pointer; border-radius: 9px; } .product-bottom button:hover { background: var(--primary); color: white; } /* Benefits */ .benefits-section { background: #f0f6f6; } .benefit-card { border-color: #e8eff0; border-radius: 16px; transition: transform 0.2s ease, box-shadow 0.2s ease; } .benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); } /* Footer */ .footer { background: #152b34; } .footer-logo { border-radius: 11px; } .footer-bottom { border-top-color: rgba(255, 255, 255, 0.12); } /* Mobile refinement */ @media (max-width: 650px) { .hero { border-radius: 19px; box-shadow: 0 8px 22px rgba(0, 100, 100, 0.04); } .section-heading { margin-bottom: 20px; } .category-card { border-radius: 14px; } .product-card { border-radius: 15px; } .product-info { padding: 16px; } .offers-section { border-radius: 0; } } /* Respect reduced-motion preferences */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; } } /* ========================================== DARIZATECH - PREMIUM COMMERCE DESIGN Minimal Luxury + Professional Store ========================================== */ :root { --primary: #079f9f; --primary-dark: #087f82; --primary-light: #eaf8f7; --dark: #18313a; --text: #586a70; --muted: #8b9a9f; --background: #f8fafb; --white: #ffffff; --border: #e9eff1; --shadow: 0 12px 35px rgba(24, 49, 58, 0.06); } body { background: #f8fafb; color: var(--dark); line-height: 1.85; } /* Header */ .header { background: rgba(255,255,255,.97); box-shadow: 0 3px 20px rgba(24,49,58,.035); } .topbar { background: #18313a; font-size: 11px; letter-spacing: .1px; } .header-main { min-height: 105px; gap: 35px; } .brand { padding: 5px 10px; border-radius: 13px; } .brand img { width: 175px; } .search-box { max-width: 580px; height: 51px; background: #f7f9fa; border: 1px solid #edf1f2; border-radius: 13px; } .search-box:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(7,159,159,.08); } .search-box input { font-size: 13px; } .search-box button { min-width: 95px; background: var(--primary); font-weight: 700; } .header-actions { gap: 9px; } .account-link, .cart-link { border: 1px solid #e9eff1; border-radius: 11px; background: #fff; padding: 10px 14px; } .account-link:hover, .cart-link:hover { background: var(--primary-light); border-color: #bce8e5; } /* Navigation */ .navigation { border-top: 1px solid #f0f3f4; } .nav-content { min-height: 52px; gap: 34px; } .nav-content a { font-size: 12px; font-weight: 600; color: #52666d; } .nav-content a:hover { color: var(--primary-dark); } /* Hero */ .hero { min-height: 410px; margin-top: 30px; margin-bottom: 75px; padding: 60px 70px; border-radius: 26px; background: radial-gradient(circle at 82% 50%, rgba(7,159,159,.10), transparent 30%), linear-gradient(115deg, #eaf8f7 0%, #f7fbfb 58%, #ffffff 100%); box-shadow: 0 15px 40px rgba(24,49,58,.045); } .eyebrow { font-size: 12px; letter-spacing: .2px; color: var(--primary-dark); } .hero h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.65; letter-spacing: -1px; } .hero-content p { font-size: 14px; line-height: 2.1; color: #65777d; } .primary-button { padding: 13px 30px; border-radius: 11px; box-shadow: 0 6px 16px rgba(7,159,159,.16); } .primary-button:hover { box-shadow: 0 9px 22px rgba(7,159,159,.22); } .hero-circle { width: 270px; height: 270px; background: rgba(7,159,159,.09); } .hero-placeholder { width: 245px; height: 165px; border: 1px solid rgba(7,159,159,.15); border-radius: 23px; background: rgba(255,255,255,.93); box-shadow: 0 25px 55px rgba(24,49,58,.11); } /* Sections */ .categories-section, .products-section { margin-bottom: 85px; } .section-heading { margin-bottom: 32px; } .section-heading h2 { font-size: 25px; letter-spacing: -.5px; } .section-heading .eyebrow { font-size: 11px; } .section-heading > a { font-size: 12px; } /* Categories */ .category-grid { gap: 17px; } .category-card { padding: 25px 12px; background: #fff; border: 1px solid #edf1f2; border-radius: 17px; box-shadow: 0 4px 15px rgba(24,49,58,.025); } .category-card:hover { transform: translateY(-5px); border-color: #bde5e3; box-shadow: 0 14px 30px rgba(24,49,58,.07); } .category-icon { width: 72px; height: 72px; border-radius: 20px; background: #edf9f8; font-size: 31px; } .category-card h3 { font-size: 13px; margin-top: 3px; } /* Offers */ .offers-section { padding: 48px 0; background: radial-gradient(circle at 85% 50%, rgba(255,255,255,.12), transparent 25%), linear-gradient(110deg, #087e82, #0aa9a3); } .offers-section h2 { font-size: 28px; font-weight: 800; } .offers-section p { line-height: 2; } .light-button { padding: 13px 28px; border-radius: 11px; box-shadow: 0 5px 18px rgba(0,0,0,.08); } /* Product cards */ .product-grid { gap: 21px; } .product-card { border: 1px solid #eaf0f1; border-radius: 18px; background: #fff; box-shadow: 0 4px 16px rgba(24,49,58,.025); } .product-card:hover { transform: translateY(-6px); border-color: #c5e8e6; box-shadow: 0 16px 35px rgba(24,49,58,.075); } .product-image { height: 210px; background-color: #f5f8f9; } .laptop-image { background: linear-gradient(145deg,#edf7f7,#f9fbfb); } .monitor-image { background: linear-gradient(145deg,#eff2f9,#fafbfe); } .gaming-image { background: linear-gradient(145deg,#f1eff9,#fbfaff); } .accessory-image { background: linear-gradient(145deg,#f8f2eb,#fdfbf8); } .product-image > span { top: 14px; right: 14px; border: 1px solid rgba(0,0,0,.035); border-radius: 8px; padding: 5px 11px; font-weight: 600; } .product-symbol { font-size: 82px; } .product-info { padding: 20px; } .product-category { font-size: 11px; } .product-info h3 { font-size: 14px; line-height: 1.9; margin: 8px 0; } .product-info p { font-size: 11px; line-height: 1.9; } .product-bottom { margin-top: 22px; padding-top: 15px; } .product-bottom strong { font-size: 14px; } .product-bottom button { padding: 9px 15px; border-radius: 9px; font-weight: 700; } /* Benefits */ .benefits-section { padding: 75px 0; background: #f0f6f6; } .benefits-grid { gap: 20px; } .benefit-card { background: #fff; border: 1px solid #e9eff0; border-radius: 17px; padding: 27px 21px; box-shadow: 0 4px 14px rgba(24,49,58,.025); } .benefit-card > span { font-size: 32px; } .benefit-card h3 { font-size: 14px; } .benefit-card p { line-height: 2; } /* Footer */ .footer { background: #172f38; padding-top: 65px; } .footer-grid { gap: 42px; } .footer-grid h3 { font-size: 15px; } .footer-grid a { line-height: 2; } .footer-logo { border-radius: 11px; padding: 8px 13px; } .footer-bottom { padding: 21px 0; } /* Responsive */ @media (max-width: 1000px) { .header-main { gap: 18px; } .brand img { width: 145px; } .hero { padding: 45px 35px; } } @media (max-width: 650px) { .header-main { padding: 17px 0; } .brand img { width: 125px; } .hero { padding: 35px 20px; border-radius: 20px; margin-bottom: 55px; } .hero h1 { font-size: 29px; } .hero-content p { font-size: 13px; } .section-heading h2 { font-size: 20px; } .categories-section, .products-section { margin-bottom: 60px; } .category-grid { gap: 11px; } .category-card { padding: 19px 8px; } .category-icon { width: 62px; height: 62px; border-radius: 17px; } .product-grid { gap: 16px; } .product-image { height: 195px; } .benefits-section { padding: 50px 0; } .footer { padding-top: 45px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; } } /* ===== DarizaTech Header & Wordmark Redesign ===== */ /* Text logo */ .brand { min-width: 175px; padding: 8px 4px; background: transparent; border-radius: 0; justify-content: flex-start; } .brand img, .footer-logo img { display: none; } .brand::after { content: "DarizaTech"; font-family: Arial, sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.8px; color: #18313a; white-space: nowrap; } .brand::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; margin-left: 8px; border-radius: 50%; background: #079f9f; box-shadow: 0 0 10px rgba(7,159,159,.3); } /* Footer text logo */ .footer-logo { background: transparent; padding: 0; } .footer-logo::after { content: "DarizaTech"; font-family: Arial, sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -0.5px; color: #ffffff; } /* Header layout */ .header-main { display: grid; grid-template-columns: 180px minmax(250px, 1fr) auto; justify-content: initial; align-items: center; gap: 35px; } .search-box { width: 100%; max-width: none; justify-self: center; height: 50px; border-radius: 12px; } .header-actions { justify-content: flex-end; white-space: nowrap; } /* Mobile layout */ @media (max-width: 1000px) { .header-main { grid-template-columns: 145px minmax(180px, 1fr) auto; gap: 15px; } .brand { min-width: 0; } .brand::after { font-size: 19px; } } @media (max-width: 650px) { .header-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 13px; } .brand { min-width: 0; } .brand::after { font-size: 19px; } .search-box { order: 3; flex-basis: 100%; width: 100%; } .header-actions { flex-shrink: 0; } } /* ===== DarizaTech Hero Banner Redesign ===== */ .hero { min-height: 480px; margin-top: 38px; margin-bottom: 85px; padding: 75px 78px; border-radius: 30px; background: radial-gradient( circle at 15% 15%, rgba(255,255,255,.95) 0%, transparent 35% ), radial-gradient( circle at 85% 80%, rgba(0,166,166,.17) 0%, transparent 38% ), linear-gradient( 125deg, #dff5f3 0%, #edf9f8 48%, #f8ffff 100% ); border: 1px solid rgba(0,166,166,.13); box-shadow: 0 22px 55px rgba(24,49,58,.09), 0 5px 15px rgba(0,166,166,.06); gap: 45px; } /* Hero text */ .hero-content { max-width: 580px; } .eyebrow { display: inline-block; padding: 9px 16px; margin-bottom: 20px; border-radius: 30px; background: rgba(0,166,166,.10); color: #007f7f; font-size: 13px; font-weight: 800; } .hero h1 { font-size: clamp(35px, 4.2vw, 51px); line-height: 1.55; margin-bottom: 20px; color: #18313a; } .hero-content p { max-width: 500px; font-size: 15px; line-height: 2.2; color: #526a70; margin-bottom: 32px; } /* Main button */ .primary-button { min-height: 52px; padding: 14px 34px; border-radius: 12px; background: linear-gradient(135deg, #079f9f, #007f83); box-shadow: 0 9px 22px rgba(0,127,131,.22); font-size: 14px; transition: all .25s ease; } .primary-button:hover { background: linear-gradient(135deg, #008e8e, #006d72); transform: translateY(-3px); box-shadow: 0 13px 27px rgba(0,127,131,.28); } /* Hero visual */ .hero-visual { min-height: 320px; } .hero-circle { width: 310px; height: 310px; background: rgba(0,166,166,.12); box-shadow: 0 0 70px rgba(0,166,166,.08); } .hero-placeholder { width: 270px; height: 185px; border: 1px solid rgba(0,166,166,.18); border-radius: 25px; background: rgba(255,255,255,.94); box-shadow: 0 28px 65px rgba(24,49,58,.15); } /* Responsive */ @media (max-width: 1000px) { .hero { min-height: 430px; padding: 55px 40px; gap: 25px; } .hero-circle { width: 240px; height: 240px; } .hero-placeholder { width: 220px; height: 155px; } } @media (max-width: 650px) { .hero { min-height: auto; margin-top: 22px; margin-bottom: 60px; padding: 38px 23px; border-radius: 23px; gap: 20px; } .hero h1 { font-size: 31px; line-height: 1.6; } .hero-content p { font-size: 13px; line-height: 2; } .hero-visual { min-height: 210px; } .hero-circle { width: 205px; height: 205px; } .hero-placeholder { width: 195px; height: 135px; } .primary-button { min-height: 48px; padding: 12px 25px; } } /* ===== DarizaTech Automatic Hero Slider ===== */ .hero { position: relative; min-height: 0; padding: 0; display: block; overflow: hidden; border-radius: 30px; } .hero-slides { position: relative; width: 100%; } .hero-slide { display: none; min-height: 480px; padding: 75px 78px 95px; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 45px; border-radius: 30px; overflow: hidden; animation: heroSlideIn .55s ease both; } .hero-slide.is-active { display: grid; } .hero-slide-intro { background: radial-gradient(circle at 15% 15%, rgba(255,255,255,.95), transparent 35%), radial-gradient(circle at 85% 80%, rgba(0,166,166,.17), transparent 38%), linear-gradient(125deg, #dff5f3 0%, #edf9f8 48%, #f8ffff 100%); } .hero-slide-installment { background: radial-gradient(circle at 15% 80%, rgba(255,255,255,.75), transparent 35%), radial-gradient(circle at 85% 20%, rgba(73,115,220,.18), transparent 38%), linear-gradient(125deg, #e8edff 0%, #f0f3ff 50%, #ffffff 100%); } .hero-slide .hero-content { max-width: 580px; } .hero-slide .hero-visual { min-height: 300px; } .hero-slide .hero-placeholder { position: relative; z-index: 1; } .hero-slide-installment .eyebrow { color: #365fba; background: rgba(54,95,186,.10); } .hero-slide-installment h1 span { color: #416bd0; } .hero-slide-installment .hero-circle { background: rgba(65,107,208,.12); } .hero-slide-installment .primary-button { background: linear-gradient(135deg, #416bd0, #294da9); box-shadow: 0 9px 22px rgba(41,77,169,.20); } .hero-slide-installment .primary-button:hover { background: linear-gradient(135deg, #345bc0, #203f94); } .installment-visual { position: relative; z-index: 1; width: 270px; height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(65,107,208,.18); border-radius: 25px; background: rgba(255,255,255,.92); box-shadow: 0 28px 65px rgba(41,65,130,.14); transform: rotate(-4deg); } .installment-symbol { color: #416bd0; font-size: 65px; line-height: 1; font-weight: 900; } .installment-visual strong { color: #203f70; font-size: 20px; } .installment-visual small { color: #8090aa; font-size: 11px; letter-spacing: 2px; } .hero-slider-controls { position: absolute; z-index: 5; bottom: 22px; left: 30px; display: flex; align-items: center; gap: 10px; direction: ltr; } .hero-arrow { width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(30,70,90,.15); border-radius: 50%; background: rgba(255,255,255,.85); color: #244b55; font-size: 22px; cursor: pointer; transition: .2s; } .hero-arrow:hover { background: #079f9f; color: #fff; } .hero-dots { display: flex; align-items: center; gap: 7px; } .hero-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 20px; background: rgba(50,80,100,.25); cursor: pointer; transition: width .25s, background .25s; } .hero-dot.is-active { width: 24px; background: #079f9f; } .hero-slide-installment ~ .hero-slider-controls .hero-dot.is-active { background: #416bd0; } @keyframes heroSlideIn { from { opacity: .45; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 1000px) { .hero-slide { min-height: 430px; padding: 55px 40px 85px; gap: 25px; } } @media (max-width: 650px) { .hero { border-radius: 23px; } .hero-slide { min-height: 0; padding: 38px 23px 85px; grid-template-columns: 1fr; gap: 12px; border-radius: 23px; } .hero-slide .hero-content { max-width: none; } .hero-slide h1 { font-size: 31px; } .hero-slide .hero-content p { font-size: 13px; line-height: 2; } .hero-slide .hero-visual { min-height: 170px; } .hero-slide .hero-circle { width: 175px; height: 175px; } .hero-slide .hero-placeholder, .installment-visual { width: 195px; height: 125px; } .installment-symbol { font-size: 42px; } .installment-visual strong { font-size: 16px; } .hero-slider-controls { bottom: 18px; left: 20px; } } @media (prefers-reduced-motion: reduce) { .hero-slide { animation: none; } } /* Fix hero slider arrow directions */ .hero-prev { order: 2; } .hero-dots { order: 1; } .hero-next { order: 0; } /* ===== DarizaTech Category Images ===== */ .category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 17px; } .category-card { padding: 16px 10px; background: #fff; border: 1px solid #eaf0f1; border-radius: 17px; text-align: center; transition: none; transform: none; } .category-card:hover { transform: none; border-color: #c8e9e7; box-shadow: 0 5px 18px rgba(0, 120, 120, 0.06); } .category-image-wrap { width: 100%; height: 145px; margin: 0 auto 13px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f7fafb; border-radius: 12px; } .category-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; } .category-card h3 { margin: 0 0 5px; font-size: 13px; font-weight: 800; } .category-card p { font-size: 11px; color: #87969b; } @media (max-width: 1000px) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 650px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .category-card { padding: 11px 8px; } .category-image-wrap { height: 135px; } } /* ========================================= DARIZATECH - CATEGORY CARDS REDESIGN ========================================= */ .category-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px !important; direction: rtl; } .category-grid .category-card { display: grid !important; grid-template-columns: 46% 54% !important; grid-template-rows: 1fr 1fr !important; direction: ltr !important; align-items: center !important; min-width: 0; min-height: 125px !important; padding: 12px !important; background: #f1f3f4 !important; border: none !important; border-radius: 17px !important; box-shadow: none !important; text-decoration: none !important; transform: none !important; transition: none !important; overflow: hidden; } .category-grid .category-card:hover { transform: none !important; box-shadow: none !important; background: #e9edef !important; } .category-grid .category-image-wrap { grid-column: 1 !important; grid-row: 1 / 3 !important; display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 100px !important; padding: 3px !important; margin: 0 !important; background: transparent !important; border: none !important; overflow: hidden; } .category-grid .category-image { display: block !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; object-position: center !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; /* کمک به ترکیب پس‌زمینه سفید عکس با کارت */ mix-blend-mode: multiply; } .category-grid .category-card h3 { grid-column: 2 !important; grid-row: 1 !important; align-self: end !important; margin: 0 0 4px !important; padding: 0 8px !important; color: #172b3a !important; font-size: 16px !important; font-weight: 800 !important; line-height: 1.6 !important; text-align: right !important; direction: rtl !important; } .category-grid .category-card p { grid-column: 2 !important; grid-row: 2 !important; align-self: start !important; margin: 3px 0 0 !important; padding: 0 8px !important; color: #71808a !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.8 !important; text-align: right !important; direction: rtl !important; } @media (max-width: 900px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 13px !important; } } @media (max-width: 480px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; } .category-grid .category-card { min-height: 105px !important; padding: 7px !important; grid-template-columns: 43% 57% !important; } .category-grid .category-image-wrap { height: 85px !important; } .category-grid .category-card h3 { font-size: 13px !important; padding: 0 5px !important; } .category-grid .category-card p { font-size: 10px !important; padding: 0 5px !important; } } /* ========================================== DARIZATECH - ADVANCED PREMIUM HOVER EFFECT ========================================== */ .category-grid .category-card { position: relative !important; isolation: isolate; overflow: hidden !important; transform: translateY(0) scale(1) !important; transition: transform .45s cubic-bezier(.2,.8,.2,1), background .4s ease, box-shadow .45s ease !important; } /* نور متحرک روی سطح کارت */ .category-grid .category-card::before { content: ""; position: absolute; top: -80%; left: -65%; width: 45%; height: 260%; z-index: 0; pointer-events: none; background: linear-gradient( 90deg, transparent, rgba(255,255,255,.75), rgba(0,190,190,.12), transparent ); transform: rotate(25deg) translateX(0); transition: transform .75s cubic-bezier(.2,.8,.2,1); } /* هاله نور زیر کارت */ .category-grid .category-card::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,160,170,0); transition: box-shadow .4s ease; } /* حرکت اصلی کارت */ .category-grid .category-card:hover { transform: translateY(-10px) scale(1.035) !important; background: #e8f8f8 !important; box-shadow: 0 18px 35px rgba(0,130,145,.16), 0 5px 15px rgba(0,130,145,.09) !important; } /* عبور نور */ .category-grid .category-card:hover::before { transform: rotate(25deg) translateX(430%); } .category-grid .category-card:hover::after { box-shadow: inset 0 0 0 1px rgba(0,160,170,.28); } /* بزرگ شدن و حرکت عکس */ .category-grid .category-image-wrap { position: relative; z-index: 1; } .category-grid .category-image { transform: scale(1); transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .4s ease !important; } .category-grid .category-card:hover .category-image { transform: scale(1.17) translateY(-4px) !important; filter: saturate(1.2) contrast(1.03); } /* حرکت عنوان */ .category-grid .category-card h3 { position: relative; z-index: 1; transition: color .35s ease, transform .4s ease !important; } .category-grid .category-card:hover h3 { color: #008c96 !important; transform: translateX(-4px); } /* حرکت توضیحات */ .category-grid .category-card p { position: relative; z-index: 1; transition: color .35s ease, transform .4s ease !important; } .category-grid .category-card:hover p { color: #477c83 !important; transform: translateX(-3px); } /* دسترسی‌پذیری و موبایل */ @media (hover: none), (prefers-reduced-motion: reduce) { .category-grid .category-card, .category-grid .category-image, .category-grid .category-card h3, .category-grid .category-card p, .category-grid .category-card::before, .category-grid .category-card::after { transition: none !important; } .category-grid .category-card:hover { transform: none !important; } .category-grid .category-card:hover .category-image { transform: none !important; } } /* FIX: synchronize product image zoom with card hover */ .category-grid .category-card { transform-origin: center center !important; } .category-grid .category-image-wrap { overflow: visible !important; transform: scale(1); transform-origin: center center; transition: transform .5s cubic-bezier(.2,.8,.2,1) !important; } .category-grid .category-card:hover .category-image-wrap { transform: scale(1.13) !important; } .category-grid .category-image { width: 100% !important; height: 100% !important; object-fit: contain !important; transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .4s ease !important; } .category-grid .category-card:hover .category-image { transform: scale(1.08) translateY(-3px) !important; filter: saturate(1.2) contrast(1.03); } @media (hover: none), (prefers-reduced-motion: reduce) { .category-grid .category-image-wrap, .category-grid .category-image { transition: none !important; } .category-grid .category-card:hover .category-image-wrap, .category-grid .category-card:hover .category-image { transform: none !important; } }