/* ==========================================================================
   Golden Rugs storefront theme (2026 redesign)
   Loaded after assets/css/style.css. Overrides the original template's
   variables and adds gr-* components used by the new Blade views.
   Palette: traditional rug dyes — madder red, indigo, saffron gold on linen.
   ========================================================================== */

:root {
  --gr-radius-btn: 10px; /* buttons, quantity steppers, search fields. Tags and badges stay round */
  /* Brand tokens */
  --gr-linen: #F5EFE6;      /* page background */
  --gr-paper: #FFFCF7;      /* cards, header */
  --gr-ink: #231A14;        /* text, dark buttons */
  --gr-muted: #5F534A;      /* secondary text (7:1 on linen) */
  --gr-line: #E3D8C8;       /* borders */
  --gr-line-soft: #EFE6D8;
  --gr-madder: #7B2D26;     /* primary accent */
  --gr-madder-dark: #5E211B;
  --gr-madder-tint: #F3E3DC;
  --gr-indigo: #1F2E45;     /* dark sections */
  --gr-saffron: #E9C98B;    /* highlights on dark */
  --gr-brass: #C9973F;
  --gr-radius: 14px;
  --gr-radius-lg: 20px;
  --gr-ease: cubic-bezier(.2, .7, .2, 1);
  --gr-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --gr-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Re-map the original template variables so every existing page picks up the new look */
  --font-playfair: var(--gr-font-display);
  --font-worksans: var(--gr-font-body);
  --primary-color: var(--gr-ink);
  --dark-primary-color: var(--gr-ink);
  --primary-color-opc: 35, 26, 20;
  --title-color: var(--gr-ink);
  --dark-title-color: var(--gr-ink);
  --title-color-opc: 35, 26, 20;
  --text-color: var(--gr-muted);
  --dark-text-color: var(--gr-muted);
  --text-color2: var(--gr-muted);
  --text-color-opc: 95, 83, 74;
  --border-color: var(--gr-line);
  --border-color-opc: 227, 216, 200;
  --section-bg-color: var(--gr-linen);
  --section-bg-color2: var(--gr-paper);
}

body {
  background-color: var(--gr-linen);
  color: var(--gr-ink);
  font-family: var(--gr-font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--gr-font-display); font-weight: 400; color: var(--gr-ink); }
a { color: inherit; }
a:hover { color: var(--gr-madder); }
::selection { background: var(--gr-madder-tint); }
:focus-visible { outline: 2px solid var(--gr-madder); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.gr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--gr-radius-btn); border: 1px solid transparent;
  font-family: var(--gr-font-body); font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.gr-btn:active { transform: translateY(1px); }
