/*
Theme Name: Demy's Accessories
Theme URI: https://demysaccessories.gr
Author: Demy's Accessories
Author URI: https://demysaccessories.gr
Description: An elegant WooCommerce theme for Demy's Accessories — women's bags and beauty accessories. Cream background with gold (#C9A84C) and blush (#F8C8D8) accents, set in EB Garamond and Commissioner (both with full Greek support).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: demysaccessories
WC requires at least: 7.0
WC tested up to: 10.8
*/

/* -------------------------------------------------------------
   PALETTE
   Brand tokens are declared once here. The --mc-* names are kept
   so every existing rule in this file (and any Additional CSS)
   keeps working — only the VALUES changed.
   ------------------------------------------------------------- */
:root {
  /* --- Brand palette (semantic names) --- */
  --da-gold:        #C9A84C;  /* primary CTA, highlights, focus rings */
  --da-gold-light:  #E8D5A3;  /* hover states */
  --da-blush:       #F8C8D8;  /* accent backgrounds, badges, soft UI */
  --da-blush-deep:  #C45C7C;  /* emphasis, destructive actions */
  --da-rose:        #D98AA8;  /* mid-tone accent */
  --da-cream:       #FAF6F2;  /* page background */
  --da-cream-warm:  #F5EDE6;  /* cards, borders, muted surfaces */
  --da-charcoal:    #4A4A4A;  /* body text */
  --da-soft-black:  #2D2D2D;  /* headings */

  /* --- Mapped to the theme's existing token names --- */
  --mc-navy:      var(--da-soft-black);   /* headings, dark surfaces */
  --mc-blue:      var(--da-gold);         /* primary accent / CTA */
  --mc-blue-dark: var(--da-blush-deep);   /* accent hover */
  --mc-white:     #ffffff;
  --mc-off:       var(--da-cream);        /* soft section background */
  --mc-line:      var(--da-cream-warm);   /* borders */
  --mc-text:      var(--da-charcoal);
  --mc-muted:     #8A7F79;

  --mc-radius: 10px;
  --mc-shadow:    0 4px 24px rgba(45,45,45,.07);
  --mc-shadow-lg: 0 12px 40px rgba(45,45,45,.12);

  --mc-display: "Manrope", Georgia, "Times New Roman", serif;
  --mc-body:    "Commissioner", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* Page background is cream rather than pure white */
html { background: var(--da-cream); }

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--mc-body);
  font-weight: 400;
  color: var(--mc-text);
  background: var(--da-cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* EB Garamond renders optically smaller than a sans-serif, so
   headings get a slight size bump plus the specified 600 / -0.02em. */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--mc-display);
  color: var(--da-soft-black);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.6rem; }

a { color: var(--mc-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--mc-blue-dark); !important; }

img { max-width: 100%; height: auto; }

.mc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.button, button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--mc-blue);
  color: #fff;
  border: none;
  border-radius: var(--mc-radius);
  padding: 13px 28px;
  font-family: var(--mc-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  display: inline-block;
  line-height: 1.3;
  margin-right: 5px;
}
.button:hover, button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  background: var(--mc-blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201,168,76,.32);
}
.mc-btn-outline {
  background: transparent !important;
  color: var(--da-soft-black) !important;
  border: 1px solid var(--da-gold) !important;
  padding: 12px 26px;
}
.mc-btn-outline:hover {
  background: var(--da-gold) !important;
  color: #fff !important;
  border-color: var(--da-gold) !important;
}

/* ---------- Header ---------- */
.mc-topbar {
  background: var(--mc-navy);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 8px 0;
  letter-spacing: .3px;
}
.mc-topbar a { color: var(--da-gold-light); }

.mc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--mc-line);
}
/* Three columns: search | logo | actions.
   The 1fr side columns are equal width, so the centre cell — and the
   logo inside it — sits dead centre regardless of content width. */
.mc-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 8px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.mc-header-left { display: flex; justify-content: flex-start; }
.mc-logo-wrap  { display: flex; justify-content: center; }

