/*
Theme Name: Devideko
Description: Devideko için WooCommerce blok teması — renkli cam ve sofra setleri.
Version: 1.2.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: devideko
License: GPL-2.0-or-later
*/

/* İçerik 1440 px ekranda 1420 px (Rakle ölçüsü); daha dar ekranda kenar boşluğu artar. */
:root { --dvd-gutter: clamp(16px, 3.5vw, 48px); --dvd-radius: 15px; --dvd-line: #F2E5E5; }
@media (min-width: 1430px) { :root { --dvd-gutter: 3px; } }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
.wp-site-blocks { overflow-x: clip; }
.dvd-slider .dvd-slide { position: relative; }
.dvd-home .wp-block-image > a { display: block; }
.dvd-home .wp-block-image:not(.is-resized) img { width: 100%; height: auto; display: block; }

/* ---------- Duyuru bandı (kayan) ---------- */
.dvd-marquee { height: 60px; overflow: hidden; display: flex; align-items: center; font-size: 16px; }
.dvd-marquee__track { width: max-content; gap: 0 !important; animation: dvd-marquee 40s linear infinite; }
.dvd-marquee__track p { margin: 0; padding-right: 120px; white-space: nowrap; position: relative; }
.dvd-marquee__track p::after { content: "✦"; position: absolute; right: 52px; opacity: .6; font-size: 13px; top: 3px; }
.dvd-marquee:hover .dvd-marquee__track { animation-play-state: paused; }
@keyframes dvd-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .dvd-marquee__track { animation: none; } }

