/*
Theme Name: IranCCD
Author: IranCCD
Description: Independent RTL storefront theme for IranCCD, using WooCommerce and IranCCD Core.
Version: 0.10.1
Text Domain: iranccd-theme
*/
:root{--ink:#142536;--muted:#66768a;--brand:#146cb5;--light:#f5f8fc;--line:#e0e7ee}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:Tahoma,Arial,sans-serif;line-height:1.8}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}
.site-header{border-bottom:1px solid var(--line);background:#fff}.header-inner{max-width:1200px;margin:auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.brand{font-size:24px;font-weight:800;color:var(--ink);direction:ltr}.site-nav ul{display:flex;flex-wrap:wrap;gap:20px;list-style:none;margin:0;padding:0}
.account-link,.iranccd-otp button{background:var(--brand);color:white;padding:10px 20px;border:0;border-radius:10px;cursor:pointer}
main.site-main{max-width:1200px;margin:40px auto;padding:0 24px;min-height:50vh}.site-footer{border-top:1px solid var(--line);padding:24px;text-align:center;color:var(--muted)}
.login-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,460px);gap:48px;align-items:center;min-height:65vh}.login-intro{padding:32px}.login-card{border:1px solid var(--line);border-radius:20px;padding:32px;box-shadow:0 15px 45px #14253610}
.iranccd-otp input{display:block;width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;margin-top:8px;direction:ltr;text-align:left}.iranccd-otp button{width:100%;font-size:16px}.iranccd-otp h2{font-size:24px}.iranccd-otp label{font-weight:600}
@media(max-width:760px){.login-layout{grid-template-columns:1fr;gap:8px}.login-intro{padding:8px}.login-card{padding:22px}.header-inner{padding:14px}.site-nav ul{gap:10px}}

/* WooCommerce storefront foundation */
.shop-content .woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:0;margin:25px 0;list-style:none}
.shop-content .woocommerce ul.products:before,.shop-content .woocommerce ul.products:after{display:none}
.shop-content .woocommerce ul.products li.product{float:none;width:auto;margin:0;border:1px solid var(--line);border-radius:14px;padding:15px;min-width:0}
.shop-content .woocommerce ul.products li.product img{width:100%;height:auto;object-fit:contain}
.shop-content .woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-radius:10px;background:var(--brand);color:white;padding:10px 18px}
.shop-content .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;line-height:1.8;color:var(--ink)}
.woocommerce div.product div.images img{border-radius:15px}.woocommerce div.product p.price,.woocommerce div.product span.price,.woocommerce ul.products li.product .price{color:var(--brand)}
.woocommerce .quantity .qty{padding:9px;border-radius:8px;border:1px solid var(--line)}
.woocommerce table.shop_table{border-collapse:separate;border-spacing:0;border-radius:12px;overflow:hidden}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:12px;border:1px solid var(--line);border-radius:9px}
.icc-search{display:flex;align-items:center;gap:8px;max-width:620px}.icc-search input{flex:1;min-width:0;padding:10px 14px;border:1px solid var(--line);border-radius:10px}.icc-search button{background:var(--brand);color:white;border:0;border-radius:10px;padding:10px 18px;cursor:pointer}
@media(max-width:1000px){.shop-content .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.shop-content .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-content .woocommerce ul.products li.product{padding:10px}.shop-content .woocommerce ul.products li.product .button{padding:8px 10px;font-size:12px}}

/* Official IranCCD header logo */
.site-header .brand{display:flex;align-items:center;flex-shrink:0;font-size:0}
.site-header .brand .custom-logo-link{display:block;line-height:0}
.site-header .brand .custom-logo{display:block;width:min(210px,42vw);height:auto;max-height:68px;object-fit:contain}
@media(max-width:650px){.site-header .brand .custom-logo{width:min(155px,38vw);max-height:54px}}

