/* ===========================================================================
   HOMESARA THEME — page-my-account.css
   Extracted verbatim from the original my-account.html <style> block
   (assets/css/legacy/my-account.css is the same content, unmodified —
   this file is the enqueue-ready copy loaded only on this page/template).

   NOTE: kept as a full verbatim copy rather than hand-split against
   style.css/common.css, so some rules here duplicate the root/common
   layer. Deliberate fidelity-first tradeoff (plan §4 / README) —
   harmless (browser uses the later matching rule), safe to
   de-duplicate later once this page is confirmed pixel-correct in
   the Elementor rebuild.
   =========================================================================== */

html{scroll-behavior:smooth;}

button,input,textarea,select{font-family:inherit;}

.section{padding:70px 0;}

.btn{padding:14px 28px;font-size:12px;letter-spacing:1.3px;white-space:nowrap;}

.btn-sm{padding:10px 16px;font-size:11px;}

.topbar{background:var(--topbar);border-bottom:1px solid var(--line);}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:38px;font-size:12.5px;color:var(--brown-800);}
.topbar .left{display:flex;gap:26px;align-items:center;}
.topbar .item{display:flex;align-items:center;gap:6px;font-weight:500;}
.topbar .icon{width:14px;height:14px;color:var(--gold-dark);}

