/* ==========================================================================
   INSCRIPTURE: ADDITIONAL STYLES
   Moved from Appearance > Customise > Additional CSS into the theme (Nov 2026).
   Loaded after custom.css.

   Contents
     1. Shop grid: product cards, promo tiles, badges, subcategory tiles
     2. Carousels: You may like, Recently viewed
     3. Product page: options panel, photos, tabs, How To Order,
        sticky Add To Bag, packaging, what arrives
     4. (How To Order: now set per category / product in WordPress)
     5. Checkout: form fields, address check
     6. Checkout: discount code
     7. Checkout: upsell and gift card
     8. Checkout: payment, Place Order button and reassurance lines
     9. Header menu, basket options, pre-order, wishlist, Christmas page
    10. Checkout layout (with the checkout snippet)

   Replaced by the theme (no CSS needed any more):
     - How To Order desktop/mobile images and hiding them: Products > Categories
       ("How to order: product desktop", "Hide How To Order banner") and
       "Hide How To Order guide" on each product.
     - Jewellery Care tab: removed from the product tabs.
     - Klaviyo tick box, "(includes £x VAT)" and UpsellWP's "Offer:" line:
       removed in inc/insc-shop-content.php.
     - "Have a discount code?" and the reassurance lines: real HTML; the lines
       are edited on the Shop content page.

   Brand colours used
     #c1b0ac  blush outline        #eee8e5  soft divider
     #2f4858  navy (checkout)      #3a566d  navy (buttons)
   ========================================================================== */


/* ==========================================================================
   1. SHOP GRID
   ========================================================================== */

/* Product cards: rounded outline, inset photo. The subgrid keeps titles and
   prices lined up across a row. */
.woocommerce ul.products li.product:not(.product-grid-insert) {
  display: grid !important;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0 !important;
  align-content: start;
  box-sizing: border-box;
  padding: 16px 16px 20px !important;
  border: 1px solid #c1b0ac !important;
  border-radius: 16px !important;
  background: #fff;
}
.woocommerce ul.products li.product:not(.product-grid-insert) > a.woocommerce-loop-product__link {
  display: contents;
}
.woocommerce ul.products li.product:not(.product-grid-insert) img {
  border: 0 !important;
  border-radius: 10px;
}
.woocommerce ul.products li.product .extra-product-image-wrap {
  border-radius: 10px;
  overflow: hidden;
}
.woocommerce ul.products li.product .extra-product-image-wrap img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  align-self: start;
}
.woocommerce ul.products li.product .sister_products_empty {
  display: none !important;
}

/* Promo image tiles in the grid: same outline as product cards */
.woocommerce ul.products li.product-grid-insert {
  display: flex !important;
  grid-row: span 4;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px !important;
  border: 1px solid #c1b0ac !important;
  border-radius: 16px !important;
  background: #fff;
}
.woocommerce ul.products li.product-grid-insert img {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px;
}
.woocommerce ul.products li.product-grid-insert .product-grid-insert__title,
.woocommerce ul.products li.product-grid-insert .price {
  display: none !important;
}

/* Badges (Best Seller, Trending) */
.woocommerce ul.products li.product .prod_label {
  top: 26px !important;
  right: 26px !important;
  padding: 5px 12px 4px !important;
  border-radius: 999px !important;
  background: #c1b0ac !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
}

/* Subcategory tiles */
.sub_cat_img img {
  border: 1px solid #c1b0ac !important;
  border-radius: 12px;
}

/* Phones */
@media (max-width: 767px) {
  .woocommerce ul.products li.product:not(.product-grid-insert) {
    padding: 8px 8px 14px !important;
    border-radius: 12px !important;
  }
  .woocommerce ul.products li.product-grid-insert {
    padding: 8px !important;
    border-radius: 12px !important;
  }
  .woocommerce ul.products li.product .extra-product-image-wrap,
  .woocommerce ul.products li.product img {
    border-radius: 8px;
  }
  .woocommerce ul.products li.product .prod_label {
    top: 16px !important;
    right: 16px !important;
    padding: 4px 9px 3px !important;
    font-size: 10px !important;
  }
  .sub_cat_img img {
    border-radius: 10px;
  }
}


/* ==========================================================================
   2. CAROUSELS (You may like, Recently viewed)
   ========================================================================== */