.mc-logo {
  display: block;
  font-family: var(--mc-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--da-soft-black);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.mc-logo span { color: var(--da-gold); }

/* Logo image (assets/images/logo.png, or a Customizer custom logo) */
/* WooCommerce's stylesheet contains `.woocommerce-page img { height: auto }`,
   which has higher specificity (0,1,1) than a lone class (0,1,0). On cart,
   checkout and account pages the body carries .woocommerce-page, so that rule
   was winning and the logo reverted to its natural height. The extra selectors
   plus !important keep the logo the same size on every page. */
.mc-logo-img,
.mc-logo-wrap .custom-logo,
.mc-logo-wrap img,
.woocommerce .mc-logo-img,
.woocommerce-page .mc-logo-img,
.woocommerce .mc-logo-wrap img,
.woocommerce-page .mc-logo-wrap img,
.woocommerce-page .mc-logo-wrap .custom-logo {
  height: 124px !important;
  width: auto !important;
  max-width: 100%;
  display: block;
}

/* Second-row navigation, centred under the logo */
.mc-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 0 24px 14px;
  flex-wrap: wrap;
}
.mc-nav a {
  color: var(--da-soft-black);
  font-family: var(--mc-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
}
.mc-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--mc-blue); transition: width .25s ease;
}
.mc-nav a:hover::after { width: 100%; }
.mc-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.mc-icon-btn {
  display: flex; align-items: center; gap: 6px;
  color: var(--mc-navy); font-weight: 600; font-size: 14px;
}
.mc-cart-count {
  background: var(--mc-blue); color: #fff; border-radius: 999px;
  font-size: 11px; padding: 1px 7px; min-width: 18px; text-align: center;
}

/* ---------- Search ---------- */
.mc-search { display: flex; flex: 0 1 280px; max-width: 280px; }
.mc-search input {
  flex: 1; border: 1px solid var(--mc-line); border-right: none;
  border-radius: var(--mc-radius) 0 0 var(--mc-radius);
  padding: 9px 14px; font-size: 14px; font-family: var(--mc-body);
}
.mc-search button {
  border-radius: 0 var(--mc-radius) var(--mc-radius) 0; padding: 9px 16px;
}

/* ---------- Hero ---------- */
.mc-hero {
  background: linear-gradient(135deg, var(--da-cream-warm) 0%, var(--da-blush) 70%, var(--da-rose) 140%);
  color: var(--da-soft-black);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.mc-hero::before {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle at 80% 20%, rgba(201,168,76,.28), transparent 45%);
  pointer-events:none;
}
.mc-hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 44%);
  align-items: center;
  gap: 48px;
}
.mc-hero-content { min-width: 0; }
.mc-hero-media { display: flex; justify-content: flex-end; }
.mc-hero-media img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--mc-radius);
  display: block;
  box-shadow: var(--mc-shadow-lg);
}

/* Stack on tablet/mobile: copy first, image beneath it */
@media (max-width: 900px) {
  .mc-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .mc-hero-media { justify-content: center; }
  .mc-hero-media img { max-width: 320px; }
}
.mc-hero h1 { color: var(--da-soft-black); font-size: clamp(38px, 5.5vw, 66px); max-width: 680px; margin-bottom: 18px; }
.mc-hero p { font-size: 18px; color: var(--da-charcoal); max-width: 540px; margin-bottom: 30px; }
.mc-hero .button { font-size: 17px; padding: 15px 34px; }
.mc-eyebrow {
  display:inline-block; background: rgba(255,255,255,.55); color: var(--da-blush-deep);
  font-family: var(--mc-body); font-weight:600; font-size:12px;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px;
  border-radius: 999px; margin-bottom: 22px;
}

/* ---------- Sections ---------- */
.mc-section { padding: 64px 0; }
.mc-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.mc-section-head h2 { font-size: clamp(32px, 4vw, 46px); }
.mc-section-head p { color: var(--mc-muted); font-size: 17px; }

/* feature badges */
.mc-features {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  background: var(--mc-off); padding: 36px 0;
}
.mc-feature { text-align: center; padding: 0 16px; }
.mc-feature .ic { font-size: 28px; }
.mc-feature h4 { font-size: 16px; margin: 10px 0 4px; }
.mc-feature p { color: var(--mc-muted); font-size: 14px; margin: 0; }

