
:root{
  --gms-ink:#2b2522;
  --gms-muted:#8b7d73;
  --gms-line:#eee7e1;
  --gms-soft:#faf6f2;
  --gms-soft2:#f3ebe3;
  --gms-accent:#b38b76;
  --gms-accent-dark:#806252;
  --gms-white:#fff;
  --gms-shadow:0 18px 50px rgba(69,50,38,.08);
}

.gms-page-shell{
  max-width:1180px;
  margin:0 auto;
  padding:42px 20px 72px;
  color:var(--gms-ink);
  font-family:inherit;
  box-sizing:border-box;
}

.gms-page-shell *,
.gms-page-shell *::before,
.gms-page-shell *::after{
  box-sizing:border-box;
}

.gms-kicker{
  margin:0 0 10px;
  font-size:11px;
  letter-spacing:.22em;
  color:var(--gms-accent-dark);
  text-transform:uppercase;
  font-weight:600;
}

.gms-hero-mini,
.gms-account-hero{
  background:
    radial-gradient(circle at 92% 10%, rgba(179,139,118,.16), transparent 30%),
    linear-gradient(135deg,#fff 0%,#fbf7f3 58%,#f3ebe3 100%);
  border:1px solid var(--gms-line);
  border-radius:28px;
  padding:42px;
  margin-bottom:24px;
  box-shadow:var(--gms-shadow);
}

.gms-hero-mini h1,
.gms-account-hero h1{
  margin:0 0 12px;
  font-size:clamp(30px,4vw,52px);
  line-height:1.06;
  letter-spacing:.02em;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
}

.gms-hero-mini p,
.gms-account-hero p{
  max-width:720px;
  margin:0;
  color:var(--gms-muted);
  font-size:15px;
  line-height:1.9;
}

.gms-stepbar{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:0 0 24px;
}

.gms-step{
  display:flex;
  align-items:center;
  gap:10px;
  padding:16px 18px;
  border:1px solid var(--gms-line);
  border-radius:999px;
  background:#fff;
  color:var(--gms-muted);
}

.gms-step span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:var(--gms-soft2);
  color:var(--gms-accent-dark);
  font-size:13px;
}

.gms-step b{
  font-size:14px;
  font-weight:500;
}

.gms-step.is-active{
  background:#2d2926;
  color:#fff;
  border-color:#2d2926;
}

.gms-step.is-active span{
  background:#fff;
}

.gms-cart-grid,
.gms-account-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:24px;
  align-items:start;
}

.gms-account-grid{
  grid-template-columns:310px minmax(0,1fr);
}

.gms-panel,
.gms-side-card{
  background:#fff;
  border:1px solid var(--gms-line);
  border-radius:28px;
  padding:26px;
  box-shadow:var(--gms-shadow);
}

.gms-side-card{
  position:sticky;
  top:24px;
}

.gms-side-card h3{
  margin:0 0 12px;
  font-size:22px;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
}

.gms-side-card p,
.gms-side-card li{
  color:var(--gms-muted);
  line-height:1.8;
  font-size:14px;
}

.gms-side-card ul{
  padding-left:18px;
  margin:16px 0 0;
}

.gms-account-hero{
  display:flex;
  justify-content:space-between;
  gap:28px;
  align-items:center;
}

.gms-member-badge{
  min-width:220px;
  background:#fff;
  border:1px solid var(--gms-line);
  border-radius:22px;
  padding:22px;
  text-align:center;
}

.gms-member-badge span{
  display:block;
  color:var(--gms-muted);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.gms-member-badge strong{
  display:block;
  margin-top:8px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
  font-weight:500;
}

.gms-benefit-list{
  display:grid;
  gap:12px;
  margin-top:18px;
}

.gms-benefit-list div{
  padding:16px;
  border:1px solid var(--gms-line);
  border-radius:18px;
  background:var(--gms-soft);
}

.gms-benefit-list b{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  font-weight:500;
}

.gms-benefit-list span{
  display:block;
  color:var(--gms-muted);
  font-size:13px;
  margin-top:4px;
}

.gms-like-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:0 0 22px;
  padding:16px 20px;
  border:1px solid var(--gms-line);
  border-radius:22px;
  background:#fff;
}

.gms-like-toolbar b{
  display:block;
  font-size:16px;
}

.gms-like-toolbar span{
  display:block;
  color:var(--gms-muted);
  font-size:13px;
  margin-top:4px;
}

.gms-like-grid,
.gms-products-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.gms-like-card,
.gms-product-card{
  overflow:hidden;
  border:1px solid var(--gms-line);
  border-radius:26px;
  background:#fff;
  box-shadow:var(--gms-shadow);
}

.gms-like-img,
.gms-product-image{
  display:grid;
  place-items:center;
  aspect-ratio:1/1;
  background:linear-gradient(180deg,#fff,#faf6f2);
  padding:24px;
}

.gms-like-img img,
.gms-product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.gms-like-info,
.gms-product-info{
  padding:18px;
}

.gms-like-info h3,
.gms-product-title{
  display:block;
  margin:0 0 10px;
  color:var(--gms-ink);
  text-decoration:none;
  font-size:16px;
  line-height:1.5;
  font-weight:500;
}

.gms-like-price,
.gms-product-price{
  color:var(--gms-accent-dark);
  font-size:14px;
  margin:0 0 14px;
}

.gms-like-actions,
.gms-product-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.gms-btn,
.gms-page-shell .button,
.gms-page-shell button.button,
.gms-page-shell input.button,
.gms-page-shell a.button{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:11px 18px !important;
  border-radius:999px !important;
  border:1px solid #2d2926 !important;
  background:#2d2926 !important;
  color:#fff !important;
  text-decoration:none !important;
  font-size:13px !important;
  font-weight:500 !important;
  letter-spacing:.02em;
  cursor:pointer;
  transition:.2s ease;
}

.gms-btn:hover,
.gms-page-shell .button:hover,
.gms-page-shell button.button:hover,
.gms-page-shell input.button:hover,
.gms-page-shell a.button:hover{
  transform:translateY(-1px);
  opacity:.92;
}

.gms-btn-ghost{
  background:#fff !important;
  color:#2d2926 !important;
  border-color:var(--gms-line) !important;
}

.gms-btn-small{
  min-height:36px;
  padding:8px 14px !important;
}

.gms-like-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:36px;
  padding:8px 14px;
  border:1px solid var(--gms-line);
  border-radius:999px;
  background:#fff;
  color:var(--gms-ink);
  cursor:pointer;
  font-size:13px;
  transition:.2s ease;
}

.gms-like-btn.is-liked{
  border-color:#d8b8aa;
  background:#fff6f2;
  color:#9a5f4e;
}

.gms-heart{
  font-size:16px;
  line-height:1;
}

.gms-empty-like,
.gms-empty-box{
  grid-column:1/-1;
  text-align:center;
  padding:58px 24px;
  border:1px dashed #dfd1c6;
  border-radius:28px;
  background:#fff;
}

.gms-empty-like img{
  width:110px;
  height:auto;
  margin-bottom:18px;
  opacity:.9;
}

.gms-empty-like h3,
.gms-empty-box h3{
  margin:0 0 10px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:26px;
  font-weight:500;
}

.gms-empty-like p,
.gms-empty-box p{
  margin:0 0 20px;
  color:var(--gms-muted);
}

.gms-section-head{
  margin-bottom:22px;
}

.gms-section-head h2{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:36px;
  font-weight:500;
}

/* WooCommerce refinement inside shortcode pages */
.gms-page-shell .woocommerce{
  width:100%;
}

.gms-page-shell table.shop_table{
  border:0 !important;
  border-collapse:separate !important;
  border-spacing:0 12px !important;
}

.gms-page-shell table.shop_table th{
  color:var(--gms-muted);
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  border:0 !important;
}

.gms-page-shell table.shop_table td{
  border:1px solid var(--gms-line) !important;
  border-left:0 !important;
  border-right:0 !important;
  background:#fff;
  padding:16px !important;
  vertical-align:middle;
}

.gms-page-shell table.shop_table tr td:first-child{
  border-left:1px solid var(--gms-line) !important;
  border-radius:18px 0 0 18px;
}

.gms-page-shell table.shop_table tr td:last-child{
  border-right:1px solid var(--gms-line) !important;
  border-radius:0 18px 18px 0;
}