/* Carousel cards. The card grid in section 1 needs a grid parent, so switch
   it off inside sliders or the cards collapse and the photos disappear.
   18px gap between cards to match Recently viewed: a transparent border makes
   the gap without upsetting the slider's sizing; the outline sits just inside. */
.woocommerce ul.products.slick-slider li.product:not(.product-grid-insert) {
  display: block !important;
  grid-row: auto !important;
  grid-template-rows: none !important;
  border: 9px solid transparent !important;
  border-radius: 25px !important;
  background-clip: padding-box !important;
  box-shadow: inset 0 0 0 1px #c1b0ac !important;
}
.woocommerce ul.products.slick-slider li.product:not(.product-grid-insert) > a.woocommerce-loop-product__link {
  display: block !important;
}

/* Equal card heights, even when a product name runs to two lines */
.woocommerce ul.products.slick-slider .slick-track {
  display: flex !important;
}
.woocommerce ul.products.slick-slider .slick-slide {
  display: flex !important;
  height: auto !important;
}
.woocommerce ul.products.slick-slider .slick-slide > div {
  display: flex;
  width: 100%;
}
.woocommerce ul.products.slick-slider li.product .woocommerce-loop-product__title {
  min-height: 2.6em;
  line-height: 1.3 !important;
}

/* Recently viewed: Select options / Add to basket buttons in navy */
.recently-viewed ul.products li.product a.button,
.recently-viewed ul.products li.product .button {
  border-color: #3a566d !important;
  border-radius: 10px !important;
  background: #3a566d !important;
  color: #fff !important;
}
.recently-viewed ul.products li.product a.button:hover,
.recently-viewed ul.products li.product .button:hover {
  border-color: #2e4558 !important;
  background: #2e4558 !important;
}


/* ==========================================================================
   3. PRODUCT PAGE
   ========================================================================== */

/* Options panel: white card with blush outline. The variations table is the
   top of the card and the add-ons box (YITH) is the bottom. */
.single-product form.variations_form table.variations,
.single-product form.cart table.variations {
  width: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0 !important;
  border: 1px solid #c1b0ac !important;
  border-bottom: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  border-collapse: separate !important;
  background: #fff !important;
  overflow: hidden;
}
.single-product form.variations_form table.variations * {
  background-color: transparent !important;
}
.single-product form.cart .yith-wapo-container {
  box-sizing: border-box;
  border: 1px solid #c1b0ac !important;
  border-radius: 14px !important;
  background: #fff !important;
}
.single-product form.variations_form table.variations + * .yith-wapo-container,
.single-product form.variations_form .single_variation_wrap .yith-wapo-container,
.single-product form.variations_form .yith-wapo-container {
  border-top: 0 !important; /* no divider under the first dropdown */
  border-radius: 0 0 14px 14px !important;
}

/* Fields and buttons */
.single-product .summary select,
.single-product .summary input[type=text],
.single-product .summary input[type=number],
.single-product .summary textarea,
.single-product .yith-wapo-addon select,
.single-product .yith-wapo-addon input[type=text],
.single-product .yith-wapo-addon textarea,
.single-product .yith-wapo-addon .select2-selection {
  border: 1px solid #c1b0ac !important;
  border-radius: 10px !important;
  background-color: #fff !important;
}
.single-product .single_add_to_cart_button {
  border-radius: 10px !important;
}
.single-product .summary .favourite-button,
.single-product .summary .ge-extra-product-buttons .button,
.single-product .summary a.compare {
  border-color: #c1b0ac !important;
  border-radius: 10px !important;
}

/* Delivery card: dispatch timer (top), free delivery rows (middle), Klarna (bottom) */
.single-product .dispatch_timer {
  border: 1px solid #c1b0ac !important;
  border-bottom: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  background: #fff !important;
}
.single-product .free_banner_question_wrap {
  border-right: 1px solid #c1b0ac;
  border-left: 1px solid #c1b0ac;
  background: #fff;
}
.single-product .free_banner_question_wrap * {
  background-color: transparent !important;
}
.single-product .free_banner_question_wrap > * {
  border-top: 1px solid #eee8e5 !important;
}
.single-product .klarna_page_note {
  border: 1px solid #c1b0ac !important;
  border-top: 1px solid #eee8e5 !important;
  border-radius: 0 0 14px 14px !important;
  background: #fff !important;
}

