/* ==========================================================================
   MEDKOPIS – pradžios puslapio blokai (pagal patvirtintą maketą)
   Įkeliama po theme.css.
   ========================================================================== */

/* Bendras bloko antraštės šablonas */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head-main { display: flex; flex-direction: column; gap: 14px; }
.sec-head .eyebrow,
.lt-band .eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-deep); }
.sec-title { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; margin: 0; }
.sec-title em { font-weight: 500; }
.sec-head-side { display: flex; align-items: flex-end; gap: 28px; }
.sec-head-side p { margin: 0; max-width: 360px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.sec-head.is-center { justify-content: center; text-align: center; }
.sec-head.is-center .sec-head-main { align-items: center; }
.text-link { font-size: 13.5px; font-weight: 600; color: var(--accent-deep); border-bottom: 1px solid var(--accent-deep); padding-bottom: 2px; white-space: nowrap; }
.text-link:hover { color: var(--ink); border-color: var(--ink); }

@media (max-width: 760px) {
	.sec-head { margin-bottom: 28px; }
	.sec-head-side { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Ženkliukai */
.product-tag.is-sale { background: var(--accent-deep); color: #fff; font-size: 12px; letter-spacing: 0; padding: 6px 12px; }
.product-tag.is-dark { background: var(--ink); color: var(--bg); }
.product-tag.is-accent { background: var(--accent); color: var(--ink); }

/* Kaina: nauja pirmiau, sena – nubraukta šalia */
.price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price ins { order: 1; }
.price del { order: 2; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--ink-soft); }

/* Baneris: keičiamos prekės */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-slider { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.hero-blob { width: 100%; max-width: 440px; }
.hero-blob .hero-slide {
	position: absolute; left: 16%; top: 16%; width: 68%; height: 68%; object-fit: contain;
	filter: drop-shadow(0 20px 30px rgba(43, 29, 18, 0.3));
	opacity: 0; transform: scale(0.92); transition: opacity 2.8s ease, transform 8s ease;
}
.hero-blob .hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-caption {
	display: inline-flex; align-items: center; gap: 14px; max-width: 100%;
	background: rgba(250, 240, 224, 0.72); border: 1px solid rgba(201, 122, 52, 0.18); border-radius: 100px; padding: 8px 8px 8px 20px;
	box-shadow: 0 10px 24px -18px rgba(43, 29, 18, 0.25); color: var(--ink);
	transition: transform .2s;
}
.hero-caption:hover { transform: translateY(-2px); color: var(--ink); }
.hero-caption-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-caption-price { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--accent-deep); white-space: nowrap; }
.hero-caption-price:empty { display: none; }
.hero-caption-arrow,
.round-arrow {
	flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg);
	display: inline-flex; align-items: center; justify-content: center;
}
.hero-caption-arrow .icon,
.round-arrow .icon { width: 14px; height: 14px; }
.hero-badge { flex-direction: column; align-items: flex-start; gap: 0; bottom: 96px; left: 0; }
.hero-badge b { font-size: 22px; }

@media (max-width: 960px) {
	.hero-visual { max-width: 380px; }
	.hero-badge { bottom: 84px; }
}

/* Privalumų juosta */
.usp-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: center; min-height: 100px; padding-top: 18px; padding-bottom: 18px; }
.usp-item { display: flex; align-items: center; gap: 12px; }
.usp-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--panel); box-shadow: var(--shadow-sm); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; }
.usp-item b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 600; }
.usp-item div span { display: block; font-size: 12px; line-height: 1.35; color: var(--ink-soft); }

@media (max-width: 960px) { .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .usp-grid { grid-template-columns: 1fr; gap: 14px; } }