header.main{border-bottom:1px solid var(--line);background:var(--white);}
.header-inner{display:flex;align-items:center;gap:34px;padding-top:18px;padding-bottom:18px;}
.logo{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.logo-mark{width:46px;height:46px;flex-shrink:0;}
.logo-text{line-height:1;}
.logo-text .tag{display:block;font-size:10.5px;letter-spacing:5px;color:var(--gold-dark);margin-top:3px;font-weight:600;}
.search-bar{flex:1;display:flex;max-width:560px;border:1.5px solid var(--line);border-radius:3px;overflow:hidden;position:relative;}
.search-bar input{border:none;outline:none;flex:1;padding:12px 16px;font-size:13.5px;font-family:inherit;color:var(--ink);background:var(--cream);}
.search-bar input::placeholder{color:var(--muted);}
.search-bar button{background:var(--brown-800);border:none;padding:0 20px;color:var(--white);cursor:pointer;}
.header-actions{display:flex;align-items:center;gap:28px;margin-left:auto;flex-shrink:0;}
.header-actions .action{display:flex;align-items:center;gap:9px;font-size:12.5px;color:var(--brown-900);font-weight:500;text-decoration:none;}
.header-actions .action .icon{color:var(--gold-dark);width:20px;height:20px;}
.header-actions .action .lbl small{display:block;color:var(--muted);font-weight:400;font-size:11px;}
.header-actions .action .lbl b{font-weight:600;font-size:13px;}

nav.catnav{background:var(--white);border-bottom:1px solid var(--line);}
.catnav-inner{display:flex;align-items:center;gap:34px;height:52px;position:relative;}
.all-cat{background:var(--brown-900);color:var(--white);height:34px;padding:0 16px;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:500;border-radius:2px;white-space:nowrap;cursor:pointer;}
.all-cat .care{transition:transform .2s ease;}
.all-cat.open .care{transform:rotate(180deg);}
.catnav-links{display:flex;gap:30px;flex:1;}
.catnav-links a{font-size:13.5px;font-weight:500;color:var(--ink);white-space:nowrap;}
.catnav-links a:hover{color:var(--gold-dark);}
.catnav-links a.current{color:var(--gold-dark);font-weight:700;}
.catnav-links a.sale{color:var(--red);font-weight:600;}
.mobile-menu-btn{display:none;align-items:center;justify-content:center;width:38px;height:38px;background:var(--cream-2);border:none;border-radius:4px;color:var(--brown-900);margin-left:auto;flex-shrink:0;}
.all-cat-panel{display:none;position:absolute;top:calc(100% + 10px);left:0;background:var(--white);border:1px solid var(--line);border-radius:8px;box-shadow:0 20px 45px rgba(20,14,8,.18);padding:10px;min-width:260px;z-index:80;grid-template-columns:1fr 1fr;gap:2px;}
.all-cat-panel.open{display:grid;}
.all-cat-panel a{padding:10px 12px;font-size:13px;font-weight:500;color:var(--ink);border-radius:5px;white-space:nowrap;}
.all-cat-panel a:hover{background:var(--cream-2);color:var(--gold-dark);}
.all-cat-panel a.view-all-link{grid-column:1/-1;border-top:1px solid var(--line);margin-top:4px;padding-top:12px;font-weight:700;color:var(--brown-800);}
.all-cat-panel a.sale{color:var(--red);font-weight:700;}
@media (max-width:640px){ .all-cat-panel{grid-template-columns:1fr;left:-6px;right:-6px;min-width:0;} }
.nav-dropdown{position:relative;}
.nav-dropdown-trigger{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:500;color:var(--ink);cursor:pointer;white-space:nowrap;}
.nav-dropdown-trigger:hover{color:var(--gold-dark);}
.nav-dropdown-trigger .care{width:11px;height:11px;transition:transform .2s ease;}
.nav-dropdown.open .nav-dropdown-trigger .care{transform:rotate(180deg);}
.nav-dropdown-panel{display:none;position:absolute;top:calc(100% + 10px);left:0;background:var(--white);border:1px solid var(--line);border-radius:8px;box-shadow:0 20px 45px rgba(20,14,8,.18);padding:8px;min-width:190px;z-index:80;}
.nav-dropdown.open .nav-dropdown-panel{display:block;}
.nav-dropdown-panel a{display:block;padding:10px 14px;font-size:13px;font-weight:500;color:var(--ink);border-radius:5px;white-space:nowrap;}
.nav-dropdown-panel a:hover{background:var(--cream-2);color:var(--gold-dark);}
.action.wishlist-action{position:relative;}
.wishlist-panel{display:none;position:absolute;top:calc(100% + 14px);right:0;background:var(--white);border:1px solid var(--line);border-radius:8px;box-shadow:0 20px 45px rgba(20,14,8,.18);padding:14px;min-width:230px;z-index:80;font-size:12.5px;color:var(--ink);}
.wishlist-panel.open{display:block;}
.wishlist-panel .wl-empty{color:var(--muted);line-height:1.6;}
.wishlist-panel .wl-empty a{color:var(--gold-dark);font-weight:600;}
.wishlist-panel .wl-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);}
.wishlist-panel .wl-item:last-child{border-bottom:none;}
.wishlist-panel .wl-item button{background:none;border:none;color:var(--muted);font-size:15px;line-height:1;padding:0 2px;}
.wishlist-panel .wl-item button:hover{color:var(--red);}
.wishlist-panel .wl-title{font-weight:700;font-size:12px;letter-spacing:.5px;text-transform:uppercase;color:var(--brown-800);margin-bottom:10px;}
#toastWrap{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:999;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;}
.toast-msg{background:var(--brown-900);color:var(--white);padding:12px 20px;border-radius:30px;font-size:13px;font-weight:500;box-shadow:0 12px 30px rgba(0,0,0,.25);opacity:0;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease;max-width:88vw;text-align:center;}
.toast-msg.show{opacity:1;transform:translateY(0);}

.page-hero{background:var(--cream-2);}
.page-hero-inner{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:40px;padding:44px 0 0;}
.page-hero h1{font-size:34px;margin:0 0 12px;color:var(--ink);}
.page-hero p{font-size:14px;color:var(--muted);max-width:430px;margin:0 0 20px;line-height:1.7;}
.breadcrumb{font-size:12.5px;color:var(--muted);display:flex;gap:8px;align-items:center;padding-bottom:36px;}
.breadcrumb a{color:var(--brown-800);font-weight:600;}
.page-hero-img{border-radius:8px 8px 0 0;overflow:hidden;height:260px;align-self:end;}
.page-hero-img img{width:100%;height:100%;object-fit:cover;display:block;}