.gms-page-shell .cart_totals,
.gms-page-shell .woocommerce-checkout-review-order,
.gms-page-shell .woocommerce-MyAccount-navigation,
.gms-page-shell .woocommerce-MyAccount-content{
  border:1px solid var(--gms-line);
  border-radius:24px;
  padding:22px;
  background:#fff;
}

.gms-page-shell .woocommerce-MyAccount-navigation ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}

.gms-page-shell .woocommerce-MyAccount-navigation a{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  color:var(--gms-ink);
  text-decoration:none;
  background:var(--gms-soft);
}

.gms-page-shell .woocommerce-MyAccount-navigation .is-active a,
.gms-page-shell .woocommerce-MyAccount-navigation a:hover{
  background:#2d2926;
  color:#fff;
}

.gms-page-shell .woocommerce-MyAccount-content{
  line-height:1.8;
}

@media (max-width:900px){
  .gms-page-shell{
    padding:26px 16px 56px;
  }

  .gms-hero-mini,
  .gms-account-hero{
    padding:28px 22px;
    border-radius:24px;
  }

  .gms-account-hero{
    display:block;
  }

  .gms-member-badge{
    margin-top:18px;
    width:100%;
  }

  .gms-stepbar,
  .gms-cart-grid,
  .gms-account-grid{
    grid-template-columns:1fr;
  }

  .gms-side-card{
    position:static;
  }

  .gms-like-grid,
  .gms-products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:560px){
  .gms-like-grid,
  .gms-products-grid{
    grid-template-columns:1fr;
  }

  .gms-like-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .gms-step{
    border-radius:18px;
  }

  .gms-panel,
  .gms-side-card{
    padding:18px;
    border-radius:22px;
  }

  .gms-page-shell table.shop_table{
    border-spacing:0 8px !important;
  }
}


/* v1.1.6: hide old editable-content placeholder on shortcode pages */
body.gms-shortcode-page .gms-page-empty,
body.gms-shortcode-page .gms-empty-section,
body.gms-shortcode-page .gms-placeholder,
body.gms-shortcode-page .editable-page-placeholder,
body.gms-shortcode-page .site-block-placeholder,
body.gms-shortcode-page .page-block-placeholder,
body.gms-shortcode-page .scm-placeholder,
body.gms-shortcode-page .scm-empty,
body.gms-shortcode-page .scm-empty-page,
body.gms-shortcode-page .scm-render-empty,
body.gms-shortcode-page .theme-page-placeholder {
  display: none !important;
}

body.gms-shortcode-page .entry-content > .gms-page-shell:first-child,
body.gms-shortcode-page main > .gms-page-shell:first-child {
  margin-top: 0 !important;
}


/* v1.1.9 Cart auto update + refined input style */
body.gms-cart-auto-update-v119 .gms-cart-page .woocommerce-cart-form button[name="update_cart"] {
  display: none !important;
}

body.gms-cart-auto-update-v119 .gms-cart-page .woocommerce-cart-form .actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  padding: 22px !important;
  border: 1px solid var(--gms-line) !important;
  border-radius: 28px !important;
  background: linear-gradient(135deg, #fff 0%, #fffaf7 100%) !important;
}

body.gms-cart-auto-update-v119 .gms-cart-page .woocommerce-cart-form .coupon {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

body.gms-cart-auto-update-v119 .gms-cart-page input[type="text"],
body.gms-cart-auto-update-v119 .gms-cart-page input[type="email"],
body.gms-cart-auto-update-v119 .gms-cart-page input[type="tel"],
body.gms-cart-auto-update-v119 .gms-cart-page input[type="number"],
body.gms-cart-auto-update-v119 .gms-cart-page input.input-text,
body.gms-cart-auto-update-v119 .gms-cart-page textarea,
body.gms-cart-auto-update-v119 .gms-cart-page select {
  min-height: 48px !important;
  border: 1px solid #e7d8cf !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #2b2522 !important;
  padding: 10px 16px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  outline: none !important;
  box-shadow: 0 8px 24px rgba(83, 56, 43, .05) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

body.gms-cart-auto-update-v119 .gms-cart-page input[type="text"]:focus,
body.gms-cart-auto-update-v119 .gms-cart-page input[type="email"]:focus,
body.gms-cart-auto-update-v119 .gms-cart-page input[type="tel"]:focus,
body.gms-cart-auto-update-v119 .gms-cart-page input[type="number"]:focus,
body.gms-cart-auto-update-v119 .gms-cart-page input.input-text:focus,
body.gms-cart-auto-update-v119 .gms-cart-page textarea:focus,
body.gms-cart-auto-update-v119 .gms-cart-page select:focus {
  border-color: #b38b76 !important;
  background: #fffdfb !important;
  box-shadow: 0 0 0 4px rgba(179, 139, 118, .14), 0 10px 28px rgba(83, 56, 43, .07) !important;
}

/* Quantity input wrapper */
body.gms-cart-auto-update-v119 .gms-cart-page .quantity {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  border: 1px solid #e7d8cf !important;
  border-radius: 999px !important;
  background: #fff !important;
  padding: 4px 8px !important;
  box-shadow: 0 10px 26px rgba(83, 56, 43, .05) !important;
}

body.gms-cart-auto-update-v119 .gms-cart-page .quantity input.qty {
  width: 74px !important;
  min-height: 40px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  padding: 6px 8px !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: #2b2522 !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

body.gms-cart-auto-update-v119 .gms-cart-page .quantity input.qty::-webkit-outer-spin-button,
body.gms-cart-auto-update-v119 .gms-cart-page .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Auto update status */
body.gms-cart-auto-update-v119 .gms-cart-page .gms-cart-auto-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  color: #8b7d73;
  font-size: 13px;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .18s ease, transform .18s ease;
}

body.gms-cart-auto-update-v119 .gms-cart-page .gms-cart-auto-status.is-show {
  opacity: 1;
  transform: translateY(0);
}

body.gms-cart-auto-update-v119 .gms-cart-page .gms-cart-auto-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b38b76;
  box-shadow: 0 0 0 4px rgba(179, 139, 118, .12);
}

/* Coupon input */
body.gms-cart-auto-update-v119 .gms-cart-page #coupon_code {
  width: min(260px, 100%) !important;
  font-size: 15px !important;
}

body.gms-cart-auto-update-v119 .gms-cart-page #coupon_code::placeholder {
  color: #b2a49d !important;
}

/* Cart product row refinement */
body.gms-cart-auto-update-v119 .gms-cart-page table.shop_table td.product-quantity {
  min-width: 150px !important;
}

body.gms-cart-auto-update-v119 .gms-cart-page table.shop_table td.product-name a {
  color: #2b2522 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}

body.gms-cart-auto-update-v119 .gms-cart-page .woocommerce-message,
body.gms-cart-auto-update-v119 .gms-cart-page .woocommerce-info,
body.gms-cart-auto-update-v119 .gms-cart-page .woocommerce-error {
  border: 1px solid #e7d8cf !important;
  border-radius: 20px !important;
  background: #fffaf7 !important;
  color: #2b2522 !important;
  box-shadow: 0 8px 24px rgba(83, 56, 43, .05) !important;
}

/* Mobile */
@media (max-width: 760px) {
  body.gms-cart-auto-update-v119 .gms-cart-page .woocommerce-cart-form .actions,
  body.gms-cart-auto-update-v119 .gms-cart-page .woocommerce-cart-form .coupon {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  body.gms-cart-auto-update-v119 .gms-cart-page #coupon_code,
  body.gms-cart-auto-update-v119 .gms-cart-page .coupon .button {
    width: 100% !important;
  }

  body.gms-cart-auto-update-v119 .gms-cart-page .quantity {
    min-width: 120px !important;
  }
}


/* v1.2.0 Checkout Page */
.gms-checkout-page {
  max-width: 1180px;
}

.gms-checkout-page .gms-checkout-hero {
  margin-bottom: 22px;
}

.gms-checkout-stepbar .gms-step {
  text-decoration: none !important;
}

.gms-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.gms-checkout-panel {
  padding: 30px;
  overflow: hidden;
}

.gms-checkout-side {
  min-width: 0;
}

.gms-checkout-page .woocommerce {
  width: 100%;
}

.gms-checkout-page .woocommerce-form-coupon-toggle,
.gms-checkout-page .woocommerce-form-login-toggle {
  margin-bottom: 18px !important;
}

.gms-checkout-page .woocommerce-info,
.gms-checkout-page .woocommerce-message,
.gms-checkout-page .woocommerce-error {
  border: 1px solid #e7d8cf !important;
  border-radius: 22px !important;
  background: #fffaf7 !important;
  color: #2b2522 !important;
  padding: 16px 20px !important;
  box-shadow: 0 8px 24px rgba(83, 56, 43, .05) !important;
}

.gms-checkout-page form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  gap: 26px;
  align-items: start;
}

.gms-checkout-page #customer_details {
  min-width: 0;
}