/* Rounded product photos */
.single-product .woocommerce-product-gallery__wrapper .slick-list,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image img,
.single-product .ge-wc-thumb,
.single-product .ge-wc-thumb img {
  border-radius: 14px !important;
  overflow: hidden;
}

/* How To Order on product pages: 2x2 on desktop, four rows on phones */
.single-product .how-to-order-image {
  display: block;
}
.single-product .how-to-order-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* Tabs (Details & Specs / Delivery): less space above and below (theme
   default 80px), more room between tabs */
.single-product section:has(> .ge-tabs) {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}
.single-product .ge-tabs .ge-tab-nav {
  gap: 32px !important;
  margin-bottom: 20px !important;
}
.single-product .ge-tabs .ge-tab-link {
  padding-right: 14px !important;
  padding-left: 14px !important;
}

/* Phones */
@media (max-width: 767px) {
  /* Two equal tabs that always fit the screen */
  .single-product .ge-tabs .ge-tab-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
  }
  .single-product .ge-tabs .ge-tab-link {
    padding: 12px 4px 10px !important;
    font-size: 12.5px !important;
    letter-spacing: .04em !important;
    line-height: 1.25 !important;
    text-align: center;
    white-space: normal !important;
  }

  /* Bring "Select your options" closer to How to order */
  .single-product .summary .select-options-title {
    margin-top: 4px !important;
    margin-bottom: -10px !important;
    line-height: 1.15 !important;
  }
}

/* Award boxes under Add to Bag: champagne gold so they stand apart from the
   navy button (9 Nov 2026) */
.ins-trust .ins-award {
  background: linear-gradient(135deg, #e9d8b4 0%, #d4b98a 50%, #e9d8b4 100%);
}
.ins-trust .ins-award__title,
.ins-trust .ins-award__region { color: #2f4858; }
.ins-trust .ins-award__label { color: #5a4a2e; }
.ins-trust .ins-award__icon { stroke: #2f4858; }
.ins-trust .ins-award__icon .ins-award__star { fill: #2f4858; }

/* Sticky Add To Bag (phones). The button is pinned to the bottom of the
   screen once it has scrolled off the top (js/custom.js). These rules replace
   the older ones in custom.css, which floated the bar between 480px and 750px
   and made it wider than the screen. */
.ge-sticky-cart-marker {
  display: block;
  height: 1px;
  margin-bottom: -1px;
}
@media (max-width: 767px) {
  .ge-sticky-cart-wrap {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .ge-sticky-cart-wrap.ge-is-sticky {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 999 !important;
    display: flex !important;
    justify-content: center;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .12);
    transform: none !important;
  }
  .woocommerce div.product form.cart .ge-sticky-cart-wrap.ge-is-sticky .single_add_to_cart_button {
    width: 100% !important;
    max-width: 480px;
    margin: 0 !important;
  }
  /* Room at the bottom of the page so the bar never covers the footer */
  body.ge-has-sticky-cart {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}

/* What arrives with your order (with the delivery information) */
.ge-arrives {
  display: flex;
  gap: 14px;
  align-items: center;
  box-sizing: border-box;
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid #c1b0ac;
  border-radius: 14px;
  background: #fff;
}
.ge-arrives__img {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
}
.ge-arrives__text {
  color: #2f4858;
  font-size: 14px;
  line-height: 1.45;
}
.ge-arrives__text strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}
.ge-arrives__text p {
  margin: 0;
}

/* Packaging and presentation (below the product details) */
.ge-packaging {
  padding: 40px 20px;
}
.ge-packaging__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.ge-packaging__title {
  margin: 0 0 12px;
}
.ge-packaging__text {
  max-width: 720px;
  margin: 0 auto 24px;
  color: #2f4858;
}
.ge-packaging__images {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ge-packaging__images--1 { grid-template-columns: minmax(0, 600px); justify-content: center; }
.ge-packaging__images--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ge-packaging__images--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ge-packaging__images figure {
  margin: 0;
}
.ge-packaging__images img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid #c1b0ac;
  border-radius: 14px;
}
.ge-packaging__images figcaption {
  margin-top: 8px;
  color: #2f4858;
  font-size: 14px;
}
@media (max-width: 767px) {
  .ge-packaging {
    padding: 28px 16px;
  }
  .ge-packaging__images,
  .ge-packaging__images--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ge-packaging__images img {
    border-radius: 10px;
  }
}


/* ==========================================================================
   5. CHECKOUT: FORM FIELDS
   ========================================================================== */

/* Deliver to a different address: same size on all devices */
#ship-to-different-address,
#ship-to-different-address label,
#ship-to-different-address span {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

/* House number missing: shown under address line 1 (js/ge-checkout-address-lookup.js) */
.woocommerce-checkout .ge-addr-warning {
  margin: 6px 0 0;
  color: #b32d2e;
  font-size: 14px;
  font-weight: 600;
}

/* Phones: larger tap targets, 16px text so iPhones don't zoom in, tighter spacing */
@media (max-width: 767px) {
  .woocommerce-checkout input.input-text,
  .woocommerce-checkout select,
  .woocommerce-checkout textarea {
    min-height: 44px;
    border-radius: 8px;
    font-size: 16px !important;
  }
  .woocommerce-checkout .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
  }
  .woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
    font-size: 16px;
    line-height: normal;
  }
  .woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
    height: 42px;
  }
  .woocommerce-checkout .form-row {
    margin: 0 0 8px;
    padding: 0;
  }
  .woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
    line-height: 1.2;
  }
  .woocommerce-checkout input[type="checkbox"] {
    width: 20px;
    height: 20px;
    vertical-align: middle;
  }
  .woocommerce-checkout h3,
  #order_review_heading {
    margin: 18px 0 8px;
    font-size: 19px;
  }
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 0;
    padding-top: 0;
  }
  #ship-to-different-address {
    margin: 6px 0 !important;
  }
  .woocommerce-checkout-review-order-table th,
  .woocommerce-checkout-review-order-table td {
    padding: 10px 12px;
  }
}