/* Kategorijų plytelės */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cat-tile { display: flex; flex-direction: column; min-height: 360px; background: #EBD3A9; border-radius: 24px; overflow: hidden; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.cat-tile-media { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cat-tile-media img { width: 200px; height: 200px; object-fit: contain; border-radius: 50%; }
.cat-tile-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 0 22px 22px; }
.cat-tile-name { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.cat-tile-count { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.cat-tile .round-arrow { width: 40px; height: 40px; background: var(--panel); color: var(--ink); }
.cat-tile .round-arrow .icon { width: 16px; height: 16px; }

@media (max-width: 560px) {
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.cat-tile { min-height: 0; }
	.cat-tile-media img { width: 120px; height: 120px; }
	.cat-tile-name { font-size: 17px; }
	.cat-tile .round-arrow { display: none; }
}

/* Perkamiausios: slenkama juosta */
.slider-controls { display: flex; align-items: center; gap: 10px; }
.slider-controls .text-link { margin-right: 14px; }
.slider-btn { width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid rgba(43, 29, 18, 0.14); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, opacity .2s; }
.slider-btn:hover { background: var(--panel); }
.slider-btn.is-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.slider-btn.is-dark:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.slider-btn[disabled] { opacity: .35; cursor: default; }
.slider-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
	padding: 6px 4px 30px; margin: -6px -4px -30px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }

@media (max-width: 1024px) { .slider-track { grid-auto-columns: calc((100% - 48px) / 3); } }
@media (max-width: 760px) {
	.slider-track { grid-auto-columns: 72%; gap: 16px; }
	.slider-controls .slider-btn { display: none; }
}

/* Kortelės: perkamiausios, rinkiniai, suvenyrai */
.feature-card,
.set-card,
.lt-card {
	position: relative; background: var(--panel); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.feature-card:hover,
.set-card:hover,
.lt-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card-media { position: relative; aspect-ratio: 1 / 0.93; background: var(--bg-warm); display: flex; align-items: center; justify-content: center; padding: 8%; }
.feature-card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.feature-card-media .product-tag,
.set-card-media .product-tag,
.lt-card-media .product-tag { z-index: 2; }
.feature-card-body,
.set-card-body,
.lt-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.feature-card h3,
.set-card h3,
.lt-card h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 600; line-height: 1.3; margin: 4px 0 0; }
.feature-card h3 a,
.set-card h3 a,
.lt-card h3 a { color: var(--ink); }
.feature-card .spec { font-size: 11.5px; color: #8A765F; }
.feature-card .stars { display: flex; gap: 2px; color: var(--accent); margin: 0; }
.feature-card .stars .icon { width: 13px; height: 13px; }
.stars .off { opacity: .25; }
.feature-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; }
.feature-card-foot .price { font-size: 18px; }
.card-btn {
	position: relative; z-index: 2; flex: none; display: inline-flex; align-items: center;
	background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 600; padding: 10px 16px; border-radius: 100px;
	transition: background .2s;
}
.card-btn:hover { background: var(--accent-deep); color: #fff; }
.card-btn.loading { opacity: .6; pointer-events: none; }
.card-btn.added::after,
.card-btn.loading::after { display: none !important; }
.card-btn + .added_to_cart { display: none !important; }

/* Rinkiniai */
.set-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.set-card-media { position: relative; height: 170px; background: var(--bg-warm); display: flex; align-items: center; justify-content: center; }
.set-stack { display: flex; align-items: center; }
.set-stack img { width: 118px; height: 118px; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 10px 14px rgba(43, 29, 18, 0.18)); }
.set-stack img + img { margin-left: -44px; }
.set-card h3 { font-family: var(--serif); font-size: 18px; }
.set-items { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 12px; line-height: 1.45; color: var(--ink-soft); }
.set-items li::before { content: '· '; }
.set-card.is-dark { background: var(--ink); }
.set-card.is-dark .set-card-media { background: #3A2A1C; }
.set-card.is-dark h3 { color: var(--bg); }
.set-card.is-dark .set-items { color: #D9C6AB; }
.biz-btn {
	margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px;
	padding: 11px 12px 11px 18px; border-radius: 100px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 700;
}
.biz-btn:hover { background: #E7A75A; color: var(--ink); }
.biz-btn span { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg-warm); display: inline-flex; align-items: center; justify-content: center; }
.biz-btn .icon { width: 14px; height: 14px; }

@media (max-width: 1024px) { .set-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .set-grid { grid-template-columns: 1fr; } }

/* Dovanų idėjos */
.gift-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.gift-card { display: flex; flex-direction: column; background: var(--panel); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .3s, box-shadow .3s; }
.gift-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.gift-card-media { position: relative; height: 220px; background: var(--bg-warm); display: flex; align-items: center; justify-content: center; }
.gift-card-media img { width: 180px; height: 180px; object-fit: contain; border-radius: 50%; }
.gift-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.gift-card-body b { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.gift-card-body span { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.gift-card-body em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent-deep); margin-top: 4px; }
.gift-card.is-dark { background: var(--ink); color: var(--bg); }
.gift-card.is-dark:hover { color: var(--bg); }
.gift-card.is-dark .gift-card-media { background: #3A2A1C; }
.gift-card.is-dark .gift-card-body span { color: #E6D3B8; }
.gift-card.is-dark .gift-card-body em { color: #E7A75A; }

@media (max-width: 1024px) { .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gift-grid { grid-template-columns: 1fr; } }

/* Lietuviški motyvai */
.lt-band {
	position: relative; overflow: hidden; background: var(--ink); color: var(--bg); border-radius: 28px;
	padding: 30px 44px 58px; display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 28px;
}
.lt-band .eyebrow { color: #E7A75A; margin-bottom: 10px; }
.lt-band .sec-title { color: var(--bg); font-size: clamp(24px, 2.6vw, 32px); }
.lt-band-side { display: flex; align-items: center; gap: 28px; }
.lt-band-side p { margin: 0; max-width: 300px; font-size: 13.5px; line-height: 1.55; color: #D9C6AB; }
.lt-ornament { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 30px; background: #3A2A1C; fill: none; stroke: #E7A75A; stroke-width: 1.6; }
.btn-accent { background: var(--accent); color: var(--ink); font-weight: 700; flex: none; }
.btn-accent:hover { background: #E7A75A; color: var(--ink); }
.lt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lt-card { border-radius: 24px; box-shadow: var(--shadow); }
.lt-card-media {
	position: relative; height: 276px; display: flex; align-items: center; justify-content: center; padding: 24px;
	background-color: var(--bg-warm);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='60' viewBox='0 0 68 60'%3E%3Cpath d='M0 30l17-15 17 15 17-15 17 15M0 30l17 15 17-15 17 15 17-15' fill='none' stroke='%23A85F22' stroke-opacity='.14' stroke-width='1.4'/%3E%3C/svg%3E");
	background-position: center top 10px; background-repeat: repeat-x;
}
.lt-card-media img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; border-radius: 16px; }
.lt-card-body h3 { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.lt-photo-placeholder {
	width: 190px; height: 190px; border-radius: 50%; background: #FBF1E2; border: 1.5px dashed rgba(43, 29, 18, 0.22);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	color: #8A765F; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.lt-photo-placeholder .icon { width: 34px; height: 34px; }
.lt-card.is-placeholder .card-btn { opacity: .5; }
.admin-preview-note {
	margin: -8px 0 20px; padding: 12px 16px; border-radius: 12px; border: 1px dashed var(--accent-deep);
	background: var(--accent-soft); color: var(--ink); font-size: 13px;
}
.admin-preview-note a { font-weight: 700; color: var(--accent-deep); margin-left: 6px; }
.lt-card-body p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }

@media (max-width: 1024px) {
	.lt-band { flex-direction: column; align-items: flex-start; gap: 18px; }
	.lt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.lt-band { padding: 28px 24px 54px; }
	.lt-band-side { flex-direction: column; align-items: flex-start; gap: 16px; }
	.lt-grid { grid-template-columns: 1fr; }
}

/* Kaip gimsta žvakė */
.process-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.process-steps::before { content: ''; position: absolute; top: 32px; left: 12%; right: 12%; border-top: 2px dashed rgba(168, 95, 34, 0.35); }
.process-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.process-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--panel); box-shadow: var(--shadow-sm); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; }
.process-icon .icon { width: 26px; height: 26px; }
.process-step.is-last .process-icon { background: var(--ink); color: var(--bg-warm); }
.process-num { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--accent-deep); }
.process-step b { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.process-text { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); max-width: 220px; }

@media (max-width: 860px) {
	.process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.process-steps::before { display: none; }
}

/* Slenkantys atsiliepimai */
.section-reviews .sec-head { margin-bottom: 28px; }
.marquee { position: relative; overflow: hidden; padding: 12px 0 24px; }
.marquee::before,
.marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(250, 244, 233, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(250, 244, 233, 0)); }
.marquee-track { display: flex; gap: 22px; padding-right: 22px; width: max-content; animation: mkMarquee 60s linear infinite; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee .testi-card { width: 360px; flex: none; }
@keyframes mkMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 560px) {
	.marquee .testi-card { width: 280px; }
	.marquee::before,
	.marquee::after { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.marquee { overflow-x: auto; }
	.marquee-track { animation: none; }
}

/* Tinklaraštis pradžioje */
.blog-home { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.blog-featured { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: center; color: var(--ink); }
.blog-featured:hover { color: var(--ink); }
.blog-featured-media { display: block; width: 250px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--bg-warm); }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-featured:hover .blog-featured-media img { transform: scale(1.05); }
.blog-featured-body { display: flex; flex-direction: column; gap: 12px; }
.blog-featured-body b { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.2; }
.pill-tag { align-self: flex-start; background: var(--accent-soft); color: var(--accent-deep); font-size: 10px; letter-spacing: 0.04em; font-weight: 700; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.blog-list { display: flex; flex-direction: column; }
.blog-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 0; border-top: 1px solid rgba(43, 29, 18, 0.12); color: var(--ink); }
.blog-row:hover { color: var(--accent-deep); }
.blog-row-media { display: block; width: 130px; height: 130px; border-radius: 50%; overflow: hidden; background: var(--bg-warm); }
.blog-row-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-row-body { display: flex; flex-direction: column; gap: 8px; }
.blog-row-cat { font-size: 10.5px; letter-spacing: 0.05em; font-weight: 700; text-transform: uppercase; color: var(--accent-deep); }
.blog-row-body b { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.3; }

@media (max-width: 960px) { .blog-home { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 560px) {
	.blog-featured { grid-template-columns: 1fr; }
	.blog-featured-media { width: 220px; }
	.blog-row { grid-template-columns: 90px minmax(0, 1fr); gap: 16px; }
	.blog-row-media { width: 90px; height: 90px; }
}

/* Kategorijų filtras bloko viduje */
.filter-inline { margin: -12px 0 28px; }
.filter-inline .filter-row { padding: 0; max-width: none; flex-wrap: wrap; overflow: visible; }

/* Poraštė su naujienlaiškiu */
.footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr 1.7fr; gap: 36px; }
.footer-newsletter p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin: 0 0 10px; }
.footer-newsletter .footer-nl-title { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 6px; }
.footer-nl-title em { font-weight: 500; }
.footer-nl-form { display: flex; gap: 6px; margin-top: 4px; background: var(--panel); border-radius: 100px; padding: 5px; box-shadow: var(--shadow-sm); }
.footer-nl-form input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; border-radius: 100px; padding: 10px 14px; font-size: 13.5px; }
.footer-nl-form button { flex: none; padding: 10px 18px; font-size: 13px; }

@media (max-width: 1080px) {
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand,
	.footer-newsletter { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v1.2: perpus mažesni tarpai tarp pradžios puslapio blokų */
.home .section { padding: 40px 0; }
.home .hero { padding: 50px 0 60px; }
@media (max-width: 960px) {
	.home .section { padding: 28px 0; }
	.home .hero { padding: 36px 0 40px; }
}

/* v1.2: „Į krepšelį“ mygtukas asortimento kortelėse */
.product-card .product-foot { gap: 10px; flex-wrap: wrap; }
.product-card .product-foot .card-btn { margin-left: auto; }