/* category grid */
.mc-cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.mc-cat-card {
  position: relative; border-radius: var(--mc-radius); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--mc-shadow); display:block;
}
.mc-cat-card img { width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.mc-cat-card:hover img { transform: scale(1.06); }
.mc-cat-card .lbl {
  position:absolute; inset:0; display:flex; align-items:flex-end;
  background: linear-gradient(transparent 40%, rgba(45,45,45,.78));
  padding: 22px; color:#fff; font-family: var(--mc-display); font-weight:600; font-size:24px; letter-spacing:-.02em;
}

/* ---------- Footer ---------- */
.mc-footer { background: var(--da-soft-black); color: #D8D2CC; padding: 56px 0 24px; margin-top: 40px; }
.mc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.mc-footer h4 { color:#fff; font-size:18px; margin-bottom: 16px; letter-spacing:-.02em; }
.mc-footer a { color:#D8D2CC; display:block; padding: 4px 0; font-size:14px; }
.mc-footer a:hover { color: var(--da-gold-light); }
.mc-footer .mc-logo { color:#fff; margin-bottom:14px; }
.mc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
  display:flex; justify-content:space-between; font-size:13px; color:#9C948E; flex-wrap:wrap; gap:10px;
}

/* ---------- WooCommerce overrides ---------- */
.woocommerce ul.products { gap: 28px; display: grid; grid-template-columns: repeat(4,1fr); margin:0; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: left; }
.woocommerce ul.products li.product .mc-prod-card,
.woocommerce ul.products li.product {
  background:#fff; border:1px solid var(--mc-line); border-radius: var(--mc-radius);
  overflow:hidden; transition: box-shadow .25s ease, transform .25s ease; padding-bottom: 16px;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--mc-shadow-lg); transform: translateY(-4px); border-color: var(--da-gold-light); }
.woocommerce ul.products li.product a img { border-radius: 0; margin-bottom: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--mc-display); font-size: 21px !important; color: var(--da-soft-black);
  padding: 0 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25;
}
.woocommerce ul.products li.product .price {
  color: var(--mc-blue) !important; font-weight: 700; font-size: 18px; padding: 4px 16px 8px; display:block;
}
.woocommerce ul.products li.product .price del { color: var(--mc-muted); font-weight: 400; font-size: 14px; }
.woocommerce ul.products li.product .button { margin: 0 16px; }
.woocommerce span.onsale {
  background: var(--da-blush); color: var(--da-blush-deep); border-radius: 999px; min-height:auto;
  padding: 5px 14px; font-family: var(--mc-body); font-weight:600; font-size:12px;
  letter-spacing:.06em; text-transform:uppercase; top:12px; left:12px; margin:0;
}
.woocommerce .star-rating span { color: var(--mc-blue); }

.woocommerce div.product div.summary .price,
.woocommerce div.product p.price { color: var(--mc-blue); font-size: 28px; font-weight: 700; }
.woocommerce div.product .product_title { font-size: 32px; }

/* page title bar */
.mc-page-head { background: var(--mc-off); border-bottom:1px solid var(--mc-line); padding: 36px 0; }
.mc-page-head h1 { margin:0; font-size: 38px; }
.mc-breadcrumb { color: var(--mc-muted); font-size: 14px; margin-top: 6px; display:none; }
.mc-breadcrumb a { color: var(--mc-blue); }

.mc-main { padding: 40px 0; min-height: 50vh; }

/* sale ticker */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--mc-blue); border-radius: var(--mc-radius);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--mc-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .woocommerce ul.products { grid-template-columns: repeat(3,1fr); }
  .mc-cat-grid { grid-template-columns: repeat(2,1fr); }
  .mc-features { grid-template-columns: repeat(2,1fr); gap: 32px; }
}
@media (max-width: 768px) {
  .mc-nav, .mc-search { display: none; }
  .mc-footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
  .mc-menu-toggle { display: flex !important; }

  /* Search is hidden on mobile, so the side columns are no longer equal and
     a 1fr/auto/1fr grid would push the logo off-centre. Absolute positioning
     centres the logo regardless of how wide the action icons are. */
  .mc-header-inner {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    min-height: 64px;
  }
  .mc-logo-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
  }
  .mc-header-left { order: -1; }          /* keeps the toggle/space on the left */
  /* Kept smaller than the desktop 124px: the logo is absolutely centred, so an
     oversized one collides with the action icons on narrow screens. */
  .mc-logo-img, .mc-logo-wrap .custom-logo, .mc-logo-wrap img { height: 64px !important; }
  .mc-header-actions { gap: 14px; margin-left: auto; }
  .mc-icon-btn .mc-hide-sm { display: none; }
}
@media (max-width: 480px) {
  .mc-logo-img, .mc-logo-wrap .custom-logo, .mc-logo-wrap img { height: 54px !important; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .mc-cat-grid { grid-template-columns: 1fr; }
  .mc-features { grid-template-columns: 1fr; }
}

.mc-menu-toggle {
  display:none; background:none; border:none; padding:8px; cursor:pointer;
  flex-direction:column; gap:4px;
}
.mc-menu-toggle span { width:24px; height:2px; background: var(--mc-navy); display: none; }
.mc-mobile-nav { display:none; flex-direction:column; padding: 16px 24px; border-top:1px solid var(--mc-line); }
.mc-mobile-nav.open { display:flex; }
.mc-mobile-nav a { padding: 10px 0; font-weight:600; color: var(--mc-navy); border-bottom:1px solid var(--mc-line); }

.woocommerce ul.products::before {
    content: " ";
    display: none !important;
}

/* -------- append after this ----------------*/


/* =================================================================
   myCollectibles — Cart & Checkout BLOCK styling (WooCommerce 8.3+ / 10.8.1)
   For the modern Cart & Checkout BLOCKS (wc-block-*), not the classic shortcodes.

   HOW TO USE: paste this into Appearance → Customize → Additional CSS
   (or append to your theme's style.css). Then purge cache + hard-refresh.

   NOTE: WooCommerce considers block internals "private" and may change these
   class names in future releases. If a future Woo update breaks the look,
   re-check the class names. Setting colors via Appearance → Editor → Styles
   is the officially supported route, but requires a block theme.
   ================================================================= */

/* ---------- Shared tokens (in case loaded standalone in Customizer) ---------- */
.wc-block-cart,
.wc-block-checkout {
  /* Inherit the brand palette from :root — do not re-declare colours here,
     or they will locally override the theme tokens inside the blocks. */
  --mc-radius: 10px;
}

/* =================================================================
   BUTTONS  (the block button has NO .button class — it's .wc-block-components-button)
   ================================================================= */
.wc-block-components-button:not(.is-link) {
  background-color: var(--mc-blue);
  color: #fff;
  border: none;
  border-radius: var(--mc-radius);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.wc-block-components-button:not(.is-link):hover {
  background-color: var(--mc-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201,168,76,.32);
}
.wc-block-components-button:not(.is-link).wc-block-components-button--full-width {
  width: 100%;
  justify-content: center;
}
/* "is-link" text buttons (e.g. edit address, remove) */
.wc-block-components-button.is-link {
  color: var(--mc-blue);
}
.wc-block-components-button.is-link:hover { color: var(--mc-blue-dark); }

/* =================================================================
   CART BLOCK
   ================================================================= */

/* line-item product titles */
.wc-block-cart-item__product-name,
.wc-block-components-product-name {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  color: var(--mc-navy);
}
.wc-block-components-product-name:hover { color: var(--mc-blue); }

/* product images */
.wc-block-cart-item__image img {
  border-radius: 8px;
  border: 1px solid var(--mc-line);
}

/* table header row ("Product" / "Total") */
.wp-block-woocommerce-cart-line-items-block thead th,
.wc-block-cart__main-content table thead th {
  font-family: "Manrope", sans-serif;
  color: var(--mc-navy);
  border-bottom: 2px solid var(--mc-line);
}

/* row dividers */
.wc-block-cart-items__row {
  border-bottom: 1px solid var(--mc-line);
}

/* quantity stepper */
.wc-block-components-quantity-selector {
  border: 1px solid var(--mc-line);
  border-radius: 8px;
  overflow: hidden;
}
.wc-block-components-quantity-selector__button {
  color: var(--mc-navy);
  font-weight: 600;
}
.wc-block-components-quantity-selector__button:hover {
  background: var(--mc-off);
  color: var(--mc-blue);
}
.wc-block-components-quantity-selector__input {
  color: var(--mc-text);
  font-family: "Manrope", sans-serif;
}

/* prices */
.wc-block-components-product-price,
.wc-block-cart-item__total .wc-block-components-formatted-money-amount {
  color: var(--mc-navy);
  font-weight: 600;
}

/* remove-item link */
.wc-block-cart-item__remove-link {
  color: var(--mc-muted);
}
.wc-block-cart-item__remove-link:hover { color: #c0392b; }

/* ---------- Cart totals sidebar ("Cart totals" panel) ---------- */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-totals-block {
  background: #fff;
  margin-top: 20px;
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  box-shadow: var(--mc-shadow);
  padding: 20px 24px;
}
.wc-block-components-totals-item__label {
  color: var(--mc-text);
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
  color: var(--mc-blue);
  font-weight: 700;
}
.wc-block-components-totals-item__description,
.wc-block-components-totals-footer-item-tax {
  color: var(--mc-muted);
}

/* coupon input */
.wc-block-components-totals-coupon__input input,
.wc-block-components-text-input input {
  border-radius: var(--mc-radius);
}

/* sticky mobile "Proceed to checkout" container */
.wc-block-cart__submit-container {
  background-color: #fff;
}

/* =================================================================
   CHECKOUT BLOCK
   ================================================================= */

/* section headings (Contact, Shipping address, Payment options…) */
.wc-block-components-checkout-step__title,
.wc-block-components-title {
  font-family: "Manrope", sans-serif;
  color: var(--mc-navy);
}
.wc-block-components-checkout-step__heading-content {
  color: var(--mc-muted);
}

/* step number badges */
.wc-block-components-checkout-step__title-content,
.wc-block-checkout__main .wc-block-components-checkout-step::before {
  color: var(--mc-blue);
}

/* form field labels & inputs */
.wc-block-components-text-input label,
.wc-block-components-checkout-step__description {
  font-family: "Manrope", sans-serif;
  color: var(--mc-navy);
}
.wc-block-components-text-input input.input-text,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__container {
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  color: var(--mc-text);
  font-family: "Manrope", sans-serif;
}
/* focus state — floated label requires keeping border color too */
.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus {
  border-color: var(--mc-blue);
  box-shadow: 0 0 0 2px rgba(201,168,76,.30);
}
.wc-block-components-text-input.is-active label,
.wc-block-components-checkout-step--with-step-number .wc-block-components-text-input label {
  color: var(--mc-blue);
}

/* validation error */
.has-error input.input-text,
.wc-block-components-text-input.has-error input {
  border-color: #c0392b !important;
}
.wc-block-components-validation-error {
  color: #c0392b;
}

/* ---------- Order summary sidebar ---------- */
.wc-block-checkout__sidebar,
.wp-block-woocommerce-checkout-totals-block {
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  box-shadow: var(--mc-shadow);
  padding: 24px;
}
.wc-block-components-order-summary__content .wc-block-components-product-name {
  color: var(--mc-navy);
}
.wc-block-components-order-summary-item__total-price {
  color: var(--mc-navy);
  font-weight: 600;
}

/* quantity badge on order-summary thumbnails */
.wc-block-components-order-summary-item__quantity {
  background-color: var(--mc-navy);
  border-color: var(--mc-navy);
  box-shadow: 0 0 0 2px #fff;
  color: #fff;
}

/* checkout grand total */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--mc-blue);
}

/* payment method area */
.wc-block-components-radio-control__option {
  border-radius: 8px;
}
.wc-block-components-radio-control__input:checked {
  border-color: var(--mc-blue);
}
.wc-block-checkout__payment-method .wc-block-components-radio-control--highlight-checked
  .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  border-color: var(--mc-blue);
}

