/* Christmas 1.0 — parent 0.9.13 layout, seasonal accents only. */
:root { --ic-xmas-gold:#e5c58b; --ic-xmas-green:#173e35; --ic-xmas-red:#8c263b; --accent:#8c263b; --accent-dark:#681b2d; }
html[data-ic-theme="dark"] { --accent:#f17e91; --accent-dark:#c75368; }
.topline {background:#14362f;color:#f5eee4;}
.topline a {color:#f3d9a8;}
.site-header {border-bottom:2px solid #bc9960;}
.nav-border {background-image:linear-gradient(90deg,#8c263b 0%,#d1ae72 45%,#1d5143 100%);background-size:100% 2px;background-repeat:no-repeat;background-position:top;}
.product-search button {background:#173e35;color:white;}
html[data-ic-theme="dark"] .product-search button {background:#8c263b!important;color:white!important;}
.ic-cart-count,html[data-ic-theme="dark"] .ic-cart-count {background:#8c263b;color:#fff;}
.ic-xmas-welcome {display:flex;align-items:center;justify-content:center;gap:14px;padding:13px 20px;margin-top:18px;border:1px solid #e6d6ba;border-radius:8px;background:#fcf7ed;color:#6d2535;text-align:center;}
.ic-xmas-welcome p {margin:0;font-size:12px;font-weight:650;letter-spacing:.015em;}
.ic-xmas-welcome>span {color:#956a29;font-size:15px;flex-shrink:0;}
html[data-ic-theme="dark"] .ic-xmas-welcome {background:#2b2924;color:#f5dfb9;border-color:#554933;}
.ic-xmas-home .ic-retail-hero {padding-top:18px;}
.ic-xmas-home .ic-department-rail {border-top:3px solid #bb9561;}
.ic-xmas-feature,html[data-ic-theme="dark"] .ic-xmas-feature {background:linear-gradient(120deg,#102f29 0%,#1b4539 58%,#102d27 100%);color:#fff;border:1px solid #486553;isolation:isolate;}
.ic-xmas-decor {position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:url('festive-detail.svg');background-repeat:no-repeat;background-size: auto 100%;background-position:right top;opacity:.78;}
.ic-xmas-feature .ic-hero-heading {position:relative;z-index:1;}
.ic-xmas-feature .ic-hero-heading h1 {color:#fff;font-size:clamp(35px,3.8vw,57px);font-weight:750;line-height:1.04;letter-spacing:-.05em;}
.ic-xmas-feature .ic-hero-heading p {color:#e6eee5;font-size:14px;max-width:375px;}
.ic-xmas-feature .ic-hero-heading .ic-overline,html[data-ic-theme="dark"] .ic-xmas-feature .ic-hero-heading .ic-overline {color:#f3d39b;letter-spacing:.19em;font-size:10px;}
.ic-xmas-feature .button-primary,html[data-ic-theme="dark"] .ic-xmas-feature .button-primary {background:#f0d39e;color:#25382b;border:1px solid #f7e4c4;box-shadow:0 6px 20px #0002;}
.ic-xmas-feature .button-primary:hover,html[data-ic-theme="dark"] .ic-xmas-feature .button-primary:hover {background:#fff0ce;color:#18362c;}
.ic-xmas-feature .ic-hero-product {position:relative;z-index:1;color:#fff!important;}
.ic-xmas-feature .ic-hero-image {background:#fff;border:1px solid #e8dfd0;box-shadow:0 10px 24px #0002;}
.ic-xmas-feature .ic-hero-product-info h2,.ic-xmas-feature .ic-hero-price {color:#fff;}
.ic-xmas-feature .ic-hero-product-info small,.ic-xmas-feature .ic-hero-price del {color:#dbe7db;}
.ic-xmas-feature .ic-hero-product-info .ic-overline,html[data-ic-theme="dark"] .ic-xmas-feature .ic-hero-product-info .ic-overline {color:#f3d39b;}
.ic-xmas-feature .ic-circle-arrow {background:#f0d39e;color:#173e35;}
.ic-xmas-feature .ic-hero-bottom {position:relative;z-index:1;border-color:#ffffff30;color:#f0dfc4;flex-wrap:wrap;}
.ic-xmas-feature .ic-hero-bottom a:hover {color:#fff;}
.ic-xmas-feature .ic-hero-empty {color:#f2d5a5;position:relative;z-index:1;}
.ic-xmas-feature .ic-hero-empty p {color:#e6eee5;}
.ic-xmas-home .ic-benefit-row svg {stroke:#8c263b;}
html[data-ic-theme="dark"] .ic-xmas-home .ic-benefit-row svg {stroke:#efacb6;}
.ic-xmas-home .ic-section-heading h2::after {content:"";display:block;width:40px;height:2px;background:#b99558;margin-top:10px;}
.ic-xmas-home .ic-category-tiles>a:hover,.woocommerce ul.products li.product:hover {border-color:#bc9960!important;}
.ic-xmas-home .ic-print-edit {border-top:3px solid #b99558;}
.ic-xmas-home .ic-business-edit {border-top:3px solid #b99558;}
.site-footer,html[data-ic-theme="dark"] .site-footer {background:#142c27;color:#f3f1ea;border-top:3px solid #b99558;}
/* Keep the inherited footer logo, and all product photos, unmodified. */
@media(max-width:700px){.ic-xmas-welcome{margin-top:12px;padding:10px;gap:8px}.ic-xmas-welcome p{font-size:11px}.ic-xmas-feature .ic-hero-heading h1{font-size:clamp(32px,8.5vw,41px)}.ic-xmas-feature .ic-hero-heading p{font-size:13px}.ic-xmas-decor{background-size:auto 65%;opacity:.55}.ic-xmas-feature .ic-hero-bottom{font-size:9px;white-space:normal;gap:6px;}.ic-xmas-feature .ic-hero-bottom a{white-space:normal}}
@media print {.ic-xmas-decor,.ic-xmas-welcome{display:none!important}}
/* Parent hides the theme toggle at some tablet widths. Keep it usable here. */
@media (max-width:1100px) {
  .header-actions .theme-toggle {display:grid;grid-template-columns:1fr;grid-template-rows:1fr;place-items:center;min-width:36px;width:36px;max-width:36px;min-height:44px;padding:0;align-self:center;}
  .header-actions .theme-toggle>span {grid-row:auto;}
}
@media (max-width:420px) {
  .header-actions .theme-toggle {min-width:32px;width:32px;max-width:32px;}
}
/* The parent sets button colours with !important; explicitly retain contrast. */
html[data-ic-theme="dark"] .button-primary,
html[data-ic-theme="dark"] .woocommerce a.button,
html[data-ic-theme="dark"] .woocommerce button.button,
html[data-ic-theme="dark"] .woocommerce input.button,
html[data-ic-theme="dark"] .woocommerce #respond input#submit,
html[data-ic-theme="dark"] .wc-block-components-button:not(.is-link) {background:#8c263b!important;border-color:#8c263b!important;color:#fff!important;}
html[data-ic-theme="dark"] .button-primary:hover,
html[data-ic-theme="dark"] .woocommerce a.button:hover,
html[data-ic-theme="dark"] .woocommerce button.button:hover,
html[data-ic-theme="dark"] .woocommerce input.button:hover,
html[data-ic-theme="dark"] .woocommerce #respond input#submit:hover,
html[data-ic-theme="dark"] .wc-block-components-button:not(.is-link):hover {background:#a2384e!important;border-color:#a2384e!important;color:#fff!important;}
#main .ic-xmas-feature .ic-hero-heading .button-primary,html[data-ic-theme="dark"] #main .ic-xmas-feature .ic-hero-heading .button-primary {background:#f0d39e!important;border-color:#f0d39e!important;color:#25382b!important;}
#main .ic-xmas-feature .ic-hero-heading .button-primary:hover,html[data-ic-theme="dark"] #main .ic-xmas-feature .ic-hero-heading .button-primary:hover {background:#fff0ce!important;border-color:#fff0ce!important;color:#18362c!important;}

/* 1.0.1 — richer Christmas decoration, kept separate from the real brand artwork. */
/* Reserve a separate slot for the bow. Neither logo image is resized by a filter or covered. */
.brand .ic-brand-link {position:relative;box-sizing:border-box;width:174px;padding-inline-start:44px;}
.brand .ic-brand-link::before {content:"";position:absolute;left:0;top:50%;width:42px;height:44px;transform:translateY(-56%) rotate(-12deg);background:url('velvet-bow-103.svg') center/contain no-repeat;pointer-events:none;filter:drop-shadow(0 2px 2px #63091c33);}
.site-header .header-main {background-image:var(--ic-xmas-pattern);background-size:380px auto;background-position:right center;}
.ic-xmas-home {background-image:var(--ic-xmas-pattern);background-size:340px 290px;}
/* Keep category and product surfaces solid for text contrast. */
.ic-xmas-home .ic-department-rail {background-color:var(--paper);}
.ic-xmas-welcome {background-image:url('pine-corner.svg'),linear-gradient(100deg,#fcf7ed,#fffaf1 50%,#fcf7ed);background-position:left top,center;background-repeat:no-repeat;background-size:105px auto,100% 100%;padding-inline:100px;}
html[data-ic-theme="dark"] .ic-xmas-welcome {background-image:url('pine-corner.svg'),linear-gradient(100deg,#27332c,#2b2924 50%,#27332c);}
.ic-xmas-feature,html[data-ic-theme="dark"] .ic-xmas-feature {background:radial-gradient(ellipse at 87% 14%,#b6954830,transparent 42%),radial-gradient(ellipse at 4% 5%,#56856a35,transparent 34%),linear-gradient(120deg,#102f29 0%,#1b4539 58%,#102d27 100%);}
.ic-xmas-feature .ic-xmas-decor {background-image:url('pine-corner.svg'),url('festive-detail.svg'),var(--ic-xmas-pattern);background-repeat:no-repeat,no-repeat,repeat;background-size:210px auto,auto 100%,330px auto;background-position:left top,right top,center;opacity:.9;}
.ic-xmas-feature .ic-hero-heading {padding-top:62px;}
.ic-xmas-feature .ic-hero-heading h1 {text-shadow:0 2px 12px #0a261e33;}
.ic-xmas-home .ic-section-heading h2::after {width:70px;height:6px;border-radius:6px;background:linear-gradient(90deg,#9b253d 0 49%,transparent 49% 55%,#bf995e 55% 100%);}
.ic-xmas-home .ic-print-edit,.ic-xmas-home .ic-business-edit {position:relative;isolation:isolate;overflow:hidden;}
.ic-xmas-home .ic-print-edit::after,.ic-xmas-home .ic-business-edit::after {content:"";position:absolute;top:0;right:0;width:145px;height:75px;background:url('pine-corner.svg') top left/contain no-repeat;transform:scaleX(-1);opacity:.64;pointer-events:none;z-index:-1;}
.site-footer,html[data-ic-theme="dark"] .site-footer {background-image:url('pine-corner.svg'),var(--ic-xmas-pattern);background-size:220px auto,420px auto;background-position:left top,center;background-repeat:no-repeat,repeat;}
.site-footer .footer-grid {padding-top:70px;}
@media (max-width:920px) {
 .brand .ic-brand-link {width:136px;padding-inline-start:34px;}
 .brand .ic-brand-link::before {width:32px;height:34px;}
 .ic-xmas-feature .ic-xmas-decor {background-size:140px auto,auto 90%,300px auto;}
 .ic-xmas-feature .ic-hero-heading {padding-top:48px;}
}
@media (max-width:700px) {
 .ic-xmas-welcome {padding-inline:30px;background-size:40px auto,100% 100%;}
 .ic-xmas-feature .ic-xmas-decor {background-size:118px auto,auto 60%,280px auto;opacity:.67;}
 .ic-xmas-feature .ic-hero-heading {padding-top:40px;}
 .site-footer,html[data-ic-theme="dark"] .site-footer {background-size:145px auto,360px auto;}
 .site-footer .footer-grid {padding-top:52px;}
}
@media (max-width:480px) {
 .brand .ic-brand-link {width:104px;padding-inline-start:26px;}
 .brand .ic-brand-link::before {width:25px;height:29px;}
}
@media print {
 .brand .ic-brand-link {padding-inline-start:0;}
 .brand .ic-brand-link::before,.ic-xmas-home .ic-print-edit::after,.ic-xmas-home .ic-business-edit::after {display:none!important;}
 .ic-xmas-home,.site-header .header-main,.site-footer {background-image:none!important;}
}
/* The dark-mode shorthand from 1.0.0 resets the background layers. */
html[data-ic-theme="dark"] .ic-xmas-welcome {background-repeat:no-repeat,no-repeat;background-position:left top,center;background-size:105px auto,100% 100%;}
@media (max-width:700px) {html[data-ic-theme="dark"] .ic-xmas-welcome {background-size:40px auto,100% 100%;}}
/* On narrow screens retain the entire logo as well as the separate bow. */
@media (max-width:600px) {
 .header-main .brand {flex:0 0 auto;}
 .header-main .header-actions {flex:1 1 auto;justify-content:flex-end;}
 .header-main .header-actions .header-action {flex:0 0 auto;}
 .brand .ic-brand-link {width:118px;padding-inline-start:28px;}
}
@media (max-width:600px) {
 .header-main .header-actions .header-action {min-width:60px;align-items:center;justify-content:center;}
 .header-main .header-actions .cart-link {min-width:44px;}
}

/* 1.0.2 — keep the entire header above normal page content. The parent
 * deliberately makes the single-product header static; z-index then has no
 * effect. Keep it non-sticky, but establish its stacking context. Do not
 * change the WooCommerce gallery/lightbox stacking or position. */
body.single-product .site-header {position:relative;top:auto;z-index:80;}
.site-header {z-index:80;overflow:visible;}
.site-header .nav-border,.site-header .nav-shell {position:relative;overflow:visible;}
.site-header .nav-border {z-index:2;}
.site-header .ic-catalog-menu[open] {z-index:110;}
.site-header .mobile-nav[open] {position:relative;z-index:110;}
.site-header .desktop-nav .sub-menu {z-index:105;}
@media (max-width:920px) {.site-header .mobile-nav[open] {position:static;} }

/* Bow is independent of the two inherited logo images. Reserve a small
 * shoulder on the left; attach the bow visually to the upper-left corner. */
.brand .ic-brand-link {width:160px;padding-inline-start:30px;}
.brand .ic-brand-link::before {left:0;top:15%;width:52px;height:53px;transform:rotate(-17deg);filter:drop-shadow(0 3px 3px #52061555);}
@media(max-width:920px){.brand .ic-brand-link{width:128px;padding-inline-start:25px}.brand .ic-brand-link::before{width:40px;height:41px}}
@media(max-width:600px){.brand .ic-brand-link{width:118px;padding-inline-start:28px}.brand .ic-brand-link::before{width:35px;height:36px;top:13%;left:0;}}

/* Subtle seasonal framing across catalogue, detail and related products.
 * No invented discounts, stock badges or changes to product photography. */
:root {--ic-xmas-card:#fffcf6;--ic-xmas-outline:#dfc59b;--ic-xmas-price:#812137;--ic-xmas-stock:#205c3b;--ic-xmas-hint:#53645a;--ic-xmas-snow-color:#9bb9bb;}
html[data-ic-theme="dark"] {--ic-xmas-card:#232923;--ic-xmas-outline:#796744;--ic-xmas-price:#f2d394;--ic-xmas-stock:#a3d8b2;--ic-xmas-hint:#c0cfc5;--ic-xmas-snow-color:#f8f6ee;}
body.woocommerce .content-area,body.woocommerce-page .content-area {background-image:var(--ic-xmas-pattern);background-size:380px auto;background-repeat:repeat;}
.woocommerce ul.products li.product,html[data-ic-theme="dark"] .woocommerce ul.products li.product,html[data-ic-theme="dark"] .woocommerce-page ul.products li.product {background-color:var(--ic-xmas-card)!important;border-color:var(--ic-xmas-outline)!important;border-bottom:3px solid #b99558!important;}
.woocommerce ul.products li.product:hover,html[data-ic-theme="dark"] .woocommerce ul.products li.product:hover {border-color:#b99558!important;box-shadow:0 6px 20px #8c263b17;}
.woocommerce ul.products li.product .price,html[data-ic-theme="dark"] .woocommerce ul.products li.product .price {color:var(--ic-xmas-price)!important;}
.woocommerce ul.products li.product .price del {color:var(--muted);}
.woocommerce ul.products li.product .button,html[data-ic-theme="dark"] .woocommerce ul.products li.product .button {background:#173e35!important;color:#fff!important;border-color:#173e35!important;}
.woocommerce ul.products li.product .button:hover,html[data-ic-theme="dark"] .woocommerce ul.products li.product .button:hover {background:#8c263b!important;border-color:#8c263b!important;}
.single-product.woocommerce div.product div.images {border:1px solid var(--ic-xmas-outline);border-top:3px solid #b99558;}
.single-product.woocommerce div.product div.summary,html[data-ic-theme="dark"] .single-product.woocommerce div.product div.summary {background-color:var(--ic-xmas-card);background-image:var(--ic-xmas-pattern);background-size:310px auto;background-repeat:no-repeat;background-position:right top;border:1px solid var(--ic-xmas-outline);border-top:3px solid #b99558;}
.single-product.woocommerce div.product p.price,html[data-ic-theme="dark"] .single-product.woocommerce div.product p.price {color:var(--ic-xmas-price)!important;}
.single-product.woocommerce div.product .stock.in-stock {color:var(--ic-xmas-stock)!important;}
.single-product.woocommerce div.product .stock.out-of-stock {color:var(--accent);}
.single-product.woocommerce div.product form.cart .single_add_to_cart_button {background:#8c263b!important;color:#fff!important;border-color:#8c263b!important;}
.single-product.woocommerce div.product form.cart .single_add_to_cart_button:hover {background:#681b2d!important;}
.single-product .ic-product-assurance {border-top:1px solid var(--ic-xmas-outline);}
.single-product .ic-product-assurance>span {color:var(--ic-xmas-hint);}
.single-product .ic-product-assurance svg {stroke:var(--ic-xmas-hint);}
.ic-catalog-sidebar .ic-filters {border-top:3px solid #b99558;}
.woocommerce .related>h2,.woocommerce .upsells>h2,.ic-catalog-results .woocommerce-products-header {border-bottom:2px solid var(--ic-xmas-outline);padding-bottom:10px;}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {border-top:2px solid #b99558;}
/* Preserve semantics of warnings, payment controls and disabled buttons. */
.woocommerce-cart .woocommerce .cart_totals,.woocommerce-checkout #order_review {border-top:3px solid #b99558;}


/* 1.0.3: permanent, static snow trim. No animation or script. */
:root {--ic-xmas-pattern:url('winter-pattern-light.svg');}
html[data-ic-theme="dark"] {--ic-xmas-pattern:url('winter-pattern.svg');}
/* Dark green surfaces use the original gold even in light mode. */
.ic-xmas-feature,.site-footer {--ic-xmas-pattern:url('winter-pattern.svg');}
.ic-xmas-snow-edge {display:block;height:19px;width:100%;background:#173e35 url('snow-edge-103.svg') repeat-x left top/240px 19px;pointer-events:none;}
.ic-xmas-snow-edge--bottom {transform:rotate(180deg);background-color:#142c27;}
/* Wide velvet bow in its own space beside the brand, never on the logo. */
.brand .ic-brand-link {width:180px;padding-inline-start:53px;}
.brand .ic-brand-link::before {left:0;top:50%;width:51px;height:53px;transform:translateY(-50%) rotate(-9deg);filter:none;}
@media(max-width:920px){.brand .ic-brand-link{width:152px;padding-inline-start:42px}.brand .ic-brand-link::before{width:40px;height:42px}}
@media(max-width:600px){.brand .ic-brand-link{width:118px;padding-inline-start:32px}.brand .ic-brand-link::before{width:31px;height:34px;top:50%}.ic-xmas-snow-edge{height:13px;background-size:180px 13px}}
@media print{.ic-xmas-snow-edge,.brand .ic-brand-link::before{display:none!important}.brand .ic-brand-link{padding-inline-start:0}.single-product.woocommerce div.product div.summary,body.woocommerce .content-area,body.woocommerce-page .content-area{background-image:none!important;}}
