/* Noor Naksha v1.11.7 — verified live-UAT corrections. */

@media (min-width:901px){
  /* ------------------------------------------------------------
   * Purchase cards — one geometry; beats legacy .button rules.
   * ------------------------------------------------------------ */
  .nn-purchase-buttons-v1117{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;width:100%!important;margin-top:12px!important;padding:0!important;
  }
  .nn-purchase-buttons-v1117.nn-purchase-count-1{grid-template-columns:1fr!important}
  .nn-purchase-buttons-v1117>.nn-purchase-btn-v1117,
  .nn-shop-product-action-v18 .nn-purchase-buttons-v1117>.nn-purchase-btn-v1117,
  .nn-product-card .nn-purchase-buttons-v1117>.nn-purchase-btn-v1117{
    width:100%!important;min-width:0!important;min-height:42px!important;height:42px!important;
    box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
    margin:0!important;padding:0 10px!important;border-radius:7px!important;font-size:12px!important;font-weight:800!important;
    line-height:1.15!important;text-align:center!important;text-decoration:none!important;white-space:normal!important;box-shadow:none!important;
  }
  .nn-shop-product-action-v18 .nn-purchase-buttons-v1117>.nn-add-cart-v1117,
  .nn-product-card .nn-purchase-buttons-v1117>.nn-add-cart-v1117,
  .nn-purchase-buttons-v1117>.nn-add-cart-v1117{
    background:#fffdf8!important;color:var(--nn-green)!important;border:1px solid var(--nn-green)!important;
  }
  .nn-shop-product-action-v18 .nn-purchase-buttons-v1117>.nn-buy-now-v1117,
  .nn-product-card .nn-purchase-buttons-v1117>.nn-buy-now-v1117,
  .nn-purchase-buttons-v1117>.nn-buy-now-v1117{
    background:var(--nn-green)!important;color:#fff!important;border:1px solid var(--nn-green)!important;
  }
  .nn-purchase-buttons-v1117>.nn-purchase-btn-v1117:hover,
  .nn-purchase-buttons-v1117>.nn-purchase-btn-v1117:focus{ text-decoration:none!important; }
  .nn-product-card{display:flex!important;flex-direction:column!important;height:100%!important;overflow:visible!important}
  .nn-product-card .nn-product-info{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;overflow:visible!important}
  .nn-product-card .nn-purchase-buttons-v1117{margin-top:auto!important;padding-top:10px!important}
  .nn-shop-product-info-v18{display:flex!important;flex-direction:column!important;height:100%!important;overflow:visible!important}
  .nn-shop-product-action-v18{margin-top:auto!important;overflow:visible!important}
  .nn-shop-product-action-v18 .nn-purchase-buttons-v1117{margin-top:10px!important}
  body.nn-cart-empty-v111 .nn-empty-product-info-v1112 .nn-purchase-buttons-v1117{margin-top:auto!important;padding-top:8px!important}

  /* ------------------------------------------------------------
   * Populated Cart — content-driven height, compact product rows.
   * ------------------------------------------------------------ */
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-sidebar-layout{
    align-items:flex-start!important;grid-auto-rows:max-content!important;
  }
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-main{
    display:block!important;align-self:flex-start!important;height:auto!important;min-height:0!important;
  }
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-sidebar{
    align-self:flex-start!important;height:auto!important;min-height:0!important;display:block!important;
  }
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-cart-items,
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-cart-items tbody,
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-cart-items__row{
    height:auto!important;min-height:0!important;max-height:none!important;
  }
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-cart-items td{
    height:auto!important;min-height:0!important;padding-top:16px!important;padding-bottom:16px!important;vertical-align:top!important;
  }
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-cart-item__image{width:112px!important;padding-right:14px!important}
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-cart-item__image img{width:96px!important;height:96px!important;object-fit:cover!important}
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-cart-item__product{padding-left:0!important}
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-name{margin:0 0 7px!important;text-decoration:none!important}
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-price{margin:0 0 10px!important}
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-price del{display:none!important}
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-metadata,
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-metadata__description,
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-product-badge,
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-components-sale-badge,
  body.woocommerce-cart:not(.nn-cart-empty-v111) [class*="sale-badge"],
  body.woocommerce-cart:not(.nn-cart-empty-v111) [class*="saving"],
  body.woocommerce-cart:not(.nn-cart-empty-v111) [class*="savings"]{display:none!important}
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-cart-item__total-price-and-sale-badge-wrapper{
    display:flex!important;justify-content:flex-end!important;align-items:flex-start!important;height:auto!important;min-height:0!important;
  }
  body.woocommerce-cart:not(.nn-cart-empty-v111) .wc-block-cart-item__total-price-and-sale-badge-wrapper>*:not(.wc-block-components-product-price):not(.wc-block-cart-item__total-price){display:none!important}
  body.woocommerce-cart:not(.nn-cart-empty-v111) .nn-cart-totals-v1114{height:auto!important;min-height:0!important}
  body.woocommerce-cart:not(.nn-cart-empty-v111) .nn-v1114-checkout{margin-top:16px!important}

  /* ------------------------------------------------------------
   * Checkout Order Summary — no description/savings/duplicate price.
   * ------------------------------------------------------------ */
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-order-summary-item__description>p,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-order-summary-item__description .wc-block-components-product-details,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-order-summary-item__description .wc-block-components-product-price,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-order-summary-item__description del,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-order-summary-item__description ins,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-product-badge,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-sale-badge,
  body.woocommerce-checkout:not(.woocommerce-order-received) [class*="sale-badge"],
  body.woocommerce-checkout:not(.woocommerce-order-received) [class*="saving"],
  body.woocommerce-checkout:not(.woocommerce-order-received) [class*="savings"]{display:none!important}

  /* ------------------------------------------------------------
   * Single Product typography and approved purchase UI.
   * Structural selectors deliberately do not depend on v1.11.6 body classes.
   * ------------------------------------------------------------ */
  body.single-product .woocommerce-breadcrumb,
  body.single-product .nn-shop-breadcrumb-v18,
  body.single-product .nn-shop-breadcrumb-v18 .woocommerce-breadcrumb{
    font-size:var(--nn-nav-size,15px)!important;line-height:1.45!important;
  }
  body.single-product.woocommerce div.product .summary h1.product_title{
    font-size:calc(var(--nn-nav-size,15px) + 2px)!important;line-height:1.22!important;margin:0 0 8px!important;
  }
  body.single-product.woocommerce div.product .summary>.price{
    font-size:calc(var(--nn-nav-size,15px) + 4px)!important;font-weight:800!important;color:var(--nn-green)!important;margin:0 0 14px!important;
  }
  body.single-product .woocommerce-product-details__short-description{margin:0 0 18px!important;line-height:1.55!important}

  body.single-product.nn-variation-mode-expanded table.variations,
  body.single-product:not(.nn-variation-mode-dropdown) table.variations{margin:16px 0 10px!important;border:0!important}
  body.single-product:not(.nn-variation-mode-dropdown) table.variations tbody,
  body.single-product:not(.nn-variation-mode-dropdown) table.variations tr,
  body.single-product:not(.nn-variation-mode-dropdown) table.variations th,
  body.single-product:not(.nn-variation-mode-dropdown) table.variations td{
    display:block!important;width:100%!important;border:0!important;text-align:left!important;
  }
  body.single-product:not(.nn-variation-mode-dropdown) table.variations tr{margin:0 0 16px!important}
  body.single-product:not(.nn-variation-mode-dropdown) table.variations th{padding:0 0 7px!important}
  body.single-product:not(.nn-variation-mode-dropdown) table.variations td{padding:0!important}
  body.single-product:not(.nn-variation-mode-dropdown) table.variations label{font-size:13px!important;font-weight:800!important;color:var(--nn-green)!important}
  body.single-product:not(.nn-variation-mode-dropdown) table.variations select{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
  body.single-product:not(.nn-variation-mode-dropdown) .nn-v111-swatches{display:none!important}
  .nn-v1117-variation-options{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:0!important}
  .nn-v1117-variation-option{
    min-width:110px!important;min-height:48px!important;padding:0 18px!important;border:1px solid #d7d0c5!important;border-radius:8px!important;
    background:#fff!important;color:#173f34!important;box-shadow:none!important;font-size:13px!important;font-weight:700!important;line-height:1.1!important;cursor:pointer!important;
  }
  .nn-v1117-variation-option.is-selected{background:var(--nn-green)!important;border-color:#c59232!important;color:#fff!important;box-shadow:0 0 0 1px var(--nn-green) inset!important}
  .nn-v1117-variation-option:disabled,.nn-v1117-variation-option.is-unavailable{opacity:.38!important;cursor:not-allowed!important;text-decoration:line-through!important}
  body.single-product .reset_variations{display:inline-block!important;margin:7px 0 0!important;font-size:11px!important;color:#718078!important;text-decoration:none!important}
  body.single-product .woocommerce-variation-price{display:none!important}
  body.single-product .woocommerce-variation-availability{margin:6px 0!important}

  body.single-product form.cart{margin:16px 0 0!important}
  body.single-product form.cart:not(.variations_form),
  body.single-product .woocommerce-variation-add-to-cart{
    display:grid!important;grid-template-columns:160px minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important;
  }
  body.single-product form.cart .quantity{grid-column:1!important;min-height:52px!important;margin:0!important}
  body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button{
    grid-column:2!important;min-width:0!important;min-height:52px!important;height:52px!important;margin:0!important;padding:0 18px!important;
    background:#fffdf8!important;color:var(--nn-green)!important;border:1px solid var(--nn-green)!important;border-radius:8px!important;
    font-weight:800!important;box-shadow:none!important;text-decoration:none!important;
  }
  body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button:hover{
    background:#f6fbf8!important;color:var(--nn-green)!important;
  }
  body.single-product .nn-single-buy-now-v1117{
    grid-column:3!important;min-width:0!important;min-height:52px!important;height:52px!important;margin:0!important;padding:0 18px!important;
    border:1px solid var(--nn-green)!important;border-radius:8px!important;background:var(--nn-green)!important;color:#fff!important;font-weight:800!important;box-shadow:none!important;
  }
  body.single-product .nn-single-buy-now-v1117[disabled]{opacity:.45!important;cursor:not-allowed!important}
  body.single-product .nn-v1117-secondary-actions{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin-top:14px!important;
  }
  body.single-product .nn-v1117-secondary-actions>a{
    min-height:50px!important;border-radius:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;
    gap:8px!important;text-decoration:none!important;font-weight:750!important;
  }
  body.single-product .nn-v111-product-trust,
  body.single-product .nn-v111-product-service-strip,
  body.single-product .product_meta{display:none!important}

  /* Reset Password: Woo .form-row-first used to constrain the input to ~48%. */
  body.woocommerce-lost-password .nn-lost-card-v1112 .woocommerce-form-row,
  body.woocommerce-lost-password .nn-lost-card-v1112 .form-row,
  body.woocommerce-lost-password .nn-lost-card-v1112 .form-row-first{
    float:none!important;width:100%!important;max-width:none!important;clear:both!important;box-sizing:border-box!important;
  }
  body.woocommerce-lost-password .nn-lost-card-v1112 input.input-text,
  body.woocommerce-lost-password .nn-lost-card-v1112 button.button{width:100%!important;max-width:none!important;box-sizing:border-box!important}

  /* Order Received: broader feather with the exact cream hero tone. */
  body.woocommerce-order-received .nn-v1113-thankyou-art{position:relative!important;isolation:isolate!important}
  body.woocommerce-order-received .nn-v1113-thankyou-art:before{
    content:""!important;position:absolute!important;z-index:2!important;left:-1px!important;top:0!important;bottom:0!important;width:180px!important;pointer-events:none!important;
    background:linear-gradient(90deg,#fff8ea 0%,rgba(255,248,234,.96) 16%,rgba(255,248,234,.72) 38%,rgba(255,248,234,.34) 66%,rgba(255,248,234,0) 100%)!important;
  }
}

/* Homepage category titles must never disappear behind the artwork. */
.nn-category-layout-showcase .nn-category-showcase-card .nn-category-showcase-label{
  display:block!important;visibility:visible!important;opacity:1!important;z-index:10!important;
  background:var(--nn-category-badge-bg,#0b3a2e)!important;color:var(--nn-category-badge-text,#fff)!important;
  pointer-events:none!important;
}

/* No commerce CTA underline anywhere. */
.nn-purchase-btn-v1117,.nn-single-buy-now-v1117,body.single-product .single_add_to_cart_button{text-decoration:none!important}
