/*
Theme Name: GiftMine
Theme URI: https://giftmine.in/
Author: GiftMine
Description: An editable block theme for GiftMine corporate and personal gifting.
Version: 0.7.1
Requires at least: 6.6
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: giftmine
*/

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-left: 0; padding-right: 0; }
a { text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible { outline: 3px solid #9b541e; outline-offset: 4px; }
.wp-block-site-logo img { display: block; height: auto; max-width: 100%; }
@media (max-width: 480px) {
  header .wp-block-site-logo img { width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Storefront foundation. Shared colors remain editable in theme.json. */
:root { --gm-forest: var(--wp--preset--color--forest); --gm-cream: var(--wp--preset--color--cream); --gm-copper: var(--wp--preset--color--copper); --gm-line: #dcded3; }
.wp-site-blocks { padding-top: 0; padding-inline: clamp(20px, 4vw, 64px); }
.wp-site-blocks > header { margin-top: 0; }
.gm-container { width: min(1180px, 100%); margin-inline: auto; }
.gm-home { margin-top: 0; padding-inline: clamp(20px, 4vw, 64px); }
.gm-announcement { padding: 9px 20px; background: var(--gm-forest); color: var(--gm-cream); text-align: center; font-size: 11px; letter-spacing: .07em; }
.gm-announcement span { margin-left: 28px; opacity: .85; }
.gm-header-main { padding-block: 22px 16px; gap: 24px; }
.gm-header-main .wp-block-site-logo { flex: 0 0 auto; }
.gm-search { display: flex; flex: 1 1 260px; max-width: 470px; border-bottom: 1px solid #9aa99c; }
.gm-search input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 12px 4px; font: inherit; font-size: 13px; color: var(--gm-forest); }
.gm-search button { border: 0; background: transparent; color: var(--gm-forest); cursor: pointer; font-size: 12px; white-space: nowrap; }
.gm-search button span { margin-left: 10px; font-size: 20px; }
.gm-header-actions { gap: 22px; font-size: 13px; }
.gm-header-actions a { text-decoration: none; }
.gm-nav-row { padding-block: 13px; border-block: 1px solid var(--gm-line); font-size: 13px; gap: 12px; }
.gm-nav-row .wp-block-navigation__container { gap: 30px; }
.gm-nav-note { font-size: 11px; color: #53695e; margin: 0; }
.gm-hero { display: grid; grid-template-columns: 1.08fr 1fr; min-height: 570px; gap: 52px; padding-block: 60px; align-items: center; }
.gm-eyebrow { font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--gm-copper); margin: 0 0 24px; }
.gm-hero h1 { font-size: clamp(44px, 4.7vw, 68px); line-height: 1.08; margin: 0 0 26px; letter-spacing: -.045em; }
.gm-hero h1 em { font-weight: 400; color: var(--gm-copper); }
.gm-hero-description { max-width: 450px; font-size: 15px; color: #53695e; line-height: 1.85; }
.gm-button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.gm-button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; background: var(--gm-forest); color: #fff; border: 1px solid var(--gm-forest); padding: 14px 22px; border-radius: 3px; font: 500 13px/1.5 Arial, sans-serif; text-decoration: none; cursor: pointer; min-height: 48px; }
.gm-button:hover { background: #285448; color: #fff; }
.gm-text-link { font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.gm-hero-footnote { margin-top: 30px; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: #53695e; }
.gm-hero-art { min-height: 445px; background: #e9e5d9; position: relative; overflow: hidden; border-radius: 160px 160px 5px 5px; }
.gm-art-caption { position: absolute; top: 30px; left: 0; width: 100%; text-align: center; font: italic 22px/1.3 Georgia, serif; color: #4b5d4e; }
.gm-orbit { position: absolute; width: 430px; height: 430px; border: 1px solid #d5d1be; border-radius: 50%; left: 50%; top: 170px; transform: translateX(-50%); }
.gm-gift { position: absolute; box-shadow: 14px 24px 30px #183f3522; }
.gm-gift-large { width: 220px; height: 170px; left: 24%; top: 192px; background: #285448; transform: rotate(-9deg); }
.gm-gift-lid { position: absolute; height: 26px; top: -5px; left: -7px; right: -7px; background: inherit; border-bottom: 2px solid #0002; box-shadow: 0 4px 7px #0001; }
.gm-ribbon { position: absolute; top: -5px; bottom: 0; left: 44%; width: 28px; background: #c49b62; }
.gm-bow { position: absolute; top: -40px; left: 46%; width: 63px; height: 40px; border: 10px solid #c49b62; border-radius: 60% 60% 10% 60%; transform: translateX(-90%) rotate(15deg); }
.gm-bow-right { transform: rotate(-15deg) scaleX(-1); }
.gm-gift-tag { position: absolute; right: 20px; top: 45px; background: var(--gm-cream); padding: 14px 11px; color: var(--gm-copper); font: italic 15px/1.05 Georgia, serif; transform: rotate(13deg); box-shadow: 2px 3px 4px #0001; }
.gm-gift-small { width: 135px; height: 106px; left: 61%; top: 304px; background: #bf8e69; transform: rotate(8deg); }
.gm-gift-small .gm-ribbon { background: #eadbc0; width: 20px; }
.gm-art-index { position: absolute; bottom: 15px; left: 22px; font: 8px Arial,sans-serif; letter-spacing: .13em; color: #53695e; }
.gm-values { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--gm-line); padding-block: 22px; text-align: center; font-size: 12px; }
.gm-values span + span { border-left: 1px solid var(--gm-line); }
.gm-section { padding-block: 76px; }
.gm-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.gm-section h2, .gm-corporate-band h2, .gm-bottom-cta h2 { font-size: clamp(30px, 3vw, 43px); letter-spacing: -.035em; line-height: 1.15; margin: 0; }
.gm-section-heading .gm-eyebrow { margin-bottom: 16px; }
.gm-section-heading > p { font-size: 12px; line-height: 1.8; color: #53695e; }
.gm-occasion-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.gm-occasion { display: flex; flex-direction: column; min-height: 365px; padding: 28px; text-decoration: none; transition: transform .2s ease; }
.gm-occasion:hover { transform: translateY(-4px); }
.gm-occasion-team { background: #e3e9df; }
.gm-occasion-festive { background: #eee1ce; }
.gm-occasion-personal { background: #eeddd5; }
.gm-card-number { font-size: 9px; letter-spacing: .13em; }
.gm-card-motif { font: 65px/1 Georgia, serif; color: var(--gm-copper); align-self: end; padding-block: 12px; }
.gm-occasion h3 { font-size: 31px; line-height: 1.05; margin: 0 0 13px; letter-spacing: -.02em; }
.gm-occasion p { font-size: 12px; line-height: 1.7; max-width: 235px; }
.gm-card-link { display: block; border-top: 1px solid #183f3533; padding-top: 16px; margin-top: 20px; font-size: 11px; }
.gm-corporate-band { background: var(--gm-forest); color: var(--gm-cream); padding: 58px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 90px; border-radius: 4px; }
.gm-corporate-band .gm-eyebrow { color: #e0ba88; }
.gm-corporate-band p:not(.gm-eyebrow) { font-size: 13px; line-height: 1.9; max-width: 410px; }
.gm-button-light { background: var(--gm-cream); color: var(--gm-forest); margin-top: 18px; }
.gm-band-list { align-self: center; }
.gm-band-list p { border-bottom: 1px solid #ffffff33; padding-block: 13px; }
.gm-band-list span { margin-right: 25px; color: #e0ba88; font-size: 10px; }
.gm-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 45px; margin-top: 44px; }
.gm-steps > div { border-top: 1px solid var(--gm-line); padding-top: 22px; }
.gm-steps span { font-size: 11px; color: var(--gm-copper); }
.gm-steps h3 { font-size: 24px; margin: 15px 0 10px; }
.gm-steps p { font-size: 13px; color: #53695e; line-height: 1.8; }
.gm-bottom-cta { padding: 50px 20px; text-align: center; background: #eeeade; }
.gm-bottom-cta p:not(.gm-eyebrow) { font-size: 13px; margin-block: 20px 28px; }
.gm-footer { padding-top: 60px; margin-top: 55px; }
.gm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 35px; margin-block: 15px 40px; }
.gm-footer h2 { font-size: 30px; line-height: 1.1; }
.gm-footer h3 { font: 600 12px Arial,sans-serif; margin-bottom: 20px; }
.gm-footer p, .gm-footer a { font-size: 12px; }
.gm-footer nav a { display: block; margin-block: 12px; text-decoration: none; }
.gm-footer-bottom { border-top: 1px solid var(--gm-line); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; font-size: 10px; color: #53695e; }
.gm-page { padding-block: 38px; }
.gm-page > h1 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 45px; }
.gm-prose { max-width: 800px; }
.gm-prose p, .gm-prose li { font-size: 16px; }
.gm-prose details { border-bottom: 1px solid var(--gm-line); padding-block: 20px; }
.gm-prose summary { cursor: pointer; font-size: 17px; font-weight: 600; }
.gm-enquiry-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; }
.gm-enquiry-intro h2 { font-size: 38px; margin-top: 0; }
.gm-enquiry-intro > p:not(.gm-eyebrow) { font-size: 15px; line-height: 1.9; }
.gm-enquiry-form { background: #eeeee4; padding: 30px; border-radius: 4px; }
.gm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gm-enquiry-form label { display: block; font: 500 12px/1.6 Arial,sans-serif; margin-bottom: 18px; }
.gm-form-grid label { margin-bottom: 0; }
.gm-enquiry-form input:not([type="checkbox"]), .gm-enquiry-form select, .gm-enquiry-form textarea { display: block; width: 100%; min-width: 0; padding: 12px; margin-top: 6px; font: 14px/1.4 Arial,sans-serif; color: var(--gm-forest); border: 1px solid #98a697; border-radius: 3px; background: #fffdf8; }
.gm-form-grid + label { margin-top: 18px; }
.gm-enquiry-form textarea { resize: vertical; }
.gm-enquiry-form .gm-consent { display: flex; gap: 10px; align-items: start; font-size: 11px; }
.gm-consent input { margin-top: 4px; width: 16px; height: 16px; flex-shrink: 0; }
.gm-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.gm-small, .gm-enquiry-intro > .gm-small { font-size: 11px; line-height: 1.8; color: #53695e; }
.gm-success { padding: 24px; background: #dfeadd; border-left: 4px solid var(--gm-forest); margin-bottom: 24px; }
.gm-success h2 { font-size: 26px; margin: 0; }
.gm-success p { font-size: 14px; }
.gm-empty-shop { padding: 50px; background: #eeeee4; margin-block: 30px; }
.gm-product-rules, .gm-order-tracking { border: 1px solid var(--gm-line); padding: 20px; margin-block: 22px; font-size: 14px; }
.gm-product-rules table { width: 100%; border-collapse: collapse; }
.gm-product-rules caption { text-align: left; font-weight: 600; margin-bottom: 10px; }
.gm-product-rules th, .gm-product-rules td { text-align: left; padding: 8px; border-bottom: 1px solid var(--gm-line); }
.woocommerce, .wc-block-cart, .wc-block-checkout { font-size: 15px; }
.woocommerce input.input-text, .woocommerce select { padding: 12px; border: 1px solid #98a697; border-radius: 3px; background: #fffdf8; }
.woocommerce a.button, .woocommerce button.button, .woocommerce button.button.alt { background: var(--gm-forest); color: white; border-radius: 3px; padding: 14px 22px; font-size: 14px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px; border-bottom: 1px solid var(--gm-line); }
@media (max-width: 900px) {
  .gm-header-main { gap: 15px; }
  .gm-search { max-width: none; order: 3; flex-basis: 100%; }
  .gm-hero { gap: 25px; min-height: auto; }
  .gm-hero-art { min-height: 400px; }
  .gm-gift-large { left: 13%; width: 190px; }
  .gm-gift-small { left: 55%; width: 100px; top: 290px; height: 80px; }
  .gm-nav-note { display: none; }
  .gm-corporate-band { padding: 35px; gap: 35px; }
  .gm-enquiry-layout { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 600px) {
  .gm-announcement { font-size: 9px; }
  .gm-announcement span { display: none; }
  .gm-header-main .wp-block-site-logo img { width: 175px; }
  .gm-header-actions { gap: 8px; font-size: 11px; }
  .gm-nav-row { padding-block: 12px; }
  .gm-hero { grid-template-columns: 1fr; padding-block: 38px; gap: 32px; }
  .gm-hero h1 { font-size: clamp(40px, 10vw, 56px); }
  .gm-hero-description { font-size: 14px; }
  .gm-hero-art { min-height: 355px; border-radius: 120px 120px 4px 4px; }
  .gm-art-caption { font-size: 19px; top: 24px; }
  .gm-gift-large { top: 156px; left: 20%; width: 175px; height: 145px; }
  .gm-gift-small { top: 250px; left: 59%; }
  .gm-button-row { gap: 22px; }
  .gm-values { grid-template-columns: 1fr 1fr; gap: 18px 0; font-size: 10px; }
  .gm-values span:nth-child(3) { border-left: 0; }
  .gm-section { padding-block: 45px; }
  .gm-section-heading { flex-direction: column; align-items: start; gap: 12px; }
  .gm-occasion-grid, .gm-steps, .gm-corporate-band { grid-template-columns: 1fr; }
  .gm-occasion { min-height: 310px; }
  .gm-card-motif { padding-block: 0; }
  .gm-corporate-band { padding: 30px; gap: 20px; }
  .gm-steps { gap: 25px; }
  .gm-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gm-footer-grid > div { grid-column: 1 / -1; }
  .gm-enquiry-form { padding: 20px; }
  .gm-form-grid { grid-template-columns: 1fr; }
  .gm-page { padding-block: 22px; }
  .gm-empty-shop { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) { .gm-occasion { transition: none; } }