/* Storefront header v0.2 */
.site-header .header-inner{max-width:1200px;display:grid;grid-template-columns:auto minmax(240px,1fr) auto;gap:24px;align-items:center}
.header-search form{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--light)}
.header-search input{min-width:0;width:100%;border:0;background:transparent;padding:12px 15px;font:inherit;outline-offset:-2px}
.header-search button{border:0;background:var(--brand);color:white;padding:8px 18px;font:inherit;cursor:pointer}
.header-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.header-actions>a{white-space:nowrap;padding:8px 12px;border-radius:9px;color:var(--ink)}
.header-actions>a:hover{background:var(--light);text-decoration:none}
.cart-count{display:inline-block;min-width:21px;padding:0 5px;border-radius:20px;background:var(--brand);color:white;text-align:center;font-size:12px}
.header-lower{border-top:1px solid var(--line)}
.header-lower .site-nav{max-width:1200px;margin:auto;padding:10px 24px}
.header-lower .site-nav ul{display:flex;gap:22px;flex-wrap:wrap}
.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
@media(max-width:850px){.site-header .header-inner{grid-template-columns:1fr auto;gap:12px}.header-search{grid-column:1/-1;grid-row:2}.header-actions{justify-content:flex-end}}
@media(max-width:480px){.header-actions{gap:3px}.header-actions>a{padding:6px;font-size:13px}.header-lower .site-nav{padding:9px 14px}.header-lower .site-nav ul{gap:13px}}

