
:root{
  --gold:#C5B358;
  --gold-hover:#D4C46A;
  --gold-dark:#9C8E46;
  --black:#000;
  --card:#121212;
  --card-2:#181818;
  --text:#F5F5F5;
  --muted:#BEBEBE;
  --line:rgba(197,179,88,.35);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.atrend-v2{
  margin:0;
  background:var(--black);
  color:var(--text);
  font-family:"Cairo",Arial,sans-serif;
  line-height:1.7
}
body.atrend-v2 a{color:var(--gold);text-decoration:none}
body.atrend-v2 img{max-width:100%;height:auto}
.atrend-shell{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.atrend-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(0,0,0,.94);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px)
}
.admin-bar .atrend-header{top:32px}
.atrend-header__inner{min-height:78px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px}
.atrend-brand__link{display:flex;align-items:center}
.atrend-brand .custom-logo{display:block;width:auto;max-height:58px}
.atrend-brand__text,.atrend-footer__brand{font-size:30px;font-weight:900;letter-spacing:2px;color:var(--gold)}
.atrend-nav__list,.atrend-mobile-menu__list{list-style:none;margin:0;padding:0}
.atrend-nav__list{display:flex;align-items:center;justify-content:center;gap:28px}
.atrend-nav__list a{color:var(--text);font-weight:700;transition:.2s}
.atrend-nav__list a:hover,.atrend-nav__list .current-menu-item>a{color:var(--gold)}
.atrend-header-actions{display:flex;gap:9px}
.atrend-header-action{
  position:relative;width:43px;height:43px;
  display:grid;place-items:center;border:1px solid var(--line);
  border-radius:50%;background:var(--card);font-size:18px
}
.atrend-header-action strong{
  position:absolute;top:-5px;inset-inline-start:-5px;
  min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;
  border-radius:999px;background:var(--gold);color:#000;font-size:11px
}
.atrend-menu-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.atrend-menu-toggle span:not(.screen-reader-text){display:block;width:25px;height:2px;margin:5px;background:var(--gold)}
.atrend-mobile-menu{background:#080808;border-top:1px solid var(--line)}
.atrend-mobile-menu__list{padding:12px 0}
.atrend-mobile-menu__list a{display:block;padding:10px 0;color:var(--text);border-bottom:1px solid rgba(255,255,255,.06)}
.atrend-ticker{overflow:hidden;background:var(--gold);color:#000;font-weight:800;white-space:nowrap}
.atrend-ticker__track{display:inline-block;min-width:100%;padding:9px 0;animation:atrendTicker 24s linear infinite}
.atrend-ticker__track span{padding-inline-start:100%}
@keyframes atrendTicker{to{transform:translateX(-100%)}}
.atrend-hero{
  min-height:620px;display:flex;align-items:center;
  background:radial-gradient(circle at center,#202020 0,#080808 46%,#000 100%);
  background-size:cover;background-position:center
}
.atrend-hero__content{text-align:center;padding:70px 0}
.atrend-hero__logo .custom-logo{max-height:190px;width:auto}
.atrend-hero__brand{font-size:clamp(58px,9vw,112px);font-weight:900;letter-spacing:8px;color:var(--gold)}
.atrend-hero__eyebrow{margin:22px 0 4px;color:var(--gold);font-size:14px;letter-spacing:4px;font-weight:800}
.atrend-hero h1{max-width:900px;margin:0 auto;color:#fff;font-size:clamp(40px,7vw,82px);line-height:1.1;letter-spacing:2px}
.atrend-hero__subtitle{margin:20px auto 30px;color:#fff;font-size:clamp(16px,2.2vw,23px)}
.atrend-primary-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:11px 26px;
  border:1px solid var(--gold)!important;border-radius:10px!important;
  background:var(--gold)!important;color:#000!important;font-weight:800!important;
  transition:.2s
}
.atrend-primary-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{
  background:var(--gold-hover)!important;transform:translateY(-2px)
}
.atrend-section{padding-block:76px}
.atrend-section__heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}
.atrend-section__heading span{color:var(--gold);font-size:13px;font-weight:800;letter-spacing:1px}
.atrend-section__heading h2{margin:3px 0 0;color:#fff;font-size:clamp(28px,4vw,44px);line-height:1.25}
.atrend-section__heading>a{font-weight:700}
.atrend-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.atrend-category-card{
  position:relative;min-height:390px;overflow:hidden;
  border:1px solid var(--line);border-radius:var(--radius);background:var(--card)
}
.atrend-category-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.atrend-category-card:hover img{transform:scale(1.07)}
.atrend-category-card__overlay{
  position:absolute;inset:auto 0 0;padding:50px 20px 20px;
  background:linear-gradient(transparent,rgba(0,0,0,.92));color:#fff
}
.atrend-category-card__overlay h3{margin:0;color:var(--gold);font-size:24px}
.atrend-category-card__overlay span{color:#fff}
.atrend-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.atrend-product-card{display:flex;flex-direction:column;overflow:hidden;background:var(--card);border:1px solid var(--line);border-radius:16px;transition:.25s}
.atrend-product-card:hover{transform:translateY(-5px);border-color:var(--gold)}
.atrend-product-card__image-wrap{position:relative;display:block;aspect-ratio:1/1;background:#fff;overflow:hidden}
.atrend-product-card__image{width:100%;height:100%;object-fit:contain;transition:.35s}
.atrend-product-card:hover .atrend-product-card__image{transform:scale(1.04)}
.atrend-product-card__badge{position:absolute;z-index:2;top:11px;inset-inline-start:11px;padding:5px 10px;background:var(--gold);color:#000;border-radius:999px;font-size:12px;font-weight:900}
.atrend-product-card__body{flex:1;display:flex;flex-direction:column;padding:15px}
.atrend-product-card__title{margin:0 0 8px;font-size:16px;line-height:1.5}
.atrend-product-card__title a{color:#fff}
.atrend-product-card__price,.atrend-product-card__price *{color:var(--gold)!important;font-size:18px;font-weight:900}
.atrend-product-card__price del{opacity:.55}
.atrend-product-card__stock{margin:6px 0;color:var(--muted);font-size:13px}
.atrend-product-card__button{margin-top:auto;padding:9px 12px;border:1px solid var(--gold);border-radius:8px;text-align:center;font-weight:800;transition:.2s}
.atrend-product-card__button:hover{background:var(--gold);color:#000}
.atrend-benefits{padding:35px 0;background:var(--card);border-block:1px solid var(--line)}
.atrend-benefits__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.atrend-benefits article{text-align:center}
.atrend-benefits strong{font-size:32px}
.atrend-benefits h3{margin:5px 0;color:var(--gold);font-size:17px}
.atrend-content-page,.atrend-woocommerce-page{padding-block:55px;min-height:55vh}
.atrend-page-title,.woocommerce-products-header__title,.woocommerce div.product .product_title{color:var(--gold)}
.atrend-article,.atrend-page-content{padding:24px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.atrend-footer{margin-top:55px;background:#080808;border-top:1px solid var(--line)}
.atrend-footer__grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding-block:50px}
.atrend-footer h3{color:var(--gold)}
.atrend-footer p{color:var(--muted)}
.atrend-footer__contact,.atrend-footer__social-section{text-align:center}
.atrend-social{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.atrend-social__link{
  min-width:118px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  color:var(--gold)!important;
  transition:.2s
}
.atrend-social__link span{font-size:20px;line-height:1}
.atrend-social__link strong{font-size:14px}
.atrend-social__link:hover{
  background:var(--gold);
  color:#000!important;
  transform:translateY(-2px)
}
.atrend-footer__bottom{padding:15px;text-align:center;border-top:1px solid rgba(255,255,255,.07);color:var(--gold)}
.atrend-whatsapp{
  position:fixed;z-index:999;bottom:22px;inset-inline-end:22px;
  width:55px;height:55px;display:grid;place-items:center;
  border-radius:50%;background:var(--gold);color:#000!important;font-size:27px;font-weight:900;
  box-shadow:0 10px 28px rgba(0,0,0,.45)
}
/* WooCommerce */
.woocommerce .woocommerce-breadcrumb{color:var(--muted)}
.woocommerce .woocommerce-breadcrumb a{color:var(--gold)}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{
  width:auto!important;margin:0!important;padding:13px!important;
  background:var(--card);border:1px solid var(--line);border-radius:16px;text-align:center
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:#fff!important}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--gold)!important}
.woocommerce span.onsale{background:var(--gold)!important;color:#000!important}
.woocommerce div.product{background:var(--card);padding:22px;border:1px solid var(--line);border-radius:var(--radius)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--card-2)!important;border-color:var(--line)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--gold)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#000!important}
.woocommerce table.shop_table,.woocommerce-checkout #payment,.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{
  background:var(--card);color:var(--text);border-color:var(--line)!important;border-radius:14px
}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--line)!important}
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce .quantity .qty,
.select2-container--default .select2-selection--single{
  background:#0c0c0c!important;color:#fff!important;border:1px solid var(--gold-dark)!important;border-radius:8px!important
}
.woocommerce-info,.woocommerce-message,.woocommerce-error{background:var(--card)!important;color:#fff!important;border-top-color:var(--gold)!important}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{background:var(--card);padding:18px;border:1px solid var(--line);border-radius:14px}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-MyAccount-navigation a{display:block;padding:9px 12px;border-bottom:1px solid rgba(255,255,255,.06)}
@media(max-width:980px){
  .atrend-nav{display:none}.atrend-menu-toggle{display:block}
  .atrend-header__inner{grid-template-columns:auto 1fr auto}
  .atrend-category-grid,.atrend-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .atrend-footer__grid{grid-template-columns:1fr 1fr}
}
@media(max-width:782px){.admin-bar .atrend-header{top:46px}}
@media(max-width:640px){
  .atrend-shell{width:min(100% - 20px,1180px)}
  .atrend-header__inner{min-height:67px;gap:10px}
  .atrend-brand .custom-logo{max-height:46px}
  .atrend-header-action{width:38px;height:38px}
  .atrend-hero{min-height:520px}
  .atrend-hero__content{padding:45px 0}
  .atrend-hero__logo .custom-logo{max-height:140px}
  .atrend-section{padding-block:50px}
  .atrend-category-grid{grid-template-columns:1fr 1fr;gap:11px}
  .atrend-category-card{min-height:240px}
  .atrend-category-card__overlay{padding:35px 12px 12px}
  .atrend-category-card__overlay h3{font-size:17px}
  .atrend-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .atrend-product-card__body{padding:10px}
  .atrend-product-card__title{font-size:14px}
  .atrend-product-card__price,.atrend-product-card__price *{font-size:15px}
  .atrend-benefits__grid,.atrend-footer__grid{grid-template-columns:1fr}
  .atrend-section__heading{align-items:center}
}


/* Search and favorites */
.atrend-header-tools{display:flex;align-items:center;gap:12px}
.atrend-header-search{width:min(320px,28vw)}
.atrend-search-form{position:relative;display:flex;align-items:center}
.atrend-search-form input[type="search"]{
  width:100%;height:42px;padding:0 14px 0 44px;
  background:#0b0b0b;color:#fff;border:1px solid var(--line);border-radius:999px;
  font-family:inherit
}
.atrend-search-form button{
  position:absolute;inset-inline-end:6px;width:32px;height:32px;
  border:0;border-radius:50%;background:var(--gold);color:#000;font-size:21px;cursor:pointer
}
.atrend-search-results{
  position:absolute;top:48px;inset-inline:0;z-index:1200;
  background:#0b0b0b;border:1px solid var(--line);border-radius:14px;
  box-shadow:0 18px 40px rgba(0,0,0,.5);overflow:hidden
}
.atrend-search-result{
  display:grid;grid-template-columns:48px 1fr;gap:10px;align-items:center;
  padding:9px;border-bottom:1px solid rgba(255,255,255,.06);color:#fff!important
}
.atrend-search-result:last-child{border-bottom:0}
.atrend-search-result img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:8px}
.atrend-search-result strong{display:block;color:#fff;font-size:13px}
.atrend-search-result span{color:var(--gold);font-size:12px}
.atrend-search-empty{padding:14px;text-align:center;color:var(--muted)}
.atrend-favorite-button{
  position:absolute;z-index:3;top:11px;inset-inline-end:11px;
  width:38px;height:38px;border:1px solid var(--gold);border-radius:50%;
  background:rgba(0,0,0,.72);color:var(--gold);font-size:25px;cursor:pointer
}
.atrend-favorite-button.is-active{background:var(--gold);color:#000}
.atrend-favorites-drawer{
  position:fixed;z-index:1600;top:0;bottom:0;inset-inline-end:0;
  width:min(390px,92vw);padding:20px;background:#080808;border-inline-start:1px solid var(--line);
  transform:translateX(110%);transition:.3s;overflow:auto
}
html[dir="rtl"] .atrend-favorites-drawer{transform:translateX(-110%)}
.atrend-favorites-drawer.is-open{transform:translateX(0)!important}
.atrend-favorites-drawer__header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.atrend-favorites-drawer__header h2{color:var(--gold)}
.atrend-favorites-close{background:none;border:0;color:#fff;font-size:32px;cursor:pointer}
.atrend-favorite-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.07)}
.atrend-favorite-item a{color:#fff;font-weight:700}
.atrend-favorite-remove{border:0;background:none;color:var(--gold);font-size:22px;cursor:pointer}
.atrend-drawer-overlay{position:fixed;z-index:1500;inset:0;background:rgba(0,0,0,.65)}
.atrend-empty-favorites{color:var(--muted);padding:25px 0;text-align:center}

/* Better single product, cart and checkout */
.woocommerce div.product div.images img{background:#fff;border-radius:14px}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.woocommerce div.product .stock{color:var(--gold)!important;font-weight:800}
.woocommerce div.product .woocommerce-product-details__short-description{color:#ddd}
.woocommerce-cart table.cart img{width:82px;background:#fff;border-radius:10px}
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-checkout .col2-set{
  background:var(--card);padding:20px;border:1px solid var(--line);border-radius:16px
}
.woocommerce-checkout #payment div.payment_box{background:#1b1b1b!important;color:#fff!important}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#1b1b1b!important}
.woocommerce form .form-row label{color:var(--gold);font-weight:700}
.woocommerce .order-total strong,.woocommerce .cart-subtotal td{color:var(--gold)}
@media(max-width:1100px){
  .atrend-header-search{display:none}
}


/* WooCommerce add-to-cart reliability and visibility */
.woocommerce div.product form.cart .single_add_to_cart_button{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto;
}
.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button.wc-variation-selection-needed{
  opacity:.45!important;
  cursor:not-allowed!important;
}
.woocommerce div.product form.cart .variations select{
  min-width:180px;
}
.woocommerce div.product form.cart .quantity .qty{
  min-width:72px;
  text-align:center;
}


/* Version 1.1.0: mobile app-like navigation */
.atrend-mobile-bottom-nav{
  display:none;
  position:fixed;
  z-index:1400;
  right:0;
  bottom:0;
  left:0;
  min-height:66px;
  padding:6px 8px calc(6px + env(safe-area-inset-bottom));
  background:rgba(5,5,5,.97);
  border-top:1px solid var(--line);
  backdrop-filter:blur(12px)
}
.atrend-mobile-bottom-nav>a,
.atrend-mobile-bottom-nav>button{
  position:relative;
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  border:0;
  background:none;
  color:var(--muted);
  font-family:inherit;
  cursor:pointer
}
.atrend-mobile-bottom-nav span{font-size:20px;line-height:1}
.atrend-mobile-bottom-nav strong{font-size:10px}
.atrend-mobile-bottom-nav a:hover,
.atrend-mobile-bottom-nav button:hover{color:var(--gold)}
.atrend-mobile-bottom-nav em{
  position:absolute;
  top:1px;
  inset-inline-end:18%;
  min-width:18px;
  height:18px;
  padding:0 4px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--gold);
  color:#000;
  font-size:10px;
  font-style:normal;
  font-weight:900
}

/* Order progress */
.atrend-order-progress{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  margin:0 0 24px;
  padding:20px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px
}
.atrend-order-progress__step{
  position:relative;
  text-align:center;
  color:var(--muted)
}
.atrend-order-progress__step:not(:last-child)::after{
  content:"";
  position:absolute;
  top:12px;
  inset-inline-start:50%;
  width:100%;
  height:2px;
  background:#333
}
.atrend-order-progress__step span{
  position:relative;
  z-index:2;
  display:block;
  width:25px;
  height:25px;
  margin:0 auto 9px;
  border:2px solid #444;
  border-radius:50%;
  background:#090909
}
.atrend-order-progress__step.is-complete{color:var(--gold)}
.atrend-order-progress__step.is-complete span{
  border-color:var(--gold);
  background:var(--gold);
  box-shadow:0 0 0 5px rgba(197,179,88,.12)
}
.atrend-order-progress__step.is-complete span::after{
  content:"✓";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#000;
  font-size:14px;
  font-weight:900
}
.atrend-order-progress__step strong{font-size:13px}

/* Product mobile buy bar */
.atrend-mobile-buy-bar{
  display:none;
  position:fixed;
  z-index:1350;
  right:8px;
  bottom:76px;
  left:8px;
  min-height:62px;
  padding:9px;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:#0a0a0a;
  border:1px solid var(--gold);
  border-radius:14px;
  box-shadow:0 12px 35px rgba(0,0,0,.55)
}
.atrend-mobile-buy-bar>div{min-width:0}
.atrend-mobile-buy-bar strong{
  display:block;
  max-width:190px;
  overflow:hidden;
  color:#fff;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px
}
.atrend-mobile-buy-bar span{color:var(--gold);font-size:12px}
.atrend-mobile-buy-bar button{
  min-height:42px;
  padding:8px 14px;
  border:0;
  border-radius:9px;
  background:var(--gold);
  color:#000;
  font-family:inherit;
  font-weight:900
}

@media(max-width:640px){
  body.atrend-v2{padding-bottom:72px}
  .atrend-mobile-bottom-nav{display:flex}
  .atrend-whatsapp{bottom:84px}
  .single-product .atrend-whatsapp{display:none}
  .atrend-mobile-buy-bar{display:flex}
  .atrend-order-progress{padding:14px 7px}
  .atrend-order-progress__step strong{font-size:10px}
}


/* Version 1.1.1: checkout coupon and multilingual switcher */
.atrend-language-switcher{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto
}
.atrend-language-switcher .atrend-language-link,
.atrend-language-switcher .atrend-language-disabled{
  min-width:38px;
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  color:#fff;
  font-size:11px;
  font-weight:800
}
.atrend-language-switcher .atrend-language-link:hover,
.atrend-language-switcher .atrend-language-link.is-current{
  border-color:var(--gold);
  background:var(--gold);
  color:#000
}
.atrend-language-switcher .trp-language-switcher{width:auto!important}
.atrend-language-switcher .trp-language-switcher>div{
  border:1px solid var(--line)!important;
  background:#080808!important;
  color:#fff!important
}
.woocommerce-form-coupon-toggle .showcoupon{
  cursor:pointer;
  color:var(--gold)!important;
  text-decoration:underline;
  text-underline-offset:4px
}
form.checkout_coupon{
  margin:14px 0 24px!important;
  padding:18px!important;
  border:1px solid var(--gold)!important;
  border-radius:14px!important;
  background:#0d0d0d!important
}
form.checkout_coupon.is-open{display:block!important}
form.checkout_coupon .form-row{margin:0 0 10px!important}
form.checkout_coupon input[name="coupon_code"]{
  min-height:48px!important;
  border:1px solid var(--gold)!important;
  background:#050505!important;
  color:#fff!important
}
form.checkout_coupon button{
  min-height:48px!important;
  background:var(--gold)!important;
  color:#000!important;
  font-weight:900!important
}
@media(max-width:900px){
  .atrend-language-switcher{margin-inline-start:auto}
}


/* 1.2.0 — TranslatePress is the only language selector */
.atrend-language-switcher{display:none!important}

/* English layout refinements */
html[lang^="en"] body,
html[lang^="en-US"] body{
  direction:ltr;
  text-align:left;
}
html[lang^="en"] .atrend-nav__list,
html[lang^="en-US"] .atrend-nav__list{
  direction:ltr;
}
html[lang^="en"] .atrend-header-search input,
html[lang^="en-US"] .atrend-header-search input{
  text-align:left;
}
html[lang^="en"] .woocommerce form .form-row,
html[lang^="en-US"] .woocommerce form .form-row{
  text-align:left;
}


/* A TREND 2.0 — complete bilingual front-end */
body.atrend-lang-en {
  direction: ltr;
  text-align: left;
}
body.atrend-lang-en .atrend-header__inner,
body.atrend-lang-en .atrend-nav__list,
body.atrend-lang-en .atrend-mobile-bottom-nav,
body.atrend-lang-en .woocommerce form,
body.atrend-lang-en .woocommerce-checkout-review-order,
body.atrend-lang-en .woocommerce-MyAccount-navigation {
  direction: ltr;
}
body.atrend-lang-en .atrend-section-heading,
body.atrend-lang-en .woocommerce,
body.atrend-lang-en .woocommerce-page,
body.atrend-lang-en .woocommerce form .form-row,
body.atrend-lang-en .woocommerce table.shop_table {
  text-align: left;
}
body.atrend-lang-en .atrend-section-heading a {
  margin-left: auto;
  margin-right: 0;
}
body.atrend-lang-en .atrend-ticker__track {
  direction: ltr;
}
body.atrend-lang-en .woocommerce .quantity,
body.atrend-lang-en .woocommerce .cart,
body.atrend-lang-en .woocommerce-checkout-payment {
  direction: ltr;
}
body.atrend-lang-ar {
  direction: rtl;
  text-align: right;
}


/* v2.0.1 Header spacing fixes for English */
body.atrend-lang-en .atrend-header__inner{
    display:flex;
    align-items:center;
    gap:18px;
}
body.atrend-lang-en .atrend-header-search{
    flex:1;
    max-width:420px;
}
body.atrend-lang-en .atrend-language-switcher,
body.atrend-lang-en .trp-language-switcher-container{
    margin-left:16px;
    white-space:nowrap;
}
body.atrend-lang-en .atrend-header-icons{
    display:flex;
    align-items:center;
    gap:14px;
    flex-shrink:0;
}
@media (max-width:1200px){
    body.atrend-lang-en .atrend-header-search{
        max-width:300px;
    }
}


/* v2.0.2 — Gold wishlist and account icons */
.atrend-header-action .atrend-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #C5B358;
    line-height: 1;
}

.atrend-header-action .atrend-action-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.atrend-header-action:hover .atrend-action-icon,
.atrend-header-action:focus-visible .atrend-action-icon {
    color: #e3cf72;
    transform: scale(1.06);
}

.atrend-header-action .atrend-action-icon {
    transition: color .2s ease, transform .2s ease;
}


/* v2.0.3 — A TREND store photo hero background */
.atrend-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #000;
}

.atrend-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--atrend-hero-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: .30;
    filter: saturate(.72) contrast(1.08);
    transform: scale(1.015);
}

.atrend-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 42%, rgba(197,179,88,.18) 0%, rgba(197,179,88,.07) 30%, transparent 58%),
        linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.58) 35%, rgba(0,0,0,.54) 65%, rgba(0,0,0,.90) 100%),
        linear-gradient(180deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.44) 42%, rgba(0,0,0,.82) 100%);
}

.atrend-hero__content {
    position: relative;
    z-index: 2;
}

.atrend-hero__logo .custom-logo {
    filter: drop-shadow(0 8px 22px rgba(0,0,0,.72));
}

.atrend-hero h1,
.atrend-hero__subtitle,
.atrend-hero__eyebrow {
    text-shadow: 0 3px 18px rgba(0,0,0,.90);
}

@media (max-width: 767px) {
    .atrend-hero::before {
        opacity: .24;
        background-position: 44% center;
    }
}


/* =========================================================
   A TREND V2.0.4 — Full-screen cinematic homepage hero
   ========================================================= */

.home .atrend-ticker {
    position: relative;
    z-index: 20;
}

.home .atrend-hero {
    min-height: calc(100svh - 126px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #000;
}

.home .atrend-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--atrend-hero-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: .78;
    filter: saturate(.72) contrast(1.16) brightness(.78);
    transform: scale(1.005);
}

.home .atrend-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 43%,
            rgba(197,179,88,.18) 0%,
            rgba(197,179,88,.08) 25%,
            rgba(0,0,0,.10) 48%,
            rgba(0,0,0,.55) 100%),
        linear-gradient(90deg,
            rgba(0,0,0,.46) 0%,
            rgba(0,0,0,.15) 26%,
            rgba(0,0,0,.14) 68%,
            rgba(0,0,0,.50) 100%),
        linear-gradient(180deg,
            rgba(0,0,0,.20) 0%,
            rgba(0,0,0,.12) 52%,
            rgba(0,0,0,.62) 100%);
}

.home .atrend-hero__content {
    width: min(1120px, calc(100% - 32px));
    min-height: calc(100svh - 126px);
    padding: clamp(34px, 5vh, 70px) 0 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.home .atrend-hero__logo {
    margin-bottom: 8px;
}

.home .atrend-hero__logo .custom-logo {
    width: auto;
    max-height: clamp(150px, 22vh, 245px);
    filter:
        drop-shadow(0 5px 3px rgba(0,0,0,.86))
        drop-shadow(0 0 18px rgba(197,179,88,.30));
}

.home .atrend-hero__eyebrow {
    margin: 4px 0 12px;
    color: var(--gold);
    font-size: clamp(12px, 1.25vw, 17px);
    font-weight: 900;
    letter-spacing: clamp(3px, .55vw, 7px);
    text-shadow: 0 3px 12px rgba(0,0,0,.95);
}

.home .atrend-hero h1 {
    max-width: 1100px;
    margin: 0 auto;
    color: var(--gold);
    font-size: clamp(42px, 6vw, 92px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: clamp(1px, .25vw, 4px);
    text-shadow:
        0 4px 4px rgba(0,0,0,.95),
        0 0 24px rgba(0,0,0,.82);
}

.home .atrend-hero h1::after {
    content: "";
    display: block;
    width: min(420px, 55vw);
    height: 1px;
    margin: 24px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.home .atrend-hero__subtitle {
    margin: 20px auto 28px;
    color: #fff;
    font-size: clamp(17px, 1.8vw, 25px);
    font-weight: 600;
    text-shadow:
        0 3px 4px rgba(0,0,0,1),
        0 0 14px rgba(0,0,0,.95);
}

.home .atrend-hero .atrend-primary-button {
    min-width: 150px;
    min-height: 56px;
    padding-inline: 32px;
    border-radius: 11px !important;
    box-shadow:
        0 10px 28px rgba(0,0,0,.50),
        0 0 0 1px rgba(255,255,255,.12) inset;
}

.atrend-scroll-down {
    position: absolute;
    inset-inline-start: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--gold) !important;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .94;
}

html[dir="rtl"] .atrend-scroll-down {
    transform: translateX(50%);
}

.atrend-scroll-down__mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gold);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}

.atrend-scroll-down__mouse i {
    display: block;
    width: 3px;
    height: 7px;
    border-radius: 4px;
    background: var(--gold);
    animation: atrendScrollDot 1.6s ease-in-out infinite;
}

.atrend-scroll-down__arrow {
    font-size: 20px;
    line-height: .7;
}

@keyframes atrendScrollDot {
    0%, 100% { transform: translateY(0); opacity: .35; }
    50% { transform: translateY(11px); opacity: 1; }
}

.atrend-collections-section {
    padding-top: 48px;
    scroll-margin-top: 90px;
}

.atrend-section__heading--center {
    justify-content: center;
    text-align: center;
    margin-bottom: 34px;
}

.atrend-section__heading--center h2 {
    color: var(--gold);
}

.atrend-heading-ornament {
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(290px, 75vw);
}

.atrend-heading-ornament i {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.atrend-heading-ornament i:last-child {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.atrend-heading-ornament b {
    width: 13px;
    height: 13px;
    margin: 0 12px;
    background: var(--gold);
    transform: rotate(45deg);
}

@media (max-width: 1024px) {
    .home .atrend-hero,
    .home .atrend-hero__content {
        min-height: calc(100svh - 116px);
    }

    .home .atrend-hero::before {
        opacity: .72;
        background-position: 48% center;
    }
}

@media (max-width: 767px) {
    .home .atrend-hero,
    .home .atrend-hero__content {
        min-height: calc(100svh - 112px);
    }

    .home .atrend-hero__content {
        width: min(100% - 24px, 680px);
        padding-top: 28px;
        padding-bottom: 92px;
    }

    .home .atrend-hero::before {
        opacity: .65;
        background-position: 43% center;
    }

    .home .atrend-hero::after {
        background:
            radial-gradient(circle at 50% 42%, rgba(197,179,88,.15), transparent 48%),
            linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.64));
    }

    .home .atrend-hero__logo .custom-logo {
        max-height: 145px;
    }

    .home .atrend-hero h1 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .home .atrend-hero h1::after {
        margin-top: 17px;
    }

    .atrend-scroll-down strong {
        display: none;
    }
}


/* =========================================================
   A TREND V2.0.5 — News ticker Arabic/English visibility fix
   ========================================================= */

.atrend-ticker {
    position: relative;
    width: 100%;
    min-height: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--gold, #C5B358);
    color: #000;
}

.atrend-ticker__track {
    display: flex !important;
    align-items: center;
    width: max-content;
    min-width: 100%;
    white-space: nowrap;
    color: #000 !important;
    font-weight: 800;
    line-height: 1.4;
    opacity: 1 !important;
    visibility: visible !important;
    will-change: transform;
}

/* Arabic: begin visibly on screen and move from left toward right */
body.atrend-lang-ar .atrend-ticker,
html[dir="rtl"] .atrend-ticker {
    direction: rtl;
}

body.atrend-lang-ar .atrend-ticker__track,
html[dir="rtl"] .atrend-ticker__track {
    direction: rtl;
    justify-content: flex-start;
    animation: atrendTickerArabic 30s linear infinite !important;
}

/* English: begin visibly on screen and move from right toward left */
body.atrend-lang-en .atrend-ticker,
html[dir="ltr"] .atrend-ticker {
    direction: ltr;
}

body.atrend-lang-en .atrend-ticker__track,
html[dir="ltr"] .atrend-ticker__track {
    direction: ltr;
    justify-content: flex-start;
    animation: atrendTickerEnglish 30s linear infinite !important;
}

.atrend-ticker__track:hover {
    animation-play-state: paused !important;
}

@keyframes atrendTickerArabic {
    0% {
        transform: translateX(-8%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes atrendTickerEnglish {
    0% {
        transform: translateX(8%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Keep the ticker visible when motion reduction is enabled. */
@media (prefers-reduced-motion: reduce) {
    .atrend-ticker__track {
        animation: none !important;
        width: 100%;
        justify-content: center !important;
        transform: none !important;
    }
}

@media (max-width: 767px) {
    .atrend-ticker {
        min-height: 44px;
    }

    .atrend-ticker__track {
        font-size: 13px;
    }
}


/* =========================================================
   A TREND V2.0.6 — Logo beside product search
   ========================================================= */

.atrend-header__inner {
    grid-template-columns: auto 1fr auto;
}

.atrend-header-tools {
    min-width: 0;
}

.atrend-search-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.atrend-brand--beside-search {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    position: relative;
    z-index: 3;
}

.atrend-brand--beside-search .atrend-brand__link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.atrend-brand--beside-search .custom-logo {
    display: block;
    width: auto;
    max-width: 92px;
    max-height: 52px;
    object-fit: contain;
}

.atrend-search-brand .atrend-header-search {
    width: min(350px, 30vw);
    min-width: 220px;
    flex: 1 1 300px;
}

/* Arabic: logo appears directly beside the search field without overlap. */
body.atrend-lang-ar .atrend-search-brand,
html[dir="rtl"] .atrend-search-brand {
    direction: rtl;
}

/* English: preserve natural left-to-right order. */
body.atrend-lang-en .atrend-search-brand,
html[dir="ltr"] .atrend-search-brand {
    direction: ltr;
}

/* Keep TranslatePress language control away from logo/search. */
.atrend-header .trp-language-switcher-container,
.atrend-header .trp-language-switcher,
.atrend-header [class*="language-switcher"] {
    flex: 0 0 auto;
    white-space: nowrap;
    position: relative;
    z-index: 5;
}

@media (max-width: 1180px) {
    .atrend-header__inner {
        gap: 16px;
    }

    .atrend-search-brand {
        gap: 10px;
    }

    .atrend-brand--beside-search .custom-logo {
        max-width: 78px;
        max-height: 46px;
    }

    .atrend-search-brand .atrend-header-search {
        width: min(285px, 28vw);
        min-width: 185px;
    }
}

@media (max-width: 1100px) {
    /* The existing theme hides search here; keep the logo visible beside its reserved area. */
    .atrend-search-brand {
        flex: 0 0 auto;
    }

    .atrend-search-brand .atrend-header-search {
        display: none !important;
    }

    .atrend-brand--beside-search .custom-logo {
        max-width: 82px;
        max-height: 48px;
    }
}

@media (max-width: 640px) {
    .atrend-header__inner {
        grid-template-columns: auto 1fr auto;
        gap: 8px;
    }

    .atrend-header-tools {
        gap: 7px;
    }

    .atrend-search-brand {
        gap: 6px;
    }

    .atrend-brand--beside-search .custom-logo {
        max-width: 70px;
        max-height: 42px;
    }

    .atrend-header-actions {
        gap: 5px;
    }
}


/* =========================================================
   A TREND V2.0.7 — Identical Arabic/English header layout
   ========================================================= */

/*
 * Keep the physical positions identical in both languages.
 * Only the text inside Arabic controls changes to RTL.
 */
body.atrend-lang-ar .atrend-header__inner,
body.atrend-lang-en .atrend-header__inner,
html[dir="rtl"] .atrend-header__inner,
html[dir="ltr"] .atrend-header__inner {
    display: flex !important;
    direction: ltr !important;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 78px;
}

/* Navigation remains in the same physical position in both languages. */
.atrend-header .atrend-nav {
    flex: 0 0 auto;
    direction: ltr !important;
}

.atrend-header .atrend-nav__list {
    direction: ltr !important;
    justify-content: flex-start;
    gap: 26px;
}

body.atrend-lang-ar .atrend-header .atrend-nav__list a {
    direction: rtl;
    unicode-bidi: plaintext;
}

/* Search, logo and icons always keep the same order. */
.atrend-header .atrend-header-tools {
    display: flex !important;
    direction: ltr !important;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    min-width: 0;
}

.atrend-header .atrend-search-brand {
    display: flex !important;
    direction: ltr !important;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
}

/* Smaller search rectangle requested by the user. */
.atrend-header .atrend-search-brand .atrend-header-search {
    display: block;
    flex: 0 0 260px;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
}

.atrend-header .atrend-header-search form,
.atrend-header .atrend-header-search .woocommerce-product-search {
    width: 100%;
}

.atrend-header .atrend-header-search input[type="search"],
.atrend-header .atrend-header-search input {
    width: 100%;
    min-height: 46px;
}

/* Arabic writing inside the search stays RTL, without moving the box. */
body.atrend-lang-ar .atrend-header-search input {
    direction: rtl;
    text-align: right;
}

body.atrend-lang-en .atrend-header-search input {
    direction: ltr;
    text-align: left;
}

.atrend-header .atrend-brand--beside-search {
    flex: 0 0 82px;
    width: 82px;
}

.atrend-header .atrend-brand--beside-search .custom-logo {
    width: auto;
    max-width: 82px;
    max-height: 50px;
}

.atrend-header .atrend-header-actions {
    display: flex;
    direction: ltr !important;
    align-items: center;
    flex: 0 0 auto;
    gap: 9px;
}

/* Language selector stays at the same edge and never changes header spacing. */
.trp-language-switcher-container,
.trp-language-switcher,
[class*="trp-language-switcher"] {
    direction: ltr !important;
    white-space: nowrap;
}

/* Undo older English-only sizing rules. */
body.atrend-lang-en .atrend-header-search {
    flex: 0 0 260px !important;
    width: 260px !important;
    max-width: 260px !important;
}

/* Medium desktop screens. */
@media (max-width: 1250px) {
    body.atrend-lang-ar .atrend-header__inner,
    body.atrend-lang-en .atrend-header__inner,
    html[dir="rtl"] .atrend-header__inner,
    html[dir="ltr"] .atrend-header__inner {
        gap: 15px;
    }

    .atrend-header .atrend-nav__list {
        gap: 18px;
    }

    .atrend-header .atrend-search-brand .atrend-header-search,
    body.atrend-lang-en .atrend-header-search {
        flex-basis: 230px !important;
        width: 230px !important;
        min-width: 230px !important;
        max-width: 230px !important;
    }

    .atrend-header .atrend-brand--beside-search {
        flex-basis: 72px;
        width: 72px;
    }

    .atrend-header .atrend-brand--beside-search .custom-logo {
        max-width: 72px;
        max-height: 46px;
    }
}

/* Tablet/mobile: use the existing compact menu consistently. */
@media (max-width: 1100px) {
    body.atrend-lang-ar .atrend-header__inner,
    body.atrend-lang-en .atrend-header__inner,
    html[dir="rtl"] .atrend-header__inner,
    html[dir="ltr"] .atrend-header__inner {
        justify-content: space-between;
    }

    .atrend-header .atrend-search-brand .atrend-header-search,
    body.atrend-lang-en .atrend-header-search {
        display: none !important;
    }

    .atrend-header .atrend-brand--beside-search {
        flex-basis: 78px;
        width: 78px;
    }
}

@media (max-width: 640px) {
    body.atrend-lang-ar .atrend-header__inner,
    body.atrend-lang-en .atrend-header__inner,
    html[dir="rtl"] .atrend-header__inner,
    html[dir="ltr"] .atrend-header__inner {
        min-height: 68px;
        gap: 8px;
    }

    .atrend-header .atrend-brand--beside-search {
        flex-basis: 66px;
        width: 66px;
    }

    .atrend-header .atrend-brand--beside-search .custom-logo {
        max-width: 66px;
        max-height: 40px;
    }
}


/* =========================================================
   A TREND V3.0 — Account, login and orders
   ========================================================= */

.atrend-account-page .site-main,
.atrend-account-page main {
    background: #000;
}

.atrend-account-page .woocommerce {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 34px 0 70px;
}

.atrend-account-hero {
    grid-column: 1 / -1;
    margin-bottom: 24px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid rgba(197,179,88,.68);
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 20%, rgba(197,179,88,.11), transparent 50%),
        #111;
}

.atrend-account-hero__logo .custom-logo {
    width: auto;
    max-width: 180px;
    max-height: 150px;
    margin: 0 auto 10px;
}

.atrend-account-hero h1 {
    margin: 0;
    color: var(--gold);
}

.atrend-account-hero p {
    margin: 8px 0 0;
    color: #ddd;
}

.atrend-account-page .woocommerce:not(.widget) {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
    gap: 26px;
}

.atrend-account-page .woocommerce-notices-wrapper,
.atrend-account-page .atrend-account-hero,
.atrend-account-page .woocommerce > h2,
.atrend-account-page .woocommerce > .u-columns,
.atrend-account-page .woocommerce > form.login,
.atrend-account-page .woocommerce > form.register {
    grid-column: 1 / -1;
}

.atrend-account-page .woocommerce-MyAccount-navigation {
    background: #111;
    border: 1px solid rgba(197,179,88,.58);
    border-radius: 20px;
    padding: 12px;
    align-self: start;
    position: sticky;
    top: 92px;
}

.atrend-account-page .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.atrend-account-page .woocommerce-MyAccount-navigation li + li {
    margin-top: 7px;
}

.atrend-account-page .woocommerce-MyAccount-navigation a {
    display: flex;
    padding: 13px 15px;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
}

.atrend-account-page .woocommerce-MyAccount-navigation .is-active a,
.atrend-account-page .woocommerce-MyAccount-navigation a:hover {
    background: var(--gold);
    color: #000;
}

.atrend-account-page .woocommerce-MyAccount-content {
    min-width: 0;
    color: #eee;
}

.atrend-account-page .u-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.atrend-account-page .u-column1,
.atrend-account-page .u-column2,
.atrend-account-page form.login,
.atrend-account-page form.register,
.atrend-account-page form.lost_reset_password,
.atrend-account-page form.edit-account,
.atrend-account-page form.woocommerce-address-fields {
    background: #111 !important;
    border: 1px solid rgba(197,179,88,.65) !important;
    border-radius: 22px !important;
    padding: 26px !important;
}

.atrend-account-page h2,
.atrend-account-page h3 {
    color: var(--gold);
}

.atrend-account-page input.input-text,
.atrend-account-page input[type="email"],
.atrend-account-page input[type="password"],
.atrend-account-page input[type="text"],
.atrend-account-page select,
.atrend-account-page textarea {
    min-height: 50px;
    border: 1px solid rgba(197,179,88,.52) !important;
    border-radius: 12px !important;
    background: #080808 !important;
    color: #fff !important;
}

.atrend-account-page .button,
.atrend-account-logout-button {
    border: 1px solid var(--gold) !important;
    border-radius: 12px !important;
    background: var(--gold) !important;
    color: #000 !important;
    font-weight: 900 !important;
}

.atrend-account-logout-button {
    display: inline-flex;
    margin-top: 20px;
    padding: 12px 20px;
}

.atrend-orders-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.atrend-orders-toolbar h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
}

.atrend-orders-refresh {
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--gold);
    font-size: 38px;
    cursor: pointer;
}

.atrend-order-cards {
    display: grid;
    gap: 24px;
}

.atrend-order-card {
    padding: 24px;
    border: 1px solid rgba(197,179,88,.42);
    border-radius: 24px;
    background: #141414;
    box-shadow: 0 18px 45px rgba(0,0,0,.24);
}

.atrend-order-card__header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #333;
}

.atrend-order-card__number {
    min-width: 106px;
    padding: 16px;
    text-align: center;
    border-radius: 16px;
    background: var(--gold);
    color: #000 !important;
    font-size: 24px;
    font-weight: 900;
}

.atrend-order-card__title {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
}

.atrend-order-card__status {
    padding: 9px 14px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-weight: 800;
}

.atrend-order-card.is-completed .atrend-order-card__status { color: #53d66d; }
.atrend-order-card.is-processing .atrend-order-card__status { color: #f5a623; }
.atrend-order-card.is-pending .atrend-order-card__status,
.atrend-order-card.is-on-hold .atrend-order-card__status { color: #6ba4c7; }
.atrend-order-card.is-cancelled .atrend-order-card__status,
.atrend-order-card.is-failed .atrend-order-card__status,
.atrend-order-card.is-refunded .atrend-order-card__status { color: #ef6363; }

.atrend-order-card__meta {
    display: grid;
    gap: 12px;
    padding: 20px 0;
    color: #ddd;
}

.atrend-order-card__meta span {
    color: var(--gold);
    margin-inline-end: 8px;
}

.atrend-order-card__products h3 {
    margin: 0 0 12px;
}

.atrend-order-card__product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid #333;
    border-radius: 16px;
    background: #101010;
}

.atrend-order-card__product + .atrend-order-card__product {
    margin-top: 10px;
}

.atrend-order-card__product small {
    display: block;
    margin-top: 4px;
    color: #aaa;
}

.atrend-order-card__bag {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(197,179,88,.55);
    border-radius: 13px;
    color: var(--gold);
    font-size: 28px;
}

.atrend-order-card__details {
    display: inline-flex;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--gold);
    color: #000 !important;
    font-weight: 900;
}

.atrend-order-timeline {
    margin-bottom: 28px;
    padding: 24px;
    border: 1px solid rgba(197,179,88,.55);
    border-radius: 22px;
    background: #111;
}

.atrend-order-timeline h2 {
    margin-top: 0;
}

.atrend-order-timeline__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

.atrend-order-timeline__steps::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #333;
}

.atrend-order-timeline__step {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #777;
}

.atrend-order-timeline__dot {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto 10px;
    border: 3px solid #333;
    border-radius: 50%;
    background: #111;
}

.atrend-order-timeline__step.is-active {
    color: var(--gold);
}

.atrend-order-timeline__step.is-active .atrend-order-timeline__dot {
    border-color: var(--gold);
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(197,179,88,.13);
}

@media (max-width: 820px) {
    .atrend-account-page .woocommerce:not(.widget) {
        display: block;
    }

    .atrend-account-page .woocommerce-MyAccount-navigation {
        position: static;
        margin-bottom: 22px;
    }

    .atrend-account-page .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        gap: 8px;
    }

    .atrend-account-page .woocommerce-MyAccount-navigation li {
        flex: 0 0 auto;
        margin: 0 !important;
    }

    .atrend-account-page .u-columns {
        grid-template-columns: 1fr;
    }

    .atrend-order-card__header {
        grid-template-columns: auto 1fr;
    }

    .atrend-order-card__status {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .atrend-order-timeline__steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .atrend-order-timeline__steps::before {
        top: 14px;
        bottom: 14px;
        left: 13px;
        right: auto;
        width: 2px;
        height: auto;
    }

    html[dir="rtl"] .atrend-order-timeline__steps::before {
        right: 13px;
        left: auto;
    }

    .atrend-order-timeline__step {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: start;
    }

    .atrend-order-timeline__dot {
        flex: 0 0 28px;
        margin: 0;
    }
}


/* A TREND V3.1 */
.atrend-dashboard-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}
.atrend-dashboard-card{display:grid;place-items:center;min-height:155px;padding:22px 16px;border:1px solid rgba(197,179,88,.58);border-radius:20px;background:radial-gradient(circle at 50% 0%,rgba(197,179,88,.13),transparent 45%),#111;color:#fff!important;text-align:center;transition:.2s}
.atrend-dashboard-card:hover{transform:translateY(-3px);border-color:var(--gold)}
.atrend-dashboard-card span{display:grid;place-items:center;width:46px;height:46px;margin-bottom:10px;border:1px solid rgba(197,179,88,.7);border-radius:50%;color:var(--gold);font-size:23px}
.atrend-dashboard-card strong{color:var(--gold);font-size:clamp(22px,3vw,34px)}
.atrend-dashboard-card small{margin-top:5px;color:#ddd;font-weight:800}
.atrend-account-page .woocommerce-MyAccount-navigation{min-width:280px}
.atrend-account-page .woocommerce-MyAccount-navigation a{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;justify-content:center;text-align:center}
@media(max-width:760px){.atrend-dashboard-cards{grid-template-columns:1fr}}


/* =========================================================
   A TREND V3.1.1 — Wallet, addresses and tracking alignment
   ========================================================= */

/* Dashboard cards: prevent wallet price/currency from overlapping label */
.atrend-dashboard-card {
    grid-template-rows: auto auto auto;
    align-content: center;
    gap: 10px;
    overflow: hidden;
}

.atrend-dashboard-card strong {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
}

.atrend-dashboard-card strong .woocommerce-Price-amount,
.atrend-dashboard-card strong bdi {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.atrend-dashboard-card small {
    display: block;
    width: 100%;
    margin: 0;
    line-height: 1.4;
    position: static;
}

/* WooCommerce address cards: equal size and aligned */
.atrend-account-page .woocommerce-Addresses,
.atrend-account-page .u-columns.woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
    width: 100% !important;
}

.atrend-account-page .woocommerce-Address,
.atrend-account-page .woocommerce-Address.u-column1,
.atrend-account-page .woocommerce-Address.u-column2 {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 26px !important;
    min-height: 300px !important;
    border: 1px solid rgba(197,179,88,.58) !important;
    border-radius: 22px !important;
    background: #111 !important;
    box-sizing: border-box !important;
}

.atrend-account-page .woocommerce-Address-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    margin-bottom: 18px !important;
}

.atrend-account-page .woocommerce-Address-title h2,
.atrend-account-page .woocommerce-Address-title h3 {
    margin: 0 !important;
    line-height: 1.35 !important;
}

.atrend-account-page .woocommerce-Address address {
    margin: 0 !important;
    line-height: 1.9 !important;
    color: #eee !important;
}

/* Track-order endpoint layout */
.atrend-account-page .atrend-track-order-page {
    width: 100% !important;
}

.atrend-account-page .atrend-track-order-page > h2,
.atrend-account-page .atrend-track-order-page > p {
    text-align: start !important;
}

.atrend-account-page .atrend-track-order-page form,
.atrend-account-page form.woocommerce-form-track-order {
    width: 100% !important;
    max-width: none !important;
    margin: 24px 0 0 !important;
    padding: 28px !important;
    box-sizing: border-box !important;
}

.atrend-account-page form.woocommerce-form-track-order > p:first-child {
    max-width: 780px;
    margin: 0 0 24px !important;
    line-height: 1.8;
}

.atrend-account-page form.woocommerce-form-track-order .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.atrend-account-page form.woocommerce-form-track-order .form-row-first,
.atrend-account-page form.woocommerce-form-track-order .form-row-last {
    width: 100% !important;
}

.atrend-account-page form.woocommerce-form-track-order .clear {
    display: none !important;
}

.atrend-account-page form.woocommerce-form-track-order {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: end !important;
}

.atrend-account-page form.woocommerce-form-track-order > p:first-child,
.atrend-account-page form.woocommerce-form-track-order > .form-row:last-of-type {
    grid-column: 1 / -1 !important;
}

.atrend-account-page form.woocommerce-form-track-order label {
    display: block !important;
    margin-bottom: 9px !important;
    color: var(--gold) !important;
    font-weight: 800 !important;
}

.atrend-account-page form.woocommerce-form-track-order input.input-text {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.atrend-account-page form.woocommerce-form-track-order button {
    min-width: 170px !important;
    min-height: 50px !important;
    justify-self: start !important;
}

@media (max-width: 820px) {
    .atrend-account-page .woocommerce-Addresses,
    .atrend-account-page .u-columns.woocommerce-Addresses,
    .atrend-account-page form.woocommerce-form-track-order {
        grid-template-columns: 1fr !important;
    }

    .atrend-account-page .woocommerce-Address {
        min-height: 0 !important;
    }

    .atrend-account-page form.woocommerce-form-track-order > p:first-child,
    .atrend-account-page form.woocommerce-form-track-order > .form-row:last-of-type {
        grid-column: auto !important;
    }

    .atrend-account-page form.woocommerce-form-track-order button {
        width: 100% !important;
        justify-self: stretch !important;
    }
}