/* place-order button (full width) */
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  background-color: var(--mc-blue);
  width: 100%;
  justify-content: center;
  font-size: 17px;
  padding: 16px 24px;
}
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
  background-color: var(--mc-blue-dark);
}

/* "Return to cart" link */
.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button {
  color: var(--mc-blue);
}

/* =================================================================
   NOTICES (applied coupon, errors, login prompt)
   ================================================================= */
.wc-block-components-notice-banner {
  border-radius: var(--mc-radius);
}
.wc-block-components-notice-banner.is-info {
  border-left-color: var(--mc-blue);
}
.wc-block-components-notice-banner.is-success {
  border-left-color: var(--mc-blue);
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 768px) {
  .wc-block-cart__sidebar .wc-block-components-totals-wrapper,
  .wp-block-woocommerce-cart-totals-block,
  .wc-block-checkout__sidebar,
  .wp-block-woocommerce-checkout-totals-block {
    padding: 16px;
  }
}
.wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
    border-bottom: none !important;
}

/* Match the single-product quantity input to the header search bar */
.woocommerce div.product form.cart .quantity input.qty {
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  padding: 9px 14px;
  font-family: var(--mc-body);
  font-size: 17px;
  color: var(--mc-text);
  background: #fff;
  width: 80px;
  text-align: center;
  line-height: 1.4;
  -moz-appearance: textfield;
}

