/*
Theme Name: Marko – Twenty Twenty-Five
Template: twentytwentyfive
Version: 1.0.0
Description: Twenty Twenty-Five child theme. Native blocks, editable template parts and Marko Global Styles.
Text Domain: marko-twentytwentyfive
*/
/* Only presentation that is not available as a native responsive block control. */
.marko-section{padding-block:clamp(44px,6vw,88px)}
.marko-hero-section{padding-top:clamp(32px,4vw,64px)}
.marko-hero h1 em{color:var(--wp--preset--color--accent-1);font-style:italic}
.marko-eyebrow{font-weight:600;letter-spacing:.1em;font-size:14px}
.marko-header{padding-block:24px;border-bottom:1px solid var(--wp--preset--color--line)}
.marko-header-row{gap:24px}
.marko-header .wp-block-image,.marko-footer .wp-block-image{margin:0;flex-shrink:0}
.marko-header .wp-block-image img,.marko-footer .wp-block-image img{height:55px;width:auto;max-width:100%;object-fit:contain;border-radius:0}
.marko-header .wp-block-navigation{font-size:16px}
.marko-footer{border-top:1px solid var(--wp--preset--color--line);padding-block:32px;margin-top:48px}
.marko-size-cards{gap:16px!important;align-items:stretch!important}
.marko-size-cards>.wp-block-column{align-self:stretch}
.marko-size-card{border:1px solid var(--wp--preset--color--line);border-radius:8px;background:var(--wp--preset--color--white);padding:24px;height:100%;box-sizing:border-box}
.marko-size-card h3{font-family:var(--wp--preset--font-family--body);font-size:22px;font-weight:600}
.marko-size-card a{font-size:16px;font-weight:600;text-decoration:none}
.marko-image-placeholder{background:var(--wp--preset--color--accent-2);border:1px dashed #b6c3af;border-radius:8px;padding:clamp(32px,5vw,72px);min-height:320px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;text-align:center}
.marko-personal{border-block:1px solid var(--wp--preset--color--line)}
.marko-final-cta{text-align:center}
.marko-final-cta .wp-block-buttons{justify-content:center}
.marko-steps{align-items:stretch!important;margin-top:40px}
.marko-steps>.wp-block-column{align-self:stretch}
.marko-page{padding-block:48px}
.marko-product{padding-block:40px}
.marko-product .product{display:flow-root}
.marko-product .product_title{font-family:var(--wp--preset--font-family--heading);font-weight:400;font-size:clamp(32px,4vw,44px);line-height:1.2}
.marko-product .woocommerce-product-details__short-description{font-size:18px;line-height:1.75;color:var(--wp--preset--color--muted)}
.marko-product .woocommerce-product-details__short-description ul{padding-left:24px}
.marko-product .product_meta,.marko-product .woocommerce-tabs,.marko-product .related.products{display:none}
.marko-product .woocommerce-breadcrumb{font-size:16px;margin-bottom:28px}
.marko-product div.product div.images img{border-radius:8px}
.marko-product div.product p.price{color:var(--wp--preset--color--contrast);font-size:24px}
.wp-block-details summary{font-weight:600;cursor:pointer;line-height:1.5}
.wp-block-details p{margin-top:16px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #a74930;outline-offset:4px}
@media(max-width:781px){.marko-header-row{justify-content:space-between}.marko-header .wp-block-group{gap:16px}.marko-header .wp-block-button__link{padding:12px 16px}.marko-size-cards{flex-wrap:nowrap!important}.marko-size-card{padding:20px}.marko-footer>.wp-block-group{gap:24px}.marko-image-placeholder{min-height:260px}}
@media(max-width:420px){.marko-size-cards{flex-wrap:wrap!important}.marko-size-cards>.wp-block-column{flex-basis:100%!important}}
@media(max-width:600px){.marko-header-row>.wp-block-group{width:100%;justify-content:space-between;gap:8px}.marko-header-row{gap:16px}.marko-header .wp-block-buttons{flex-shrink:0}.marko-header .wp-block-navigation{flex-grow:0}}

/* Native CTA button: keep the light palette on hover. */
.marko-cta-card .wp-block-button__link:hover{background-color:var(--wp--preset--color--accent-2)!important;color:var(--wp--preset--color--contrast)!important}


/* Smooth anchor navigation, respecting reduced-motion preferences. */
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Full-card targets retain the native, single Gutenberg link. */
.home .marko-size-card{position:relative;cursor:pointer;transition:transform 240ms ease-out,box-shadow 240ms ease-out,border-color 240ms ease-out}
.home .marko-size-card a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:8px;cursor:pointer}
.home .marko-size-card:has(a:focus-visible){outline:3px solid var(--wp--preset--color--accent-1);outline-offset:4px;transform:translateY(-2px);box-shadow:0 8px 24px color-mix(in srgb,var(--wp--preset--color--contrast) 7%,transparent);border-color:var(--wp--preset--color--accent-1)}
.home .marko-size-card a:focus-visible{outline:none}
@media(hover:hover) and (pointer:fine){
  .home .marko-size-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px color-mix(in srgb,var(--wp--preset--color--contrast) 7%,transparent);border-color:var(--wp--preset--color--accent-1)}
}
/* Move only the cart; navigation, account and CTA retain their positions. */
.marko-header .wp-block-woocommerce-customer-account+.wp-block-woocommerce-mini-cart{position:relative;left:-8px}
@media(max-width:600px){.marko-header .wp-block-woocommerce-customer-account+.wp-block-woocommerce-mini-cart{left:-4px}}
/* No hidden starting state: failed/disabled JavaScript leaves content visible. */
@keyframes marko-enter{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}
.home .marko-enter{animation:marko-enter 600ms cubic-bezier(.2,.65,.3,1) both;animation-delay:var(--marko-enter-delay,0ms)}
@media(prefers-reduced-motion:reduce){
  .home .marko-enter{animation:none}
  .home .marko-size-card{transition:none}
  .home .marko-size-card:hover,.home .marko-size-card:has(a:focus-visible){transform:none}
}

