/* TCP Photo Gift product template. All rules scoped to .tcp-photo-gift.
   Native nopCommerce product attribute, file upload and add-to-cart scripts remain unchanged. */
.tcp-theme .tcp-photo-gift{--gift-ink:#092f26;--gift-muted:#58726d;--gift-coral:#ff625d;--gift-line:#dce8e2;--gift-pale:#f3f8f5;color:var(--gift-ink);font-size:15px;line-height:1.55;padding:26px 18px 80px}
.tcp-theme .tcp-photo-gift *{box-sizing:border-box}
.tcp-theme .tcp-photo-gift .tcp-gift-wrap{max-width:1200px;margin:0 auto}
.tcp-theme .tcp-photo-gift .tcp-gift-intro{margin:6px 0 27px}
.tcp-theme .tcp-photo-gift .tcp-gift-kicker{font-size:11px;letter-spacing:.16em;font-weight:850;color:var(--gift-coral);text-transform:uppercase;margin-bottom:8px}
.tcp-theme .tcp-photo-gift h1,.tcp-theme .tcp-photo-gift h2{color:var(--gift-ink);margin:0;letter-spacing:-.045em;line-height:1.14}
.tcp-theme .tcp-photo-gift h1{font-size:clamp(32px,4.2vw,51px);font-weight:800}
.tcp-theme .tcp-photo-gift h2{font-size:clamp(23px,2.6vw,31px);font-weight:800}
.tcp-theme .tcp-photo-gift .tcp-gift-intro-note{color:var(--gift-muted);margin-top:8px}
.tcp-theme .tcp-photo-gift .tcp-gift-layout{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:24px;align-items:start}
.tcp-theme .tcp-photo-gift .tcp-gift-gallery,.tcp-theme .tcp-photo-gift .tcp-gift-options{min-width:0;border:1px solid var(--gift-line);border-radius:22px;background:#fff;overflow:hidden}
.tcp-theme .tcp-photo-gift .tcp-gift-gallery{padding:18px;background:linear-gradient(150deg,#f3f7f4,#fff 74%)}
.tcp-theme .tcp-photo-gift .tcp-gift-gallery-head{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;background:#fff;width:max-content;max-width:100%;border-radius:999px;padding:8px 12px;margin-bottom:14px;box-shadow:0 4px 16px #163d2a10}
.tcp-theme .tcp-photo-gift .tcp-gift-small-dot{height:7px;width:7px;background:#12a66d;border-radius:50%;flex:none}
.tcp-theme .tcp-photo-gift .tcp-gift-gallery .picture{display:flex;justify-content:center;align-items:center;min-height:300px;overflow:hidden;border-radius:14px;background:#edf4f0}
.tcp-theme .tcp-photo-gift .tcp-gift-gallery .picture img,.tcp-theme .tcp-photo-gift .tcp-gift-gallery .product-picture img{max-width:100%;height:auto;object-fit:contain}
.tcp-theme .tcp-photo-gift .tcp-gift-gallery .picture-thumbs{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.tcp-theme .tcp-photo-gift .tcp-gift-gallery .picture-thumbs .thumb-item{display:block;width:76px;height:76px;padding:5px;border:1px solid var(--gift-line);border-radius:11px;background:#fff;overflow:hidden}
.tcp-theme .tcp-photo-gift .tcp-gift-gallery .picture-thumbs img{width:100%;height:100%;object-fit:contain}
.tcp-theme .tcp-photo-gift .tcp-gift-gallery-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:15px;color:var(--gift-muted);font-size:12px}
.tcp-theme .tcp-photo-gift .tcp-gift-options-head{padding:25px 26px 17px;border-bottom:1px solid var(--gift-line)}
.tcp-theme .tcp-photo-gift .tcp-gift-options-head p{color:var(--gift-muted);margin:10px 0 0;max-width:480px}
.tcp-theme .tcp-photo-gift .tcp-gift-short-description{padding:16px 26px 0;color:var(--gift-muted)}
.tcp-theme .tcp-photo-gift .tcp-gift-short-description p{margin:0 0 8px}
.tcp-theme .tcp-photo-gift .tcp-gift-options>.product-review-box,.tcp-theme .tcp-photo-gift .tcp-gift-options>.availability,.tcp-theme .tcp-photo-gift .tcp-gift-options>.additional-details,.tcp-theme .tcp-photo-gift .tcp-gift-options>.delivery,.tcp-theme .tcp-photo-gift .tcp-gift-options>.download-sample{padding:10px 26px 0}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes{padding:19px 26px 10px}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .attributes{margin:0}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .attributes dl{margin:0;display:block}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .attributes dt{font-size:13px;font-weight:800;margin:14px 0 7px;display:block}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .attributes dt:first-child{margin-top:0}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .attributes dd{margin:0 0 12px;min-width:0}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .attributes .required{color:#e94f4c}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .attribute-description{font-weight:400;color:var(--gift-muted);font-size:12px;margin-top:5px}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes select,.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes textarea,.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes input[type=text],.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes input[type=number],.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes input[type=date]{width:100%;max-width:100%;min-height:46px;border:1px solid #d4e3db;border-radius:11px;padding:10px 13px;background:#f7faf8;color:var(--gift-ink);font-size:14px;outline-offset:2px}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes input[type=checkbox],.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes input[type=radio]{accent-color:#0b3a2b;width:17px;height:17px}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .option-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .option-list li{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--gift-line);border-radius:10px;background:#f7faf8;max-width:100%;min-width:0}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .option-list li label{font-size:13px;cursor:pointer}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .attribute-squares{display:flex;gap:10px;flex-wrap:wrap}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .attribute-square{border-radius:8px}
/* Fine Uploader is generated by nopCommerce's _ProductAttributes partial. */
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .qq-uploader{max-width:100%;border:1px dashed #9abfb0;border-radius:14px;background:#f5faf7;min-height:110px;padding:16px}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .qq-upload-button{background:var(--gift-ink);color:#fff;border-radius:10px;padding:11px 16px;box-shadow:none;border:0;max-width:100%;cursor:pointer}
.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes .qq-upload-list{overflow-wrap:anywhere}
.tcp-theme .tcp-photo-gift .tcp-gift-buy{border-top:1px solid var(--gift-line);background:#f8fbf9;padding:21px 26px 23px}
.tcp-theme .tcp-photo-gift .tcp-gift-buy-head{font-size:13px;font-weight:800;margin-bottom:7px}
.tcp-theme .tcp-photo-gift .tcp-gift-buy .prices{margin-bottom:15px}
.tcp-theme .tcp-photo-gift .tcp-gift-buy .product-price,.tcp-theme .tcp-photo-gift .tcp-gift-buy .discounted-price{font-size:30px;font-weight:850;color:var(--gift-ink);letter-spacing:-.035em}
.tcp-theme .tcp-photo-gift .tcp-gift-buy .old-product-price{color:#7d928a;text-decoration:line-through;font-size:13px}
.tcp-theme .tcp-photo-gift .tcp-gift-buy .old-product-price span{font-size:13px}
.tcp-theme .tcp-photo-gift .tcp-gift-buy .add-to-cart-panel{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.tcp-theme .tcp-photo-gift .tcp-gift-buy .qty-label{font-size:12px;font-weight:800;flex-basis:100%;margin-bottom:-7px}
.tcp-theme .tcp-photo-gift .tcp-gift-buy .qty-input,.tcp-theme .tcp-photo-gift .tcp-gift-buy .qty-dropdown{width:76px!important;max-width:96px!important;min-height:48px;border:1px solid #d1e0d8;border-radius:10px;background:#fff;text-align:center;padding:9px;color:var(--gift-ink);font-weight:750}
.tcp-theme .tcp-photo-gift .tcp-gift-buy input[id^="add-to-cart-button-"],.tcp-theme .tcp-photo-gift .tcp-gift-buy button[id^="add-to-cart-button-"]{appearance:none;min-height:49px;flex:1 1 190px;border:0;border-radius:11px;background:var(--gift-coral);color:#fff;font-size:15px;font-weight:800;padding:12px 22px;cursor:pointer;box-shadow:0 5px 14px #ff625d20}
.tcp-theme .tcp-photo-gift .tcp-gift-buy input[id^="add-to-cart-button-"]:hover,.tcp-theme .tcp-photo-gift .tcp-gift-buy button[id^="add-to-cart-button-"]:hover{background:#ef514d}
.tcp-theme .tcp-photo-gift .tcp-gift-assurances{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px;color:#1c7657;font-weight:750;margin-top:14px}
.tcp-theme .tcp-photo-gift .tcp-gift-extra-actions,.tcp-theme .tcp-photo-gift .tcp-gift-options>.share-button{padding:12px 26px}
.tcp-theme .tcp-photo-gift .tcp-gift-description{margin-top:30px;padding:30px 34px;border:1px solid var(--gift-line);border-radius:22px;background:#fff}
.tcp-theme .tcp-photo-gift .tcp-gift-rich-text{color:#3d5a52;margin-top:16px;line-height:1.8}
.tcp-theme .tcp-photo-gift .tcp-gift-rich-text img{max-width:100%;height:auto;border-radius:12px}
.tcp-theme .tcp-photo-gift .tcp-gift-collateral{margin-top:24px}
.tcp-theme .tcp-photo-gift .tcp-gift-related{margin-top:30px}
@media(max-width:900px){.tcp-theme .tcp-photo-gift .tcp-gift-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}.tcp-theme .tcp-photo-gift .tcp-gift-options-head,.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes,.tcp-theme .tcp-photo-gift .tcp-gift-buy{padding-left:17px;padding-right:17px}}
@media(max-width:700px){.tcp-theme .tcp-photo-gift{padding:15px 12px 45px}.tcp-theme .tcp-photo-gift .tcp-gift-intro{margin-bottom:17px}.tcp-theme .tcp-photo-gift h1{font-size:34px}.tcp-theme .tcp-photo-gift .tcp-gift-layout{grid-template-columns:1fr;gap:13px}.tcp-theme .tcp-photo-gift .tcp-gift-gallery,.tcp-theme .tcp-photo-gift .tcp-gift-options{border-radius:19px}.tcp-theme .tcp-photo-gift .tcp-gift-gallery{padding:12px}.tcp-theme .tcp-photo-gift .tcp-gift-gallery .picture{min-height:230px}.tcp-theme .tcp-photo-gift .tcp-gift-gallery .picture-thumbs .thumb-item{width:58px;height:58px}.tcp-theme .tcp-photo-gift .tcp-gift-options-head{padding:20px 17px 15px}.tcp-theme .tcp-photo-gift .tcp-gift-native-attributes{padding:15px 17px 6px}.tcp-theme .tcp-photo-gift .tcp-gift-buy{padding:17px}.tcp-theme .tcp-photo-gift .tcp-gift-buy input[id^="add-to-cart-button-"]{min-height:52px}.tcp-theme .tcp-photo-gift .tcp-gift-description{padding:22px 18px;border-radius:19px}.tcp-theme .tcp-photo-gift .tcp-gift-extra-actions{padding:12px 17px}}
@media(max-width:360px){.tcp-theme .tcp-photo-gift .tcp-gift-buy .qty-input,.tcp-theme .tcp-photo-gift .tcp-gift-buy .qty-dropdown{max-width:70px!important}.tcp-theme .tcp-photo-gift .tcp-gift-buy input[id^="add-to-cart-button-"]{flex-basis:155px}}

/* Photo gift cart request feedback. Indeterminate: server processing has no percentage API. */
.tcp-theme .tcp-photo-gift .tcp-gift-cart-progress[hidden]{display:none!important}
.tcp-theme .tcp-photo-gift .tcp-gift-cart-progress{margin-top:15px;padding:14px 15px;border:1px solid #cce3d7;background:#edf7f1;border-radius:13px;color:#123e30;text-align:left}
.tcp-theme .tcp-photo-gift .tcp-gift-progress-heading{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:750;line-height:1.45}
.tcp-theme .tcp-photo-gift .tcp-gift-progress-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#238b64}
.tcp-theme .tcp-photo-gift .tcp-gift-progress-track{height:7px;overflow:hidden;border-radius:99px;background:#d3e7db;margin-top:11px;position:relative}
.tcp-theme .tcp-photo-gift .tcp-gift-progress-track span{display:block;height:100%;width:38%;border-radius:99px;background:#238b64;animation:tcpGiftCartProgress 1.35s ease-in-out infinite}
.tcp-theme .tcp-photo-gift .tcp-gift-cart-progress p{margin:8px 0 0;font-size:12px;color:#496b5d;line-height:1.45}
.tcp-theme .tcp-photo-gift .tcp-gift-buy [id^="add-to-cart-button-"][data-tcp-cart-busy]{opacity:.72;cursor:wait;pointer-events:none}
@keyframes tcpGiftCartProgress{0%{transform:translateX(-105%)}100%{transform:translateX(270%)}}
@media(prefers-reduced-motion:reduce){.tcp-theme .tcp-photo-gift .tcp-gift-progress-track span{animation:none;width:100%;opacity:.65}}

/* Persistent confirmation, scoped to the Photo Gift template. */
.tcp-theme .tcp-photo-gift .tcp-gift-cart-success[hidden]{display:none!important}
.tcp-theme .tcp-photo-gift .tcp-gift-cart-success{position:fixed;right:24px;bottom:24px;z-index:1050;width:min(420px,calc(100vw - 48px));padding:20px;background:#fff;color:#0b3026;border:1px solid #d1e4d9;border-radius:18px;box-shadow:0 12px 45px #092f2633;text-align:left}
.tcp-theme .tcp-photo-gift .tcp-gift-success-heading{display:flex;align-items:flex-start;gap:12px}
.tcp-theme .tcp-photo-gift .tcp-gift-success-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;background:#e4f4eb;color:#087e59;font-size:24px;font-weight:800}
.tcp-theme .tcp-photo-gift .tcp-gift-success-heading strong{display:block;font-size:20px;line-height:1.25;color:#0b3026;font-weight:800}
.tcp-theme .tcp-photo-gift .tcp-gift-success-heading p{margin:6px 0 0;color:#58726d;font-size:13px;line-height:1.5}
.tcp-theme .tcp-photo-gift .tcp-gift-success-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;padding-top:15px;border-top:1px solid #dce8e2}
.tcp-theme .tcp-photo-gift .tcp-gift-success-actions button,.tcp-theme .tcp-photo-gift .tcp-gift-success-actions a{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #cddfd5;border-radius:10px;padding:10px 12px;font:inherit;font-size:14px;font-weight:750;text-decoration:none;cursor:pointer;background:#fff;color:#0b3026;line-height:1.25}
.tcp-theme .tcp-photo-gift .tcp-gift-success-actions .tcp-gift-success-view{background:#0b3026;color:#fff;border-color:#0b3026}
.tcp-theme .tcp-photo-gift .tcp-gift-success-actions .tcp-gift-success-view:hover{background:#17513e;color:#fff}
.tcp-theme .tcp-photo-gift .tcp-gift-success-actions .tcp-gift-success-close:hover{background:#edf7f1}
.tcp-theme .tcp-photo-gift .tcp-gift-success-actions :focus-visible{outline:2px solid #087e59;outline-offset:3px}
@media(max-width:600px){.tcp-theme .tcp-photo-gift .tcp-gift-cart-success{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:auto;padding:16px;border-radius:17px}}