/* Focus state — subtle blue ring to match the rest of the theme */
.woocommerce div.product form.cart .quantity input.qty:focus {
  outline: none;
  border-color: var(--mc-blue);
  box-shadow: 0 0 0 3px rgba(201,168,76,.30);
}

/* Match the shop "sort by" dropdown to the header search bar */
.woocommerce .woocommerce-ordering select.orderby,
.woocommerce-page .woocommerce-ordering select.orderby {
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  padding: 9px 38px 9px 14px;        /* extra right padding for the arrow */
  font-family: var(--mc-body);
  font-size: 14px;
  color: var(--mc-text);
  background-color: #fff;
  line-height: 1.4;
  cursor: pointer;
  max-width: 100%;

  /* remove native styling so the box matches across browsers */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* custom navy dropdown arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23011D49' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Focus state — same subtle blue ring used elsewhere */
.woocommerce .woocommerce-ordering select.orderby:focus,
.woocommerce-page .woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: var(--mc-blue);
  box-shadow: 0 0 0 3px rgba(201,168,76,.30);
}

.woocommerce div.product .product_meta > span {
  display: block;
  margin-bottom: 6px;
  color: var(--mc-muted);
}
.woocommerce div.product .product_meta .posted_in a { color: var(--mc-blue); }