/* Extra native navigation links belong to the mobile overlay only. */
.marko-header .marko-mobile-menu-link{display:none}
@media(max-width:781px){
  .marko-header{padding-block:16px}
  .marko-header .marko-header-row{flex-wrap:nowrap;gap:16px;align-items:center}
  .marko-header-row>.wp-block-image{max-width:calc(100% - 113px)}
  .marko-header .wp-block-image img{height:42px!important;width:auto!important;object-fit:contain}
  .marko-header .marko-header-row>.wp-block-group{width:auto;flex-wrap:nowrap;justify-content:flex-end;gap:8px;margin-inline-start:auto;flex-shrink:0}
  .marko-header-row>.wp-block-group>.wp-block-woocommerce-customer-account,
  .marko-header-row>.wp-block-group>.wp-block-buttons{display:none}
  .marko-header-row>.wp-block-group>.wp-block-woocommerce-mini-cart{order:1;left:0}
  .marko-header-row>.wp-block-group>.wp-block-navigation{order:2;flex-grow:0}
  .marko-header .wp-block-navigation__responsive-container-open{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
  .marko-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
  .marko-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--wp--preset--color--base);color:var(--wp--preset--color--contrast);padding:72px 24px 32px}
  .marko-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:stretch;padding-top:0}
  .marko-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:stretch;gap:0;width:100%}
  .marko-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{display:block;width:100%;font-size:22px}
  .marko-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{display:block;padding-block:16px;line-height:1.4}
  .marko-header .wp-block-navigation__responsive-container-close{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
}

/* Show the hero image first when native columns stack on mobile. */
@media(max-width:781px){.marko-hero>.wp-block-column:has(>.wp-block-image){order:-1}}

/* Bring the mobile hero image closer to the header. */
@media(max-width:781px){.marko-hero-section{padding-top:var(--wp--preset--spacing--20)}}

/* Marko palette and separators for the mobile navigation overlay only. */
@media(max-width:781px){
  .marko-header .wp-block-navigation__responsive-container.is-menu-open{background-color:var(--wp--preset--color--base)!important;color:var(--wp--preset--color--contrast)!important}
  .marko-header .is-menu-open .wp-block-navigation-item+.wp-block-navigation-item{border-top:1px solid var(--wp--preset--color--line)}
  .marko-header .is-menu-open .wp-block-navigation-item__content{color:var(--wp--preset--color--contrast);text-decoration:none;transition:color 180ms ease-out}
  .marko-header .is-menu-open .wp-block-navigation-item__content:hover,
  .marko-header .is-menu-open .wp-block-navigation-item__content:active,
  .marko-header .is-menu-open .wp-block-navigation-item__content:focus-visible,
  .marko-header .is-menu-open .wp-block-navigation-item__content[aria-current],
  .marko-header .is-menu-open .current-menu-item>.wp-block-navigation-item__content{color:var(--wp--preset--color--accent-3)!important}
}

/* Reduce only the desktop gap before the closing CTA card. */
@media(min-width:782px){.marko-final-cta{padding-top:var(--wp--preset--spacing--40)}}