/* Phones: delivery options as full width tappable cards, selected one outlined
   in navy, and readable description text (the theme fades it to 40%). */
@media (max-width: 767px) {
  /* Table becomes stacked rows so the shipping row can use the full width */
  .woocommerce-checkout-review-order-table,
  .woocommerce-checkout-review-order-table :is(thead, tbody, tfoot) {
    display: block;
    width: 100%;
  }
  .woocommerce-checkout-review-order-table tr {
    display: flex;
  }
  .woocommerce-checkout-review-order-table tr > * {
    flex: 0 0 auto;
  }
  .woocommerce-checkout-review-order-table tr > :first-child {
    flex: 1 1 auto;
    min-width: 0;
  }
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
    flex: 1 1 100%;
    width: auto !important;
  }
  .woocommerce-checkout #shipping_method {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
  }
  .woocommerce-checkout #shipping_method li {
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 10px;
    align-items: start;
    margin: 0 !important;
    padding: 12px 14px;
    border: 1px solid #c1b0ac;
    border-radius: 10px;
    background: #fff;
    list-style: none;
  }
  .woocommerce-checkout #shipping_method li:has(input:checked) {
    border-color: #2f4858;
    box-shadow: inset 0 0 0 1px #2f4858;
  }
  .woocommerce-checkout #shipping_method li input {
    margin: 3px 0 0 !important;
  }
  .woocommerce-checkout #shipping_method li label {
    display: block;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
  }
  .woocommerce-checkout #shipping_method .ge-shipping-desc,
  .woocommerce-checkout #shipping_method .ge-shipping-desc p {
    margin: 4px 0 0;
    color: #55636c;
    opacity: 1;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
  }
  .woocommerce-checkout #shipping_method .ge-shipping-desc p {
    margin: 0;
  }
}


/* ==========================================================================
   6. CHECKOUT: DISCOUNT CODE
   "Have a discount code?" button opens the field (woocommerce/checkout/form-coupon.php).
   ========================================================================== */

.ge-coupon {
  margin: 0 0 14px;
}
.ge-coupon__toggle,
.ge-coupon__toggle:hover,
.ge-coupon__toggle:focus {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: inherit !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-decoration: underline;
  text-transform: none !important;
  cursor: pointer;
  min-height: 0 !important;
}
.ge-coupon__toggle:focus-visible {
  outline: 2px solid #2f4858;
  outline-offset: 2px;
}
.ge-coupon__fields {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: 8px;
}
.ge-coupon__fields[hidden] {
  display: none;
}
.ge-coupon__fields .form-row {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ge-coupon__fields .form-row-first {
  flex: 1 1 auto;
}
.ge-coupon__fields .form-row-last {
  flex: 0 0 auto;
}
.ge-coupon__fields #coupon_code {
  width: 100%;
}