.stats-card2{background:var(--white);border-radius:8px;box-shadow:0 20px 45px rgba(58,42,28,.14);padding:28px 10px;margin:-46px auto 0;max-width:1160px;position:relative;z-index:4;overflow:hidden;}
.stats-card2 .stat{display:flex;align-items:center;gap:13px;position:relative;padding:0 8px;}
.stats-card2 .stat:not(:last-child)::after{content:"";position:absolute;right:0;top:2px;bottom:2px;width:1px;background:var(--line);display:none;}
@media (min-width:901px){.stats-card2 .stat:not(:last-child)::after{display:block;}}
.stats-card2 .stat .circ{width:46px;height:46px;border-radius:50%;background:var(--cream-2);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.stats-card2 .stat .circ .icon{width:21px;height:21px;color:var(--brown-800);}
.stats-card2 .stat b{display:block;font-size:13px;color:var(--ink);font-weight:600;line-height:1.3;}
.stats-card2 .stat span{font-size:11px;color:var(--muted);}

.cpt-tag{display:inline-block;font-size:10.5px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;color:var(--brown-800);background:var(--white);border:1px solid var(--line);border-radius:20px;padding:5px 12px;margin-bottom:12px;}

.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.product-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--white);display:flex;flex-direction:column;}
.product-card .thumb{position:relative;aspect-ratio:1/0.86;overflow:hidden;}
.product-card .thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.product-card .info{padding:16px;flex:1;display:flex;flex-direction:column;}
.product-card h4{font-size:15px;margin:0 0 4px;font-weight:600;}
.product-card .designs{font-size:12px;color:var(--muted);margin:0 0 8px;}
.product-card .price{font-size:12.5px;color:var(--ink);margin:0 0 14px;}
.product-card .price b{font-weight:700;}
.product-card .btn{width:100%;margin-top:auto;}

.contact-form{border:1px solid var(--line);border-radius:10px;padding:34px;}
.contact-form h3{font-size:20px;margin:0 0 6px;}
.contact-form>p{font-size:13px;color:var(--muted);margin:0 0 24px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
.form-row input, .contact-form textarea{width:100%;border:1px solid var(--line);border-radius:4px;padding:12px 14px;font-size:13.5px;font-family:inherit;}
.contact-form label{display:block;font-size:12.5px;font-weight:600;color:var(--brown-800);margin-bottom:6px;}

table.demo-table{width:100%;border-collapse:collapse;font-size:13px;}
table.demo-table th, table.demo-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);}
table.demo-table th{color:var(--muted);font-weight:600;text-transform:uppercase;font-size:11px;letter-spacing:.5px;background:var(--cream-2);}

footer{background:#fbf9f5;border-top:1px solid var(--line);padding-top:56px;}
.foot-grid{display:grid;grid-template-columns:1.4fr .9fr 1fr 1fr 1.3fr;gap:26px;padding-bottom:40px;}
.foot-grid h5{font-size:12.5px;letter-spacing:1px;font-weight:600;color:var(--ink);margin:0 0 18px;text-transform:uppercase;}
.foot-grid p{font-size:12.5px;color:var(--muted);line-height:1.7;margin:0 0 18px;max-width:220px;}
.foot-grid ul li{margin-bottom:11px;font-size:12.5px;color:var(--muted);}
.foot-bottom{border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);flex-wrap:wrap;gap:8px;}
footer .foot-logo-inner{display:flex;align-items:center;gap:10px;}

.whatsapp-fab{position:fixed;bottom:26px;right:26px;width:56px;height:56px;border-radius:50%;background:var(--green);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.22);z-index:50;}
.whatsapp-fab .icon{width:28px;height:28px;color:var(--white);}

/* ===== WOOCOMMERCE MY ACCOUNT (login form + logged-in dashboard) =====
   Targets WooCommerce's own default classes/markup rather than overriding
   the template files, so any hooks/filters other plugins add to this form
   (social login, 2FA, etc.) keep working untouched. */