/* Keep footer links together and evenly spaced on mobile. */
@media(max-width:781px){
  .marko-footer-links{display:flex;flex-wrap:wrap;column-gap:var(--wp--preset--spacing--30);row-gap:var(--wp--preset--spacing--20)}
  .marko-footer-links .marko-footer-separator{display:none}
  .marko-footer-links a{white-space:nowrap}
}

/* Storefront refinements: leave homepage typography untouched. */
body:is(.woocommerce-shop,.tax-product_cat) main h1.wp-block-query-title,
body.page-id-7 main h1.wp-block-post-title,
body.page-id-8 main h1.wp-block-post-title{font-size:var(--wp--preset--font-size--x-large);line-height:1.2}
:is(.woocommerce-shop,.tax-product_cat) .marko-shop-toolbar{gap:var(--wp--preset--spacing--30);align-items:center}
:is(.woocommerce-shop,.tax-product_cat) .woocommerce-ordering{margin:0}
:is(.woocommerce-shop,.tax-product_cat) .woocommerce-ordering select.orderby{box-sizing:border-box;max-width:100%;min-height:48px;padding:12px 40px 12px 16px;border:1px solid var(--wp--preset--color--line);border-radius:8px;background-color:var(--wp--preset--color--white);color:var(--wp--preset--color--contrast);font-family:var(--wp--preset--font-family--body);font-size:var(--wp--preset--font-size--small);line-height:1.4;cursor:pointer;color-scheme:light}
:is(.woocommerce-shop,.tax-product_cat) .woocommerce-ordering select.orderby:hover{border-color:var(--wp--preset--color--accent-1)}
:is(.woocommerce-shop,.tax-product_cat) .woocommerce-ordering select.orderby:focus-visible{outline:2px solid var(--wp--preset--color--accent-1);outline-offset:3px}
:is(.woocommerce-shop,.tax-product_cat) .marko-shop-product-link{display:table;margin-inline:auto;min-height:44px;box-sizing:border-box;line-height:1.4}
:is(.woocommerce-shop,.tax-product_cat) .marko-shop-product-link:hover{background-color:var(--wp--preset--color--accent-3)!important;color:var(--wp--preset--color--base)!important}
:is(.woocommerce-shop,.tax-product_cat) .wc-block-components-product-image img{border-radius:8px}
@media(max-width:600px){:is(.woocommerce-shop,.tax-product_cat) .marko-shop-toolbar>.wp-block-woocommerce-catalog-sorting{width:100%}:is(.woocommerce-shop,.tax-product_cat) .woocommerce-ordering select.orderby{width:100%}}

/* A little more breathing room around shop and cart content only. */
body:is(.woocommerce-shop,.tax-product_cat) .wp-site-blocks>main,
body.woocommerce-cart .wp-site-blocks>main{margin-block:var(--wp--preset--spacing--50)}

/* Match Woo content to the header/footer content width; keep checkout wide. */
body.woocommerce-page:not(.woocommerce-checkout):not(.page-id-8) .wp-site-blocks>main{--wp--style--global--wide-size:var(--wp--style--global--content-size)}


/* Order confirmation follows the storefront width and heading scale. */
body.woocommerce-order-received .wp-site-blocks>main{--wp--style--global--wide-size:var(--wp--style--global--content-size)}
body.woocommerce-order-received main .wp-block-woocommerce-order-confirmation-status h1{font-size:var(--wp--preset--font-size--x-large);line-height:1.2}