/* Checkout notices: stack multiple error/notice lines so they don't overlap */
.woocommerce-checkout .woocommerce-error li,
.woocommerce-checkout .woocommerce-info li,
.woocommerce-checkout .woocommerce-message li {
  position: static !important;
  float: none !important;
  top: auto !important;
}

/* Discount code error: keep the message inside its box. The theme positions
   notice text absolutely, so the box collapsed to one line. */
.woocommerce-checkout .ge-coupon-notice .woocommerce-error {
  position: relative !important;
  height: auto !important;
  margin: 0 0 16px !important;
  padding: 14px 20px 14px 50px !important;
}
.woocommerce-checkout .ge-coupon-notice .woocommerce-error li {
  margin: 0 !important;
}
.woocommerce-checkout .ge-coupon-notice .woocommerce-error::before {
  top: 50% !important;
  left: 18px !important;
  transform: translateY(-50%);
}


/* ==========================================================================
   7. CHECKOUT: UPSELL AND GIFT CARD
   ========================================================================== */

/* Polishing cloth upsell (UpsellWP): compact card */
.woocommerce-checkout .cuw-offer .cuw-container {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 12px 0 !important;
  padding: 12px !important;
  border: 1px solid #dcd8d2 !important;
  border-radius: 10px !important;
  background: #fff !important;
}
.woocommerce-checkout .cuw-offer .cuw-banner {
  flex: 0 0 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}
.woocommerce-checkout .cuw-offer .cuw-offer-title {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  color: #2f4858 !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.3 !important;
  text-align: left !important;
}
.woocommerce-checkout .cuw-offer .cuw-product-section {
  display: flex !important;
  flex: 1 1 0;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-checkout .cuw-offer .cuw-product-image {
  flex: 0 0 56px;
  width: 56px !important;
  margin: 0 !important;
}
.woocommerce-checkout .cuw-offer .cuw-product-image img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
}
.woocommerce-checkout .cuw-offer .cuw-product-title {
  margin: 0 0 2px !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}
.woocommerce-checkout .cuw-offer .cuw-product-price {
  margin: 0 !important;
  font-size: 14px !important;
}
.woocommerce-checkout .cuw-offer .cuw-product-quantity,
.woocommerce-checkout .cuw-offer .cuw-product-variants:empty {
  display: none !important;
}
.woocommerce-checkout .cuw-offer .cuw-offer-cta-section {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}
.woocommerce-checkout .cuw-offer .cuw-offer-cta-section label {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  padding: 9px 14px !important;
  border: 1px solid #2f4858 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #2f4858 !important;
  font-size: 14px !important;
  white-space: nowrap;
  cursor: pointer;
}
.woocommerce-checkout .cuw-offer .cuw-offer-cta-section label:has(.cuw-checkbox:checked) {
  background: #2f4858 !important;
  color: #fff !important;
}
.woocommerce-checkout .cuw-offer .cuw-checkbox {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

/* UpsellWP's offer strapline inside the upsell box */
.cuw-offer-text {
  display: none !important;
}

/* Gift card box: tighter spacing */
.woocommerce-checkout .ge-giftcard-checkout {
  margin: 16px 0 12px !important;
  padding: 10px 12px !important;
  border-radius: 10px;
}
.woocommerce-checkout .ge-giftcard-checkout .form-row {
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-checkout .ge-giftcard-checkout .form-row + .form-row {
  margin-top: 8px !important;
}
.woocommerce-checkout .ge-giftcard-checkout label.checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.woocommerce-checkout .ge-giftcard-checkout label.checkbox input {
  flex: 0 0 auto;
  margin: 0 !important;
}
.woocommerce-checkout .ge-giftcard-checkout label.checkbox .optional {
  display: none !important;
}


/* ==========================================================================
   8. CHECKOUT: PAYMENT, PLACE ORDER BUTTON AND REASSURANCE LINES
   ========================================================================== */

/* PayPal logo next to the PayPal option */
.wc_payment_method.payment_method_ppcp-gateway > label::after {
  content: "";
  display: inline-block;
  width: 62px;
  height: 20px;
  margin-left: 10px;
  vertical-align: middle;
  background: url("https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-100px.png") center / contain no-repeat;
}

/* Reassurance lines under Place Order and in the slide-out bag
   (wording on the Shop content page) */
.ge-assurances {
  flex: 0 0 100%;
  width: 100%;
  clear: both;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #2f4858;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.ge-assurances li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ge-assurances li::before {
  content: none !important;
}
.ge-assurances__icon {
  display: inline-block;
  min-width: 1.4em;
}
.ge-offcanvas-cart .ge-offcanvas-footer {
  flex-wrap: wrap !important;
}

/* Phones: full width Place Order button */
@media (max-width: 767px) {
  #place_order {
    width: 100%;
    min-height: 52px;
    border-radius: 8px;
    font-size: 17px;
  }
}

/* Desktop: full width button with padlock, reassurance lines in a 2x2 card */
@media (min-width: 768px) {
  .woocommerce-checkout #payment .place-order {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .woocommerce-checkout #payment #place_order {
    --padlock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    float: none;
    box-sizing: border-box;
    width: 100%;
    min-height: 58px;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .08);
    font-size: 17px;
    letter-spacing: .12em;
    transition: transform .1s ease, box-shadow .2s ease;
  }
  .woocommerce-checkout #payment #place_order::before {
    content: "";
    flex: 0 0 auto;
    width: 15px;
    height: 17px;
    background: currentColor;
    -webkit-mask: var(--padlock) center / contain no-repeat;
            mask: var(--padlock) center / contain no-repeat;
  }
  .woocommerce-checkout #payment #place_order:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(47, 72, 88, .22);
  }
  .woocommerce-checkout #payment .ge-assurances--checkout {
    column-count: 2;
    column-gap: 24px;
    box-sizing: border-box;
    margin-top: 18px;
    padding: 16px 22px;
    border: 1px solid #e6e9ea;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    line-height: 2;
    letter-spacing: .06em;
    text-align: left;
  }
}


