/*
Theme Name: Arghanoon
Description: Persian storefront for Arghanoon home health equipment.
Version: 1.0.1
Requires PHP: 8.1
Text Domain: arghanoon
*/
@font-face {
    font-family: Vazir;
    src: url("assets/fonts/Vazir-Regular-FD.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Vazir;
    src: url("assets/fonts/Vazir-Bold-FD.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
:root {
    --paper: #fbf9f6;
    --ink: #24262c;
    --muted: #595c66;
    --plum: #5a264d;
    --line: #e7e0e4;
    --white: #fff;
    --radius: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.85 Vazir, Tahoma, "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font-family: inherit; }
a { color: var(--plum); text-underline-offset: .23em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #965487; outline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { line-height: 1.5; }
.wrap { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; inset-inline-start: 12px; inset-block-start: -90px; background: white; padding: 12px; z-index: 9; }
.skip-link:focus { inset-block-start: 12px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead { display: flex; min-height: 84px; gap: 36px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: bold; font-size: 25px; line-height: 1.4; color: var(--ink); text-decoration: none; }
.brand small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); font-weight: normal; }
.brand-mark { width: 43px; height: 43px; background: var(--plum); border-radius: 13px; display: flex; justify-content: center; align-items: center; gap: 4px; }
.brand-mark i { display: block; width: 4px; height: 16px; border-radius: 4px; transform: skew(-13deg); background: #fff2fb; }
.brand-mark i:nth-child(2) { height: 24px; }
.custom-logo { max-width: 160px; max-height: 58px; object-fit: contain; }
.menu { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; list-style: none; }
.menu a, .account-links a { text-decoration: none; }
.menu a:hover, .account-links a:hover { text-decoration: underline; }
.account-links { display: flex; gap: 16px; align-items: center; white-space: nowrap; font-size: 14px; }
.cart-link { padding: 7px 15px; border: 1px solid var(--line); border-radius: 10px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 422px; margin-block: 36px 54px; background: #efe4ee; border-radius: 30px; overflow: hidden; }
.hero-copy { padding: clamp(32px, 5.3vw, 76px); align-self: center; position: relative; z-index: 1; }
.hero h1 { color: #3a2136; font-size: clamp(34px, 4.6vw, 62px); margin-block-end: 15px; line-height: 1.42; }
.hero p { color: #51434f; max-width: 38ch; margin-block-end: 25px; }
.hero-button, input[type=submit] { display: inline-flex; align-items: center; gap: 18px; padding: 10px 18px; color: white; background: var(--plum); border: 0; border-radius: 12px; text-decoration: none; font: inherit; font-weight: bold; }
.hero-visual { position: relative; min-width: 0; min-height: 240px; background: radial-gradient(ellipse at 43% 45%, #faf1f7 3%, transparent 72%); direction: ltr; }
.hero-orbit { position: absolute; width: 66%; aspect-ratio: 1; left: 16%; top: 50%; transform: translateY(-50%); border: 1px solid #dbbcd4; border-radius: 50%; }
.cuff { position: absolute; left: 12%; top: 27%; width: 40%; aspect-ratio: 1.65; border-radius: 50%; background: repeating-linear-gradient(120deg, #594356, #594356 3px, #655063 5px); border: 17px solid #73566d; box-shadow: inset 0 14px 24px #2e1b2c, 0 16px 30px #633b5f44; transform: rotate(-18deg); }
.tube { position: absolute; top: 46%; left: 27%; width: 29%; height: 36%; border: 8px solid #5c435a; border-top-color: transparent; border-right-color: transparent; border-radius: 60%; transform: rotate(-33deg); }
.monitor { position: absolute; left: 39%; top: 24%; width: 43%; max-width: 260px; aspect-ratio: 1; border-radius: 23%; transform: rotate(-13deg); background: linear-gradient(140deg, #fff, #e8dae8); border: 3px solid #fff7fd; box-shadow: 10px 24px 34px #66476165, inset -8px -10px 16px #9e849f55; display: grid; justify-items: center; align-content: center; gap: 12%; }
.screen { display: grid; align-content: center; justify-items: end; gap: 12%; width: 70%; height: auto; aspect-ratio: 1.6; padding-inline: 14%; border-radius: 13%; background: #b0c2b5; box-shadow: inset 0 2px 9px #425b4f77; }
.screen i { background: #55665b; width: 90%; height: 5px; border-radius: 3px; }
.screen i:nth-child(2) { width: 72%; }
.screen i:nth-child(3) { width: 50%; }
.monitor b { width: 20%; aspect-ratio: 1; border-radius: 50%; background: #845177; box-shadow: inset 0 3px 5px #b68cae; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-block-end: 16px; }
.section-heading h2 { margin: 0; }
.home-products, .content-area { padding-block-end: 58px; }
.content-area { padding-block-start: 34px; min-height: 60vh; }
.page-content { max-width: 70ch; margin-inline: auto; }
.woocommerce-account .page-content, .woocommerce-cart .page-content, .woocommerce-checkout .page-content { max-width: none; }
.site-footer { background: #f0eaf0; border-top: 1px solid var(--line); padding-block: 30px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-grid p { margin: 4px 0 0; color: var(--muted); }
.footer-grid strong { font-size: 22px; }
.footer-grid .menu { gap: 14px 20px; font-size: 14px; }
.contact-details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.woocommerce .woocommerce-breadcrumb { color: var(--muted); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products[class*=columns-] li.product { float: none; width: auto; min-width: 0; margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: white; display: flex; flex-direction: column; align-items: flex-start; }
.woocommerce ul.products li.product a img { margin: 0 0 12px; aspect-ratio: 1.2; object-fit: contain; border-radius: 13px; background: #f7f4f7; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 3.7em; color: var(--ink); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--plum); font-weight: bold; }
.woocommerce ul.products li.product a.woocommerce-loop-product__link { width: 100%; }
.woocommerce ul.products li.product .button { margin-top: auto; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    color: white; background: var(--plum); border-radius: 10px; padding: .8em 1em;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { color: white; background: #703660; }
.woocommerce .quantity .qty { min-height: 37px; }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select { border: 1px solid #aaa0a8; padding: 8px; border-radius: 6px; }
.woocommerce div.product div.images img { background: white; border-radius: var(--radius); }
.price .amount { white-space: nowrap; }
@media (max-width: 940px) {
    .wrap { width: calc(100% - 36px); }
    .masthead { gap: 18px; }
    .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .wrap { width: calc(100% - 24px); }
    .masthead { display: grid; grid-template-columns: 1fr auto; padding-block: 12px; gap: 10px; }
    .masthead nav { grid-row: 2; grid-column: 1 / -1; border-top: 1px solid var(--line); padding-block-start: 8px; }
    .account-links { gap: 8px; font-size: 12px; }
    .cart-link { padding-inline: 8px; }
    .menu { gap: 12px; font-size: 14px; }
    .hero { grid-template-columns: 1fr; margin-block: 16px 32px; border-radius: 20px; }
    .hero-copy { padding: 22px; }
    .hero-visual { height: 225px; min-height: 0; overflow: hidden; }
    .monitor { width: 31%; max-width: 135px; }
    .cuff { width: 33%; max-width: 135px; border-width: 11px; }
    .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .woocommerce ul.products[class*=columns-] li.product { padding: 10px; }
    .woocommerce ul.products li.product .button { font-size: 13px; }
    .section-heading h2 { font-size: 20px; }
    .section-heading a { font-size: 13px; }
}