/* Calendar quantity pricing: presentation only; prices come from the plugin. */
.marko-calendar-pricing-section{padding-block:var(--wp--preset--spacing--section)}
.marko-price-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--wp--preset--spacing--30);margin-top:var(--wp--preset--spacing--50)}
.marko-price-card{padding:var(--wp--preset--spacing--40);border:1px solid var(--wp--preset--color--line);border-radius:12px;background:var(--wp--preset--color--white)}
.marko-price-card h3{font-family:var(--wp--preset--font-family--body);font-size:var(--wp--preset--font-size--medium);font-weight:600;margin:0 0 var(--wp--preset--spacing--30)}
.marko-price-amount{font-family:var(--wp--preset--font-family--heading);font-size:var(--wp--preset--font-size--x-large);line-height:1.2;margin:0}
.marko-price-amount span{display:block;margin-top:8px;font-family:var(--wp--preset--font-family--body);font-size:var(--wp--preset--font-size--small);color:var(--wp--preset--color--muted)}
.marko-quantity-table{margin-block:var(--wp--preset--spacing--40);padding:var(--wp--preset--spacing--30);background:var(--wp--preset--color--warm-neutral);border:1px solid var(--wp--preset--color--line);border-radius:8px}
.marko-quantity-table table{width:100%;border-collapse:collapse;font-size:var(--wp--preset--font-size--small)}
.marko-quantity-table caption{text-align:left;font-weight:600;margin-bottom:12px}
.marko-quantity-table th,.marko-quantity-table td{padding:8px 0;border:none;background:transparent}
.marko-quantity-table th{text-align:left;font-weight:500}
.marko-quantity-table td{text-align:right}
.marko-quantity-table p{font-size:var(--wp--preset--font-size--small);line-height:1.5;margin-bottom:0}
.marko-cart-pricing:empty{display:none}
.marko-cart-pricing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--40)}
.marko-cart-pricing>h2,.marko-cart-pricing>p{grid-column:1/-1;margin-block:0}
.marko-cart-pricing h2{font-size:var(--wp--preset--font-size--large)}
.marko-cart-pricing>p{color:var(--wp--preset--color--muted);line-height:1.6}
.marko-cart-price-group{margin:0;padding:16px;border:1px solid var(--wp--preset--color--line);border-radius:12px;background:var(--wp--preset--color--warm-neutral)}
.marko-cart-price-group:only-of-type{grid-column:1/-1}
.marko-cart-price-group h3{font-family:var(--wp--preset--font-family--body);font-size:var(--wp--preset--font-size--medium);margin:0 0 4px}
.marko-cart-price-group>p{margin:4px 0 8px;font-size:var(--wp--preset--font-size--small);line-height:1.5}
.marko-cart-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0;padding:0;list-style:none}
.marko-cart-tiers li{padding:12px 10px;line-height:1.5;border:1px solid var(--wp--preset--color--line);border-radius:8px;background:var(--wp--preset--color--white);font-size:var(--wp--preset--font-size--small)}
.marko-cart-tiers li>*{display:block}
.marko-cart-tiers li.is-active{border-color:var(--wp--preset--color--contrast);background:var(--wp--preset--color--accent-2)}
.marko-cart-tiers small{margin-top:4px;color:var(--wp--preset--color--contrast);font-weight:600}
.marko-cart-price-group>.marko-tier-message{margin:8px 0 0;color:var(--wp--preset--color--contrast)}
.woocommerce-cart .marko-quantity-eligible .wc-block-cart-item__quantity{padding-top:12px}
.woocommerce-cart .marko-quantity-eligible .wc-block-cart-item__quantity::before{content:"Fjöldi eintaka";display:block;font-size:var(--wp--preset--font-size--small);font-weight:600;margin-bottom:8px}
.woocommerce-cart .marko-quantity-eligible .wc-block-components-quantity-selector{width:156px;min-height:48px;background:var(--wp--preset--color--white);border:1px solid var(--wp--preset--color--accent-1);border-radius:8px}
.woocommerce-cart .marko-quantity-eligible .wc-block-components-quantity-selector button{min-width:46px;min-height:46px;color:var(--wp--preset--color--contrast)}
.woocommerce-cart .marko-quantity-eligible .wc-block-components-quantity-selector input{min-width:56px;font-size:20px;font-weight:600;color:var(--wp--preset--color--contrast)}
.woocommerce-cart .marko-quantity-eligible .wc-block-components-product-metadata__description{display:none}
@media(max-width:781px){.marko-cart-pricing{grid-template-columns:1fr}}
@media(max-width:600px){.marko-price-cards{grid-template-columns:1fr}.marko-price-card{padding:24px}.marko-price-amount{font-size:var(--wp--preset--font-size--large)}.marko-cart-tiers{gap:6px}.marko-cart-tiers li{padding:10px 6px;font-size:14px}.marko-cart-price-group{padding:16px}.marko-cart-tiers small{font-size:12px}}


/* Compact guidance below the calendar designer CTA; server-rendered for guests only. */
.woocommerce div.product .summary .marko-guest-design-notice{margin:10px 0 16px;font-family:var(--wp--preset--font-family--body);font-size:14px;line-height:1.55;color:var(--wp--preset--color--muted,#586b60);overflow-wrap:anywhere}
.marko-guest-design-notice a{color:var(--wp--preset--color--contrast,#244b3b);text-decoration:underline;text-underline-offset:.15em}
.marko-guest-design-notice a:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* Christmas landing page only: join the final section directly to the footer. */
body.page-id-281 footer.wp-block-template-part,
body.page-id-281 .marko-footer{margin-block-start:0}