/* ---------- Header mini-cart flyout ---------- */
.mc-cart-wrap { position: relative; }

.mc-minicart {
	position: absolute;
	top: 100%;
	right: 0;
	width: 360px;
	max-width: 92vw;
	background: #fff;
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-radius);
	box-shadow: var(--mc-shadow-lg);
	padding: 18px;
	z-index: 200;

	/* hidden until hover */
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

/* small hover bridge so the gap between icon and panel doesn't drop the hover */
.mc-cart-wrap::after {
	content: "";
	position: absolute;
	top: 100%; right: 0;
	width: 360px; max-width: 92vw; height: 14px;
}

.wc-block-components-product-metadata {
	display: none;
}

.mc-cart-wrap:hover .mc-minicart,
.mc-cart-wrap:focus-within .mc-minicart {
	opacity: 1;
	visibility: visible;
	transform: translateY(6px);
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__header,table.wc-block-cart-items .wc-block-cart-items__header {
    font-size: 18px;
    line-height: 1.4;
    text-transform: none;
}

/* style WooCommerce's widget innards to match the theme */
.mc-minicart .widget_shopping_cart_content ul.cart_list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	max-height: 320px;
	overflow-y: auto;
}
.mc-minicart ul.cart_list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--mc-line);
	font-size: 14px;
}
.mc-minicart ul.cart_list li a {
	font-family: var(--mc-display);
	font-weight: 600;
	color: var(--mc-navy);
	width: 180px;
	display: contents;
}
.mc-minicart ul.cart_list li img {
	width: 48px; height: 48px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--mc-line);
	float: none !important;
	margin: 0 !important;
}
.mc-minicart ul.cart_list li a.remove {
	color: var(--mc-muted) !important;
	border: 1px solid var(--mc-line);
	border-radius: 50%;
	width: 22px; height: 22px; line-height: 20px;
	text-align: center;
	flex-shrink: 0;
}
.mc-minicart ul.cart_list li a.remove:hover {
	background: #c0392b !important;
	color: #fff !important;
	border-color: #c0392b;
}
.mc-minicart .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	font-family: var(--mc-display);
	padding: 12px 0;
	margin: 0;
	border-bottom: 2px solid var(--mc-line);
	color: var(--mc-navy);
}
.mc-minicart .woocommerce-mini-cart__total .amount { color: var(--mc-blue); }

.mc-minicart .woocommerce-mini-cart__buttons {
	display: flex;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
}
.mc-minicart .woocommerce-mini-cart__buttons .button {
	flex: 1;
	text-align: center;
	margin: 0;
}
/* "View cart" = outline, "Checkout" = solid blue */
.mc-minicart .woocommerce-mini-cart__buttons .button:not(.checkout) {
	background: transparent;
	color: var(--mc-navy);
	border: 2px solid var(--mc-navy);
	padding: 10px 14px;
}
.mc-minicart .woocommerce-mini-cart__buttons .button:not(.checkout):hover {
	background: var(--mc-navy);
	color: #fff;
}
.mc-minicart .woocommerce-mini-cart__buttons .button.checkout {
	background: var(--mc-blue);
}
.mc-minicart p.woocommerce-mini-cart__empty-message {
	color: var(--mc-muted);
	text-align: center;
	margin: 8px 0;
}