.gr-btn-primary { background: var(--gr-madder); color: #fff; }
.gr-btn-primary:hover { background: var(--gr-madder-dark); color: #fff; }
.gr-btn-dark { background: var(--gr-ink); color: #fff; }
.gr-btn-dark:hover { background: #000; color: #fff; }
.gr-btn-outline { border-color: var(--gr-ink); color: var(--gr-ink); background: transparent; }
.gr-btn-outline:hover { background: var(--gr-ink); color: #fff; }
.gr-btn-light { background: var(--gr-saffron); color: var(--gr-ink); }
.gr-btn-light:hover { background: #F0D6A3; color: var(--gr-ink); }
.gr-btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.gr-btn-ghost-light:hover { background: #fff; color: var(--gr-ink); }
.gr-btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.gr-link { color: var(--gr-madder); font-weight: 600; text-decoration: none; }
.gr-link:hover { color: var(--gr-madder-dark); text-decoration: underline; }

/* Template buttons re-skinned */
.primary-btn1, .primary-btn2, .primary-btn3, .header-btn, .view-all-btn, .custom-button {
  border-radius: var(--gr-radius-btn) !important;
}
.header-btn, .primary-btn1 { background-color: var(--gr-madder) !important; border-color: var(--gr-madder) !important; color: #fff !important; }
.header-btn:hover, .primary-btn1:hover { background-color: var(--gr-madder-dark) !important; }
.view-all-btn { color: var(--gr-madder) !important; font-weight: 600; }
.custom-button { background: var(--gr-ink) !important; color: #fff !important; min-height: 48px; padding: 0 28px !important; border: 0 !important; font-weight: 600; }
.btn-dark, .btn-primary { background-color: var(--gr-ink); border-color: var(--gr-ink); border-radius: var(--gr-radius-btn); }
.btn-dark:hover, .btn-primary:hover { background-color: var(--gr-madder); border-color: var(--gr-madder); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-control, .form-select, .nice-select {
  min-height: 48px; border: 1px solid #D9CDBB !important; border-radius: 10px !important;
  background-color: var(--gr-paper) !important; color: var(--gr-ink) !important; font-size: 15px;
  box-shadow: none !important;
}
textarea.form-control { min-height: 120px; padding-top: 12px; }
.form-control:focus, .form-select:focus { border-color: var(--gr-madder) !important; box-shadow: 0 0 0 3px var(--gr-madder-tint) !important; }
.form-label, .form-inner label { font-weight: 600; font-size: 14px; color: var(--gr-ink); margin-bottom: 6px; text-transform: none; }
.form-check-input:checked { background-color: var(--gr-madder); border-color: var(--gr-madder); }
.gr-help { font-size: 12px; color: var(--gr-muted); margin-top: 6px; }
.gr-required { color: var(--gr-madder); }

/* --------------------------------------------------------------------------
   Cards, sections, typography helpers
   -------------------------------------------------------------------------- */
.gr-container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 575px) { .gr-container { padding: 0 16px; } }
.gr-section { padding: 96px 0; }
@media (max-width: 767px) { .gr-section { padding: 64px 0; } }
.gr-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--gr-font-body); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gr-madder); font-weight: 600; margin-bottom: 16px; }
.gr-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.gr-eyebrow.no-rule::before { display: none; }
.gr-display { font-family: var(--gr-font-display); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; font-size: clamp(42px, 6vw, 76px); margin: 0 0 24px; }
.gr-h2 { font-family: var(--gr-font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.06; font-size: clamp(32px, 4vw, 52px); margin: 0; }
.gr-display em, .gr-h2 em { color: var(--gr-madder); font-style: italic; }
.gr-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--gr-muted); }
.gr-card { background: var(--gr-paper); border: 1px solid var(--gr-line); border-radius: var(--gr-radius-lg); }
.gr-chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.gr-chip-new { background: var(--gr-paper); color: var(--gr-madder); }
.gr-head-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }

/* Kilim band — echoes the woven border in the logo */
.gr-kilim {
  height: 22px; background-color: var(--gr-indigo); background-repeat: repeat-x;
  background-image: url("../img/gr/kilim.svg");
}

/* --------------------------------------------------------------------------
   Announcement bar + header
   -------------------------------------------------------------------------- */
.gr-announce { background: var(--gr-indigo); color: #F1E6D2; font-size: 13px; }
.gr-announce .gr-container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.gr-announce strong { color: var(--gr-saffron); font-weight: 600; }
.gr-announce a { color: #F1E6D2; font-weight: 600; text-decoration: none; }

.topbar { background: var(--gr-paper) !important; border-bottom: 1px solid var(--gr-line-soft); }
.topbar .search-area .form-inner input, .search-area .form-inner input {
  border-radius: var(--gr-radius-btn) !important; background: var(--gr-linen) !important; border: 1px solid var(--gr-line) !important;
}
.header-area { background: var(--gr-paper) !important; border-bottom: 1px solid var(--gr-line); }
.header-area .main-menu .menu-list > li > a { font-family: var(--gr-font-body); font-weight: 500; font-size: 15px; color: var(--gr-ink); text-transform: none; }
.header-area .main-menu .menu-list > li > a:hover, .header-area .main-menu .menu-list > li.active > a { color: var(--gr-madder); }
.header-area .main-menu .menu-list > li .sub-menu { border-radius: 12px; border: 1px solid var(--gr-line); background: var(--gr-paper); box-shadow: 0 16px 40px rgba(35, 26, 20, .12); }
.header-area .alert-info { background: var(--gr-paper); border: 1px solid var(--gr-line); border-radius: 12px; color: var(--gr-ink); margin-top: 10px; margin-bottom: 10px; }
.header-area .alert-info b { color: var(--gr-madder); }
.header-area .alert-info .btn { border-radius: 999px; width: 40px; height: 40px; padding: 0; background: var(--gr-indigo) !important; }

/* --------------------------------------------------------------------------
   Homepage
   -------------------------------------------------------------------------- */
.gr-hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding: 64px 0 72px; }
.gr-hero-text { flex: 1 1 460px; min-width: 0; }
.gr-hero-media { flex: 1 1 520px; min-width: 0; position: relative; height: 600px; }
.gr-hero-arch { position: absolute; top: 0; right: 0; width: 64%; height: 560px; border-radius: 280px 280px 12px 12px; overflow: hidden; background: #E9DFD0; }
.gr-hero-inset { position: absolute; bottom: 0; left: 0; width: 52%; height: 300px; border-radius: 12px; overflow: hidden; border: 8px solid var(--gr-linen); }
.gr-hero-arch img, .gr-hero-inset img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gr-hero-tag { position: absolute; top: 56px; left: 4%; background: var(--gr-paper); border: 1px solid var(--gr-line); border-radius: 12px; padding: 16px 18px; width: 220px; }
.gr-hero-tag p { margin: 0; }
.gr-checks { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--gr-muted); list-style: none; padding: 0; margin: 0; }
.gr-checks li { display: flex; gap: 8px; align-items: center; }
.gr-checks li::before { content: ""; width: 16px; height: 16px; background: url("../img/gr/check.svg") center / contain no-repeat; }
@media (max-width: 991px) {
  .gr-hero-media { height: 440px; }
  .gr-hero-arch { height: 420px; }
  .gr-hero-inset { height: 220px; }
}
@media (max-width: 575px) {
  .gr-hero { padding: 40px 0 48px; gap: 32px; }
  .gr-hero-media { height: 360px; }
  .gr-hero-arch { height: 340px; width: 72%; }
  .gr-hero-inset { height: 180px; width: 56%; }
  .gr-hero-tag { display: none; }
}

.gr-stats { background: var(--gr-indigo); color: #F1E6D2; }
.gr-stats .gr-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 56px; }
.gr-stat-num { font-family: var(--gr-font-display); font-size: 56px; line-height: 1; color: var(--gr-saffron); font-variant-numeric: tabular-nums; margin: 0; }
.gr-stat-label { margin: 10px 0 0; font-size: 15px; color: #C9C2B6; }

.gr-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 20px; }
.gr-bento a { position: relative; display: block; border-radius: 16px; overflow: hidden; background: #E9DFD0; text-decoration: none; }
.gr-bento a img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gr-bento a.is-feature { grid-column: span 2; grid-row: span 2; }
.gr-bento .gr-plate { position: absolute; left: 14px; bottom: 14px; background: var(--gr-paper); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 16px; color: var(--gr-ink); }
.gr-bento a.is-feature .gr-plate { left: 20px; bottom: 20px; padding: 16px 20px; font-family: var(--gr-font-display); font-weight: 400; font-size: 30px; }
@media (max-width: 991px) { .gr-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; } }
@media (max-width: 575px) { .gr-bento { grid-template-columns: 1fr; } .gr-bento a.is-feature { grid-column: auto; grid-row: span 1; } }

.gr-steps { background: var(--gr-madder); color: #fff; }
.gr-steps .gr-h2 { color: #fff; }
.gr-step { border-top: 1px solid rgba(255, 252, 247, .35); padding-top: 24px; }
.gr-step-num { font-family: var(--gr-font-display); font-size: 44px; color: var(--gr-saffron); line-height: 1; margin: 0 0 12px; }
.gr-step h3 { font-family: var(--gr-font-body); font-size: 20px; font-weight: 600; color: #fff; margin: 0 0 8px; }
.gr-step p { margin: 0; color: #F1DCD5; line-height: 1.6; }

.gr-feature-card { padding: 28px; height: 100%; }
.gr-feature-card h3 { font-family: var(--gr-font-body); font-size: 19px; font-weight: 600; margin: 16px 0 8px; }
.gr-feature-card p { margin: 0; color: var(--gr-muted); line-height: 1.6; }
.gr-feature-card i { font-size: 30px; color: var(--gr-madder); }

.gr-visit dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; font-size: 15px; margin: 0 0 32px; }
.gr-visit dt { color: var(--gr-muted); font-weight: 400; margin-bottom: 4px; }
.gr-visit dd { margin: 0; font-weight: 600; }

/* --------------------------------------------------------------------------
   Product card (frontend.components.product-card-component)
   -------------------------------------------------------------------------- */
.auction-card { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.auction-card .auction-card-img-wrap { border-radius: 14px !important; background: #E9DFD0; height: auto !important; aspect-ratio: 3 / 4; }
.auction-card .auction-card-img-wrap img { object-fit: cover !important; transition: transform .8s var(--gr-ease); }
.auction-card:hover .auction-card-img-wrap img { transform: scale(1.04); }
.auction-card h6, .auction-card h6 a { font-family: var(--gr-font-display); font-weight: 400; font-size: 20px; color: var(--gr-ink); }
.auction-card .imgs-thumbnail-container .img-thumbnail { border-radius: 8px; border-color: var(--gr-line); }

.gr-product-card { display: flex; flex-direction: column; height: 100%; }
.gr-product-media { display: block; border-radius: 14px; overflow: hidden; background: #E9DFD0; aspect-ratio: 3 / 4; }
.gr-product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gr-product-swatches { display: flex; gap: 6px; margin-top: 10px; }
.gr-product-swatches img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; border: 1px solid var(--gr-line); }
.gr-product-name { font-family: var(--gr-font-display); font-weight: 400; font-size: 20px; line-height: 1.25; margin: 14px 0 2px; }
.gr-product-name a { color: var(--gr-ink); text-decoration: none; }
.gr-product-name a:hover { color: var(--gr-madder); }
.gr-product-meta { font-size: 13px; color: var(--gr-muted); margin: 0; }
.gr-product-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gr-product-price { margin: 0; font-size: 15px; color: var(--gr-ink); }
.gr-product-price strong { font-weight: 600; }
.gr-product-from { font-size: 13px; color: var(--gr-muted); margin-right: 2px; }
.gr-product-was { color: #8C8178; margin-right: 6px; font-size: 13px; }
.gr-product-login { margin: 8px 0 0; font-size: 14px; }
.gr-product-login a { color: var(--gr-madder); font-weight: 500; text-decoration: none; }

/* --------------------------------------------------------------------------
   Shop page (Livewire frontend.shop-page)
   -------------------------------------------------------------------------- */
.shop-page, .shop-section, .auction-grid-section { background: var(--gr-linen); }
.filter-container-label { min-height: 44px; display: flex; align-items: center; font-size: 15px; color: var(--gr-ink); }
.filter-container-label input { accent-color: var(--gr-madder); }
.widget-title h5, .sidebar-widget h5, .shop-sidebar h5 { font-family: var(--gr-font-body) !important; font-weight: 600 !important; font-size: 15px !important; }
.wp-block-search__input { border-radius: var(--gr-radius-btn) !important; background: var(--gr-paper) !important; }
.wp-block-search__button { border-radius: var(--gr-radius-btn) !important; background: var(--gr-ink) !important; }

/* Shop banner (category / page breadcrumb image) as a rounded indigo card */
.breadcrumb-section2 {
  position: relative; max-width: 1256px; margin: 28px auto 0; border-radius: var(--gr-radius-lg);
  overflow: hidden; min-height: 240px; padding: 40px 0 !important; background-size: cover; background-position: center;
}
.breadcrumb-section2::before { content: ""; position: absolute; inset: 0; background: rgba(31, 46, 69, .62); }
.breadcrumb-section2 > .container { position: relative; z-index: 1; }
.breadcrumb-section2 h1 { font-family: var(--gr-font-display); font-weight: 400; color: #fff; font-size: clamp(36px, 5vw, 56px); }
.breadcrumb-section2 p { color: #E4DED3 !important; max-width: 560px; }
.breadcrumb-section2 .top-content ul li, .breadcrumb-section2 .top-content ul li a { color: #E4DED3; font-size: 13px; }
@media (max-width: 1290px) { .breadcrumb-section2 { margin-left: 16px; margin-right: 16px; } }

/* Shop sidebar */
.sidebar-area .single-widgets { background: var(--gr-paper); border: 1px solid var(--gr-line); border-radius: 16px; padding: 20px; margin-bottom: 16px !important; }
.sidebar-area .widget-title { margin-bottom: 12px; }
.checkbox-container { min-height: 40px; }
.checkbox-container .check-icon { border-color: var(--gr-line) !important; border-radius: 6px; }
.checkbox-container input:checked + .check-icon, .checkbox-container .check-icon.checked { background: var(--gr-madder) !important; border-color: var(--gr-madder) !important; }

/* Product page + quick add */
.auction-details-section { padding-top: 24px; }
.auction-details-content h3 { font-family: var(--gr-font-display); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1.04; }
.auction-details-content .batch h6 { font-family: var(--gr-font-body); font-weight: 400; color: var(--gr-muted); }
.auction-details-content .artist-info { list-style: none; padding: 16px 0; margin: 16px 0 8px; border-top: 1px solid var(--gr-line); border-bottom: 1px solid var(--gr-line); }
.auction-details-content .artist-info strong, .auction-details-content .artist-info .price { font-family: var(--gr-font-display); font-weight: 400; font-size: 34px; color: var(--gr-ink); }
.quantity-area h6 { font-family: var(--gr-font-body); font-weight: 600; font-size: 15px; color: var(--gr-ink); }
.values-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.values-container span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 88px; padding: 0 16px;
  border: 1px solid var(--gr-line); border-radius: 12px; background: var(--gr-paper); color: var(--gr-ink);
  font-weight: 500; cursor: pointer; transition: border-color .2s ease, background-color .2s ease;
}
.values-container span:hover { border-color: var(--gr-madder); }
.values-container span.active { border: 2px solid var(--gr-madder); background: var(--gr-madder-tint); color: var(--gr-madder); font-weight: 600; }
.auction-details-section .btn, #quickAddOffcanva .btn { border-radius: var(--gr-radius-btn); }
.auction-details-img img, .splide__slide img { border-radius: 16px; }
.thumbnails .thumbnail img, .thumbnail-image { border-radius: 10px; }

/* --------------------------------------------------------------------------
   Offcanvas (cart, quick add) and modals
   -------------------------------------------------------------------------- */
.offcanvas { background: var(--gr-paper); border-left: 0 !important; box-shadow: -20px 0 40px rgba(35, 26, 20, .18); }
@media (min-width: 576px) { .offcanvas.offcanvas-end { width: 480px; } }
.offcanvas-header { border-bottom: 1px solid var(--gr-line); padding: 20px 24px; }
.offcanvas-title { font-family: var(--gr-font-display); font-size: 28px; }
.offcanvas-body { padding: 8px 24px 24px; }
.modal-content { background: var(--gr-paper); border: 0; border-radius: var(--gr-radius-lg); }
.modal-header { border-bottom: 1px solid var(--gr-line); }
.modal-title { font-family: var(--gr-font-display); }

.gr-cart-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--gr-line-soft); }
.gr-cart-item img { width: 84px; height: 112px; object-fit: cover; border-radius: 10px; flex: none; background: #E9DFD0; }
.gr-cart-item .gr-cart-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gr-cart-name { font-family: var(--gr-font-display); font-size: 18px; margin: 0; }
.gr-cart-meta { font-size: 13px; color: var(--gr-muted); margin: 0; }
.gr-qty { display: inline-flex; align-items: center; border: 1px solid var(--gr-line); border-radius: var(--gr-radius-btn); height: 44px; }
.gr-qty button { width: 40px; height: 42px; border: 0; background: transparent; font-size: 18px; color: var(--gr-ink); }
.gr-qty span, .gr-qty input { min-width: 28px; width: 36px; text-align: center; font-weight: 600; border: 0; background: transparent; }
.gr-text-btn { border: 0; background: transparent; color: var(--gr-madder); font-size: 13px; text-decoration: underline; min-height: 44px; padding: 0 6px; }
.gr-cart-total { border-top: 1px solid var(--gr-line); padding-top: 20px; margin-top: 8px; }
.gr-cart-total .gr-amount { font-family: var(--gr-font-display); font-size: 30px; }

/* --------------------------------------------------------------------------
   Auth pages (login, dealer application, sales rep application)
   -------------------------------------------------------------------------- */
.gr-auth { display: flex; flex-wrap: wrap; min-height: 80vh; }
.gr-auth-visual { flex: 1 1 480px; min-width: 0; position: relative; background: var(--gr-indigo); color: #fff; overflow: hidden; min-height: 420px; }
.gr-auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.gr-auth-visual::after { content: ""; position: absolute; inset: 0; background: rgba(31, 46, 69, .55); }
.gr-auth-visual .gr-auth-copy { position: relative; z-index: 1; height: 100%; box-sizing: border-box; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; }
.gr-auth-visual h2 { color: #fff; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; margin: 0 0 16px; }
.gr-auth-visual h2 em { color: var(--gr-saffron); }
.gr-auth-visual p { color: #E4DED3; font-size: 17px; line-height: 1.6; margin: 0; }
.gr-auth-form { flex: 1 1 460px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 56px 32px; }
.gr-auth-form > div { width: 100%; max-width: 440px; }
.gr-auth-form h1 { font-size: clamp(34px, 4vw, 44px); margin: 0 0 8px; }
.gr-divider { display: flex; align-items: center; gap: 12px; color: var(--gr-muted); font-size: 13px; margin: 32px 0; }
.gr-divider::before, .gr-divider::after { content: ""; flex: 1; height: 1px; background: var(--gr-line); }
.gr-choice { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--gr-line); border-radius: 14px; background: var(--gr-paper); text-decoration: none; color: var(--gr-ink); height: 100%; }
.gr-choice:hover { border-color: var(--gr-madder); }
.gr-choice span { font-size: 13px; color: var(--gr-muted); }
.gr-form-section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--gr-line-soft); }
.gr-form-section:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.gr-form-section h2 { font-family: var(--gr-font-body); font-size: 17px; font-weight: 600; margin: 0 0 18px; display: flex; gap: 10px; align-items: center; }
.gr-form-section h2 .gr-step-dot { width: 28px; height: 28px; border-radius: 14px; background: var(--gr-madder); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.gr-next { background: var(--gr-indigo); color: #F1E6D2; border-radius: 18px; padding: 28px; }
.gr-next h2 { font-family: var(--gr-font-body); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gr-saffron); margin: 0 0 18px; }
.gr-next ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.gr-next li { display: flex; gap: 14px; }
.gr-next li b { font-family: var(--gr-font-display); font-weight: 400; font-size: 22px; color: var(--gr-saffron); line-height: 1; }
.gr-secure { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #EAF0F6; border-radius: 12px; font-size: 14px; line-height: 1.5; color: var(--gr-indigo); }

/* --------------------------------------------------------------------------
   Dealer dashboard
   -------------------------------------------------------------------------- */
.dashboard-section { padding-top: 40px; }
.dashboard-sidebar-menu ul { background: var(--gr-indigo) !important; border: 0 !important; border-radius: var(--gr-radius-lg) !important; padding: 16px !important; }
.dashboard-sidebar-menu ul li a { border: 0 !important; border-radius: 10px !important; background: transparent !important; min-height: 46px; }
.dashboard-sidebar-menu ul li a, .dashboard-sidebar-menu ul li a h5 { color: #E4DED3 !important; font-family: var(--gr-font-body) !important; font-weight: 500; font-size: 15px; }
.dashboard-sidebar-menu ul li a svg, .dashboard-sidebar-menu ul li a svg path { fill: #E4DED3 !important; stroke: #E4DED3; }
.dashboard-sidebar-menu ul li.active a { background: rgba(233, 201, 139, .16) !important; }
.dashboard-sidebar-menu ul li.active a, .dashboard-sidebar-menu ul li.active a h5 { color: #fff !important; font-weight: 600; }
.dashboard-content-wrap { background: transparent !important; border: 0 !important; padding: 0 !important; }
.dashboard-content-wrap .single-content, .dashboard-profile-content { background: var(--gr-paper); border: 1px solid var(--gr-line); border-radius: var(--gr-radius-lg); }
.gr-stat-card { display: block; background: var(--gr-paper); border: 1px solid var(--gr-line); border-radius: 16px; padding: 20px; text-decoration: none; color: var(--gr-ink); }
.gr-stat-card .gr-dot { width: 8px; height: 8px; border-radius: 4px; display: inline-block; }
.gr-status { display: inline-flex; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.gr-status-pending { background: #F6EBD3; color: #7A5A1A; }
.gr-status-processing { background: #E3EAF2; color: #2C4664; }
.gr-status-completed { background: #E2EFE7; color: #2D5E43; }
.gr-status-canceled, .gr-status-declined { background: #EEEAE4; color: var(--gr-muted); }
.table { --bs-table-bg: var(--gr-paper); }
.table thead th { font-family: var(--gr-font-body); font-weight: 600; font-size: 13px; color: var(--gr-muted); border-bottom-color: var(--gr-line); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-section { background: var(--gr-indigo) !important; color: #C9C2B6; padding-top: 0 !important; }
.footer-section::before { display: none !important; }
.footer-section .widget-title h5 { font-family: var(--gr-font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gr-saffron); }
.footer-section .widget-list li, .footer-section .widget-list li a, .footer-section p, .footer-section a { color: #F1E6D2; }
.footer-section .widget-list li a:hover { color: var(--gr-saffron); }
.footer-section .footer-bottom { border-top: 1px solid rgba(241, 230, 210, .18) !important; }
.footer-section .footer-logo img { background: var(--gr-paper); border-radius: 10px; padding: 6px 10px; }

/* --------------------------------------------------------------------------
   Motion — subtle, never blocks content, off for reduced-motion users
   -------------------------------------------------------------------------- */
@keyframes gr-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .gr-rise { animation: gr-rise .7s var(--gr-ease) both; }
  .gr-d1 { animation-delay: .05s; } .gr-d2 { animation-delay: .18s; } .gr-d3 { animation-delay: .32s; } .gr-d4 { animation-delay: .46s; }
  @supports (animation-timeline: view()) {
    .gr-reveal { animation: gr-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
  .gr-zoom img { transition: transform .8s var(--gr-ease); }
  .gr-zoom:hover img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .wow { visibility: visible !important; animation: none !important; }
}

/* --------------------------------------------------------------------------
   Quick add gallery, quantity + add to cart row, cart count badge
   -------------------------------------------------------------------------- */
.gr-qa-gallery { margin-bottom: 20px; }
.gr-qa-main { background: var(--gr-linen); border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.gr-qa-main img { width: 100%; height: 100%; object-fit: contain; }
.gr-qa-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--gr-line) transparent; }
.gr-qa-thumbs::-webkit-scrollbar { height: 4px; }
.gr-qa-thumbs::-webkit-scrollbar-thumb { background: var(--gr-line); border-radius: 4px; }
.gr-qa-thumbs button { flex: 0 0 60px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--gr-linen); cursor: pointer; transition: border-color .2s ease; }
.gr-qa-thumbs button.is-active, .gr-qa-thumbs button:hover { border-color: var(--gr-madder); }
.gr-qa-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.gr-buy-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.gr-qty-lg { height: 52px; background: var(--gr-paper); }
.gr-qty-lg button { width: 48px; height: 50px; font-size: 20px; }
.gr-qty-lg button:hover { color: var(--gr-madder); }
.gr-qty input { width: 48px; height: 100%; padding: 0; font-size: 16px; color: var(--gr-ink); -moz-appearance: textfield; appearance: textfield; }
.gr-qty input:focus { outline: none; }
.gr-qty input::-webkit-outer-spin-button, .gr-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gr-qty:focus-within { border-color: var(--gr-ink); }
.gr-buy-btn { flex: 1 1 180px; max-width: 320px; }
.gr-buy-btn:disabled { opacity: .55; cursor: not-allowed; }

.gr-cart-btn { position: relative; }
.gr-cart-badge { position: absolute; top: -6px; right: -8px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gr-madder); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; font-family: var(--gr-font-body); box-shadow: 0 0 0 2px var(--gr-paper); }
.gr-cart-badge.gr-bump { animation: grBump .35s ease; }
@keyframes grBump { 50% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .gr-cart-badge.gr-bump { animation: none; } }

/* Product card as one framed unit: photo, name, price and buttons belong together */
.gr-product-card { background: var(--gr-paper); border: 1px solid var(--gr-line); border-radius: 16px; padding: 10px; transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
.gr-product-card:hover { border-color: #D4C5B0; box-shadow: 0 14px 30px rgba(35,26,20,.08); transform: translateY(-2px); }
.gr-product-card .gr-product-media { border-radius: 10px; }
.gr-product-body { display: flex; flex-direction: column; flex: 1; padding: 0 6px 6px; }
.gr-product-card .gr-product-name { font-size: 19px; margin-top: 12px; }
.gr-product-card .gr-product-foot { flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gr-line); }
.gr-product-card .gr-product-price { font-size: 17px; }
.gr-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gr-product-actions .gr-btn, .gr-product-card .gr-product-foot .gr-btn { min-height: 42px; padding: 0 12px; font-size: 14px; }
.gr-product-card .gr-product-login { margin: 0; }
.gr-product-card .gr-product-name { margin-bottom: 4px; }
.gr-product-card .gr-product-meta + .gr-product-foot, .gr-product-card .gr-product-name + .gr-product-foot { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .gr-product-card:hover { transform: none; } }
.checkbox-container .filter-container-label.active .check-icon { background: var(--gr-madder) !important; border-color: var(--gr-madder) !important; color: #fff; }
.checkbox-container .filter-container-label:focus-visible { outline: 2px solid var(--gr-madder); outline-offset: 2px; border-radius: 6px; }
.gr-cart-btn-mobile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: 6px; }
.gr-cart-btn-mobile svg { width: 24px; height: 24px; fill: var(--gr-ink); }
.gr-cart-btn-mobile .gr-cart-badge { top: 2px; right: 0; }
@media (min-width: 992px) { .gr-cart-btn-mobile { display: none !important; } }

/* Keep the main menu on one line on laptop screens (11 items with the category links).
   Flex + gap instead of the template's inline-block items with left/right padding. */
@media (min-width: 992px) and (max-width: 1399px) {
  header .main-menu > ul.menu-list { display: flex; flex-wrap: nowrap; align-items: center; gap: 22px; }
  header .main-menu > ul.menu-list > li { padding-left: 0; padding-right: 0; white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  header .main-menu > ul.menu-list { gap: 14px; }
  header .main-menu > ul.menu-list > li > a { font-size: 14px; }
}

/* Variant options: light loading state instead of a full-page white overlay */
.quantity-area.gr-busy .values-container span { opacity: .6; pointer-events: none; }
.gr-updating { position: absolute; top: 0; right: 0; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--gr-linen); color: var(--gr-muted); font-size: 12px; font-weight: 500; z-index: 2; }
.gr-updating .spinner-border { width: 12px; height: 12px; border-width: 2px; color: var(--gr-madder); }

/* Button icons */
.gr-btn i { font-size: .95em; }
.gr-btn .gr-btn-arrow { font-size: .8em; transition: transform .2s ease; }
.gr-btn:hover .gr-btn-arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .gr-btn:hover .gr-btn-arrow { transform: none; } }

/* Shop: clear filters + light loading state (replaces the white .loading-screen overlays) */
.gr-filter-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -4px 0 16px; padding: 10px 12px; border-radius: 10px; background: #F6E9E4; color: var(--gr-madder); font-size: 13px; font-weight: 600; }
.gr-clear-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--gr-madder); border-radius: 8px; background: var(--gr-paper); color: var(--gr-madder); font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.gr-clear-btn:hover { background: var(--gr-madder); color: #fff; }
.gr-clear-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border: 1px solid var(--gr-line); border-radius: 999px; background: var(--gr-paper); color: var(--gr-ink); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.gr-clear-chip:hover { border-color: var(--gr-madder); color: var(--gr-madder); }
.gr-clear-chip i { font-size: 11px; }
.gr-updating-inline { position: static; }
.gr-grid { transition: opacity .2s ease; }
.gr-grid.gr-grid-busy { opacity: .45; pointer-events: none; }
.filteration-container.gr-busy .filter-container-label, .filteration-container.gr-busy .values-container span { opacity: .6; pointer-events: none; }
.loading-screen { display: none !important; }

/* ==========================================================================
   Type system (applies site-wide; later rules win)
   - Fraunces: headings and product names only, weight 400
   - Inter: everything else. 400 text, 500 nav/controls, 600 emphasis, buttons, prices.
     Only 400/500/600 are loaded, so 700 was a browser-faked bold: never use it.
   - Sizes: 12 / 14 / 16 / 20 / 28 + display clamps
   - Prices: Inter 600, tabular digits
   ========================================================================== */
:root {
  --gr-fs-xs: 12px; --gr-fs-sm: 14px; --gr-fs-base: 16px; --gr-fs-lg: 20px; --gr-fs-xl: 28px;
}
b, strong, th { font-weight: 600; }
h1, h2, h3, h4, h5, h6, .gr-display, .gr-h2, .offcanvas-title, .modal-title { font-weight: 400; }
.btn-large-view, .btn-gallery-popup { font-weight: 600 !important; font-size: var(--gr-fs-sm) !important; }
.footer-section p, .footer-section li, .footer-section a { font-size: var(--gr-fs-sm); }
.footer-section .footer-about p, .footer-section .gr-footer-about { font-size: var(--gr-fs-base); }

/* Prices everywhere */
.gr-price, .gr-product-price strong, .gr-amount, .gr-cart-item strong, .gr-cart-total span:last-child {
  font-family: var(--gr-font-body) !important; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--gr-ink);
}
.gr-product-card .gr-product-price { font-size: var(--gr-fs-base); }
.gr-product-from, .gr-product-was { font-size: var(--gr-fs-xs); font-weight: 400; }
.gr-cart-total .gr-amount, .gr-amount { font-size: var(--gr-fs-xl) !important; }

/* Product page + quick add header */
.auction-details-content .batch, #quickAddOffcanva .batch { margin: 0; }
.gr-vendor { margin: 0 0 4px; font-size: var(--gr-fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gr-madder); }
.gr-sku { margin: 0; font-size: var(--gr-fs-sm); color: var(--gr-muted); letter-spacing: .02em; }
.gr-sku span { color: var(--gr-ink); font-variant-numeric: tabular-nums; }
.auction-details-content h3 { font-family: var(--gr-font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.01em; margin: 8px 0 20px !important; }
#quickAddOffcanva h3 { font-family: var(--gr-font-display); font-weight: 400; font-size: var(--gr-fs-xl); line-height: 1.15; margin: 6px 0 16px !important; }
.gr-price-block { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; margin: 0 0 8px; border-top: 1px solid var(--gr-line); border-bottom: 1px solid var(--gr-line); }
.gr-price-label { font-size: var(--gr-fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gr-muted); }
.gr-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gr-price { font-size: var(--gr-fs-xl); line-height: 1.1; }
#quickAddOffcanva .gr-price { font-size: 24px; }
.gr-price-was { font-size: var(--gr-fs-base); color: var(--gr-muted); font-weight: 400; }

/* Option labels and chips */
.quantity-area h6 { font-family: var(--gr-font-body) !important; font-size: var(--gr-fs-sm) !important; font-weight: 600 !important; color: var(--gr-ink); margin-top: 20px !important; margin-bottom: 8px !important; }
.values-container span { font-family: var(--gr-font-body); font-size: var(--gr-fs-sm) !important; font-weight: 500 !important; }
.gr-qty button { font-size: 18px; font-weight: 400; }
.gr-qty input, .gr-qty span { font-size: var(--gr-fs-base); font-weight: 600; }

/* Cart */
.gr-cart-name { font-size: 18px; line-height: 1.25; }
.gr-cart-meta { font-size: var(--gr-fs-xs); }

/* Type system, round 2: leftovers found by measuring the live pages */
/* Headings the template forced heavy (shop banner was 900, product title 600) */
.breadcrumb-section2 h1, .breadcrumb-content h1, .auction-details-content h3, #quickAddOffcanva h3 { font-weight: 400 !important; }
.gr-cart-badge { font-weight: 600; }

/* 13px -> 14px (text) or 12px (uppercase labels / tiny meta) */
.gr-announce, .gr-announce span, .gr-announce a, .gr-announce strong { font-size: var(--gr-fs-sm); }
.gr-text-btn, .gr-cart > div, .gr-cart .gr-link, .gr-cart > div > strong { font-size: var(--gr-fs-sm); }
.gr-filter-head, .gr-filter-head span, .gr-clear-btn, .gr-clear-chip { font-size: var(--gr-fs-sm); }
.breadcrumb-section2 .top-content li, .breadcrumb-section2 .top-content li a { font-size: var(--gr-fs-sm); }
.gr-eyebrow, .gr-hero-tag p, .gr-hero-tag { font-size: var(--gr-fs-xs); }
.d-flex.flex-wrap > a.d-flex.flex-column > span { font-size: var(--gr-fs-xs); }

/* 15px -> 16px (buttons, nav, contact details) or 14px (dense lists, small labels) */
.gr-btn { font-size: var(--gr-fs-base); }
.gr-btn-sm { font-size: var(--gr-fs-sm); }
.header-area .main-menu .menu-list > li > a { font-size: var(--gr-fs-base); }
dl dt, dl dd, dl dd a { font-size: var(--gr-fs-base); }
.filter-container-label span, .checkbox-container label span { font-size: var(--gr-fs-sm) !important; }
.widget-title h5, .sidebar-widget h5, .shop-sidebar h5 { font-size: var(--gr-fs-sm) !important; }
.gr-stat-label { font-size: var(--gr-fs-sm); }
.gr-cart-total > div:first-child, .gr-cart-total > div:first-child span { font-size: var(--gr-fs-sm) !important; }
.footer-section .widget-title h5, .footer-widget .widget-title h5 { font-size: var(--gr-fs-xs) !important; letter-spacing: .12em; text-transform: uppercase; }

/* 17px -> 16px, 19px -> 20px */
.footer-content-area p, .gr-head-row p { font-size: var(--gr-fs-base); }
.gr-product-card .gr-product-name, .gr-product-name { font-size: var(--gr-fs-lg); }
.gr-lead { font-size: var(--gr-fs-lg); }
.gr-feature-card h3 { font-size: var(--gr-fs-lg); }

/* --------------------------------------------------------------------------
   Toasts (gr-toast.js): bottom-left on desktop, bottom full-width on phones
   -------------------------------------------------------------------------- */
.gr-toasts { position: fixed; left: 24px; bottom: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.gr-toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 14px; border-radius: 12px; background: var(--gr-ink); color: #F5EFE6; border: 1px solid rgba(245,239,230,.14); box-shadow: 0 16px 36px rgba(35,26,20,.22); font-family: var(--gr-font-body); animation: grToastIn .24s ease-out both; }
.gr-toast.is-leaving { animation: grToastOut .2s ease-in both; }
.gr-toast.gr-toast-bump { animation: grToastBump .3s ease; }
.gr-toast-icon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.gr-toast-icon svg { width: 16px; height: 16px; }
.gr-toast-success .gr-toast-icon { background: var(--gr-saffron); color: var(--gr-ink); }
.gr-toast-error .gr-toast-icon { background: #C4574B; color: #fff; }
.gr-toast-warning .gr-toast-icon { background: #E3A23B; color: var(--gr-ink); }
.gr-toast-info .gr-toast-icon { background: #3B5577; color: #fff; }
.gr-toast-msg { flex: 1; margin: 0; font-size: var(--gr-fs-sm); line-height: 1.4; color: inherit; }
.gr-toast-action { flex: 0 0 auto; min-height: 32px; padding: 0 12px; border: 1px solid rgba(245,239,230,.35); border-radius: 8px; background: transparent; color: #fff; font-size: var(--gr-fs-sm); font-weight: 600; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.gr-toast-action:hover { background: rgba(245,239,230,.12); border-color: rgba(245,239,230,.6); }
.gr-toast-close { flex: 0 0 32px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: rgba(245,239,230,.7); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gr-toast-close:hover { color: #fff; background: rgba(245,239,230,.1); }
.gr-toast button:focus-visible { outline: 2px solid var(--gr-saffron); outline-offset: 2px; }
@keyframes grToastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes grToastOut { to { opacity: 0; transform: translateY(6px); } }
@keyframes grToastBump { 50% { transform: scale(1.02); } }
@media (max-width: 575px) { .gr-toasts { left: 16px; right: 16px; bottom: 16px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .gr-toast, .gr-toast.is-leaving, .gr-toast.gr-toast-bump { animation: none; } }

/* Header search: one field (the template wrapped a bordered input in a grey box, icon outside) */
.topbar .topbar-wrap .search-area form .form-inner, .search-area form .form-inner {
  display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 4px 0 16px;
  background: var(--gr-paper) !important; border: 1px solid var(--gr-line); border-radius: var(--gr-radius-btn);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-area form .form-inner:focus-within { border-color: var(--gr-ink); box-shadow: 0 0 0 3px rgba(35,26,20,.08); }
.topbar .search-area .form-inner input, .search-area .form-inner input {
  flex: 1; min-width: 0; height: 100%; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; outline: none;
  font-family: var(--gr-font-body); font-size: var(--gr-fs-sm); color: var(--gr-ink);
}
.search-area .form-inner input::placeholder { color: #8C8178; }
.search-area form .form-inner button {
  flex: 0 0 40px; width: 40px; height: 40px; padding: 0; margin: 0; border: 0; border-radius: 8px;
  background: var(--gr-ink) !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .2s ease;
}
.search-area form .form-inner button:hover { background: var(--gr-madder) !important; }
.search-area form .form-inner button svg { width: 16px; height: 16px; fill: #fff !important; }

/* Type system, round 3: template rules that beat the earlier ones */
.footer-section .footer-content-area p, .footer-content-area p { font-size: var(--gr-fs-base) !important; }
.breadcrumb-section2 .top-content ul li, .breadcrumb-section2 .top-content ul li a { font-size: var(--gr-fs-sm) !important; }
.gr-qty button:disabled { color: #C9BEB0; cursor: default; }

/* Header: log out icon next to Dashboard; full button in the mobile menu */
.topbar .topbar-wrap .topbar-right .gr-icon-btn { margin-left: -14px; } /* sits closer to Dashboard than the cart does */
.gr-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--gr-line); border-radius: var(--gr-radius-btn); background: var(--gr-paper); color: var(--gr-ink); transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.gr-icon-btn:hover { border-color: var(--gr-madder); color: var(--gr-madder); }
.gr-icon-btn:focus-visible { outline: 2px solid var(--gr-madder); outline-offset: 2px; }
.btn-area.d-lg-none { gap: 10px; flex-wrap: wrap; }
.gr-logout-mobile { min-height: 48px; }

/* Guest page for /shop and products while the catalog is for signed-in accounts */
.gr-locked { padding: clamp(48px, 8vw, 110px) 16px; display: flex; justify-content: center; background: var(--gr-linen); }
.gr-locked-card { width: 100%; max-width: 620px; background: var(--gr-paper); border: 1px solid var(--gr-line); border-radius: 16px; padding: clamp(28px, 5vw, 48px); text-align: center; }
.gr-locked-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #F6E9E4; color: var(--gr-madder); margin-bottom: 18px; }
.gr-locked .gr-eyebrow { justify-content: center; margin-bottom: 10px; }
.gr-locked h1 { font-family: var(--gr-font-display); font-weight: 400; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 0 0 14px; }
.gr-locked-text { color: var(--gr-muted); font-size: var(--gr-fs-base); line-height: 1.65; margin: 0 auto 26px; max-width: 480px; }
.gr-locked-text strong { color: var(--gr-ink); }
.gr-locked-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.gr-locked-help { margin: 22px 0 0; font-size: var(--gr-fs-sm); color: var(--gr-muted); }
@media (max-width: 575px) { .gr-locked-actions .gr-btn { width: 100%; } }