.myaccount-section{padding-top:50px;}

/* Every rule below is prefixed with .myaccount-section so it reliably beats
   WooCommerce's own bundled woocommerce.css, which scopes its default form
   styling under ".woocommerce form .form-row" etc (2 classes + element =
   higher specificity than a plain single-class selector would have). */
.myaccount-section .woocommerce-notices-wrapper{max-width:480px;margin:0 auto 20px;}
.myaccount-section .woocommerce-notices-wrapper .woocommerce-error,
.myaccount-section .woocommerce-notices-wrapper .woocommerce-message,
.myaccount-section .woocommerce-notices-wrapper .woocommerce-info{
  list-style:none;margin:0 0 16px;padding:14px 18px;border-radius:6px;font-size:13px;
  background:var(--cream-2);border:1px solid var(--line);color:var(--ink);
}
.myaccount-section .woocommerce-notices-wrapper .woocommerce-error{background:#fbeae6;border-color:#f0c7bd;color:var(--red);}
.myaccount-section .woocommerce-notices-wrapper .woocommerce-message{background:#eaf7ee;border-color:#c8e9d2;color:var(--green);}

.myaccount-section .woocommerce-form-login,
.myaccount-section .woocommerce-form-register,
.myaccount-section .woocommerce-ResetPassword{
  max-width:440px;margin:0 auto;border:1px solid var(--line) !important;border-radius:10px;
  padding:34px !important;background:var(--white);
}
.myaccount-section .woocommerce-form-row{display:block;padding:0;margin:0 0 18px;}
.myaccount-section .woocommerce-form-row label{display:block;line-height:1.3;font-size:12.5px;font-weight:600;color:var(--brown-800);margin-bottom:7px;}
.myaccount-section .woocommerce-form-row .required{color:var(--red);text-decoration:none;}
.myaccount-section .woocommerce-Input,
.myaccount-section .woocommerce-form-row input[type="text"],
.myaccount-section .woocommerce-form-row input[type="email"],
.myaccount-section .woocommerce-form-row input[type="password"],
.myaccount-section .woocommerce-form-row input[type="tel"]{
  width:100%;border:1px solid var(--line) !important;border-radius:5px;padding:12px 14px;
  font-size:13.5px;font-family:inherit;color:var(--ink);background:var(--cream);
  transition:border-color .2s ease;
}
.myaccount-section .woocommerce-Input:focus{outline:none;border-color:var(--gold-dark) !important;}
.myaccount-section .password-input{position:relative;display:block;}
.myaccount-section .password-input input{padding-right:42px;}
.myaccount-section .show-password-input{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;padding:0;color:var(--muted);}

.myaccount-section .woocommerce-form-login__rememberme{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink);font-weight:500;margin-bottom:0;line-height:1.3;}
/* The remember-me/submit row only ever has the plain "form-row" class -
   WooCommerce also stamps "form-row" onto every "woocommerce-form-row"
   field (username, password, etc.), so excluding that combination here is
   what keeps this flex layout from also hijacking those stacked fields. */
.myaccount-section p.form-row:not(.woocommerce-form-row){display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px;padding:0;}

.myaccount-section .woocommerce-button.woocommerce-form-login__submit,
.myaccount-section .woocommerce-form-register .woocommerce-Button,
.myaccount-section .woocommerce-ResetPassword .woocommerce-Button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 28px;font-size:12px;font-weight:600;letter-spacing:1.3px;text-transform:uppercase;
  border-radius:2px;border:1.5px solid var(--brown-800);background:var(--brown-800);color:var(--white);
  cursor:pointer;transition:background .2s ease;white-space:nowrap;
}
.myaccount-section .woocommerce-button.woocommerce-form-login__submit:hover{background:var(--brown-900);border-color:var(--brown-900);}