/* ==========================================================================
   9. HEADER MENU, BASKET OPTIONS, PRE-ORDER, WISHLIST, CHRISTMAS PAGE
   ========================================================================== */

/* TEMPORARY (Oct 2026): hide the top-level Gifts item (menu-item-43150) and
   its dropdown. The Gifts link inside Memorial Jewellery & Gifts
   (menu-item-43164) still shows. Delete this block to bring it back
   (better: remove the item in Appearance > Menus). */
.menu-header > .menu > li.menu-item-43150,
li.menu-item-43150:not(.sub-menu li) {
  display: none !important;
}

/* Side bag and basket page: keep each option answer on the same line as its question */
.woocommerce-mini-cart-item dl.variation dt,
.woocommerce-mini-cart-item dl.variation dd,
.woocommerce-cart-form dl.variation dt,
.woocommerce-cart-form dl.variation dd {
  float: none !important;
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-mini-cart-item dl.variation dd,
.woocommerce-cart-form dl.variation dd {
  margin-left: 4px !important;
}
.woocommerce-mini-cart-item dl.variation dd::after,
.woocommerce-cart-form dl.variation dd::after {
  content: "";
  display: block;
  margin-bottom: 4px;
}
.woocommerce-mini-cart-item dl.variation dd p,
.woocommerce-mini-cart-item dl.variation dd div,
.woocommerce-cart-form dl.variation dd p,
.woocommerce-cart-form dl.variation dd div {
  display: inline;
  margin: 0;
}
.woocommerce-mini-cart-item dl.variation dd div:not(:last-child)::after,
.woocommerce-cart-form dl.variation dd div:not(:last-child)::after {
  content: ",";
}

/* Pre-order: show dispatch date below the Pre-order now button */
.ge-product-summary-inner:has(> .ywpo_availability_date) {
  display: flex;
  flex-direction: column;
}
.ge-product-summary-inner > .ywpo_availability_date {
  order: 1;
  margin: 10px 0 14px;
}
.ge-product-summary-inner:has(> .ywpo_availability_date) > form.cart ~ * {
  order: 2;
}
.ge-product-summary-inner:has(> .ywpo_availability_date) > h3.option_header {
  align-self: flex-end;
  width: auto;
  position: relative;
  z-index: 1;
}
/* Pre-order: hide next-day delivery timer and close up the delivery box */
.ge-product-summary-inner:has(> .ywpo_availability_date) > .dispatch_timer {
  display: none;
}
.ge-product-summary-inner:has(> .ywpo_availability_date) > .free_banner_question_wrap {
  border-top: 1px solid #c1b0ac;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.ge-product-summary-inner:has(> .ywpo_availability_date) > .free_banner_question_wrap > * {
  border-top: 0;
}

/* Pre-order in the product grid: dispatch message as a label on the photo and
   (Pre-Order) under the name, so the price keeps its row (9 Nov 2026) */
.woocommerce ul.products li.product {
  position: relative;
}
.woocommerce ul.products li.product .ywpo_availability_date {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  margin: 0;
  padding: 4px 10px;
  border-radius: 20px;
  background: #2f4858;
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.woocommerce ul.products li.product:has(.ywpo_availability_date) .woocommerce-loop-product__title::after {
  content: "(Pre-Order)";
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: #2f4858;
  opacity: .75;
}
@media (max-width: 767px) {
  .woocommerce ul.products li.product .ywpo_availability_date {
    top: 20px;
    left: 20px;
    max-width: calc(100% - 40px);
    font-size: 9px;
    letter-spacing: .04em;
  }
  .woocommerce ul.products li.product:has(.ywpo_availability_date) .woocommerce-loop-product__title::after {
    font-size: 12px;
  }
}

/* Wishlist: empty state Browse Products button in brand navy (added 3 Nov 2026) */
#no_favourites_message .button {
  background-color: #3a566d !important;
  border-color: #3a566d !important;
}

/* Christmas page: Most Loved carousel, keep all product images the same size */
.xg-best .wc-block-grid__product-image {
  display: block !important;
  width: 100% !important;
}
.xg-best .wc-block-grid__product-image picture {
  display: block;
}
.xg-best .wc-block-grid__product-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}