/* IranCCD homepage */
.icc-home{max-width:1200px}.icc-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center;padding:52px 48px;border-radius:24px;background:linear-gradient(125deg,#f0f7fd,#fff);border:1px solid var(--line)}
.icc-eyebrow{font-size:13px;font-weight:700;color:var(--brand)}.icc-hero h1{font-size:clamp(27px,3.5vw,44px);line-height:1.55;margin:18px 0}.icc-hero p{color:var(--muted);max-width:600px}.icc-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.icc-primary,.icc-secondary{display:inline-block;padding:11px 22px;border-radius:11px;font-weight:700}.icc-primary{background:var(--brand);color:white}.icc-secondary{background:white;color:var(--brand);border:1px solid #adcde6}.icc-primary:hover,.icc-secondary:hover{text-decoration:none}
.icc-hero-art{position:relative;min-height:260px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#073565;overflow:hidden}.icc-hero-circle{position:absolute;width:240px;height:240px;border-radius:50%;border:34px solid #d2e8fa;box-shadow:inset 0 0 0 24px #a8d3f3}.icc-hero-symbol{font-size:clamp(36px,5vw,64px);font-weight:900;z-index:1;letter-spacing:-2px;direction:ltr}.icc-hero-sub{z-index:1;letter-spacing:2px;font-size:11px;font-weight:700}
.icc-section{margin-top:56px}.icc-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.icc-section-head h2,.icc-b2b h2,.icc-custom h2{font-size:24px;margin:0}.icc-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.icc-category-card{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:15px;padding:22px 16px;background:white;color:var(--ink)}.icc-category-card:hover{border-color:#a2c7e7;text-decoration:none}.icc-category-card span:last-child{color:var(--muted);font-size:13px}.icc-category-icon{font-size:30px;color:var(--brand)}
.icc-home .woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0;padding:0}.icc-home .woocommerce ul.products:before,.icc-home .woocommerce ul.products:after{display:none}.icc-home .woocommerce ul.products li.product{float:none;width:auto;margin:0;border:1px solid var(--line);padding:14px;border-radius:14px;min-width:0}
.icc-b2b{margin:56px 0 0;background:#0d3761;border-radius:20px;padding:30px 36px;color:white;display:flex;align-items:center;justify-content:space-between;gap:20px}.icc-b2b p{margin-bottom:0;color:#d9eafb}.icc-custom{background:var(--light);border-radius:18px;padding:28px 32px}.icc-custom p{color:var(--muted)}
@media(max-width:900px){.icc-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.icc-home .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.icc-hero{grid-template-columns:1fr;padding:28px 22px}.icc-hero-art{min-height:145px}.icc-hero-circle{width:150px;height:150px;border-width:21px}.icc-category-grid,.icc-home .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.icc-b2b{display:block;padding:24px}.icc-b2b .icc-secondary{margin-top:16px}.icc-section{margin-top:35px}.icc-section-head h2{font-size:21px}}

/* Product technical attributes and single-product layout */
.woocommerce div.product .product_title{font-size:clamp(23px,2.7vw,34px);line-height:1.6}
.woocommerce div.product .summary{line-height:1.9}
.woocommerce div.product form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.woocommerce div.product .woocommerce-product-attributes{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.woocommerce div.product .woocommerce-product-attributes th,.woocommerce div.product .woocommerce-product-attributes td{padding:13px 16px;text-align:right;border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-product-attributes th{background:var(--light);min-width:160px}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:10px;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:10px}
.woocommerce .woocommerce-breadcrumb{color:var(--muted);margin-bottom:20px}
@media(max-width:650px){.woocommerce div.product .woocommerce-product-attributes th{min-width:110px}.woocommerce div.product .woocommerce-product-attributes th,.woocommerce div.product .woocommerce-product-attributes td{padding:10px}}

/* Product filters */
.icc-filters{border:1px solid var(--line);background:var(--light);padding:20px;border-radius:14px;margin:0 0 26px}
.icc-filters>strong{display:block;margin-bottom:12px;font-size:17px}
.icc-filter-fields{display:flex;gap:10px;flex-wrap:wrap}.icc-filter-fields label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;min-width:150px;flex:1}
.icc-filter-fields select{min-width:0;width:100%;border:1px solid var(--line);border-radius:9px;background:white;padding:9px;font:inherit}
.icc-filter-actions{display:flex;align-items:center;gap:16px;margin-top:14px}.icc-filter-actions button{background:var(--brand);color:white;border:0;border-radius:9px;padding:10px 20px;cursor:pointer}
@media(max-width:650px){.icc-filter-fields label{min-width:calc(50% - 10px)}}

/* IranCCD visual refinement v0.3 */
:root{--ink:#102b43;--muted:#61758a;--brand:#0876c4;--light:#f3f8fd;--line:#dce8f2}
body{background:#fbfdff;font-family:Tahoma,"Segoe UI",Arial,sans-serif}
.site-header{position:relative;z-index:3;box-shadow:0 4px 24px rgba(16,43,67,.045)}
.site-header .header-inner{padding-top:19px;padding-bottom:19px}
.header-search form{box-shadow:0 2px 9px rgba(16,43,67,.04);background:#f7fafc}
.header-search input{font-size:14px}
.header-search button{transition:background .2s}
.header-search button:hover{background:#075d99}
.header-actions>a{font-size:14px;font-weight:700}
.header-lower .site-nav ul{align-items:center}
.header-lower .site-nav a{color:#244a66;font-size:14px;font-weight:700}
.header-lower .site-nav a:hover{color:var(--brand)}
.site-main{margin-top:32px;margin-bottom:64px}
.icc-hero{background:radial-gradient(circle at 84% 20%,#d9efff,transparent 37%),linear-gradient(130deg,#eaf6ff,#fff 70%);box-shadow:0 16px 48px rgba(14,74,118,.055)}
.icc-hero h1{font-weight:800;letter-spacing:-.4px}
.icc-category-card{transition:transform .2s,box-shadow .2s,border-color .2s}
.icc-category-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(16,43,67,.075)}
.icc-home .woocommerce ul.products li.product{background:white;transition:box-shadow .2s,transform .2s}
.icc-home .woocommerce ul.products li.product:hover{box-shadow:0 12px 30px rgba(16,43,67,.075);transform:translateY(-2px)}
.login-layout{gap:52px}
.login-card{background:white;border:1px solid #e0ebf4;border-radius:24px;box-shadow:0 24px 65px rgba(17,60,99,.085)}
.login-intro{position:relative}
.login-intro h1{font-size:clamp(27px,3vw,42px);line-height:1.65;margin-top:6px}
.login-intro p{color:var(--muted);font-size:16px;max-width:470px}
.iranccd-otp h2{margin-top:0;font-size:22px}
.iranccd-otp label{display:block;font-size:14px}
.iranccd-otp input{min-height:49px;background:#fbfdff;border-color:#cedfeb;font-size:16px}
.iranccd-otp input:focus{outline:2px solid #9bd1fa;outline-offset:1px}
.iranccd-otp button{min-height:48px;font-weight:700}
.iranccd-otp [role="status"]{border-radius:10px;background:#eff7fd;border:1px solid #d5eaf8;padding:10px 14px}
.site-footer{background:white}
@media(max-width:760px){.login-layout{gap:8px}.login-intro{padding:8px 4px}.login-card{box-shadow:0 9px 26px rgba(17,60,99,.06)}.site-main{margin-top:20px}}


/* Product and account UI v0.4 */
.single-product .shop-content{max-width:1180px}
.single-product .woocommerce div.product{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:0 12px 36px rgba(10,56,92,.04)}
.single-product .woocommerce div.product div.images{padding:12px;border:1px solid #edf2f7;border-radius:15px}
.single-product .woocommerce div.product .summary{padding:8px 10px}
.single-product .woocommerce div.product .product_title{color:var(--ink);font-size:clamp(24px,2.6vw,34px)}
.single-product .woocommerce div.product p.price{font-size:25px;font-weight:800;margin:20px 0}
.single-product .woocommerce div.product form.cart{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0}
.single-product .woocommerce div.product form.cart .single_add_to_cart_button{min-height:46px;font-size:15px}
.icc-product-promises{display:flex;flex-direction:column;gap:7px;background:#f1f8fd;border:1px solid #d7eafb;border-radius:13px;padding:13px 16px;font-size:13px;margin-top:20px;color:#255575}
.woocommerce-account .woocommerce{background:white;border:1px solid var(--line);border-radius:17px;padding:24px;min-height:300px}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:10px 14px;margin-bottom:6px;border-radius:9px;color:var(--ink);background:var(--light)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#e1f1fd;color:var(--brand);font-weight:700}
.woocommerce-account .woocommerce-MyAccount-content{line-height:1.9}
.woocommerce-account .woocommerce-MyAccount-content a{font-weight:600}
@media(max-width:768px){.single-product .woocommerce div.product{padding:15px}.woocommerce-account .woocommerce{padding:15px}.single-product .woocommerce div.product .summary{padding:4px}}


/* IranCCD official identity and compact OTP login */
.site-header .brand .icc-brand-image{display:block;width:190px;max-width:42vw;height:auto;max-height:65px;object-fit:contain}
.icc-auth-page{max-width:none;margin:0;padding:56px 18px 72px;min-height:76vh;background:radial-gradient(circle at 25% 12%,#e2f2ff,transparent 43%),linear-gradient(160deg,#f4f9fd,#fff)}
.icc-auth-shell{max-width:490px;margin:auto}
.icc-auth-top{display:flex;flex-direction:column;align-items:center;gap:7px;margin-bottom:21px;color:var(--muted);font-size:13px}
.icc-auth-top img{width:220px;max-width:80vw;height:auto;display:block}
.icc-auth-card{background:#fff;border:1px solid #e2eaf2;border-radius:22px;box-shadow:0 16px 48px rgba(11,46,78,.09);padding:34px 36px}
.icc-auth-caption{text-align:center;margin-bottom:20px}
.icc-auth-caption h1{font-size:25px;margin:0 0 8px}
.icc-auth-caption p{font-size:13px;color:var(--muted);margin:0}
.icc-auth-card .iranccd-otp h2{display:none}
.icc-auth-card .iranccd-otp{direction:rtl}
.icc-auth-card .iranccd-otp button{margin-top:6px}
.icc-auth-card .iranccd-otp p{font-size:14px}
.icc-auth-security{text-align:center;color:var(--muted);font-size:12px;margin:22px 0 0}
.icc-auth-back{text-align:center;margin-top:20px;font-size:14px}
@media(max-width:650px){.site-header .brand .icc-brand-image{width:145px}.icc-auth-page{padding:29px 14px 60px}.icc-auth-card{padding:24px 20px}.icc-auth-top img{width:190px}}

/* IranCCD homepage visual hero v0.8 */
.icc-home .icc-hero.icc-hero-branded{
 display:flex;flex-direction:column;align-items:center;gap:0;overflow:hidden;
 padding:0 18px 36px;border:1px solid #d9eaf8;border-radius:26px;
 background:radial-gradient(ellipse at 50% 22%,#fff 28%,transparent 78%),linear-gradient(140deg,#eaf5ff 0%,#f5fbff 60%,#e9f4fc 100%);
 box-shadow:0 20px 58px rgba(11,77,132,.075);
}
.icc-hero-branded .icc-hero-visual{width:100%;max-width:1080px;position:relative;line-height:0}
.icc-hero-branded .icc-hero-visual img{display:block;width:100%;height:auto;aspect-ratio:1000 / 417;object-fit:contain}
.icc-hero-branded .icc-hero-cta{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:0;position:relative;z-index:1}
.icc-hero-branded .icc-hero-cta>a{
 display:inline-flex;align-items:center;justify-content:center;gap:14px;
 min-width:240px;min-height:56px;border-radius:100px;padding:11px 24px;
 font-size:16px;font-weight:800;line-height:1.5;text-align:center;
 transition:transform .18s,box-shadow .18s,background .18s;text-decoration:none;
}
.icc-hero-branded .icc-hero-shop-link{order:0;color:white;background:linear-gradient(110deg,#0565b2,#087bd4);border:1px solid #087bd4;box-shadow:0 8px 20px rgba(4,111,196,.15)}
.icc-hero-branded .icc-hero-login-link{order:1;color:#073b6f;background:rgba(255,255,255,.78);border:1.5px solid #6ba8e2}
.icc-hero-branded .icc-hero-shop-link:hover{background:linear-gradient(110deg,#065895,#0769b3);box-shadow:0 12px 24px rgba(4,111,196,.2);color:#fff;transform:translateY(-2px)}
.icc-hero-branded .icc-hero-login-link:hover{background:#fff;color:#073b6f;box-shadow:0 9px 22px rgba(4,111,196,.1);transform:translateY(-2px)}
.icc-hero-branded .icc-hero-shop-arrow{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:50%;background:white;color:#0876c4;font-size:19px;font-weight:900}
.icc-hero-branded .icc-hero-cta a:focus-visible{outline:3px solid #064d88;outline-offset:4px}
@media(max-width:700px){
 .icc-home .icc-hero.icc-hero-branded{padding:4px 10px 26px;border-radius:19px;gap:12px}
 .icc-hero-branded .icc-hero-visual{width:100%}
 .icc-hero-branded .icc-hero-cta{gap:10px;width:100%;margin-top:0}
 .icc-hero-branded .icc-hero-cta>a{min-width:0;flex:1 1 150px;min-height:48px;padding:9px 12px;font-size:13px;gap:7px}
 .icc-hero-branded .icc-hero-shop-arrow{width:22px;height:22px;font-size:15px}
}
@media(max-width:360px){.icc-hero-branded .icc-hero-cta>a{flex-basis:100%;max-width:270px}}
@media(prefers-reduced-motion:reduce){.icc-hero-branded .icc-hero-cta>a{transition:none}}

/* Desktop header: reuse mobile SVG icons; mobile header remains untouched. */
@media (min-width:851px) {
  .site-header .header-actions { gap:12px; flex-wrap:nowrap; }
  .site-header .header-actions > a.icc-desktop-icon-link {
    display:inline-flex; align-items:center; justify-content:center;
    position:relative; width:48px; height:48px; min-width:48px;
    padding:8px; border:1px solid transparent; border-radius:12px;
    color:#163b59; line-height:1; text-decoration:none;
  }
  .site-header .header-actions > a.icc-desktop-icon-link svg {width:29px;height:29px;display:block;}
  .site-header .header-actions > a.icc-desktop-icon-link:hover,
  .site-header .header-actions > a.icc-desktop-icon-link:focus-visible {
    color:#0876c4;background:#f3f9ff;border-color:#d2e5f5;
  }
  .site-header .icc-desktop-cart-link .cart-count {
    position:absolute;top:0;left:0;min-width:18px;height:18px;
    padding:0 4px;border-radius:12px;background:#e43746;color:#fff;
    font:700 11px/18px Tahoma,Arial,sans-serif;text-align:center;
  }
}

/* IranCCD customer address overview: two tidy responsive cards. */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin:22px 0 28px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::after {display:none}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
  float:none!important;
  width:auto!important;
  min-width:0;
  margin:0;
  padding:24px;
  background:#fff;
  border:1px solid #dce8f2;
  border-radius:17px;
  box-shadow:0 7px 26px rgba(16,43,67,.045);
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  padding:0 0 16px;
  margin:0 0 16px;
  border-bottom:1px solid #e7eef5;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title::after {display:none}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h3 {
  float:none;
  margin:0;
  padding:0;
  color:#173b59;
  font-size:17px;
  font-weight:800;
  line-height:1.9;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title .edit {
  float:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #bad8ee;
  border-radius:9px;
  background:#f1f8ff;
  color:#086aab;
  padding:6px 13px;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title .edit:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title .edit:focus-visible {
  background:#e0f1fe;
  border-color:#85bae0;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses address {
  margin:0;
  padding:0;
  min-height:75px;
  font-style:normal;
  line-height:2.05;
  color:#596f83;
  overflow-wrap:anywhere;
}
@media(max-width:850px) {
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
    grid-template-columns:minmax(0,1fr);gap:14px;
  }
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
    padding:19px;
  }
}

/* IranCCD unified My Account profile, desktop and mobile */
.woocommerce-account .icc-account-profile{max-width:900px;margin:0 auto;direction:rtl}
.woocommerce-account .icc-profile-heading{padding:0 0 18px;margin-bottom:22px;border-bottom:1px solid #e1ebf3}
.woocommerce-account .icc-profile-heading h2{margin:0 0 4px;font-size:23px;color:#173b59}
.woocommerce-account .icc-profile-heading p{margin:0;color:#61758a;font-size:13px}
.woocommerce-account .icc-account-profile .woocommerce-EditAccountForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;align-items:start}
.woocommerce-account .icc-account-profile .woocommerce-EditAccountForm::before,.woocommerce-account .icc-account-profile .woocommerce-EditAccountForm::after{display:none}
.woocommerce-account .icc-account-profile .woocommerce-EditAccountForm>.form-row,
.woocommerce-account .icc-account-profile .woocommerce-EditAccountForm>p.form-row{float:none!important;width:100%!important;margin:0;min-width:0;padding:0}
.woocommerce-account .icc-account-profile .woocommerce-EditAccountForm>.form-row-wide{grid-column:1/-1}
.woocommerce-account .icc-account-profile .woocommerce-EditAccountForm label{display:block;margin:0 0 7px;font-weight:700;color:#294b63;font-size:13px}
.woocommerce-account .icc-account-profile input:not([type=hidden]):not([type=checkbox]),
.woocommerce-account .icc-account-profile select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:45px;border:1px solid #ccddeb;background:#fbfdff;border-radius:10px;padding:10px 12px;font:inherit;color:#173b59}
.woocommerce-account .icc-account-profile input[readonly]{background:#eef3f7;color:#556d7f;cursor:not-allowed}
.woocommerce-account .icc-account-profile .woocommerce-EditAccountForm fieldset{grid-column:1/-1;margin:8px 0 0;padding:18px;border:1px solid #dce8f2;border-radius:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;min-width:0}
.woocommerce-account .icc-account-profile fieldset legend{padding:0 9px;font-weight:800;color:#173b59}
.woocommerce-account .icc-account-profile fieldset .form-row{float:none;width:100%;margin:0;min-width:0}
.woocommerce-account .icc-account-profile fieldset .form-row-wide{grid-column:1/-1}
.woocommerce-account .icc-profile-extra{grid-column:1/-1;padding:20px;margin:8px 0;border-radius:14px;border:1px solid #dce8f2;background:#f8fbfe}
.woocommerce-account .icc-profile-extra h3{font-size:17px;margin:0 0 8px;color:#173b59}
.woocommerce-account .icc-profile-tier,.woocommerce-account .icc-profile-pending{margin:0 0 12px;font-size:13px}
.woocommerce-account .icc-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}
.woocommerce-account .icc-profile-grid .form-row{float:none!important;width:100%!important;margin:0;min-width:0}
.woocommerce-account .icc-account-profile .woocommerce-EditAccountForm>p:last-child{grid-column:1/-1}
.woocommerce-account .icc-account-profile button[type=submit]{border:0;border-radius:10px;min-height:45px;padding:10px 26px;background:#0876c4;color:#fff;font:700 14px Tahoma,Arial,sans-serif}
@media(max-width:700px){
 .woocommerce-account .icc-account-profile .woocommerce-EditAccountForm,
 .woocommerce-account .icc-profile-grid,
 .woocommerce-account .icc-account-profile .woocommerce-EditAccountForm fieldset{grid-template-columns:minmax(0,1fr);gap:12px}
 .woocommerce-account .icc-profile-extra{padding:15px}
 .woocommerce-account .icc-profile-heading h2{font-size:20px}
}

/* National ID belongs to all customers, independent of cooperation status. */
.woocommerce-account .icc-profile-identity{grid-column:1/-1;padding:20px;margin:8px 0;border:1px solid #dce8f2;border-radius:14px;background:#f8fbfe}
.woocommerce-account .icc-profile-identity h3{font-size:17px;margin:0 0 12px;color:#173b59}
.woocommerce-account .icc-profile-identity .form-row{float:none!important;width:100%!important;margin:0;max-width:370px}
.woocommerce-account .icc-profile-identity small{display:block;margin-top:7px;color:#607486;font-size:12px}
@media(max-width:700px){.woocommerce-account .icc-profile-identity{padding:15px}}

/* IranCCD dedicated password screen */
.woocommerce-account .icc-password-page{max-width:670px}
.woocommerce-account .icc-password-form{display:grid;grid-template-columns:1fr;gap:16px}
.woocommerce-account .icc-password-form p{margin:0}
.woocommerce-account .icc-password-form label{display:block;font-weight:700;color:#294b63;margin-bottom:7px}
.woocommerce-account .icc-password-form input{box-sizing:border-box;width:100%;min-height:46px;border:1px solid #ccddeb;border-radius:10px;padding:10px 12px;background:#fbfdff}
.woocommerce-account .icc-password-form button{justify-self:start;background:#0876c4;color:#fff;border:0;border-radius:10px;padding:12px 24px;font-weight:700;cursor:pointer}

/* Secondary login methods, while preserving main login/registration tabs */
.icc-login-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 20px}
.icc-login-methods a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:8px;border:1px solid #d0e1ee;border-radius:10px;background:#f7fafc;color:#31536c;font-size:13px;font-weight:700;text-decoration:none}
.icc-login-methods a.is-current{background:#e6f3ff;border-color:#77bce7;color:#0867a7}
.iranccd-otp input[type=password],.iranccd-otp input[type=text]{width:100%;box-sizing:border-box;min-height:45px;border-radius:10px;border:1px solid #ccddeb;padding:10px 12px}
@media(max-width:430px){.icc-login-methods a{font-size:12px;padding:7px 5px}}

#icc_username.icc-username-error { border-color: red !important; outline: 2px solid red !important; }
#icc_username.icc-username-ok { border-color: green !important; }

/* IranCCD customer dashboard */
.icc-dashboard{display:grid;gap:22px;direction:rtl}
.icc-dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f3f8fc;border:1px solid #e0edf5;border-radius:16px;padding:22px}
.icc-dashboard-welcome h2{font-size:24px;margin:0 0 8px;color:#183d56}
.icc-dashboard-welcome p{margin:0;color:#667d8d}
.icc-dashboard-welcome>a{display:inline-flex;white-space:nowrap;text-decoration:none;padding:10px 16px;background:#fff;border:1px solid #cddfeb;border-radius:10px;font-weight:700}
.icc-dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.icc-dashboard-stats>a{display:flex;flex-direction:column;gap:9px;text-decoration:none;background:#fff;border:1px solid #e1eaf0;border-radius:14px;padding:20px}
.icc-dashboard-stats strong{font-size:29px;color:#126da6;line-height:1.1}
.icc-dashboard-stats span{font-size:13px;color:#506b7c}
.icc-dashboard-section{border:1px solid #e1eaf0;border-radius:16px;background:#fff;padding:20px}
.icc-dashboard-section h3{font-size:18px;margin:0 0 17px;color:#1c425a}
.icc-dashboard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.icc-dashboard-actions a{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f7fafc;border:1px solid #e1eaf0;padding:14px;border-radius:10px;text-decoration:none;font-weight:600}
.icc-dashboard-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.icc-dashboard-section-head a{font-size:13px}
.icc-dashboard-recent{display:grid;gap:8px}
.icc-dashboard-recent>a{display:grid;grid-template-columns:1.1fr 1.1fr 1fr 1fr;align-items:center;gap:8px;border:1px solid #e7edf2;border-radius:10px;padding:12px;text-decoration:none;font-size:13px}
.icc-dashboard-recent strong{text-align:left}
.icc-dashboard-empty{margin:0;color:#6b7f8c}
@media(max-width:650px){.icc-dashboard-welcome{padding:16px;align-items:flex-start;flex-direction:column}.icc-dashboard-stats{grid-template-columns:1fr 1fr}.icc-dashboard-stats>a:last-child{grid-column:1/-1}.icc-dashboard-stats>a{padding:16px}.icc-dashboard-recent>a{grid-template-columns:1fr 1fr}.icc-dashboard-section{padding:15px}}

/* Homepage image carousel: only images/CTAs change; outer hero dimensions remain responsive. */
.icc-hero-branded .icc-hero-slider{width:100%;position:relative;min-width:0}
.icc-hero-branded .icc-hero-track{display:grid;grid-template-columns:minmax(0,1fr);width:100%;overflow:hidden}
.icc-hero-branded .icc-hero-slide{grid-area:1/1;min-width:0;visibility:hidden;transform:translateX(-100%);pointer-events:none;transition:none}
.icc-hero-branded .icc-hero-slide.is-active{visibility:visible;transform:translateX(0);pointer-events:auto;z-index:1}
.icc-hero-branded .icc-hero-moving .icc-hero-slide{transition:none}
.icc-hero-branded .icc-hero-moving .icc-hero-slide.is-active{visibility:visible}
.icc-hero-branded .icc-hero-slide.is-entering{visibility:visible;transform:translateX(-100%);pointer-events:none;z-index:2}
.icc-hero-branded .icc-hero-slide.is-leaving{visibility:visible;transform:translateX(100%);pointer-events:none;z-index:2}
.icc-hero-branded .icc-hero-reverse .icc-hero-slide.is-entering{transform:translateX(100%)}
.icc-hero-branded .icc-hero-reverse .icc-hero-slide.is-leaving{transform:translateX(-100%)}
.icc-hero-branded .icc-hero-slide:not(:first-child) .icc-hero-cta>a{min-width:150px;min-height:44px;padding:8px 18px;font-size:14px;gap:9px}
@media(max-width:700px){.icc-hero-branded .icc-hero-slide:not(:first-child) .icc-hero-cta>a{flex:0 1 auto;min-width:124px;min-height:42px;padding:8px 16px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.icc-hero-branded .icc-hero-slide{transition:none}}
.icc-hero-branded .icc-hero-slide .icc-hero-visual{margin-inline:auto}
.icc-hero-branded .icc-hero-slide .icc-hero-cta{min-height:78px}
/* Desktop-only slider arrows. Mobile retains swipe navigation. */
.icc-hero-branded .icc-hero-arrows{position:absolute;left:auto;right:16px;bottom:24px;top:auto;z-index:4;display:flex;align-items:center;justify-content:flex-start;gap:9px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(5px);transition:opacity .22s ease,transform .22s ease,visibility .22s}
@media(hover:hover) and (pointer:fine){.icc-hero-branded .icc-hero-slider:hover .icc-hero-arrows,.icc-hero-branded .icc-hero-arrows:focus-within{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}}
@media(hover:none){.icc-hero-branded .icc-hero-arrows{display:none}}
@media(prefers-reduced-motion:reduce){.icc-hero-branded .icc-hero-arrows{transition:none}}
.icc-hero-branded .icc-hero-nav{pointer-events:auto;display:grid;place-items:center;width:44px;height:52px;border:1px solid rgba(6,80,145,.2);border-radius:13px;background:rgba(255,255,255,.85);box-shadow:0 3px 14px rgba(0,40,90,.14);font-size:34px;line-height:1;color:#075b99;cursor:pointer;transition:background .2s,transform .2s}
.icc-hero-branded .icc-hero-nav:hover{background:#fff;transform:scale(1.05)}
.icc-hero-branded .icc-hero-nav:focus-visible{outline:3px solid #064d88;outline-offset:3px}
@media(max-width:700px){.icc-hero-branded .icc-hero-arrows{display:none}}
.icc-hero-branded .icc-hero-dots{display:flex;justify-content:center;align-items:center;gap:9px;position:relative;z-index:2;margin-top:3px}
.icc-hero-branded .icc-hero-dots button{width:10px;height:10px;padding:0;border-radius:50%;border:1px solid #91abc3;background:#d5e3f0;cursor:pointer}
.icc-hero-branded .icc-hero-dots button[aria-current=true]{background:#0876c4;transform:scale(1.2)}
.icc-hero-branded .icc-hero-dots button:focus-visible{outline:3px solid #064d88;outline-offset:3px}
@media(max-width:700px){.icc-hero-branded .icc-hero-slide .icc-hero-cta{min-height:65px}}
@media(prefers-reduced-motion:reduce){.icc-hero-branded .icc-hero-slide{transition:none}}