/* On touch / small screens, hover isn't reliable — just hide the flyout and
   let the icon link straight to the cart page. */
@media (max-width: 768px) {
	.mc-minicart, .mc-cart-wrap::after { display: none; }
}


.wc-block-cart .wc-block-cart__totals-title {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	display: inline;
	display: block;
	font-family: inherit;
	font-size: inherit;
	font-size: 18px;
	font-style: inherit;
	font-weight: inherit;
	font-weight: 500;
	letter-spacing: inherit;
	line-height: inherit;
	line-height: 1.4;
	margin: 0;
	padding: 8px 16px 10px 0;
	text-align: left;
	text-decoration: inherit;
	text-transform: inherit;
	text-transform: none;
	vertical-align: baseline
}

.woocommerce table.shop_attributes td {
    font-style: normal !important;
    padding: 0;
    border-top: 0;
    border-bottom: 1px dotted rgba(0,0,0,.1);
    margin: 0;
    line-height: 1.5;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    max-width: max-content;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    font-size: 18px;
    line-height: 1.4;
    text-align: right;
}

.price-vat-note {
    display: inline;
    margin-left: 4px;
    font-size: 0.45em;
    font-weight: 400;
    white-space: nowrap;
}

.wc-block-components-radio-control__description,.wc-block-components-radio-control__label,.wc-block-components-radio-control__secondary-description,.wc-block-components-radio-control__secondary-label {
    font-size: var(--wp--preset--font-size--medium,14px);
    line-height: 1.4
}

/* =========================================================================
   Product meta card — myCollectibles
   Port of the WD (wallpaper calculator) card language to the --mc-* tokens.

   Markup it targets (last child of .summary.entry-summary):

     <div class="product_meta">
       <span class="availability-info"><b>Διαθεσιμότητα: …</b></span>
       <span class="product-id-wrapper">Κωδικός Προϊόντος: <span class="product-id">1216</span></span>
       <span class="posted_in">Κατηγορίες: <a rel="tag">…</a>, …</span>
       <span class="tagged_as">Ετικέτες: <a rel="tag">…</a>, …</span>
     </div>

   Same shell as wallndesign: soft fill, hairline border, 3px accent left
   edge, rounded corners. No icons. Category / tag labels are suppressed;
   the terms speak for themselves as pills.

   Replaces the two old rules in style.css:
     .woocommerce div.product .product_meta > span { … }
     .woocommerce div.product .product_meta .posted_in a { … }
   ========================================================================= */