/* ==========================================================================
   10. CHECKOUT LAYOUT (Nov 2026)
   Only applies when the checkout snippet adds the ins-co class.
   ========================================================================== */

/* Quick pay buttons in one row */
.ins-co #wc-stripe-express-checkout-element{display:flex!important;flex-wrap:wrap;gap:8px}
.ins-co #wc-stripe-express-checkout-element::before{content:"Express checkout";flex:0 0 100%;text-align:center;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#7a6f6a}
.ins-co #wc-stripe-express-checkout-element>div{flex:1 1 0;min-width:0}
.ins-co #wc-stripe-express-checkout-element>div.ins-off{flex:0 0 0!important;overflow:hidden;margin-left:-8px}

/* Order summary bar: phones only (desktop shows the order beside the form) */
.ins-co .ins-sum{display:none}
.ins-sum>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#2f4858;color:#fff;cursor:pointer;font-size:14px}
.ins-sum>summary::-webkit-details-marker{display:none}
.ins-sum .ins-sum-label::after{content:" \25BE"}
.ins-sum[open] .ins-sum-label::after{content:" \25B4"}
.ins-sum .ins-sum-total,.ins-sum .ins-sum-total .amount{color:#fff;font-size:17px}
.ins-sum-body{background:#faf8f5;padding:4px 16px 12px}
.ins-sum-item{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #eee5df}
.ins-sum-thumb{position:relative;flex:0 0 56px}
.ins-sum-thumb img{width:56px;height:56px;object-fit:cover;border-radius:8px;background:#f3efe9;display:block}
.ins-sum-qty{position:absolute;top:-6px;right:-6px;background:#2f4858;color:#fff;font-size:10px;line-height:1.5;border-radius:10px;padding:1px 6px}
.ins-sum-name{flex:1;font-size:13px;color:#2f4858;line-height:1.35}
.ins-sum-name strong{display:block}
.ins-sum-name small{display:block;font-size:11px;color:#7a6f6a}
.ins-sum-price{font-size:13px;font-weight:600}
.ins-sum-row{display:flex;justify-content:space-between;font-size:13px;padding-top:6px;color:#2f4858}
.ins-sum-row.is-saving{color:#6b2737}
.ins-sum-row.is-total{font-size:15px;font-weight:700;padding-top:8px}
@media (max-width:767px){
 .ins-co .ins-sum{display:block;margin:0 0 16px;border-radius:4px;overflow:hidden}
 /* No repeat of the pieces at the bottom: they're in the summary */
 .ins-co #order_review_heading,
 .ins-co #order_review .shop_table thead,
 .ins-co #order_review .cart_item,
 .ins-co #order_review .cart-subtotal{display:none!important}
}

/* Subtotal shown after the saving (added by the checkout snippet), so hide WooCommerce's own one */
.ins-co #order_review .cart-subtotal{display:none!important}
.ins-co #order_review tr.ins-subtotal-after th,.ins-co #order_review tr.ins-subtotal-after td{font-weight:600}
.ins-co #order_review tr.ins-subtotal-after td{text-align:right}
/* Extras are shown above the subtotal by the checkout snippet */
.ins-co #order_review tr.fee{display:none!important}
.ins-co #order_review tr.ins-fee-row td{text-align:right}

/* Black Friday saving: burgundy box on phones, burgundy amount in the order table on desktop */
.ins-co #order_review tr.cart-discount td .amount{color:#6b2737;font-weight:600}
.ins-co #order_review tr.cart-discount td{white-space:nowrap}
@media (max-width:767px){
 .ins-co #order_review .shop_table{border-collapse:separate;border-spacing:0}
 .ins-co #order_review tr.cart-discount th,
 .ins-co #order_review tr.cart-discount td{background:#6b2737!important;color:#fff!important;font-weight:600}
 .ins-co #order_review tr.cart-discount td *{color:#fff!important}
 .ins-co #order_review tr.cart-discount th{border-radius:10px 0 0 10px}
 .ins-co #order_review tr.cart-discount td{border-radius:0 10px 10px 0}
}

/* Extras as cards: gift bag, gift card, polishing cloth */
.ins-extra{display:flex;gap:12px;align-items:center;border:1px solid #d9cfc9;border-radius:10px;padding:12px;margin:0 0 10px;background:#fff}
.ins-extra img{width:64px;height:64px;object-fit:cover;border-radius:8px;flex:0 0 64px}
.ins-extra-text{flex:1;font-size:13px;line-height:1.4;color:#2f4858}
.ins-extra-text strong{display:block;font-size:14px}
.ins-extra-text span{display:block;color:#6f6a66}
.ins-extra-text b{display:block;margin-top:3px}
.ins-step{flex:0 0 auto;display:flex;align-items:center;border:1px solid #2f4858;border-radius:8px;overflow:hidden;background:#fff}
.ins-step button{all:unset;box-sizing:border-box;width:36px;height:38px;display:flex;align-items:center;justify-content:center;font-size:20px;color:#2f4858;background:#fff;cursor:pointer}
.ins-step input{width:26px!important;height:38px!important;min-height:0!important;border:0!important;padding:0!important;margin:0!important;text-align:center;font-weight:700;color:#2f4858;background:transparent!important;box-shadow:none!important;-moz-appearance:textfield}
.ins-step input::-webkit-inner-spin-button,.ins-step input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.ins-co #ge_gift_card_include_field{margin:0 0 10px!important;padding:0!important}
.ins-co #ge_gift_card_include_field label.checkbox{display:flex!important;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:12px;border:1px solid #d9cfc9;border-radius:10px;padding:14px 12px;margin:0;background:#fff;font-weight:600;color:#2f4858;cursor:pointer}
.ins-co #ge_gift_card_include_field input{width:20px;height:20px;margin:0;accent-color:#2f4858}
.ins-step button.ins-step-minus,.ins-step button.ins-step-plus{color:#2f4858!important;background:#fff!important;border:0!important;box-shadow:none!important;min-height:0!important;padding:0!important;line-height:1!important}
.ins-co .ge-giftcard-checkout{background:none!important;padding:0!important;border:0!important}
/* Stripe has no title setting with Optimised Checkout, so swap the words here */
.ins-co #payment li.payment_method_stripe > label{font-size:0!important}
.ins-co #payment li.payment_method_stripe > label::after{content:"Pay by card or pay later";font-size:15.68px}
.ins-co .cuw-offer .cuw-container{border:1px solid #d9cfc9!important;border-radius:10px!important;background:#fff!important}

/* Hide Stripe express checkout "Final taxes charged can differ" notice on basket/checkout (UK customers, VAT inclusive pricing) */
.woocommerce-info.ece-taxes-info{display:none!important}
