/* Slot HEAD. Dárkové balení; vlastní komponenta, 18. 11. 2026. */
#product-detail-form .ak-gift { --ak-gift-ready: 1; min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
#product-detail-form .ak-gift__legend { position: relative; overflow: visible; width: 100%; margin: 0 0 10px; padding: 0; border: 0; color: inherit; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; }
#product-detail-form .ak-gift__help-host { display: inline-flex; vertical-align: middle; margin-left: 7px; }
#product-detail-form .ak-gift__help-button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 1px solid #aaa; border-radius: 50%; background: #fff; color: #555; font: 600 13px/1 Arial, sans-serif; cursor: help; }
#product-detail-form .ak-gift__help { position: absolute; top: 100%; left: 0; z-index: 100; box-sizing: border-box; width: min(320px, 100%); padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; background: #fff; color: #444; box-shadow: 0 4px 16px #0002; font-size: 13px; font-weight: 400; line-height: 1.5; text-transform: none; letter-spacing: normal; }
#product-detail-form .ak-gift__choice { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0 0 8px; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; background: #fff; color: inherit; font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.4; text-transform: none; cursor: pointer; }
#product-detail-form .ak-gift__choice input[type="radio"] { appearance: auto; -webkit-appearance: auto; position: static; display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; opacity: 1; accent-color: #c21c26; cursor: inherit; }
#product-detail-form .ak-gift__choice-text { min-width: 0; overflow-wrap: anywhere; }
#product-detail-form .ak-gift__choice.is-checked { border-color: #c21c26; background: #fff7f7; }
#product-detail-form .ak-gift__choice.is-disabled { opacity: .5; cursor: default; }
#product-detail-form .ak-gift__preview { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 70px; margin: 0; padding: 10px 12px; border: 1px solid #e3d6c4; border-radius: 8px; background: #faf6f0; color: #7e2a36; font-family: inherit; text-align: left; text-transform: none; letter-spacing: normal; cursor: pointer; }
#product-detail-form .ak-gift__preview:hover { border-color: #7e2a36; background: #fffaf4; }
#product-detail-form .ak-gift__preview .ak-gift__image { flex: 0 0 78px; width: 78px; height: 48px; object-fit: contain; border-radius: 4px; }
#product-detail-form .ak-gift__preview-text { min-width: 0; }
#product-detail-form .ak-gift__preview-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: underline; text-underline-offset: 3px; }
#product-detail-form .ak-gift__preview-count { display: block; margin-top: 3px; color: #6b5f56; font-size: 12px; font-weight: 400; line-height: 1.35; }
#product-detail-form .ak-gift :is(button, input):focus-visible { outline: 2px solid #7e2a36; outline-offset: 3px; }
#product-detail-form .ak-gift-native-hidden, #product-detail-form .ak-gift [hidden] { display: none !important; }
body.ak-gift-modal-open { overflow: hidden; }
.ak-gift-dialog { box-sizing: border-box; width: min(840px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 18px; background: #fff; color: #2a2420; box-shadow: 0 24px 64px #2a242047; overflow: auto; text-align: left; font-family: "Mulish", Arial, sans-serif; font-size: 15px; line-height: 1.5; }
.ak-gift-dialog::backdrop { background: #2a242073; }
.ak-gift-dialog__card { position: relative; padding: 30px 26px 24px; border-top: 8px solid #c9a77c; }
.ak-gift-dialog__close { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f1e9dd; color: #2a2420; font: 400 26px/1 Arial, sans-serif; cursor: pointer; }
.ak-gift-dialog__close:hover { background: #e3d6c4; }
.ak-gift-dialog__close:focus-visible { outline: 2px solid #7e2a36; outline-offset: 2px; }
.ak-gift-dialog .ak-gift-dialog__title { margin: 0 44px 10px 0; color: #2a2420; font: 400 28px/1.2 "Fraunces", Georgia, serif; letter-spacing: 0; text-transform: none; }
.ak-gift-dialog .ak-gift-dialog__description { margin: 0 36px 18px 0; font-size: 15px; line-height: 1.5; }
.ak-gift-dialog__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: center; }
.ak-gift-dialog__views { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.ak-gift-dialog__view { min-height: 44px; padding: 10px 14px; border: 1px solid #e3d6c4; border-radius: 999px; background: #faf6f0; color: #7e2a36; font-family: inherit; font-size: 14px; line-height: 1.4; text-transform: none; cursor: pointer; }
.ak-gift-dialog__view[aria-pressed="true"] { background: #7e2a36; border-color: #7e2a36; color: #fff; }
.ak-gift-dialog :is(.ak-gift-dialog__view,.ak-gift-dialog__full-photo):focus-visible { outline: 2px solid #7e2a36; outline-offset: 3px; }
.ak-gift-dialog .ak-gift-dialog__detail { width: min(100%, 620px); margin: 0 auto; text-align: center; }
/* Zvětšení původní fotografie: odstraní prázdnou horní klopu a boční chlopně.
   Fotografie se nepřepisuje, jde o výřez v prohlížeči (x200/y440/w720/h880). */
.ak-gift-dialog__detail-window { position: relative; width: 100%; aspect-ratio: 720 / 880; overflow: hidden; background: #faf6f0; }
.ak-gift-dialog .ak-gift-dialog__detail-window .ak-gift__image { position: absolute; top: -50%; left: -27.7778%; width: 155.8333%; max-width: none; height: auto; max-height: none; }
.ak-gift-dialog .ak-gift-dialog__detail figcaption { color: #2a2420; font-size: 16px; line-height: 1.5; }
.ak-gift-dialog__full-photo { display: inline-block; margin-top: 8px; padding: 8px 0; color: #7e2a36; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.ak-gift-dialog .ak-gift-dialog__figure { min-width: 0; margin: 0; text-align: center; }
.ak-gift-dialog .ak-gift__image { display: block; width: 100%; height: auto; max-height: 48vh; object-fit: contain; }
.ak-gift-dialog figcaption { margin-top: 8px; color: #6b5f56; font-size: 13px; line-height: 1.4; }
.ak-gift-dialog .ak-gift-dialog__note { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid #e3d6c4; color: #6b5f56; font-size: 13px; line-height: 1.5; }
.ak-gift-dialog [hidden] { display: none !important; }
@media (max-width: 599px) {
  .ak-gift-dialog__card { padding: 24px 18px 20px; }
  .ak-gift-dialog .ak-gift-dialog__title { font-size: 26px; }
  .ak-gift-dialog__gallery { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ak-gift-dialog .ak-gift__image { max-height: 44dvh; }
}