.myaccount-section .woocommerce-LostPassword{margin:16px 0 0;text-align:center;font-size:12.5px;}
.myaccount-section .woocommerce-LostPassword a{color:var(--gold-dark);font-weight:600;}
.myaccount-section .woocommerce-form-login h2,
.myaccount-section .woocommerce-form-register h2{font-size:20px;margin:0 0 20px;}

/* Logged-in dashboard: left nav tabs + right content, two-column layout */
.myaccount-section .woocommerce-MyAccount-navigation{float:left;width:230px;}
.myaccount-section .woocommerce-MyAccount-content{margin-left:260px;}
.myaccount-section .woocommerce-MyAccount-navigation ul{border:1px solid var(--line);border-radius:8px;overflow:hidden;}
.myaccount-section .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line);}
.myaccount-section .woocommerce-MyAccount-navigation li:last-child{border-bottom:none;}
.myaccount-section .woocommerce-MyAccount-navigation li a{display:block;padding:13px 18px;font-size:13.5px;font-weight:500;color:var(--ink);}
.myaccount-section .woocommerce-MyAccount-navigation li a:hover{background:var(--cream-2);color:var(--gold-dark);}
.myaccount-section .woocommerce-MyAccount-navigation li.is-active a{background:var(--brown-800);color:var(--white);font-weight:600;}
.myaccount-section .woocommerce-MyAccount-content > p:first-child{margin-top:0;}
.myaccount-section .woocommerce-MyAccount-content table.shop_table{width:100%;border-collapse:collapse;font-size:13px;margin:16px 0 24px;}
.myaccount-section .woocommerce-MyAccount-content table.shop_table th,
.myaccount-section .woocommerce-MyAccount-content table.shop_table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);}
.myaccount-section .woocommerce-MyAccount-content table.shop_table th{color:var(--muted);font-weight:600;text-transform:uppercase;font-size:11px;letter-spacing:.5px;background:var(--cream-2);}
.myaccount-section .woocommerce-MyAccount-content .woocommerce-Address{border:1px solid var(--line);border-radius:8px;padding:20px;margin-bottom:20px;}
.myaccount-section .woocommerce-MyAccount-content .woocommerce-Address-title h3{font-size:15px;margin:0 0 12px;display:flex;justify-content:space-between;align-items:center;}
.myaccount-section .woocommerce-MyAccount-content .woocommerce-Address-title .edit{font-size:12px;color:var(--gold-dark);font-weight:600;}
.myaccount-section .woocommerce-MyAccount-content address{font-style:normal;font-size:13px;color:var(--muted);line-height:1.7;}
.myaccount-section .woocommerce-MyAccount-content fieldset{border:1px solid var(--line);border-radius:8px;padding:18px;margin-bottom:20px;}
.myaccount-section .woocommerce-MyAccount-content fieldset legend{font-size:13px;font-weight:600;color:var(--brown-800);padding:0 8px;}

@media (max-width:768px){
  .myaccount-section .woocommerce-MyAccount-navigation{float:none;width:100%;margin-bottom:20px;}
  .myaccount-section .woocommerce-MyAccount-content{margin-left:0;}
  .myaccount-section .woocommerce-form-login,.myaccount-section .woocommerce-form-register,.myaccount-section .woocommerce-ResetPassword{padding:24px;}
}

@media (max-width:1180px){ .product-grid{grid-template-columns:repeat(3,1fr);} .foot-grid{grid-template-columns:1fr 1fr 1fr;} }
@media (max-width:960px){
  .wrap{padding:0 18px;}
  .header-inner{flex-wrap:wrap;gap:14px;padding:14px 0;}
  .search-bar{order:3;flex:1 1 100%;max-width:100%;}
  .header-actions .action .lbl{display:none;}
  .catnav-links{display:none;}
  .page-hero-inner{grid-template-columns:1fr;padding-top:34px;}
  .page-hero-img{height:200px;order:-1;border-radius:8px;}
  .stats-card2{padding:24px 16px;margin-top:-30px;}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .form-row{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr 1fr;}
}