.single-product .summary .product_meta {
	display: block;
	margin: 1.5em 0 0;
	padding: 1.1em 1.2em;
	font-size: 16px;
	line-height: 1.6;
	color: var(--mc-text, #4A4A4A);
	background: var(--mc-off, #FAF6F2);
	border: 1px solid var(--mc-line, #F5EDE6);
	border-left: 3px solid var(--mc-blue, #C9A84C);
	border-radius: var(--mc-radius, 10px);
}

/* ---------- rows ---------- */

.single-product .summary .product_meta > span {
	display: block;
	margin: 0;
	padding: 0.75em 0;
	color: inherit;
	/* border-top: 1px dashed var(--mc-line, #F5EDE6); */
	border-top: 0;
}

.single-product .summary .product_meta > span:first-child {
	padding-top: 0;
	border-top: 0;
}

.single-product .summary .product_meta > span:last-child {
	padding-bottom: 0;
}

/* ---------- availability ----------
   Label and value are one text node inside <b>, so the row is styled whole
   and tinted with the accent — it's the line that decides a purchase. */

.single-product .summary .product_meta .availability-info b {
	display: inline-flex;
	align-items: center;
	padding: 0.34em 0.85em;
	font-family: var(--mc-display, "Manrope", sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--mc-blue, #C9A84C);
	background: #eef4ff;
	background: color-mix(in srgb, var(--mc-blue, #C9A84C) 8%, #fff);
	border: 1px solid rgba(0, 93, 253, 0.3);
	border-color: color-mix(in srgb, var(--mc-blue, #C9A84C) 30%, transparent);
	border-radius: 999px;
}

/* ---------- product code ----------
   Quiet utility line. To drop it entirely, uncomment the second block. */

.single-product .summary .product_meta .product-id-wrapper {
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--mc-muted, #5c6b86);
}

.single-product .summary .product_meta .product-id {
	font-weight: 600;
	color: var(--mc-text, #4A4A4A);
}

/*
.single-product .summary .product_meta .product-id-wrapper {
	display: none;
}
*/

/* ---------- categories + tags ----------
   font-size: 0 swallows the bare label text node ("Κατηγορίες: ") and the
   ", " separators between terms. Every <a> gets its size back below.
   Caveat: any value rendered as bare text with no <a> wrapper would vanish. */

.single-product .summary .product_meta .posted_in,
.single-product .summary .product_meta .tagged_as {
	font-size: 0;
}

/* Bottom padding is trimmed by the pills' own bottom margin so rows stay even */
.single-product .summary .product_meta .posted_in {
	padding-bottom: calc(0.75em - 0.4rem);
}

.single-product .summary .product_meta .tagged_as {
	padding-bottom: calc(0.75em - 0.35rem);
}

.single-product .summary .product_meta .posted_in:last-child {
	margin-bottom: -0.4rem;
}

.single-product .summary .product_meta .tagged_as:last-child {
	margin-bottom: -0.35rem;
}

/* ---------- pills ---------- */

.single-product .summary .product_meta a[rel="tag"] {
	display: inline-flex;
	align-items: center;
	margin: 0 0.4rem 0.4rem 0;
	padding: 0.3em 0.75em;
	font-family: var(--mc-display, "Manrope", sans-serif);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	color: var(--mc-text, #4A4A4A);
	background: #fff;
	border: 1px solid var(--mc-line, #F5EDE6);
	border-radius: 999px;
	transition: color 0.18s ease, background-color 0.18s ease,
		border-color 0.18s ease, box-shadow 0.18s ease;
}

.single-product .summary .product_meta a[rel="tag"]:hover,
.single-product .summary .product_meta a[rel="tag"]:focus-visible {
	color: #fff;
	background: var(--mc-blue, #C9A84C);
	border-color: var(--mc-blue, #C9A84C);
	box-shadow: 0 4px 12px rgba(0, 93, 253, 0.25);
}

.single-product .summary .product_meta a[rel="tag"]:focus-visible {
	outline: 2px solid rgba(0, 93, 253, 0.35);
	outline-offset: 2px;
}

/* Categories are the primary taxonomy: heavier, accent-edged */
.single-product .summary .product_meta .posted_in a[rel="tag"] {
	font-weight: 600;
	border-color: rgba(0, 93, 253, 0.28);
}

/* Tags are secondary: smaller, muted until hovered */
.single-product .summary .product_meta .tagged_as a[rel="tag"] {
	margin-bottom: 0.35rem;
	padding: 0.22em 0.6em;
	font-size: 13px;
	font-weight: 400;
	color: var(--mc-muted, #5c6b86);
}

/* ---------- small screens ---------- */

@media (max-width: 575px) {
	.single-product .summary .product_meta {
		padding: 1em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.single-product .summary .product_meta a[rel="tag"] {
		transition: none;
	}
}


/* =========================================================================
   Licensed-product assurance badge
   Sits directly under the product meta card (priority 41 on
   woocommerce_single_product_summary). Same card family, white fill so the
   meta card stays primary; the 3px accent edge keeps both on one left rail.
   ========================================================================= */
 
.single-product .summary .mc-assurance {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0.75em 0 0;
	padding: 0.85em 1.2em;
	color: var(--mc-navy, #2D2D2D);
	background: #fff;
	border: 1px solid var(--mc-line, #F5EDE6);
	border-left: 3px solid var(--mc-blue, #C9A84C);
	border-radius: var(--mc-radius, 10px);
}
 
.single-product .summary .mc-assurance__icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--mc-blue, #C9A84C);
}
 
.single-product .summary .mc-assurance__icon svg {
	display: block;
}
 
.single-product .summary .mc-assurance__text {
	font-family: var(--mc-display, "Manrope", sans-serif);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.01em;
}
 
@media (max-width: 575px) {
	.single-product .summary .mc-assurance {
		padding: 0.85em 1em;
	}
 
	.single-product .summary .mc-assurance__text {
		font-size: 14px;
	}
}

/* Smallest phones: the centred logo must not collide with the header icons.
   Placed last so it overrides the 480px rule (equal specificity, later wins). */
@media (max-width: 360px) {
  .mc-logo-img, .mc-logo-wrap .custom-logo, .mc-logo-wrap img { height: 38px !important; }
  .mc-header-inner { padding: 10px 12px; }
}