.gms-checkout-page .woocommerce-billing-fields,
.gms-checkout-page .woocommerce-shipping-fields,
.gms-checkout-page .woocommerce-additional-fields,
.gms-checkout-page #order_review,
.gms-checkout-page .woocommerce-checkout-review-order {
  border: 1px solid var(--gms-line) !important;
  border-radius: 28px !important;
  background: #fff !important;
  padding: 26px !important;
  box-shadow: var(--gms-shadow) !important;
}

.gms-checkout-page .woocommerce-shipping-fields,
.gms-checkout-page .woocommerce-additional-fields {
  margin-top: 18px;
}

.gms-checkout-page #order_review_heading {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  color: #2b2522 !important;
}

.gms-checkout-page .woocommerce-billing-fields h3,
.gms-checkout-page .woocommerce-shipping-fields h3,
.gms-checkout-page .woocommerce-additional-fields h3 {
  margin: 0 0 18px !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  color: #2b2522 !important;
}

.gms-checkout-page .form-row {
  margin-bottom: 16px !important;
}

.gms-checkout-page label {
  margin-bottom: 8px !important;
  color: #4a403b !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.gms-checkout-page .required {
  color: #b38b76 !important;
}

.gms-checkout-page input[type="text"],
.gms-checkout-page input[type="email"],
.gms-checkout-page input[type="tel"],
.gms-checkout-page input[type="password"],
.gms-checkout-page input[type="number"],
.gms-checkout-page input.input-text,
.gms-checkout-page textarea,
.gms-checkout-page select,
.gms-checkout-page .select2-container .select2-selection--single {
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid #e7d8cf !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #2b2522 !important;
  padding: 11px 16px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  outline: none !important;
  box-shadow: 0 8px 24px rgba(83, 56, 43, .05) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

.gms-checkout-page textarea {
  min-height: 120px !important;
  resize: vertical;
}

.gms-checkout-page input:focus,
.gms-checkout-page textarea:focus,
.gms-checkout-page select:focus,
.gms-checkout-page .select2-container--open .select2-selection--single {
  border-color: #b38b76 !important;
  background: #fffdfb !important;
  box-shadow: 0 0 0 4px rgba(179,139,118,.14), 0 10px 28px rgba(83,56,43,.07) !important;
}

.gms-checkout-page .select2-container .select2-selection__rendered {
  line-height: 28px !important;
  padding-left: 0 !important;
  color: #2b2522 !important;
}

.gms-checkout-page .select2-container .select2-selection__arrow {
  height: 48px !important;
  right: 10px !important;
}

.gms-checkout-page table.shop_table {
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
}

.gms-checkout-page table.shop_table th {
  border: 0 !important;
  color: #8b7d73 !important;
  font-size: 13px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.gms-checkout-page table.shop_table td,
.gms-checkout-page table.shop_table tfoot th {
  border: 1px solid var(--gms-line) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: #fffaf7 !important;
  padding: 15px !important;
  vertical-align: middle !important;
}

.gms-checkout-page table.shop_table tr td:first-child,
.gms-checkout-page table.shop_table tr th:first-child {
  border-left: 1px solid var(--gms-line) !important;
  border-radius: 16px 0 0 16px !important;
}

.gms-checkout-page table.shop_table tr td:last-child,
.gms-checkout-page table.shop_table tr th:last-child {
  border-right: 1px solid var(--gms-line) !important;
  border-radius: 0 16px 16px 0 !important;
}

.gms-checkout-page #payment {
  background: #fffaf7 !important;
  border: 1px solid var(--gms-line) !important;
  border-radius: 24px !important;
  padding: 18px !important;
  margin-top: 18px !important;
}

.gms-checkout-page #payment ul.payment_methods {
  border-bottom: 1px solid var(--gms-line) !important;
  padding: 0 0 14px !important;
}

.gms-checkout-page #payment div.payment_box {
  background: #fff !important;
  border: 1px solid var(--gms-line) !important;
  border-radius: 18px !important;
  color: #6e625b !important;
  line-height: 1.8 !important;
}

.gms-checkout-page #payment div.payment_box::before {
  display: none !important;
}

.gms-checkout-page .place-order {
  padding: 16px 0 0 !important;
}

.gms-checkout-page #place_order {
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 999px !important;
  background: #2d2926 !important;
  border-color: #2d2926 !important;
  color: #fff !important;
  font-size: 16px !important;
  letter-spacing: .04em !important;
}