/* ---------- Header ---------- */
.dvd-header { background: #fff; padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > *, .dvd-header > * { margin-block: 0; }
.dvd-header__top { min-height: 101px; gap: 20px; border-bottom: 1px solid var(--dvd-line); }
.dvd-header__left { gap: 60px; flex: 1 1 auto; }
.dvd-logo { margin: 0; font-size: 30px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; line-height: 1; color: #171515; }
.dvd-logo a { text-decoration: none; }
.dvd-burger { display: none; background: none; border: 0; padding: 4px; cursor: pointer; color: #141414; }

.dvd-search { width: 420px; margin: 0; }
.dvd-search .wp-block-search__inside-wrapper { height: 51px; padding: 0 20px !important; border: 1px solid var(--dvd-line) !important; border-radius: 20px; background: #FBFBFB; gap: 0; }
.dvd-search .wp-block-search__button { order: -1; margin: 0; padding: 0 16px 0 0 !important; height: 24px; align-self: center; background: none !important; color: #504C4C; border: 0; border-right: 1px solid var(--dvd-line) !important; border-radius: 0; }
.dvd-search .wp-block-search__button svg { width: 18px; height: 18px; }
.dvd-search .wp-block-search__input { border: 0; background: none; padding: 0 0 0 20px; font-size: 15px; color: #504C4C; font-family: ui-sans-serif, system-ui, sans-serif; }
.dvd-search .wp-block-search__input:focus { outline: none; }
.dvd-search .wp-block-search__inside-wrapper:focus-within { border-color: #c9b9b9 !important; }

.dvd-header__actions { gap: 0; }
.dvd-header__actions > * { padding: 0 30px; }
.dvd-header__actions > * + * { border-left: 1px solid var(--dvd-line); }
.dvd-header__actions > :last-child { padding-right: 0; }
.dvd-header__actions .wp-block-woocommerce-customer-account, .dvd-header__actions .wp-block-woocommerce-customer-account a { font-size: 15px; text-transform: uppercase; color: #141414; gap: 10px; }
.dvd-header__actions .wc-block-mini-cart__button { padding: 0; gap: 10px; color: #141414; }
.dvd-header__actions .wc-block-mini-cart__button::after { content: "Sepet"; font-size: 15px; text-transform: uppercase; }

/* Menü satırı + mega menü */
.dvd-nav { position: relative; z-index: 40; }
.dvd-nav__list { display: flex; justify-content: center; align-items: center; gap: 45px; height: 84px; margin: 0; padding: 0; list-style: none; }
.dvd-nav__link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; text-transform: uppercase; color: #141414; text-decoration: none; padding: 30px 0; }
.dvd-nav__link[aria-expanded="true"] .dvd-chev { transform: rotate(180deg); }
.dvd-chev { transition: transform .2s; flex: none; }

.dvd-mega { position: absolute; top: 100%; left: 0; right: 0; height: 420px; display: grid; grid-template-columns: 300px 1fr; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgb(0 0 0 / .08); border: 1px solid #f0f0f0; }
.dvd-mega[hidden], .dvd-mega__panel[hidden] { display: none; }
.dvd-mega__groups, .dvd-mega__links { list-style: none; margin: 0; padding: 45px 50px; display: flex; flex-direction: column; gap: 15px; }
.dvd-mega__groups { background: #F8F8F8; }
.dvd-mega a { font-size: 14px; text-transform: uppercase; color: rgb(20 20 20 / .4); text-decoration: none; transition: color .15s; }
.dvd-mega a:hover, .dvd-mega a:focus-visible, .dvd-mega__groups a.is-active { color: #141414; }
.dvd-mega__groups a { display: flex; justify-content: space-between; align-items: center; }
.dvd-mega__panel { display: grid; grid-template-columns: 1fr 360px; padding-right: 50px; }
.dvd-mega__media { align-self: start; margin-top: 45px; }
.dvd-mega__media img { width: 360px; height: 310px; object-fit: cover; border-radius: 10px; display: block; }

/* Mobil çekmece */
.dvd-drawer { inset: 0 auto 0 0; width: min(360px, 88vw); height: 100dvh; max-height: none; margin: 0; padding: 64px 24px 24px; border: 0; background: #fff; overflow-y: auto; }
.dvd-drawer::backdrop { background: rgb(0 0 0 / .4); }
.dvd-drawer__close { position: absolute; top: 14px; right: 16px; font-size: 32px; line-height: 1; background: none; border: 0; cursor: pointer; }
.dvd-drawer summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid #eee; font-size: 15px; text-transform: uppercase; list-style: none; cursor: pointer; }
.dvd-drawer summary::-webkit-details-marker { display: none; }
.dvd-drawer details[open] .dvd-chev { transform: rotate(180deg); }
.dvd-drawer ul { list-style: none; margin: 0; padding: 8px 0 8px 12px; }
.dvd-drawer li a { display: block; padding: 10px 0; font-size: 14px; text-transform: uppercase; color: #555; text-decoration: none; }

@media (max-width: 990px) {
	.dvd-burger { display: block; }
	.dvd-nav { display: none; }
	.dvd-header__top { flex-wrap: wrap !important; min-height: 0; padding: 14px 0; row-gap: 14px; }
	.dvd-header__left { gap: 12px; flex-wrap: wrap !important; display: contents !important; }
	.dvd-burger { order: 1; }
	.dvd-logo { order: 2; font-size: 24px; margin-right: auto; }
	.dvd-header__actions { order: 3; margin-left: auto; }
	.dvd-search { order: 4; width: 100%; flex-basis: 100%; }
	.dvd-header__actions > * { padding: 0 0 0 16px; border: 0 !important; }
	.dvd-header__top { justify-content: flex-start !important; flex-wrap: wrap !important; }
	.dvd-header__actions .wp-block-woocommerce-customer-account .label { display: none; }
	.dvd-header__actions .wc-block-mini-cart__button::after { display: none; }
	.dvd-slider__dots { right: auto; left: 50%; transform: translateX(-50%); bottom: 14px; }
	.dvd-slider__arrow { display: none; }
}

/* ---------- Ana sayfa bölümleri ---------- */
.dvd-home > * { margin-block: 0; }
.dvd-sec { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.dvd-sec--hero { padding: 0; }
.dvd-sec--story { padding-top: 40px; padding-bottom: 40px; }
.dvd-sec--tight { padding-top: 0; }
.dvd-sec-head { margin-bottom: 30px; align-items: center; }
.dvd-sec-head h2 { margin: 0; font-size: var(--wp--preset--font-size--x-large); }

/* Okları (kaydırıcı ve slider) */
.dvd-arrows { display: flex; gap: 12px; }
.dvd-arrow, .dvd-slider__arrow { width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #97999B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h12m-5-5 5 5-5 5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.dvd-arrow[data-dir="-1"], .dvd-slider__arrow[data-dir="-1"] { transform: scaleX(-1); }
.dvd-arrow:disabled { background-color: rgb(151 153 155 / .4); cursor: default; }

/* Slider 1420×500 */
.dvd-slider { position: relative; }
.dvd-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--dvd-radius); }
.dvd-slider__track::-webkit-scrollbar { display: none; }
.dvd-slider .dvd-slide { flex: 0 0 100%; margin: 0 !important; scroll-snap-align: start; }
.dvd-slider .dvd-slide img { width: 100%; display: block; min-height: 220px; }
.dvd-slider__arrow { position: absolute; top: 50%; margin-top: -19px; left: 35px; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m8 5 5 5-5 5' fill='none' stroke='%23141414' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dvd-slider__arrow[data-dir="1"] { left: auto; right: 35px; }
.dvd-slider__dots { position: absolute; right: 50px; bottom: 55px; display: flex; gap: 8px; }
.dvd-slider__dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: #fff; cursor: pointer; }
.dvd-slider__dots button[aria-current="true"] { background: #000; }

/* Yuvarlak kategori ikonları */
.dvd-story { gap: 70px; }
.dvd-story__item { width: 110px; gap: 10px; flex: none; }
.dvd-story__item .wp-block-image { margin: 0; }
.dvd-home .dvd-story .dvd-story__img img { width: 99px; height: 99px; border-radius: 50%; padding: 4px; border: 1.5px solid var(--wp--preset--color--gold); background: #fff; }
.dvd-story__item p { margin: 0; font-size: 16px; line-height: 1.25; }
@media (max-width: 990px) {
	.dvd-story { justify-content: flex-start !important; overflow-x: auto; gap: 16px; scrollbar-width: none; }
	.dvd-story__item { width: 84px; }
	.dvd-home .dvd-story .dvd-story__img img { width: 76px; height: 76px; }
	.dvd-story__item p { font-size: 13px; }
}

/* Ürün kaydırıcısı: 4 kart (333 px), 30 px aralık */
.dvd-carousel .wc-block-product-template { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: calc((100% - 90px) / 4); gap: 30px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0; margin: 0; }
.dvd-carousel .wc-block-product-template::-webkit-scrollbar { display: none; }
.dvd-carousel .wc-block-product-template > li { width: auto !important; margin: 0 !important; scroll-snap-align: start; position: relative; }
.dvd-carousel--2 .wc-block-product-template { grid-auto-columns: calc((100% - 30px) / 2); }
@media (max-width: 781px) {
	.dvd-carousel .wc-block-product-template { grid-auto-columns: calc((100% - 15px) / 1.6); gap: 15px !important; }
	.dvd-sec-head h2 { font-size: 26px; }
}

/* Ürün kartı (ana sayfa + kategori) */
.dvd-cards > li { display: flex; flex-direction: column; }
.dvd-card-img { margin-bottom: 0 !important; }
.dvd-card-img img, .dvd-card-img .wc-block-components-product-image { border-radius: var(--dvd-radius); background: #fff; }
.dvd-card-cat { margin: 20px 0 0; font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.dvd-card-cat a { text-decoration: none; }
.dvd-card-title { margin: 10px 0 0; font-size: 18px; line-height: 1.35; color: #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.dvd-card-title a { text-decoration: none; }
.dvd-card-foot { margin-top: auto !important; padding-top: 20px; align-items: center; }
.dvd-card-price { gap: 10px; align-items: center; }
.dvd-card-price .wp-block-woocommerce-product-sale-badge { margin: 0; }
.dvd-card-price .wc-block-components-product-sale-badge { position: static; width: 51px; height: 51px; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; border: 0; border-radius: var(--dvd-radius); background: var(--wp--preset--color--sale); color: #fff; font-size: 15px; font-weight: 500; text-transform: none; }
.dvd-card-price .wc-block-components-product-price { display: flex; flex-direction: column-reverse; margin: 0; line-height: 1.25; font-size: 18px; color: #000; }
.dvd-card-price .wc-block-components-product-price ins { text-decoration: none; }
.dvd-card-price .wc-block-components-product-price del { font-size: 16px; color: #9A9898; }
.dvd-card-cart { margin: 0 !important; flex: none; }
.wp-block-button.dvd-card-cart .wc-block-components-product-button__button { flex: none; width: 47px !important; min-width: 47px !important; height: 47px; min-height: 0; padding: 0 !important; font-size: 0 !important; background: #fff !important; border: 1px solid #DCDCDC !important; border-radius: 10px !important; color: #141414 !important; display: flex; align-items: center; justify-content: center; }
.dvd-card-cart .wc-block-components-product-button__button::before, .dvd-icon-btn::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("assets/img/icon-bag.svg") center / contain no-repeat; mask: url("assets/img/icon-bag.svg") center / contain no-repeat; }
.dvd-card-cart .wc-block-components-product-button__button:hover { border-color: #141414; }
.dvd-card-cart .added_to_cart { display: none; }

/* Promosyon 2×2 (695×442) */
.dvd-promo { gap: 30px !important; }
.dvd-promo .wp-block-image { margin: 0; }
.dvd-promo img { width: 100%; border-radius: var(--dvd-radius); display: block; }
@media (max-width: 781px) { .dvd-promo { grid-template-columns: 1fr !important; gap: 15px !important; } }

/* Sofra sahnesi 1420×800 */
.dvd-scene { aspect-ratio: 1420 / 800; min-height: 0 !important; padding: 0 !important; border-radius: var(--dvd-radius); overflow: visible !important; }
.dvd-scene > img, .dvd-scene > .wp-block-cover__background { border-radius: var(--dvd-radius); }
.dvd-scene .wp-block-cover__inner-container { position: absolute; inset: 0; width: 100% !important; max-width: none !important; }
.dvd-pin { position: absolute; }
.dvd-pin__dot { width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgb(20 20 20 / .18); position: relative; }
.dvd-pin__dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.dvd-pin__dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgb(255 255 255 / .5); animation: dvd-pulse 2s ease-out infinite; }
@keyframes dvd-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.dvd-pin__card { box-sizing: border-box; position: absolute; top: 24px; left: -238px; width: 477px; z-index: 5; display: grid; grid-template-columns: 101px 1fr 47px; gap: 15px; align-items: end; padding: 25px; background: #fff; border-radius: var(--dvd-radius); box-shadow: 0 10px 30px rgb(0 0 0 / .12); }
.dvd-pin__card[hidden] { display: none; }
.dvd-pin__img img { width: 101px; height: 133px; object-fit: cover; border-radius: var(--dvd-radius); display: block; }
.dvd-pin__body { display: flex; flex-direction: column; gap: 6px; align-self: stretch; }
.dvd-pin__cat { font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.dvd-pin__name { font-size: 16px; color: #000; text-decoration: none; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dvd-pin__price { margin-top: auto; font-size: 16px; color: #000; }
.dvd-pin__price del { color: #9A9898; margin-right: 6px; }
.dvd-pin__price ins { text-decoration: none; }
.dvd-icon-btn { width: 47px; height: 47px; display: flex; align-items: center; justify-content: center; border: 1px solid #DCDCDC; border-radius: 10px; color: #141414; }
@media (max-width: 781px) {
	.dvd-scene { aspect-ratio: 4 / 5; }
	.dvd-pin__card { position: fixed; left: 16px; right: 16px; bottom: 16px; top: auto; width: auto; z-index: 60; }
}

/* Yeni Gelenler (sekmeli) */
.dvd-tabs__nav { display: flex; gap: 15px; }
.dvd-tabs__nav button { height: 45px; padding: 0 16px; border-radius: var(--dvd-radius); border: 1px solid #DCDCDC; background: #fff; color: #141414; font: inherit; font-size: 16px; text-transform: uppercase; cursor: pointer; }
.dvd-tabs__nav button[aria-selected="true"] { background: #171717; border-color: #171717; color: #fff; }
.dvd-tabs__panel[hidden] { display: none; }
.dvd-tabs__cols { gap: 30px !important; margin: 0; }
.dvd-tabs__img { margin: 0; }
.dvd-tabs__img img { width: 100%; border-radius: var(--dvd-radius); display: block; }
.dvd-tabs .dvd-card-img img { aspect-ratio: 3 / 4 !important; }
.dvd-tabs__foot { margin-top: 40px; padding-top: 35px; border-top: 1px solid #E5E5E5; align-items: center; }
.dvd-btn-explore .wp-block-button__link { background: #fff; color: #7C543D; border: 1px solid #DCDCDC; border-radius: 10px; padding: 12px 30px; }

/* Blog 453×345 ×3 */
.dvd-blog__grid { gap: 30px !important; }
.dvd-blog .wp-block-post-featured-image { margin: 0 0 20px; }
.dvd-blog .wp-block-post-featured-image img { border-radius: var(--dvd-radius); }
.dvd-read-time { font-size: 16px; font-weight: 500; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.dvd-blog__title { margin: 12px 0 0; font-size: 18px; color: #000; line-height: 1.45; }
.dvd-blog__more { display: inline-block; margin-top: 18px; text-transform: uppercase; color: #000; text-decoration: none; }
.dvd-link-all { margin: 0; }
.dvd-link-all a { color: #7C543D; text-transform: uppercase; text-decoration: none; }
@media (max-width: 781px) { .dvd-blog__grid { grid-template-columns: 1fr !important; } }

/* Vitrin (metin + 737×604 görsel) */
.dvd-spot { gap: 113px !important; }
.dvd-spot > .wp-block-column:first-child { flex: 0 0 570px !important; }
.dvd-pill { display: inline-block; margin: 0; padding: 10px 20px; border-radius: 30px; background: rgb(168 132 78 / .12); color: var(--wp--preset--color--gold); font-size: 14px; }
.dvd-spot__title { margin: 30px 0 0; font-size: var(--wp--preset--font-size--xx-large); font-weight: 600; line-height: 1.05; color: #141414; }
.dvd-accent { color: var(--wp--preset--color--gold); }
.dvd-spot__text { margin: 30px 0 0; max-width: 570px; font-size: 18px; color: #141414; }
.dvd-spot__actions { margin-top: 40px; gap: 30px; align-items: center; }
.dvd-spot__actions .wp-block-button__link { text-transform: none; font-weight: 500; padding: 16px 30px; }
.dvd-check { margin: 0; font-weight: 500; color: #414745; }
.dvd-spot__img { margin: 0; }
.dvd-spot__img img { width: 100%; border-radius: var(--dvd-radius); display: block; }
@media (max-width: 781px) { .dvd-spot { gap: 30px !important; } .dvd-spot > .wp-block-column:first-child { flex-basis: 100% !important; } .dvd-insta__grid { padding: 0; gap: 8px; } }

/* Instagram 334 / 685 / 334 */
.dvd-insta__title { font-size: 28px; font-weight: 600; color: #000; margin: 0 0 40px; }
.dvd-insta__grid { display: grid; grid-template-columns: 334fr 685fr 334fr; gap: 16px; padding: 0 17px; }
.dvd-insta__grid .wp-block-image { margin: 0; }
.dvd-insta__grid img { width: 100%; height: 100%; display: block; }
.dvd-insta__img:nth-child(1) { grid-area: 1 / 1; }
.dvd-insta__img:nth-child(2) { grid-area: 2 / 1; }
.dvd-insta__img:nth-child(3) { grid-area: 1 / 2 / 3 / 3; }
.dvd-insta__img:nth-child(4) { grid-area: 1 / 3; }
.dvd-insta__img:nth-child(5) { grid-area: 2 / 3; }
.dvd-insta .wp-block-buttons { margin-top: 40px; }
.dvd-btn-pill .wp-block-button__link { border-radius: 40px; padding: 19px 38px; font-size: 15px; font-weight: 600; text-transform: none; background: #000; }

/* SEO metni */
.dvd-seo { padding: 50px; background: #fff; border: 1px solid #EEEEEE; border-radius: var(--dvd-radius); }
.dvd-seo__title { margin: 0 0 25px; font-size: 30px; }
.dvd-seo__body { max-height: 150px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.dvd-seo__body p { margin: 0 0 20px; color: #000; line-height: 1.65; }
.dvd-seo.is-open .dvd-seo__body { max-height: none; -webkit-mask-image: none; mask-image: none; }
.dvd-seo__toggle { margin-top: 10px; height: 45px; padding: 0 30px; border: 0; border-radius: 10px; background: var(--wp--preset--color--muted); color: #fff; font: inherit; text-transform: uppercase; cursor: pointer; }
@media (max-width: 781px) { .dvd-seo { padding: 24px; } }

/* Güvence kartları 440×230 */
.dvd-trust { gap: 50px !important; }
.dvd-trust__card { height: 230px; gap: 0; border: 1px solid #E8E8E8; border-radius: var(--dvd-radius); justify-content: center; text-align: center; }
.dvd-trust__card .wp-block-image { margin: 0 0 15px; }
.dvd-trust__label { margin: 0; font-weight: 500; text-transform: uppercase; color: var(--wp--preset--color--gold); }
.dvd-trust__text { margin: 4px 0 0; color: #000; }
@media (max-width: 781px) { .dvd-trust { grid-template-columns: 1fr !important; gap: 15px !important; } .dvd-trust__card { height: 160px; } }

/* ---------- Footer ---------- */
.dvd-footer { padding-top: 80px; padding-bottom: 30px; }
.dvd-footer__title { color: #fff; font-size: var(--wp--preset--font-size--x-large); line-height: 1.3; margin: 0 0 20px; max-width: 380px; }
.dvd-footer__news { justify-content: space-between; margin-bottom: 0; }
.dvd-newsletter { max-width: 590px; margin-left: auto; }
.dvd-newsletter__row { display: flex; gap: 10px; padding: 10px 10px 10px 30px; border-radius: 10px; background: rgb(255 255 255 / .06); }
.dvd-newsletter__row input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: inherit; }
.dvd-newsletter__row input::placeholder { color: #A8A399; }
.dvd-newsletter__row input:focus { outline: none; }
.dvd-newsletter__row:focus-within { box-shadow: 0 0 0 1px #A8A399; }
.dvd-newsletter__row button { height: 44px; padding: 0 30px; border: 0; border-radius: 10px; background: #D9D9D9; color: #171515; font: inherit; text-transform: uppercase; cursor: pointer; }
.dvd-newsletter__consent { display: flex; gap: 10px; align-items: center; margin-top: 15px; font-size: 14px; color: #A8A399; }
.dvd-newsletter__consent a { color: #fff; }
.dvd-newsletter__consent input { width: 20px; height: 20px; accent-color: #fff; }
.dvd-newsletter__msg { margin: 12px 0 0; color: #fff; font-size: 14px; }
.dvd-hp { position: absolute; left: -9999px; }
.dvd-footer__menu { margin-top: 80px !important; gap: 60px !important; }
.dvd-footer__head { margin: 0 0 20px; font-size: 16px; text-transform: uppercase; color: #fff; }
.dvd-footer__head a { text-decoration: none; }
.dvd-footer-links { list-style: none; padding: 0; margin: 0; font-size: 14px; text-transform: uppercase; }
.dvd-footer-links li { margin-bottom: 12px; }
.dvd-footer-links a { color: var(--wp--preset--color--footer-link); text-decoration: none; }
.dvd-footer-links a:hover { color: #fff; }
.dvd-footer__bottom { margin-top: 60px !important; padding-top: 25px; border-top: 1px solid rgb(255 255 255 / .1); align-items: center; }
@media (max-width: 990px) { .dvd-footer__menu { grid-template-columns: repeat(2, 1fr) !important; gap: 30px !important; } }

/* ---------- Ortak: breadcrumb (ev ikonu · ince ayraç · son öğe gri) ---------- */
.dvd-crumb-row { border-bottom: 1px solid var(--dvd-line); }
.dvd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; padding: 25px 0 !important; margin: 0 !important; font-size: 16px; color: #000; }
.dvd-crumbs::before { display: none !important; }
.dvd-crumb a { color: #000; text-decoration: none; }
.dvd-crumb:last-child { color: var(--wp--preset--color--muted); }
.dvd-crumb-sep { font-size: 12px; color: #C3C4C6; }
.dvd-crumb:first-child a { display: inline-block; width: 22px; height: 22px; font-size: 0; vertical-align: middle; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.dvd-archive > *, .dvd-pdp > * { margin-block: 0; }

/* ---------- Kategori sayfası ---------- */
.dvd-cat-bar__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 113px; }
.dvd-count, .dvd-cat-bar__inner > p { margin: 0; font-size: 18px; color: #000; }
.dvd-cat-bar__title { margin: 0; font-size: var(--wp--preset--font-size--x-large); color: #141414; text-align: center; }
.dvd-sort { justify-self: end; margin: 0; }
.dvd-sort select { appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 14px no-repeat; padding: 4px 24px 4px 0; font: inherit; font-size: 16px; color: #141414; cursor: pointer; }
.dvd-shop { gap: 60px !important; margin-top: 60px !important; margin-bottom: 80px !important; }

/* Filtreler */
.dvd-shop__filters .wc-block-product-filters { gap: 0; }
.dvd-filters-head { padding-bottom: 20px; margin-bottom: 10px; border-bottom: 1px solid var(--dvd-line); align-items: center; }
.dvd-filters-head__title { margin: 0; font-size: 18px; text-transform: uppercase; color: #1A1612; }
.dvd-clear { display: inline-flex; align-items: center; gap: 8px; color: #000; text-decoration: none; }
.dvd-clear::before { content: ""; width: 16px; height: 16px; background: #97999B; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.dvd-filter { padding: 20px 0; border-bottom: 1px solid var(--dvd-line); margin: 0 !important; }
.dvd-filter__title { display: flex; justify-content: space-between; align-items: center; margin: 0 0 15px !important; font-size: 16px !important; color: #1A1612; cursor: pointer; }
.dvd-filter__title::after { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 12 5-5 5 5' fill='none' stroke='%23141414' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.dvd-filter.is-collapsed .dvd-filter__title { margin-bottom: 0 !important; }
.dvd-filter.is-collapsed .dvd-filter__title::after { transform: rotate(180deg); }
.dvd-filter.is-collapsed > :not(.dvd-filter__title) { display: none; }
.dvd-filter .wc-block-product-filter-checkbox-list__items { max-height: 330px; overflow-y: auto; }
.dvd-filter .wc-block-product-filter-checkbox-list__item { margin-bottom: 14px; }
.dvd-filter .wc-block-product-filter-checkbox-list__label { gap: 10px; font-size: 16px; color: #000; }
.dvd-filter .wc-block-product-filter-checkbox-list__input { width: 16px !important; height: 16px !important; margin: 0; border: 1px solid #DED4C4 !important; border-radius: 3px !important; background: #FFFEFA !important; }
.dvd-filter .wc-block-product-filter-checkbox-list__input:checked { background: #171717 !important; border-color: #171717 !important; }
.dvd-filter .wc-block-product-filter-checkbox-list__mark { color: #fff; }

/* 3 sütun · 320 px kart · satırlar arasında tam genişlik çizgi */
.dvd-grid .wc-block-product-template { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; column-gap: 30px !important; row-gap: 100px !important; }
.dvd-grid .wc-block-product-template > li { width: auto !important; margin: 0 !important; position: relative; }
.dvd-grid .wc-block-product-template > li::after { content: ""; position: absolute; left: -15px; right: -15px; bottom: -50px; height: 1px; background: #EDEDED; }
.dvd-pagination { margin-top: 100px !important; gap: 22px; font-size: 18px; }
.dvd-pagination a, .dvd-pagination .page-numbers { color: #000; text-decoration: none; }
.dvd-pagination .page-numbers.current { color: var(--wp--preset--color--gold); }
.dvd-pagination .wp-block-query-pagination-previous { margin-right: 40px; }
.dvd-pagination .wp-block-query-pagination-next { margin-left: 40px; }

@media (max-width: 990px) {
	.dvd-cat-bar__inner { grid-template-columns: 1fr auto; row-gap: 6px; padding: 20px 0; min-height: 0; }
	.dvd-cat-bar__title { grid-column: 1 / -1; grid-row: 1; text-align: left; font-size: 28px; }
	.dvd-shop { margin-top: 24px !important; }
	.dvd-grid .wc-block-product-template { grid-template-columns: repeat(2, 1fr) !important; column-gap: 15px !important; row-gap: 60px !important; }
	.dvd-grid .wc-block-product-template > li::after { bottom: -30px; left: -8px; right: -8px; }
}

/* ---------- Ürün sayfası ---------- */
.dvd-crumb-row--pdp { border-bottom: 0; }
.dvd-crumb-row--pdp .dvd-crumbs { padding: 40px 0 !important; }
.dvd-pdp__layout { gap: 70px !important; margin: 0 !important; }
/* Galeri: solda 90×119 küçük görseller, sağda 555×730 büyük görsel */
.dvd-pdp__media .wc-block-product-gallery { gap: 30px !important; align-items: flex-start; }
.dvd-pdp__media .wc-block-product-gallery-thumbnails { flex: 0 0 90px !important; width: 90px !important; }
.dvd-pdp__media .wc-block-product-gallery-thumbnails__scrollable { gap: 20px !important; flex-direction: column; }
.dvd-pdp__media .wc-block-product-gallery-thumbnails__thumbnail { width: 90px !important; height: 119px !important; flex: none !important; aspect-ratio: auto !important; border-radius: 10px; overflow: hidden; background: #F7F7F7; }
.dvd-pdp__media .wc-block-product-gallery-thumbnails__thumbnail img { width: 100% !important; height: 100% !important; object-fit: cover !important; aspect-ratio: auto !important; }
.dvd-pdp__media .wc-block-product-gallery-thumbnails { height: auto !important; max-height: 730px; aspect-ratio: auto !important; }
.dvd-pdp__media .wc-block-product-gallery-thumbnails__scrollable { max-height: 730px; overflow-y: auto; -webkit-mask-image: none !important; mask-image: none !important; }
.dvd-pdp__media .wc-block-product-gallery-large-image { flex: 1; border-radius: var(--dvd-radius); overflow: hidden; }
.dvd-pdp__media .wc-block-product-gallery-large-image__container, .dvd-pdp__media .wc-block-product-gallery-large-image__wrapper { height: auto !important; }
.dvd-pdp__media .wc-block-product-gallery-large-image__wrapper { aspect-ratio: 555 / 730 !important; }
.dvd-pdp__media .wc-block-product-gallery-large-image__wrapper .wc-block-components-product-image, .dvd-pdp__media .wc-block-product-gallery-large-image__wrapper .wc-block-components-product-image.wc-block-components-product-image.wc-block-components-product-image img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover !important; }
.dvd-pdp__media .wc-block-next-previous-buttons { padding: 0 20px; box-sizing: border-box; }
.dvd-pdp__media .wc-block-next-previous-buttons__button { width: 38px !important; height: 38px !important; padding: 0 !important; border-radius: 50% !important; background: #fff !important; border: 0 !important; color: #171515 !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgb(0 0 0 / .06); }
.dvd-pdp__media .wc-block-next-previous-buttons__button svg { width: 12px; height: 12px; }
/* Bilgi kolonu */
.dvd-pdp__cat { margin: 0; font-size: 16px; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.dvd-pdp__cat a { text-decoration: none; }
.dvd-pdp__title { margin: 20px 0 0; font-size: 30px; line-height: 1.25; color: #000; }
.dvd-pdp__price { margin-top: 40px !important; }
.dvd-pdp__price .wc-block-components-product-price { font-size: 24px; }
.dvd-pdp__price .wc-block-components-product-price del { font-size: 20px; }
.dvd-buy { margin-top: 30px !important; }
.dvd-buy, .dvd-buy form.cart { margin-left: 0 !important; padding-left: 0 !important; }
.dvd-buy form.cart { display: flex; gap: 22px; align-items: stretch; margin: 0 !important; }
.dvd-buy form.cart.variations_form { flex-direction: column; }
.dvd-buy form.cart::before, .dvd-buy form.cart::after { display: none !important; }
.dvd-buy .woocommerce-variation-add-to-cart { display: flex; gap: 22px; }
.dvd-buy .quantity { display: flex; align-items: center; width: 132px; height: 46px; margin: 0 !important; border: 1px solid #D3C0B5 !important; border-radius: 10px; overflow: hidden; flex: none; }
.dvd-buy .quantity input.qty { flex: 1; min-width: 0; height: 44px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none; box-shadow: none; text-align: center; font: inherit; font-size: 16px; line-height: 44px; color: #171515; -moz-appearance: textfield; }
.dvd-buy .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.dvd-buy .quantity button { width: 40px; height: 100%; border: 0; background: none; font-size: 20px; color: #000; cursor: pointer; }
.dvd-buy .single_add_to_cart_button, .dvd-sticky-buy__btn { flex: 1; display: inline-flex !important; margin: 0 !important; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 24px; border: 1px solid #245C35 !important; border-radius: 10px !important; background: #245C35 !important; color: #fff !important; font: inherit; font-size: 16px; text-transform: uppercase; cursor: pointer; }
.dvd-buy .single_add_to_cart_button::before, .dvd-sticky-buy__btn::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("assets/img/icon-bag.svg") center / contain no-repeat; mask: url("assets/img/icon-bag.svg") center / contain no-repeat; }
.dvd-buy .single_add_to_cart_button:hover, .dvd-sticky-buy__btn:hover { background: #1b4728 !important; }
.dvd-buy .stock { margin: 0 0 12px; }
/* Akordiyonlar */
.dvd-accs { margin-top: 40px !important; }
.dvd-acc { border-bottom: 1px solid var(--dvd-line); margin: 0 !important; }
.dvd-acc > summary { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 16px; text-transform: uppercase; color: #141414; list-style: none; cursor: pointer; }
.dvd-acc > summary::-webkit-details-marker { display: none; }
.dvd-acc > summary::after { content: "+"; font-size: 26px; font-weight: 300; line-height: 1; }
.dvd-acc[open] > summary::after { content: "−"; }
.dvd-acc > :not(summary) { margin: 0 0 20px; }
.dvd-acc table { width: 100%; border-collapse: collapse; }
.dvd-acc th, .dvd-acc td { text-align: left; padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-weight: 400; }
/* Güvence şeridi 1420×155 */
.dvd-pdp-trust { margin-top: 80px !important; min-height: 155px; gap: 60px !important; background: #F3F3F3; border-radius: var(--dvd-radius); padding: 30px; }
.dvd-pdp-trust__item { gap: 30px; }
.dvd-pdp-trust__item .wp-block-image { margin: 0; }
.dvd-pdp-trust__item p { margin: 0; line-height: 1.55; color: #000; }
.dvd-pdp-trust__label { font-weight: 500; text-transform: uppercase; color: var(--wp--preset--color--muted); }
/* Sabit satın alma çubuğu */
.dvd-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; box-shadow: 0 -6px 24px rgb(0 0 0 / .08); padding: 20px var(--dvd-gutter); transform: translateY(110%); transition: transform .25s ease; margin: 0 !important; }
.dvd-sticky-buy.is-visible { transform: none; }
.dvd-sticky-buy__inner { max-width: 1420px; margin: 0 auto; gap: 30px; align-items: center; }
.dvd-sticky-buy__meta { gap: 20px; align-items: center; min-width: 0; }
.dvd-sticky-buy__meta .wc-block-components-product-image { width: 48px; flex: none; margin: 0; }
.dvd-sticky-buy__meta img { border-radius: 8px; }
.dvd-sticky-buy__title { margin: 0; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dvd-sticky-buy__price { margin: 0; font-size: 18px; white-space: nowrap; }
.dvd-sticky-buy__btn { flex: 0 0 448px; }
@media (prefers-reduced-motion: reduce) { .dvd-sticky-buy { transition: none; } }

.wc-block-components-product-sale-badge, .woocommerce span.onsale { background: var(--wp--preset--color--sale); color: #fff; border: 0; border-radius: 10px; min-height: 0; min-width: 0; line-height: 1; padding: 6px 10px; }

@media (max-width: 781px) {
	.dvd-pdp__layout { gap: 24px !important; }
	.dvd-crumb-row--pdp .dvd-crumbs { padding: 16px 0 !important; font-size: 14px; }
	.dvd-pdp__media .wc-block-product-gallery { flex-direction: column !important; gap: 12px !important; }
	.dvd-pdp__media .wc-block-product-gallery-large-image { order: 1; width: 100%; }
	.dvd-pdp__media .wc-block-product-gallery-thumbnails { order: 2; width: 100% !important; flex-basis: auto !important; }
	.dvd-pdp__media .wc-block-product-gallery-thumbnails__scrollable { flex-direction: row !important; gap: 10px !important; overflow-x: auto; }
	.dvd-pdp__media .wc-block-product-gallery-thumbnails__thumbnail { width: 70px !important; height: 92px !important; }
	.dvd-pdp__title { font-size: 24px; }
	.dvd-pdp__price { margin-top: 20px !important; }
	.dvd-pdp-trust { flex-direction: column; align-items: flex-start !important; gap: 20px !important; }
	.dvd-sticky-buy { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
	.dvd-sticky-buy__title, .dvd-sticky-buy__meta .wc-block-components-product-image { display: none; }
	.dvd-sticky-buy__btn { flex: 1; }
}