.gms-checkout-page .woocommerce-privacy-policy-text {
  color: #8b7d73 !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}

.gms-checkout-page .woocommerce-form-coupon,
.gms-checkout-page .woocommerce-form-login {
  border: 1px solid var(--gms-line) !important;
  border-radius: 24px !important;
  background: #fff !important;
  padding: 22px !important;
  box-shadow: var(--gms-shadow) !important;
}

.gms-checkout-page .woocommerce-form-coupon .form-row {
  width: auto !important;
  float: none !important;
  display: inline-block;
  vertical-align: bottom;
}

.gms-checkout-page .woocommerce-form-coupon input.input-text {
  min-width: 260px;
}

.gms-checkout-shortcode-page .gms-page-empty,
.gms-checkout-shortcode-page .gms-empty-section,
.gms-checkout-shortcode-page .gms-placeholder,
.gms-checkout-shortcode-page .editable-page-placeholder,
.gms-checkout-shortcode-page .site-block-placeholder,
.gms-checkout-shortcode-page .page-block-placeholder,
.gms-checkout-shortcode-page .scm-placeholder,
.gms-checkout-shortcode-page .scm-empty,
.gms-checkout-shortcode-page .scm-empty-page,
.gms-checkout-shortcode-page .scm-render-empty,
.gms-checkout-shortcode-page .theme-page-placeholder {
  display: none !important;
}

/* JS fallback will remove text block, but this reduces visible layout impact */
body.gms-checkout-shortcode-page .entry-content > .gms-page-shell:first-child,
body.gms-checkout-shortcode-page main > .gms-page-shell:first-child {
  margin-top: 0 !important;
}

@media (max-width: 1020px) {
  .gms-checkout-layout,
  .gms-checkout-page form.checkout {
    grid-template-columns: 1fr !important;
  }

  .gms-checkout-side .gms-side-card {
    position: static !important;
  }
}

@media (max-width: 640px) {
  .gms-checkout-panel {
    padding: 18px;
  }

  .gms-checkout-page .woocommerce-billing-fields,
  .gms-checkout-page .woocommerce-shipping-fields,
  .gms-checkout-page .woocommerce-additional-fields,
  .gms-checkout-page #order_review,
  .gms-checkout-page .woocommerce-checkout-review-order {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .gms-checkout-page .woocommerce-form-coupon .form-row {
    display: block;
    width: 100% !important;
  }

  .gms-checkout-page .woocommerce-form-coupon input.input-text,
  .gms-checkout-page .woocommerce-form-coupon .button {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* v1.2.1 Order received / thank you page state */
.gms-checkout-page .gms-step.is-done {
  background: #fffaf7 !important;
  color: #8b7d73 !important;
  border-color: var(--gms-line) !important;
}

.gms-checkout-page .gms-step.is-done span {
  background: #e9d9cf !important;
  color: #7d5f52 !important;
}

.gms-order-received-page .gms-checkout-hero {
  background:
    radial-gradient(circle at 90% 15%, rgba(179,139,118,.18), transparent 30%),
    linear-gradient(135deg,#fff 0%,#fbf7f3 58%,#eaded6 100%) !important;
}

.gms-order-received-page .gms-checkout-panel {
  padding: 34px !important;
}

.gms-order-received-page .woocommerce-order,
.gms-order-received-page .woocommerce-thankyou-order-received {
  color: #2b2522 !important;
}

.gms-order-received-page .woocommerce-thankyou-order-received {
  margin: 0 0 22px !important;
  padding: 18px 20px !important;
  border: 1px solid #e7d8cf !important;
  border-radius: 22px !important;
  background: #fffaf7 !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}

.gms-order-received-page ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  list-style: none !important;
}

.gms-order-received-page ul.woocommerce-order-overview li {
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid var(--gms-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #8b7d73 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.gms-order-received-page ul.woocommerce-order-overview li strong {
  display: block !important;
  margin-top: 4px !important;
  color: #2b2522 !important;
  font-size: 15px !important;
}

.gms-order-received-page .woocommerce-order-details,
.gms-order-received-page .woocommerce-customer-details,
.gms-order-received-page .woocommerce-bacs-bank-details {
  margin-top: 24px !important;
}

.gms-order-received-page .woocommerce-order-details h2,
.gms-order-received-page .woocommerce-customer-details h2,
.gms-order-received-page .woocommerce-bacs-bank-details h2,
.gms-order-received-page .wc-bacs-bank-details-heading,
.gms-order-received-page .woocommerce-column__title {
  margin: 0 0 16px !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 27px !important;
  font-weight: 500 !important;
  color: #2b2522 !important;
}

.gms-order-received-page .woocommerce-bacs-bank-details,
.gms-order-received-page .woocommerce-order-details,
.gms-order-received-page .woocommerce-customer-details address {
  border: 1px solid var(--gms-line) !important;
  border-radius: 24px !important;
  background: #fff !important;
  padding: 22px !important;
  box-shadow: var(--gms-shadow) !important;
}

.gms-order-received-page .wc-bacs-bank-details-account-name {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 22px !important;
  color: #2b2522 !important;
}

.gms-order-received-page .gms-order-note-btn {
  margin-top: 16px !important;
  width: 100% !important;
}

@media (max-width: 760px) {
  .gms-order-received-page ul.woocommerce-order-overview {
    grid-template-columns: 1fr !important;
  }
}


/* v1.2.2 Checkout cleanup: remove blank blocks and make payment methods radio-card style */

/* Hide empty checkout rounded blocks caused by unused shipping / placeholder fields */
body.gms-checkout-payment-radio-v122 .gms-checkout-page .gms-empty-checkout-block,
body.gms-checkout-payment-radio-v122 .gms-checkout-page .woocommerce-shipping-fields:empty,
body.gms-checkout-payment-radio-v122 .gms-checkout-page .woocommerce-additional-fields:empty,
body.gms-checkout-payment-radio-v122 .gms-checkout-page .woocommerce-shipping-fields.is-empty,
body.gms-checkout-payment-radio-v122 .gms-checkout-page .woocommerce-additional-fields.is-empty {
  display: none !important;
}

/* Avoid huge empty space between billing and notes */
body.gms-checkout-payment-radio-v122 .gms-checkout-page .woocommerce-shipping-fields,
body.gms-checkout-payment-radio-v122 .gms-checkout-page .woocommerce-additional-fields {
  margin-top: 18px !important;
}

/* Additional information block refinement */
body.gms-checkout-payment-radio-v122 .gms-checkout-page .woocommerce-additional-fields {
  background: linear-gradient(135deg, #fff 0%, #fffaf7 100%) !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page .woocommerce-additional-fields h3 {
  font-size: 34px !important;
  margin-bottom: 24px !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page textarea#order_comments {
  min-height: 170px !important;
  border-radius: 24px !important;
  padding: 22px 24px !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
}

/* Payment container */
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin-top: 22px !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods {
  display: grid !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  border: 0 !important;
  list-style: none !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e7d8cf !important;
  border-radius: 24px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(83, 56, 43, .05) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li:hover {
  border-color: #d2b8aa !important;
  box-shadow: 0 14px 36px rgba(83, 56, 43, .08) !important;
}

/* WooCommerce radio */
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li input.input-radio {
  position: absolute !important;
  left: 22px !important;
  top: 23px !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  opacity: 1 !important;
  accent-color: #2d2926 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

/* Payment method label card */
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li > label {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 20px 22px 20px 58px !important;
  color: #2b2522 !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, #fff 0%, #fffaf7 100%) !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li > label::after {
  content: "選擇此付款方式" !important;
  margin-left: auto !important;
  color: #9b8175 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
}

/* Selected payment method */
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li.gms-payment-selected,
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li:has(input.input-radio:checked) {
  border-color: #2d2926 !important;
  background: #fffaf7 !important;
  box-shadow: 0 16px 42px rgba(83, 56, 43, .10) !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li.gms-payment-selected > label,
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li:has(input.input-radio:checked) > label {
  background: linear-gradient(135deg, #2d2926 0%, #4a403b 100%) !important;
  color: #fff !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li.gms-payment-selected > label::after,
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li:has(input.input-radio:checked) > label::after {
  content: "已選擇" !important;
  color: rgba(255,255,255,.82) !important;
}

/* Payment description box */
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment div.payment_box {
  margin: 0 !important;
  padding: 18px 22px 22px 58px !important;
  border: 0 !important;
  border-top: 1px solid #eaded8 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #6e625b !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  box-shadow: none !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment div.payment_box p {
  margin: 0 0 10px !important;
}

/* Place order area */
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment .form-row.place-order {
  margin: 18px 0 0 !important;
  padding: 22px !important;
  border: 1px solid #e7d8cf !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #fff 0%, #fffaf7 100%) !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #place_order {
  margin-top: 12px !important;
  box-shadow: 0 12px 30px rgba(45,41,38,.18) !important;
}

/* Bank transfer specific visual hint */
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment_method_bacs + label::before {
  content: "BANK" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 48px !important;
  height: 28px !important;
  border-radius: 999px !important;
  background: #f0e2db !important;
  color: #8a6559 !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li:has(#payment_method_bacs:checked) label::before,
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li.gms-payment-selected #payment_method_bacs + label::before {
  background: rgba(255,255,255,.16) !important;
  color: #fff !important;
}

/* Make radio card readable on mobile */
@media (max-width: 640px) {
  body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li > label {
    display: block !important;
    padding: 18px 18px 18px 54px !important;
  }

  body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li > label::after {
    display: block !important;
    margin: 8px 0 0 !important;
  }

  body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment div.payment_box {
    padding: 16px 18px !important;
  }

  body.gms-checkout-payment-radio-v122 .gms-checkout-page textarea#order_comments {
    min-height: 140px !important;
    font-size: 16px !important;
  }
}


/* v1.2.3 Light payment style: no dark selected card */
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li {
  border-color: #eaded8 !important;
  background: #fff !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li > label {
  background: linear-gradient(135deg, #fff 0%, #fffaf7 100%) !important;
  color: #2b2522 !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li > label::after {
  color: #9b8175 !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li.gms-payment-selected,
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li:has(input.input-radio:checked) {
  border-color: #c7a99c !important;
  background: #fffaf7 !important;
  box-shadow: 0 16px 42px rgba(179,139,118,.14) !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li.gms-payment-selected > label,
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li:has(input.input-radio:checked) > label {
  background: linear-gradient(135deg, #fff7f3 0%, #f3e5df 100%) !important;
  color: #2b2522 !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li.gms-payment-selected > label::after,
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li:has(input.input-radio:checked) > label::after {
  content: "已選擇" !important;
  color: #8a6559 !important;
  font-weight: 700 !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment_method_bacs + label::before {
  background: #e9d8cf !important;
  color: #7d5f52 !important;
}

body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li:has(#payment_method_bacs:checked) label::before,
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li.gms-payment-selected #payment_method_bacs + label::before {
  background: #fff !important;
  color: #7d5f52 !important;
  border: 1px solid #dcc6bb !important;
}

/* Make selected radio itself lighter/boutique */
body.gms-checkout-payment-radio-v122 .gms-checkout-page #payment ul.payment_methods li input.input-radio {
  accent-color: #b38b76 !important;
}

/* Bank transfer information card */
.gms-order-received-page .woocommerce-bacs-bank-details,
.gms-checkout-page .woocommerce-bacs-bank-details {
  background: linear-gradient(135deg, #fff 0%, #fffaf7 100%) !important;
}

.gms-order-received-page .wc-bacs-bank-details-account-name,
.gms-checkout-page .wc-bacs-bank-details-account-name {
  font-size: 22px !important;
  line-height: 1.5 !important;
}

.gms-order-received-page .wc-bacs-bank-details-account-name::before,
.gms-checkout-page .wc-bacs-bank-details-account-name::before {
  content: "";
}

/* If WooCommerce renders code as a heading, keep it refined */
.gms-order-received-page .woocommerce-bacs-bank-details h3,
.gms-checkout-page .woocommerce-bacs-bank-details h3 {
  color: #2b2522 !important;
}


/* v1.2.4 Bank code line typography: same as bank/account rows */
.gms-order-received-page .woocommerce-bacs-bank-details .gms-bank-code-line,
.gms-checkout-page .woocommerce-bacs-bank-details .gms-bank-code-line,
.gms-order-received-page .woocommerce-bacs-bank-details li,
.gms-checkout-page .woocommerce-bacs-bank-details li {
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
  font-weight: 600 !important;
  color: #2b2522 !important;
}

/* Avoid oversized h3 style when bank code is rendered as heading */
.gms-order-received-page .woocommerce-bacs-bank-details h3.gms-bank-code-line,
.gms-checkout-page .woocommerce-bacs-bank-details h3.gms-bank-code-line,
.gms-order-received-page .woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name.gms-bank-code-line,
.gms-checkout-page .woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name.gms-bank-code-line {
  margin: 0 0 12px !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
  font-weight: 600 !important;
  color: #2b2522 !important;
}

/* Keep BACS section title elegant, but do not apply it to the bank code line */
.gms-order-received-page .woocommerce-bacs-bank-details h2,
.gms-checkout-page .woocommerce-bacs-bank-details h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 27px !important;
  font-weight: 500 !important;
}


/* v1.2.6 Safe header alignment: CSS only, no DOM rebuild */
body.gms-header-safe-v126 header,
body.gms-header-safe-v126 .site-header,
body.gms-header-safe-v126 #masthead,
body.gms-header-safe-v126 .gms-site-header {
  background: #fff !important;
  border-bottom: 1px solid #eee2dc !important;
}

/* Keep header parts visually closer without forcing removal */
body.gms-header-safe-v126 .site-branding,
body.gms-header-safe-v126 .gms-branding,
body.gms-header-safe-v126 .header-branding,
body.gms-header-safe-v126 .logo-area {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.gms-header-safe-v126 nav,
body.gms-header-safe-v126 .main-navigation,
body.gms-header-safe-v126 .primary-navigation,
body.gms-header-safe-v126 .gms-main-nav {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Header tools */
body.gms-header-safe-v126 .gms-header-tools,
body.gms-header-safe-v126 .header-tools,
body.gms-header-safe-v126 .site-tools,
body.gms-header-safe-v126 .top-links,
body.gms-header-safe-v126 .gms-top-links,
body.gms-header-safe-v126 .user-tools {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

/* make pills consistent */
body.gms-header-safe-v126 .gms-header-tools a,
body.gms-header-safe-v126 .header-tools a,
body.gms-header-safe-v126 .site-tools a,
body.gms-header-safe-v126 .top-links a,
body.gms-header-safe-v126 .user-tools a,
body.gms-header-safe-v126 .gms-tool-pill,
body.gms-header-safe-v126 a.gms-tool-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
}

/* Hide homepage SHOP BY BRAND by common class hooks */
body.gms-home-safe-v126 .shop-by-brand,
body.gms-home-safe-v126 .shop-by-brand-section,
body.gms-home-safe-v126 .gms-shop-by-brand,
body.gms-home-safe-v126 .gms-brand-section,
body.gms-home-safe-v126 .brand-section,
body.gms-home-safe-v126 .home-brand-section,
body.gms-home-safe-v126 [data-section="shop-by-brand"],
body.gms-home-safe-v126 [data-block="shop-by-brand"],
body.gms-home-safe-v126 [id*="shop-by-brand"],
body.gms-home-safe-v126 [class*="shop-by-brand"] {
  display: none !important;
}


/* v1.2.7 Lighter step bar colors */
.gms-stepbar .gms-step,
.gms-checkout-stepbar .gms-step {
  background: #fffdfa !important;
  border: 1px solid #eaded8 !important;
  color: #8f7b70 !important;
  box-shadow: 0 6px 18px rgba(179,139,118,.06) !important;
}

.gms-stepbar .gms-step span,
.gms-checkout-stepbar .gms-step span {
  background: #f3e8e1 !important;
  color: #8b6c5d !important;
}

.gms-stepbar .gms-step b,
.gms-checkout-stepbar .gms-step b {
  color: #8f7b70 !important;
}

.gms-stepbar .gms-step.is-active,
.gms-checkout-stepbar .gms-step.is-active {
  background: linear-gradient(135deg, #fbf4ef 0%, #efdfd4 100%) !important;
  border-color: #dcc6bb !important;
  color: #5e4d45 !important;
  box-shadow: 0 10px 28px rgba(179,139,118,.14) !important;
}

.gms-stepbar .gms-step.is-active span,
.gms-checkout-stepbar .gms-step.is-active span {
  background: #fff !important;
  color: #8a6559 !important;
  box-shadow: 0 2px 8px rgba(179,139,118,.12) !important;
}

.gms-stepbar .gms-step.is-active b,
.gms-checkout-stepbar .gms-step.is-active b {
  color: #5e4d45 !important;
}

.gms-stepbar .gms-step.is-done,
.gms-checkout-stepbar .gms-step.is-done {
  background: #fffaf7 !important;
  border-color: #e6d6cd !important;
  color: #8d796e !important;
}

.gms-stepbar .gms-step.is-done span,
.gms-checkout-stepbar .gms-step.is-done span {
  background: #efe0d7 !important;
  color: #8a6559 !important;
}


/* v1.2.8 Header rows same height */
body .site-header .utility-row,
body .site-header .brand-row,
body .site-header .desktop-nav,
body .site-header nav.desktop-nav,
body .site-header nav[aria-label="Primary navigation"] {
  min-height: 64px !important;
  box-sizing: border-box !important;
}

body .site-header .utility-row {
  display: flex !important;
  align-items: center !important;
}

body .site-header .brand-row {
  display: grid !important;
  align-items: center !important;
}

body .site-header .desktop-nav,
body .site-header nav.desktop-nav,
body .site-header nav[aria-label="Primary navigation"] {
  display: flex !important;
  align-items: center !important;
}

body .site-header .desktop-nav > *,
body .site-header nav.desktop-nav > *,
body .site-header nav[aria-label="Primary navigation"] > * {
  align-self: center !important;
}

@media (max-width: 980px) {
  body .site-header .utility-row,
  body .site-header .brand-row,
  body .site-header .desktop-nav,
  body .site-header nav.desktop-nav,
  body .site-header nav[aria-label="Primary navigation"] {
    min-height: auto !important;
  }
}


/* v1.2.9 Force header into one horizontal row:
   left logo / center nav / right cart-member-like
*/
body .site-header.gms-single-row-ready {
  display: grid !important;
  grid-template-columns: minmax(280px, 1fr) auto minmax(280px, 1fr) !important;
  grid-template-areas: "brand nav utility" !important;
  align-items: center !important;
  column-gap: 28px !important;
  min-height: 118px !important;
  padding: 20px 48px !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid #eee2dc !important;
  background: #fff !important;
}

body .site-header.gms-single-row-ready .brand-row {
  grid-area: brand !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .site-header.gms-single-row-ready .desktop-nav,
body .site-header.gms-single-row-ready nav.desktop-nav,
body .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] {
  grid-area: nav !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
}

body .site-header.gms-single-row-ready .utility-row {
  grid-area: utility !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .site-header.gms-single-row-ready .brand-row > *,
body .site-header.gms-single-row-ready .desktop-nav > *,
body .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] > *,
body .site-header.gms-single-row-ready .utility-row > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body .site-header.gms-single-row-ready .brand-row .site-title,
body .site-header.gms-single-row-ready .brand-row .site-title a,
body .site-header.gms-single-row-ready .brand-row .logo-text,
body .site-header.gms-single-row-ready .brand-row .gms-logo-text {
  font-size: 34px !important;
  line-height: 1.05 !important;
}

body .site-header.gms-single-row-ready .brand-row .site-description,
body .site-header.gms-single-row-ready .brand-row .tagline,
body .site-header.gms-single-row-ready .brand-row .logo-subtitle,
body .site-header.gms-single-row-ready .brand-row .gms-logo-subtitle {
  margin-top: 10px !important;
}

body .site-header.gms-single-row-ready .desktop-nav ul,
body .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] ul {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  flex-wrap: nowrap !important;
}

body .site-header.gms-single-row-ready .desktop-nav li,
body .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] li {
  margin: 0 !important;
  padding: 0 !important;
}

body .site-header.gms-single-row-ready .desktop-nav a,
body .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 42px !important;
  padding: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body .site-header.gms-single-row-ready .utility-row a,
body .site-header.gms-single-row-ready .utility-row button,
body .site-header.gms-single-row-ready .gms-tool-pill {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* remove leftover row spacing */
body .site-header.gms-single-row-ready::before,
body .site-header.gms-single-row-ready::after {
  display: none !important;
}

/* Tablet: keep one row if possible, slightly tighter */
@media (max-width: 1180px) {
  body .site-header.gms-single-row-ready {
    grid-template-columns: 250px auto 250px !important;
    column-gap: 20px !important;
    padding: 18px 28px !important;
  }

  body .site-header.gms-single-row-ready .desktop-nav ul,
  body .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] ul {
    gap: 20px !important;
  }

  body .site-header.gms-single-row-ready .brand-row .site-title,
  body .site-header.gms-single-row-ready .brand-row .site-title a,
  body .site-header.gms-single-row-ready .brand-row .logo-text,
  body .site-header.gms-single-row-ready .brand-row .gms-logo-text {
    font-size: 28px !important;
  }
}

/* Mobile: stack cleanly */
@media (max-width: 900px) {
  body .site-header.gms-single-row-ready {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    min-height: auto !important;
    padding: 18px 16px !important;
  }

  body .site-header.gms-single-row-ready .brand-row,
  body .site-header.gms-single-row-ready .desktop-nav,
  body .site-header.gms-single-row-ready nav[aria-label="Primary navigation"],
  body .site-header.gms-single-row-ready .utility-row {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body .site-header.gms-single-row-ready .desktop-nav ul,
  body .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] ul {
    flex-wrap: wrap !important;
    gap: 16px !important;
  }
}


/* v1.3.0 ===== Header / Home focus / Mobile hamburger ===== */
body.gms-home-focus-page .site-header.gms-single-row-ready .desktop-nav a,
body.gms-home-focus-page .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] a {
  position: relative !important;
}

body.gms-home-focus-page .site-header.gms-single-row-ready .desktop-nav .current-menu-item > a,
body.gms-home-focus-page .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] .current-menu-item > a,
body.gms-home-focus-page .site-header.gms-single-row-ready .desktop-nav a.gms-home-focus,
body.gms-home-focus-page .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] a.gms-home-focus {
  background: linear-gradient(135deg, #fff7f3 0%, #efdfd4 100%) !important;
  color: #6e564a !important;
  border: 1px solid #e8d7ce !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  box-shadow: 0 6px 18px rgba(179,139,118,.10) !important;
}

body.gms-home-focus-page .site-header.gms-single-row-ready .desktop-nav .current-menu-item > a::after,
body.gms-home-focus-page .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] .current-menu-item > a::after,
body.gms-home-focus-page .site-header.gms-single-row-ready .desktop-nav a.gms-home-focus::after,
body.gms-home-focus-page .site-header.gms-single-row-ready nav[aria-label="Primary navigation"] a.gms-home-focus::after {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: 6px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #cfb6a7, #b98f79) !important;
  border-radius: 999px !important;
}

/* Mobile hamburger left with boutique style */
@media (max-width: 900px) {
  body .site-header.gms-single-row-ready {
    position: relative !important;
  }

  body .site-header.gms-single-row-ready .brand-row {
    position: relative !important;
    justify-content: center !important;
    padding-left: 58px !important;
    min-height: 58px !important;
  }

  body .site-header.gms-single-row-ready .menu-toggle,
  body .site-header.gms-single-row-ready .hamburger,
  body .site-header.gms-single-row-ready .mobile-menu-toggle,
  body .site-header.gms-single-row-ready button[aria-controls*="menu"],
  body .site-header.gms-single-row-ready button[aria-label*="menu"],
  body .site-header.gms-single-row-ready button[aria-label*="Menu"] {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #eaded8 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #fff 0%, #f8efea 100%) !important;
    box-shadow: 0 8px 18px rgba(179,139,118,.10) !important;
    color: #70594d !important;
    z-index: 9 !important;
  }

  body .site-header.gms-single-row-ready .menu-toggle .icon-bar,
  body .site-header.gms-single-row-ready .hamburger .bar,
  body .site-header.gms-single-row-ready .mobile-menu-toggle .bar {
    background: #70594d !important;
  }

  body .site-header.gms-single-row-ready .menu-toggle::after,
  body .site-header.gms-single-row-ready .hamburger::after,
  body .site-header.gms-single-row-ready .mobile-menu-toggle::after {
    content: "" !important;
    position: absolute !important;
    inset: -4px !important;
    border: 1px solid rgba(234,222,216,.6) !important;
    border-radius: 16px !important;
    pointer-events: none !important;
  }
}

/* ===== Restore / strengthen subtle divider lines ===== */
body .woocommerce table.shop_table,
body .woocommerce table.shop_table th,
body .woocommerce table.shop_table td,
body .woocommerce-page table.shop_table,
body .woocommerce-page table.shop_table th,
body .woocommerce-page table.shop_table td,
body .woocommerce-MyAccount-content table,
body .woocommerce-MyAccount-content table th,
body .woocommerce-MyAccount-content table td {
  border-color: #eaded8 !important;
}

body .woocommerce .woocommerce-customer-details address,
body .woocommerce .addresses address,
body .woocommerce .woocommerce-column,
body .woocommerce .woocommerce-order-details,
body .woocommerce .woocommerce-customer-details,
body .woocommerce .woocommerce-order {
  border-color: #eaded8 !important;
}

body .woocommerce-MyAccount-content hr,
body .woocommerce-page hr,
body .woocommerce hr,
body .entry-content hr {
  border: 0 !important;
  border-top: 1px solid #eaded8 !important;
  opacity: 1 !important;
}

/* ===== Billing / Shipping address design ===== */
body.gms-account-design-page .woocommerce-Addresses,
body.gms-account-design-page .woocommerce-Addresses > .woocommerce-Address,
body.gms-account-design-page .woocommerce-MyAccount-content .addresses,
body.gms-account-design-page .woocommerce-MyAccount-content .woocommerce-column--billing-address,
body.gms-account-design-page .woocommerce-MyAccount-content .woocommerce-column--shipping-address,
body.gms-account-design-page .woocommerce-MyAccount-content .woocommerce-Address,
body.gms-account-design-page .woocommerce-customer-details .woocommerce-column {
  display: block !important;
}

body.gms-account-design-page .woocommerce-MyAccount-content .addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

body.gms-account-design-page .woocommerce-MyAccount-content .woocommerce-Address,
body.gms-account-design-page .woocommerce-customer-details .woocommerce-column,
body.gms-account-design-page .woocommerce .woocommerce-customer-details address {
  position: relative !important;
  background: linear-gradient(135deg, #fff 0%, #fffaf7 100%) !important;
  border: 1px solid #eaded8 !important;
  border-radius: 28px !important;
  padding: 28px 28px 24px !important;
  box-shadow: 0 10px 28px rgba(179,139,118,.08) !important;
}

body.gms-account-design-page .woocommerce-MyAccount-content .woocommerce-Address::before,
body.gms-account-design-page .woocommerce-customer-details .woocommerce-column::before {
  content: "" !important;
  position: absolute !important;
  left: 28px !important;
  top: 0 !important;
  width: 60px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #ccb09f, #eadbd2) !important;
  border-radius: 999px !important;
}

body.gms-account-design-page .woocommerce-MyAccount-content .woocommerce-Address h3,
body.gms-account-design-page .woocommerce-customer-details .woocommerce-column h2,
body.gms-account-design-page .woocommerce-customer-details .woocommerce-column h3 {
  margin: 0 0 18px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #2b2522 !important;
}

body.gms-account-design-page .woocommerce-MyAccount-content .woocommerce-Address .edit,
body.gms-account-design-page .woocommerce-MyAccount-content .woocommerce-Address a,
body.gms-account-design-page .woocommerce-customer-details .woocommerce-column a {
  color: #8a6559 !important;
}

body.gms-account-design-page .woocommerce-MyAccount-content .woocommerce-Address address,
body.gms-account-design-page .woocommerce-customer-details address {
  margin: 0 !important;
  font-style: normal !important;
  line-height: 1.95 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* order totals summary cards softer lines */
body .woocommerce-order-details .shop_table tfoot th,
body .woocommerce-order-details .shop_table tfoot td,
body .woocommerce .cart_totals table.shop_table th,
body .woocommerce .cart_totals table.shop_table td {
  border-top: 1px solid #eaded8 !important;
}

/* ===== My account nav active / focus lighter ===== */
body.gms-account-design-page .woocommerce-MyAccount-navigation ul,
body.gms-account-design-page .woocommerce-MyAccount-navigation ul li {
  list-style: none !important;
}

body.gms-account-design-page .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 18px 24px !important;
  border-radius: 22px !important;
  background: #f7f2ee !important;
  color: #2b2522 !important;
  border: 1px solid #efe3dc !important;
  transition: all .18s ease !important;
}

body.gms-account-design-page .woocommerce-MyAccount-navigation ul li.is-active a,
body.gms-account-design-page .woocommerce-MyAccount-navigation ul li a:focus,
body.gms-account-design-page .woocommerce-MyAccount-navigation ul li a:hover {
  background: linear-gradient(135deg, #fff7f3 0%, #efdfd4 100%) !important;
  color: #5e4d45 !important;
  border-color: #dcc6bb !important;
  box-shadow: 0 8px 20px rgba(179,139,118,.10) !important;
}

/* ===== Account details form softer focus ===== */
body.gms-account-design-page .woocommerce-EditAccountForm,
body.gms-account-design-page .woocommerce form.edit-account,
body.gms-account-design-page .woocommerce form.edit-address {
  background: linear-gradient(135deg, #fff 0%, #fffaf7 100%) !important;
  border: 1px solid #eaded8 !important;
  border-radius: 32px !important;
  padding: 30px !important;
  box-shadow: 0 10px 28px rgba(179,139,118,.07) !important;
}

body.gms-account-design-page .woocommerce-EditAccountForm fieldset,
body.gms-account-design-page .woocommerce form.edit-account fieldset,
body.gms-account-design-page .woocommerce form.edit-address fieldset {
  border: 1px solid #eaded8 !important;
  border-radius: 24px !important;
  padding: 22px 22px 16px !important;
}

body.gms-account-design-page .woocommerce-EditAccountForm input,
body.gms-account-design-page .woocommerce form.edit-account input,
body.gms-account-design-page .woocommerce form.edit-address input,
body.gms-account-design-page .woocommerce form.edit-account textarea,
body.gms-account-design-page .woocommerce form.edit-address textarea,
body.gms-account-design-page .woocommerce form.edit-account select,
body.gms-account-design-page .woocommerce form.edit-address select {
  border: 1px solid #dbcac0 !important;
  border-radius: 14px !important;
  min-height: 48px !important;
  padding: 10px 14px !important;
  box-shadow: none !important;
}

body.gms-account-design-page .woocommerce-EditAccountForm input:focus,
body.gms-account-design-page .woocommerce form.edit-account input:focus,
body.gms-account-design-page .woocommerce form.edit-address input:focus,
body.gms-account-design-page .woocommerce form.edit-account textarea:focus,
body.gms-account-design-page .woocommerce form.edit-address textarea:focus,
body.gms-account-design-page .woocommerce form.edit-account select:focus,
body.gms-account-design-page .woocommerce form.edit-address select:focus {
  outline: none !important;
  border-color: #d9bdae !important;
  background: #fffaf7 !important;
  box-shadow: 0 0 0 4px rgba(217,189,174,.18) !important;
}

@media (max-width: 900px) {
  body.gms-account-design-page .woocommerce-MyAccount-content .addresses {
    grid-template-columns: 1fr !important;
  }
}


/* v1.3.1 ===== Header logo next to graminis.store ===== */
body .site-header .brand-row .gms-branding-inner,
body .site-header .brand-row .site-branding,
body .site-header .brand-row .gms-brand-block {
  display: inline-flex !important;
  align-items: center !important;
  gap: 16px !important;
}

body .site-header .gms-brand-logo-link,
body .site-header .gms-brand-logo-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  text-decoration: none !important;
}

body .site-header .gms-brand-logo {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 18px rgba(179,139,118,.10) !important;
}

body .site-header .gms-brand-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* v1.3.1 ===== Clickable mobile hamburger with visible icon and label ===== */
@media (max-width: 900px) {
  body .site-header.gms-single-row-ready .brand-row {
    padding-left: 72px !important;
  }

  body .site-header.gms-single-row-ready .menu-toggle,
  body .site-header.gms-single-row-ready .hamburger,
  body .site-header.gms-single-row-ready .mobile-menu-toggle,
  body .site-header.gms-single-row-ready button[aria-controls*="menu"],
  body .site-header.gms-single-row-ready button[aria-label*="menu"],
  body .site-header.gms-single-row-ready button[aria-label*="Menu"],
  body .site-header .gms-hamburger-proxy {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    min-width: 56px !important;
    height: 46px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border: 1px solid #e7d7ce !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #fff 0%, #f7eee9 100%) !important;
    box-shadow: 0 10px 24px rgba(179,139,118,.14) !important;
    color: #5f4d44 !important;
    z-index: 20 !important;
    cursor: pointer !important;
    overflow: visible !important;
  }

  body .site-header .gms-hamburger-proxy {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  body .site-header .gms-hamburger-proxy::before,
  body .site-header.gms-single-row-ready .menu-toggle.gms-hamburger-enhanced::before,
  body .site-header.gms-single-row-ready .hamburger.gms-hamburger-enhanced::before,
  body .site-header.gms-single-row-ready .mobile-menu-toggle.gms-hamburger-enhanced::before,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 2px !important;
    background: #6d584d !important;
    border-radius: 999px !important;
    box-shadow: 0 -6px 0 #6d584d, 0 6px 0 #6d584d !important;
    flex: 0 0 auto !important;
  }

  body .site-header.gms-single-row-ready .menu-toggle .icon-bar,
  body .site-header.gms-single-row-ready .hamburger .bar,
  body .site-header.gms-single-row-ready .mobile-menu-toggle .bar,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced .icon-bar,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced svg,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced .screen-reader-text {
    display: none !important;
  }

  body .site-header .gms-hamburger-proxy::after,
  body .site-header.gms-single-row-ready .menu-toggle.gms-hamburger-enhanced::after,
  body .site-header.gms-single-row-ready .hamburger.gms-hamburger-enhanced::after,
  body .site-header.gms-single-row-ready .mobile-menu-toggle.gms-hamburger-enhanced::after,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced::after {
    content: "MENU" !important;
    display: inline-block !important;
    color: #6d584d !important;
  }

  body .site-header .gms-brand-logo {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }
}


/* v1.3.2 Center hamburger icon and MENU text inside the button */
@media (max-width: 900px) {
  body .site-header.gms-single-row-ready .brand-row {
    padding-left: 88px !important;
  }

  body .site-header.gms-single-row-ready .menu-toggle,
  body .site-header.gms-single-row-ready .hamburger,
  body .site-header.gms-single-row-ready .mobile-menu-toggle,
  body .site-header.gms-single-row-ready button[aria-controls*="menu"],
  body .site-header.gms-single-row-ready button[aria-label*="menu"],
  body .site-header.gms-single-row-ready button[aria-label*="Menu"],
  body .site-header .gms-hamburger-proxy {
    width: 72px !important;
    min-width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 10px 8px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-align: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body .site-header .gms-hamburger-proxy,
  body .site-header.gms-single-row-ready .menu-toggle.gms-hamburger-enhanced,
  body .site-header.gms-single-row-ready .hamburger.gms-hamburger-enhanced,
  body .site-header.gms-single-row-ready .mobile-menu-toggle.gms-hamburger-enhanced,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
  }

  body .site-header .gms-hamburger-proxy::before,
  body .site-header.gms-single-row-ready .menu-toggle.gms-hamburger-enhanced::before,
  body .site-header.gms-single-row-ready .hamburger.gms-hamburger-enhanced::before,
  body .site-header.gms-single-row-ready .mobile-menu-toggle.gms-hamburger-enhanced::before,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced::before {
    display: block !important;
    width: 22px !important;
    height: 3px !important;
    margin: 0 auto !important;
    box-shadow: 0 -8px 0 #6d584d, 0 8px 0 #6d584d !important;
  }

  body .site-header .gms-hamburger-proxy::after,
  body .site-header.gms-single-row-ready .menu-toggle.gms-hamburger-enhanced::after,
  body .site-header.gms-single-row-ready .hamburger.gms-hamburger-enhanced::after,
  body .site-header.gms-single-row-ready .mobile-menu-toggle.gms-hamburger-enhanced::after,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced::after {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
}


/* v1.3.3 Mobile hamburger clean fix
   Remove MENU text, keep a centered clickable three-line icon.
*/
@media (max-width: 900px) {
  body .site-header.gms-single-row-ready .brand-row {
    padding-left: 64px !important;
    min-height: 58px !important;
  }

  body .site-header.gms-single-row-ready .menu-toggle,
  body .site-header.gms-single-row-ready .hamburger,
  body .site-header.gms-single-row-ready .mobile-menu-toggle,
  body .site-header.gms-single-row-ready button[aria-controls*="menu"],
  body .site-header.gms-single-row-ready button[aria-label*="menu"],
  body .site-header.gms-single-row-ready button[aria-label*="Menu"],
  body .site-header .gms-hamburger-proxy {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    border-radius: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    line-height: 1 !important;
    text-indent: -9999px !important;
    font-size: 0 !important;
    letter-spacing: 0 !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #fff 0%, #f7eee9 100%) !important;
    border: 1px solid #e7d7ce !important;
    box-shadow: 0 8px 18px rgba(179,139,118,.12) !important;
    color: transparent !important;
  }

  body .site-header .gms-hamburger-proxy::before,
  body .site-header.gms-single-row-ready .menu-toggle.gms-hamburger-enhanced::before,
  body .site-header.gms-single-row-ready .hamburger.gms-hamburger-enhanced::before,
  body .site-header.gms-single-row-ready .mobile-menu-toggle.gms-hamburger-enhanced::before,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced::before,
  body .site-header.gms-single-row-ready .menu-toggle::before,
  body .site-header.gms-single-row-ready .hamburger::before,
  body .site-header.gms-single-row-ready .mobile-menu-toggle::before {
    content: "" !important;
    display: block !important;
    position: static !important;
    width: 22px !important;
    height: 2.5px !important;
    margin: 0 auto !important;
    border-radius: 999px !important;
    background: #6d584d !important;
    box-shadow: 0 -7px 0 #6d584d, 0 7px 0 #6d584d !important;
    transform: none !important;
  }

  body .site-header .gms-hamburger-proxy::after,
  body .site-header.gms-single-row-ready .menu-toggle.gms-hamburger-enhanced::after,
  body .site-header.gms-single-row-ready .hamburger.gms-hamburger-enhanced::after,
  body .site-header.gms-single-row-ready .mobile-menu-toggle.gms-hamburger-enhanced::after,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced::after,
  body .site-header.gms-single-row-ready .menu-toggle::after,
  body .site-header.gms-single-row-ready .hamburger::after,
  body .site-header.gms-single-row-ready .mobile-menu-toggle::after {
    content: none !important;
    display: none !important;
  }

  body .site-header.gms-single-row-ready .menu-toggle *,
  body .site-header.gms-single-row-ready .hamburger *,
  body .site-header.gms-single-row-ready .mobile-menu-toggle *,
  body .site-header.gms-single-row-ready button.gms-hamburger-enhanced * {
    display: none !important;
  }

  body .site-header.gms-single-row-ready .menu-toggle:active,
  body .site-header.gms-single-row-ready .hamburger:active,
  body .site-header.gms-single-row-ready .mobile-menu-toggle:active,
  body .site-header .gms-hamburger-proxy:active {
    transform: translateY(-50%) scale(.96) !important;
  }
}


/* v1.3.4 Mobile logo between hamburger and graminis.store */
@media (max-width: 900px) {
  body .site-header.gms-single-row-ready .brand-row {
    display: grid !important;
    grid-template-columns: 54px 50px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 10px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    text-align: left !important;
  }

  body .site-header.gms-single-row-ready .brand-row .menu-toggle,
  body .site-header.gms-single-row-ready .brand-row .hamburger,
  body .site-header.gms-single-row-ready .brand-row .mobile-menu-toggle,
  body .site-header.gms-single-row-ready .brand-row button[aria-controls*="menu"],
  body .site-header.gms-single-row-ready .brand-row button[aria-label*="menu"],
  body .site-header.gms-single-row-ready .brand-row button[aria-label*="Menu"] {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
  }

  body .site-header .gms-mobile-brand-logo-link {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #fff 0%, #f7eee9 100%) !important;
    border: 1px solid #eaded8 !important;
    box-shadow: 0 8px 18px rgba(179,139,118,.10) !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  body .site-header .gms-mobile-brand-logo {
    display: block !important;
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
  }

  body .site-header.gms-single-row-ready .brand-row .site-branding,
  body .site-header.gms-single-row-ready .brand-row .gms-branding-inner,
  body .site-header.gms-single-row-ready .brand-row .gms-brand-block,
  body .site-header.gms-single-row-ready .brand-row > a:not(.gms-mobile-brand-logo-link),
  body .site-header.gms-single-row-ready .brand-row > div:not(.gms-mobile-brand-logo-link) {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  body .site-header.gms-single-row-ready .brand-row .gms-brand-logo-link {
    display: none !important;
  }

  body .site-header.gms-single-row-ready .brand-row .site-title,
  body .site-header.gms-single-row-ready .brand-row .site-title a,
  body .site-header.gms-single-row-ready .brand-row .logo-text,
  body .site-header.gms-single-row-ready .brand-row .gms-logo-text {
    font-size: 26px !important;
    line-height: 1.05 !important;
    text-align: left !important;
  }

  body .site-header.gms-single-row-ready .brand-row .site-description,
  body .site-header.gms-single-row-ready .brand-row .tagline,
  body .site-header.gms-single-row-ready .brand-row .logo-subtitle,
  body .site-header.gms-single-row-ready .brand-row .gms-logo-subtitle {
    font-size: 10px !important;
    letter-spacing: .24em !important;
    text-align: left !important;
    margin-top: 8px !important;
  }
}


/* v1.3.5 Mobile header logo: white background only */
@media (max-width: 900px) {
  body .site-header .gms-mobile-brand-logo-link {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 10px !important;
  }

  body .site-header .gms-mobile-brand-logo {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
  }
}


/* v1.3.6 - mobile logo without any frame */
@media (max-width: 900px) {
  body .site-header .gms-mobile-brand-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
  }

  body .site-header .gms-mobile-brand-logo-link::before,
  body .site-header .gms-mobile-brand-logo-link::after {
    display: none !important;
    content: none !important;
  }

  body .site-header .gms-mobile-brand-logo {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}


/* v1.3.7 - desktop logo visible and clean */
@media (min-width: 901px) {
  body .site-header .gms-brand-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  body .site-header .gms-brand-logo-link::before,
  body .site-header .gms-brand-logo-link::after {
    display: none !important;
    content: none !important;
  }

  body .site-header .gms-brand-logo {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: contain !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body .site-header .brand-row .gms-branding-inner,
  body .site-header .brand-row .site-branding,
  body .site-header .brand-row .gms-brand-block {
    gap: 14px !important;
  }
}


/* v1.3.9 desktop logo force-display */
@media (min-width: 901px) {
  body .site-header .gms-desktop-brand-with-logo,
  body .site-header .brand-row .gms-desktop-brand-with-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
  }

  body .site-header .gms-desktop-brand-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    margin: 0 14px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    vertical-align: middle !important;
  }

  body .site-header .gms-desktop-brand-logo-link::before,
  body .site-header .gms-desktop-brand-logo-link::after {
    display: none !important;
    content: none !important;
  }

  body .site-header .gms-desktop-brand-logo {
    display: block !important;
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}

/* Preserve original content/theme-management admin UI: this plugin only appends styling, never hides admin menu items. */
