/**
 * Dekorbuy Landing Page — CSS
 *
 * Styles scoped to .db-home body class.
 * Uses --db-* custom properties from style.css.
 *
 * @package astra-child
 */

/* =========================================================
   0. SCOPE & ADDITIONAL VARIABLES
   ========================================================= */

.db-home {
	--db-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	--moderncart-floating-icon-bg-color: var(--db-gold);
	--moderncart-floating-icon-color: var(--db-primary-dark);
	--moderncart-floating-count-bg-color: var(--db-primary);
	--moderncart-floating-count-text-color: var(--db-white);
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

/* Hide Astra chrome on home template */
.db-home #ast-scroll-top,
.db-home #masthead,
.db-home .ast-above-header-wrap,
.db-home .ast-main-header-wrap,
.db-home .ast-below-header-wrap,
.db-home #colophon,
.db-home .site-footer {
	display: none !important;
}

/* =========================================================
   1. RESET & GLOBAL
   ========================================================= */

.db-home *,
.db-home *::before,
.db-home *::after {
	box-sizing: border-box;
}

.db-home {
	scroll-behavior: smooth;
}

.db-home img {
	display: block;
	max-width: 100%;
}

.db-home a {
	text-decoration: none;
}

/* =========================================================
   2. LAYOUT
   ========================================================= */

/* .db-section, .db-section-sm — see style.css section 3 */

.db-home .db-container {
	max-width: 1120px;
}

/* =========================================================
   3. PATTERNS
   ========================================================= */

.db-pat-flowers-gold {
	background-color: var(--db-primary);
	background-image:
		radial-gradient(circle at 50% 50%, var(--db-gold) 3px, transparent 3px),
		radial-gradient(circle at 25% 25%, rgba(var(--db-gold-rgb), 0.35) 2px, transparent 2px),
		radial-gradient(circle at 75% 25%, rgba(var(--db-gold-rgb), 0.35) 2px, transparent 2px),
		radial-gradient(circle at 25% 75%, rgba(var(--db-gold-rgb), 0.35) 2px, transparent 2px),
		radial-gradient(circle at 75% 75%, rgba(var(--db-gold-rgb), 0.35) 2px, transparent 2px);
	background-size: 32px 32px;
}

/* =========================================================
   4. TYPOGRAPHY HELPERS
   ========================================================= */

/* .db-eyebrow base — see style.css section 3b */
.db-home .db-eyebrow {
	display: block;
	margin-bottom: 16px;
}

.db-home .db-eyebrow-white {
	color: rgba(255, 255, 255, 0.7);
}

/* .db-divider, .db-divider-line base — see style.css section 3b */

.db-home .db-divider-dot {
	font-size: 8px;
}

.db-home .db-divider--white .db-divider-line {
	background: rgba(255, 255, 255, 0.15);
}

.db-home .db-divider--white .db-divider-dot {
	color: rgba(var(--db-gold-rgb), 0.5);
}

/* =========================================================
   5. BUTTONS (home-specific)
   ========================================================= */

/* .db-btn base styles are now global (style.css section 6) */

/* =========================================================
   6. ICON HELPERS
   ========================================================= */

.db-icon-3b {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1.5px solid var(--db-gold);
	position: relative;
	flex-shrink: 0;
}

.db-icon-3b svg {
	width: 20px;
	height: 20px;
	stroke: var(--db-gold);
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.db-icon-3b::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 16px;
	height: 2px;
	background: var(--db-gold);
	border-radius: 1px;
}

.db-icon-3b--white {
	border-color: rgba(255, 255, 255, 0.3);
}

.db-icon-3b--white svg {
	stroke: var(--db-white);
}

.db-icon-3b--white::after {
	background: var(--db-gold);
}

/* Nav styles moved to assets/css/nav.css (loaded globally) */

/* =========================================================
   7. HERO
   ========================================================= */

.db-hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
	background: #000;
}

/* Hero carousel slides */
.db-hero__slides {
	position: absolute;
	inset: 0;
}

.db-hero__slide {
	position: absolute;
	inset: 0;
	background: center/cover no-repeat;
	filter: brightness(0.38);
	opacity: 0;
	transform: scale(1.05);
	transition: opacity 1.2s ease, transform 8s ease-out;
	will-change: opacity, transform;
}

.db-hero__slide.is-active {
	opacity: 1;
	transform: scale(1.12);
}

/* Per-slide focus points */
.db-hero__slide:nth-child(1) { background-position: center 60%; }  /* śniadanie z dzbankami */
.db-hero__slide:nth-child(2) { background-position: center 55%; }  /* podwieczorek z filiżankami */
.db-hero__slide:nth-child(3) { background-position: center 50%; }  /* kropki — śniadanie */
.db-hero__slide:nth-child(4) { background-position: center 45%; }  /* czajnik + szarlotka */
.db-hero__slide:nth-child(5) { background-position: center 40%; }  /* kolekcja misek i kubków */

/* Hero navigation dots */
.db-hero__nav {
	position: absolute;
	bottom: 36px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 12px;
}

.db-hero__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.5);
	background: transparent;
	cursor: pointer;
	padding: 8px;
	background-clip: content-box;
	transition: all 0.3s ease;
	-webkit-tap-highlight-color: transparent;
}

.db-hero__dot:hover {
	border-color: var(--db-gold);
}

.db-hero__dot.is-active {
	background: var(--db-gold);
	border-color: var(--db-gold);
	transform: scale(1.2);
}

/* Hero arrows */
.db-hero__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.8);
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: blur(4px);
	padding: 0;
}

.db-hero__arrow:hover {
	background: rgba(0, 0, 0, 0.5);
	border-color: var(--db-gold);
	color: var(--db-gold);
}

.db-hero__arrow--prev { left: 24px; }
.db-hero__arrow--next { right: 24px; }

.db-hero__pattern {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg,
			rgba(0, 0, 0, 0.55) 0%,
			rgba(0, 0, 0, 0.3) 40%,
			transparent 70%),
		url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='2.5' fill='%23ffffff' fill-opacity='0.03'/%3E%3Ccircle cx='10' cy='10' r='1.5' fill='%23ffffff' fill-opacity='0.02'/%3E%3Ccircle cx='50' cy='50' r='1.5' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/svg%3E");
	background-size: 100%, 60px;
}


.db-hero__content {
	position: relative;
	z-index: 2;
	text-align: left;
	max-width: 680px;
	padding: 0 24px 0 8%;
}

.db-hero__eyebrow {
	display: block;
	font: 700 11px/1 var(--db-font-body);
	letter-spacing: 5px;
	text-transform: uppercase;
	color: var(--db-gold);
	margin-bottom: 28px;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
	animation: fadeUp 0.8s var(--db-ease) 0.2s both;
}

.db-hero__title {
	font: 700 1em/1.12 var(--db-font-display);
	font-size: clamp(2.2rem, 5vw, 4rem);
	color: var(--db-white) !important;
	margin-bottom: 18px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
	animation: fadeUp 0.8s var(--db-ease) 0.4s both;
}

.db-hero__dots {
	color: var(--db-gold);
	font-size: 10px;
	letter-spacing: 6px;
	margin-bottom: 22px;
	animation: fadeIn 0.8s var(--db-ease) 0.55s both;
}

.db-hero__sub {
	font: 400 17px/1.7 var(--db-font-body);
	color: rgba(255, 255, 255, 0.82);
	max-width: 520px;
	margin: 0 auto 38px;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
	animation: fadeUp 0.8s var(--db-ease) 0.65s both;
}

.db-hero__btns {
	display: flex;
	gap: var(--db-space-md);
	justify-content: flex-start;
	flex-wrap: wrap;
	animation: fadeUp 0.8s var(--db-ease) 0.8s both;
}


/* =========================================================
   9. TRUST BAR
   ========================================================= */

.db-trust {
	background-color: var(--db-primary);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.db-trust__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	justify-content: space-between;
}

.db-trust__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 32px 16px;
	gap: 14px;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.db-trust__item:last-child {
	border-right: none;
}

.db-trust__label {
	font: 700 12px/1 var(--db-font-body);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--db-white);
}

.db-trust__sub {
	font: 400 12px/1.4 var(--db-font-body);
	color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   10. CATEGORIES
   ========================================================= */

.db-categories__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
}

.db-categories__header h2 {
	margin-bottom: 0 !important;
}

.db-categories__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--db-space-md);
}

.db-cat-card {
	position: relative;
	border-radius: var(--db-radius-md);
	overflow: hidden;
	aspect-ratio: 3 / 4;
	display: block;
	cursor: pointer;
}

.db-cat-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--db-ease);
}

.db-cat-card:hover img {
	transform: scale(1.06);
}

.db-cat-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 40, 80, 0.85), transparent 60%);
	transition: background 0.3s;
}

.db-cat-card:hover .db-cat-card__overlay {
	background: linear-gradient(to top, rgba(18, 40, 80, 0.7), transparent 70%);
}

.db-cat-card__body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 24px;
}

.db-cat-card__name {
	font: 600 18px/1.3 var(--db-font-display);
	color: var(--db-white);
	margin-bottom: 4px;
}

.db-cat-card__count {
	font: 400 12px/1 var(--db-font-body);
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 14px;
}

.db-cat-card__arrow {
	font: 700 11px/1 var(--db-font-body);
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--db-gold);
	display: flex;
	align-items: center;
	gap: var(--db-space-sm);
	opacity: 0;
	transform: translateX(-8px);
	transition: all 0.3s var(--db-ease);
}

.db-cat-card:hover .db-cat-card__arrow {
	opacity: 1;
	transform: translateX(0);
}

.db-cat-card__arrow svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

/* ── Home: Sets Grid ── */
.db-home-sets__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: var(--db-space-md);
}

.db-home-set-card {
	display: flex;
	flex-direction: column;
	background: var(--db-white);
	border: 1.5px solid var(--db-border);
	border-radius: var(--db-radius, 12px);
	overflow: hidden;
	text-decoration: none !important;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.db-home-set-card:hover {
	border-color: var(--db-gold);
	box-shadow: var(--db-shadow-hover);
	transform: translateY(-3px);
}

.db-home-set-card__img {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--db-surface);
}

.db-home-set-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--db-ease);
}

.db-home-set-card:hover .db-home-set-card__img img {
	transform: scale(1.05);
}

.db-home-set-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	background: linear-gradient(135deg, var(--db-gold), #D4BC72);
	color: var(--db-primary-dark);
	font: 700 11px/1 var(--db-font-body);
	padding: 5px 10px;
	border-radius: var(--db-radius-sm);
}

.db-home-set-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 14px 16px 16px;
}

.db-home-set-card__wzor {
	font: 400 10px/1 var(--db-font-body);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--db-gold);
	margin-bottom: 4px;
}

.db-home-set-card__name {
	font: 600 1rem/1.3 var(--db-font-display);
	color: var(--db-primary);
	margin-bottom: 4px;
}

.db-home-set-card__count {
	font: 400 12px/1 var(--db-font-body);
	color: var(--db-text-light);
	margin-bottom: 8px;
}

.db-home-set-card__price {
	display: flex;
	align-items: baseline;
	gap: var(--db-space-sm);
	margin-bottom: 12px;
}

.db-home-set-card__price .db-price-old {
	font: 400 12px/1 var(--db-font-body);
	color: var(--db-text-light);
	text-decoration: line-through;
}

.db-home-set-card__price .db-price {
	font: 700 1.1rem/1 var(--db-font-display);
	color: var(--db-primary);
}

.db-home-set-card__cta {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 6px;
	font: 700 11px/1 var(--db-font-body);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--db-gold);
	transition: gap 0.2s;
}

.db-home-set-card:hover .db-home-set-card__cta {
	gap: 10px;
}

/* =========================================================
   10b. PATTERN BROWSE
   ========================================================= */

.db-patterns__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: var(--db-space-lg);
}

.db-pattern-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 32px 16px;
	background: var(--db-white);
	border: 1.5px solid var(--db-border);
	border-radius: var(--db-radius, 12px);
	text-decoration: none !important;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.db-pattern-card:hover {
	border-color: var(--db-gold);
	box-shadow: var(--db-shadow-hover);
	transform: translateY(-3px);
}

.db-pattern-card__swatch {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 16px;
	border: 3px solid var(--db-border);
	transition: border-color 0.25s;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--db-surface);
}

.db-pattern-card:hover .db-pattern-card__swatch {
	border-color: var(--db-gold);
}

.db-pattern-card__swatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.db-pattern-card__fallback {
	font: 700 28px/1 var(--db-font-display);
	color: var(--db-gold);
}

.db-pattern-card__name {
	font: 600 1rem/1.3 var(--db-font-display);
	color: var(--db-primary);
	margin-bottom: 4px;
}

.db-pattern-card__count {
	font: 400 12px/1 var(--db-font-body);
	color: var(--db-text-light);
}

/* =========================================================
   11. STORY / ABOUT
   ========================================================= */

.db-story__grid {
	display: grid;
	grid-template-columns: 45fr 55fr;
	gap: var(--db-space-2xl);
	align-items: center;
}

.db-story__images {
	position: relative;
}

.db-story__img-main {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--db-radius-md);
}

.db-story__img-accent {
	position: absolute;
	bottom: -24px;
	right: -24px;
	width: 45%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--db-radius-md);
	border: 4px solid var(--db-white);
	box-shadow: 0 8px 32px rgba(27, 58, 107, 0.18);
}

.db-story__title {
	margin-bottom: 8px !important;
}

.db-story__text {
	font: 400 15px/1.8 var(--db-font-body);
	color: var(--db-text-light);
	margin-bottom: 24px;
}

.db-story__quote {
	border-left: 3px solid var(--db-gold);
	padding: 16px 0 16px 24px;
	margin: 24px 0;
}

.db-story__quote p {
	font: italic 400 16px/1.7 var(--db-font-display);
	color: var(--db-text);
	margin: 0;
}

.db-story__stats {
	display: flex;
	gap: 32px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--db-border);
}

.db-story__stat-num {
	font: 700 28px/1 var(--db-font-display);
	color: var(--db-primary);
	margin-bottom: 4px;
}

.db-story__stat-label {
	font: 400 12px/1 var(--db-font-body);
	color: var(--db-text-light);
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* =========================================================
   12. PRODUCTS
   ========================================================= */

.db-products__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
}

.db-products__header h2 {
	margin-bottom: 0 !important;
}

/* Carousel wrapper — full width, arrows relative to viewport */
.db-products__carousel {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 56px; /* room for arrows */
}

.db-products__grid {
	display: flex;
	gap: var(--db-space-md);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.db-products__grid::-webkit-scrollbar {
	display: none;
}

.db-products__grid .db-product-card {
	flex: 0 0 calc((100% - 4 * 16px) / 5.5);
	scroll-snap-align: start;
	min-width: 0;
}

/* Carousel arrows — Astra button reset */
button.db-carousel-arrow,
button.db-carousel-arrow:focus,
button.db-carousel-arrow:visited {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 48px !important;
	height: 48px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	background: var(--db-primary) !important;
	border: 1.5px solid var(--db-primary) !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
	transition: all 0.2s;
	line-height: 1 !important;
	font-size: 0 !important;
	color: transparent !important;
	outline: none;
}

button.db-carousel-arrow:hover {
	background: var(--db-gold) !important;
	border-color: var(--db-gold) !important;
}

button.db-carousel-arrow svg {
	width: 20px;
	height: 20px;
	stroke: var(--db-white);
	fill: none;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

button.db-carousel-arrow:hover svg {
	stroke: var(--db-white);
}

.db-carousel-arrow--prev {
	left: 6px;
}

.db-carousel-arrow--next {
	right: 6px;
}

.db-carousel-arrow[disabled] {
	opacity: 0;
	pointer-events: none;
}

.db-home .db-product-card {
	background: var(--db-white);
	border-radius: var(--db-radius-md);
	overflow: visible;
	border: 1px solid var(--db-border);
	transition: transform 0.25s var(--db-ease), box-shadow 0.25s var(--db-ease);
}

.db-home .db-product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 32px rgba(27, 58, 107, 0.14);
}

.db-product-card__img {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	background: var(--db-surface);
}

.db-product-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--db-ease);
}

.db-home .db-product-card:hover .db-product-card__img img {
	transform: scale(1.06);
}

.db-home .db-badge {
	position: absolute;
	top: 12px;
	z-index: 1;
	font: 700 11px/1.2 var(--db-font-body);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 6px 10px;
	border-radius: 3px;
	color: var(--db-white);
}

.db-home .db-badge--new {
	background: var(--db-primary);
	left: 12px;
}

.db-home .db-badge--sale {
	background: var(--db-gold);
	left: 12px;
}

.db-home .db-badge--oos {
	background: #7F1D1D;
	right: 12px;
}

.db-product-card__body {
	padding: 20px;
}

.db-product-card__cat {
	position: relative;
	font: 700 10px/1 var(--db-font-body);
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--db-text-light);
	margin-bottom: 8px;
}

a.db-product-card__name {
	display: block;
	text-decoration: none;
	font: 400 17px/1.35 var(--db-font-display);
	color: var(--db-text);
	margin-bottom: 12px;
	min-height: 46px;
}

.db-product-card__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 16px;
}

.db-product-card__price .db-price {
	font: 400 20px/1 var(--db-font-display);
	color: var(--db-primary);
}

.db-product-card__price .db-price-old {
	font: 400 14px/1 var(--db-font-body);
	color: var(--db-text-light);
	text-decoration: line-through;
}

.db-home .db-product-card__add,
.db-home .db-product-card__add:link,
.db-home .db-product-card__add:visited {
	display: block;
	width: 100%;
	padding: 12px;
	font: 700 11px/1 var(--db-font-body);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-align: center;
	color: var(--db-primary);
	background: transparent;
	border: 1.5px solid var(--db-border);
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s var(--db-ease);
	text-decoration: none;
}

.db-home .db-product-card__add:hover {
	background: var(--db-primary);
	border-color: var(--db-primary);
	color: var(--db-white);
}

.db-home .db-product-card .added_to_cart {
	display: none;
}


.db-home .db-product-card__notify,
.db-home .db-product-card__notify:link,
.db-home .db-product-card__notify:visited {
	display: block;
	width: 100%;
	padding: 12px;
	font: 700 11px/1 var(--db-font-body);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-align: center;
	color: var(--db-text-light);
	background: transparent;
	border: 1.5px solid var(--db-border);
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s var(--db-ease);
	text-decoration: none;
}

.db-home .db-product-card__notify:hover {
	background: var(--db-surface);
	border-color: #6b7280;
	color: var(--db-text);
}

/* =========================================================
   13. WORLD SHIPPING
   ========================================================= */

.db-world {
	position: relative;
	background: var(--db-primary-dark);
	overflow: hidden;
}

.db-world__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.4;
}

.db-world__content {
	position: relative;
	z-index: 1;
	padding: 96px 0;
}

.db-world__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 96px;
	align-items: center;
}

.db-world__title {
	font: 700 1em/1.2 var(--db-font-display);
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	color: var(--db-white) !important;
	margin-bottom: 16px !important;
}

.db-world__shipping-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 8px;
}

.db-world__shipping-item {
	display: flex;
	gap: var(--db-space-md);
	align-items: flex-start;
}

.db-world__shipping-icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 10px;
	background: rgba(var(--db-gold-rgb), 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
}

.db-world__shipping-icon svg {
	width: 20px;
	height: 20px;
	stroke: var(--db-gold);
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.db-world__shipping-title {
	font: 600 14px/1.3 var(--db-font-body);
	color: var(--db-white);
	margin-bottom: 4px;
}

.db-world__shipping-desc {
	font: 400 13px/1.5 var(--db-font-body);
	color: rgba(255, 255, 255, 0.6);
}

.db-world__map {
	display: flex;
	align-items: center;
	justify-content: center;
}

.db-world-map-svg {
	width: 100%;
	height: auto;
}

.db-land-dot {
	fill: #8A7842;
}

/* =========================================================
   14. TESTIMONIALS
   ========================================================= */

.db-testimonials {
	background: var(--db-surface);
}

.db-testimonials__header {
	text-align: center;
	margin-bottom: 48px;
}

.db-testimonials__header h2 {
	margin-bottom: 0 !important;
}

.db-testimonials__header .db-divider {
	justify-content: center;
	max-width: 200px;
	margin: 16px auto;
}

.db-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--db-space-lg);
}

.db-testimonial {
	background: var(--db-white);
	border-radius: var(--db-radius-lg);
	padding: 32px;
	border: 1px solid var(--db-border);
	transition: box-shadow 0.3s var(--db-ease);
}

.db-testimonial:hover {
	box-shadow: 0 8px 32px rgba(27, 58, 107, 0.1);
}

.db-testimonial__stars {
	color: var(--db-gold);
	font-size: 16px;
	letter-spacing: 2px;
	margin-bottom: 18px;
}

.db-testimonial__text {
	font: italic 400 15px/1.7 var(--db-font-display);
	color: var(--db-text);
	margin-bottom: 24px;
}

.db-testimonial__author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.db-testimonial__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--db-primary);
	color: var(--db-white);
	font: 700 13px/40px var(--db-font-body);
	text-align: center;
	flex-shrink: 0;
}

.db-testimonial__name {
	font: 600 14px/1 var(--db-font-body);
	color: var(--db-text);
	margin-bottom: 4px;
}

.db-testimonial__country {
	font: 400 12px/1 var(--db-font-body);
	color: var(--db-text-light);
}

/* =========================================================
   15. NEWSLETTER
   ========================================================= */

.db-newsletter__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	background: var(--db-white);
	border: 1px solid var(--db-border);
	border-radius: var(--db-radius-lg);
	padding: 48px;
	position: relative;
	overflow: hidden;
}

.db-newsletter__inner::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -30%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(var(--db-gold-rgb), 0.06), transparent 70%);
	pointer-events: none;
}

.db-newsletter__title {
	font-size: clamp(1.4rem, 2.5vw, 1.8rem) !important;
	margin-bottom: 12px !important;
}

.db-newsletter__desc {
	font: 400 14px/1.7 var(--db-font-body);
	color: var(--db-text-light);
	margin-bottom: 24px;
}

.db-newsletter__form {
	display: flex;
	gap: var(--db-space-sm);
}

.db-newsletter__input {
	flex: 1;
	padding: 14px 18px;
	border: 1.5px solid var(--db-border);
	border-radius: 4px;
	font: 400 16px/1 var(--db-font-body);
	color: var(--db-text);
	transition: border-color 0.2s;
	outline: none;
}

.db-newsletter__input:focus {
	border-color: var(--db-accent);
}

.db-newsletter__perks {
	display: flex;
	flex-direction: column;
	gap: var(--db-space-lg);
	justify-content: center;
}

.db-newsletter__perk {
	display: flex;
	gap: var(--db-space-md);
	align-items: flex-start;
}

.db-newsletter__perk-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(var(--db-gold-rgb), 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
}

.db-newsletter__perk-icon svg {
	width: 18px;
	height: 18px;
	stroke: var(--db-gold);
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.db-newsletter__perk-title {
	font: 600 13px/1.3 var(--db-font-body);
	color: var(--db-text);
	margin-bottom: 4px;
}

.db-newsletter__perk-desc {
	font: 400 12px/1.4 var(--db-font-body);
	color: var(--db-text-light);
}

/* ── Newsletter: GDPR consent ── */

.db-newsletter__consent {
	display: flex;
	align-items: flex-start;
	gap: var(--db-space-sm);
	margin-top: 12px;
	font-size: 11px;
	color: var(--db-text-light);
	line-height: 1.4;
	cursor: pointer;
}

.db-newsletter__consent-check {
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: var(--db-gold);
}

/* ── Newsletter: message states ── */

.db-newsletter__message {
	margin-top: 10px;
	padding: 8px 12px;
	font-size: 13px;
	border-radius: var(--db-radius-sm);
	line-height: 1.4;
}

.db-newsletter__message.is-success {
	background: var(--db-status-success-bg);
	color: var(--db-status-success-text);
}

.db-newsletter__message.is-error {
	background: var(--db-status-error-bg);
	color: var(--db-status-error-text);
}

/* ── Newsletter: button states ── */

.db-newsletter__btn.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.db-newsletter__btn.is-done {
	opacity: 0.5;
	cursor: not-allowed;
}

.db-newsletter__input:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Footer styles moved to global style.css */

/* =========================================================
   17. REVEAL ANIMATIONS
   ========================================================= */

.db-home .db-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.65s var(--db-ease), transform 0.65s var(--db-ease);
}

.db-home .db-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.db-reveal--delay-1 { transition-delay: 0.1s !important; }
.db-reveal--delay-2 { transition-delay: 0.2s !important; }
.db-reveal--delay-3 { transition-delay: 0.3s !important; }
.db-reveal--delay-4 { transition-delay: 0.4s !important; }

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes glow-dot {
	0%, 100% { fill: #8A7842; r: 0.18; }
	50%      { fill: #E8D48A; r: 0.36; }
}

.db-land-dot--glow {
	animation: glow-dot 3s ease-in-out infinite;
}

/* ── Reduce rendering work: skip offscreen sections ── */
.db-home .db-section,
.db-home .db-cart-crosssell,
.db-home .db-newsletter {
	content-visibility: auto;
	contain-intrinsic-size: auto 600px;
}

/* ── Respect user motion preferences ── */
@media (prefers-reduced-motion: reduce) {
	.db-home .db-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.db-hero__slide {
		animation: none !important;
		transition: opacity 0.3s ease !important;
	}
	.db-land-dot--glow {
		animation: none !important;
	}
}

/* =========================================================
   18. RESPONSIVE
   ========================================================= */

/* Tablet landscape */
@media (max-width: 1024px) {
	.db-categories__grid { grid-template-columns: repeat(2, 1fr); }
	.db-patterns__grid { grid-template-columns: repeat(3, 1fr); }
	.db-home-sets__grid { grid-template-columns: repeat(3, 1fr); }
	.db-products__carousel { padding: 0 48px; }
	.db-products__grid .db-product-card { flex: 0 0 calc((100% - 2 * 16px) / 3.5); }
	.db-carousel-arrow { width: 38px; height: 38px; }
	.db-story__grid { grid-template-columns: 1fr; gap: 40px; }
	.db-world__grid { grid-template-columns: 1fr; gap: 40px; }
	.db-newsletter__inner { grid-template-columns: 1fr; gap: 32px; }
	.db-section { padding: 64px 0; }
	.db-world__content { padding: 64px 0; }

	.db-story__img-accent {
		bottom: -16px;
		right: -16px;
		width: 40%;
	}
}

/* Tablet portrait */
@media (max-width: 768px) {
	.db-home-sets__grid { grid-template-columns: repeat(2, 1fr); }
	/* Nav responsive rules moved to nav.css */

	.db-hero__title { font-size: clamp(1.8rem, 7vw, 2.5rem) !important; }
	.db-hero__sub { font-size: 15px; }
	.db-hero__scroll { display: none; }
	.db-hero__arrow { width: 38px; height: 38px; }
	.db-hero__arrow--prev { left: 12px; }
	.db-hero__arrow--next { right: 12px; }
	.db-hero__arrow svg { width: 22px; height: 22px; }

	.db-trust__inner {
		flex-wrap: wrap;
		justify-content: center;
	}
	.db-trust__item {
		flex: 0 0 calc(50% - 1px);
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
		padding: 24px 16px;
	}
	.db-trust__item:nth-child(odd) {
		border-right: 1px solid rgba(255, 255, 255, 0.06);
	}

	.db-patterns__grid { grid-template-columns: repeat(3, 1fr); }
	.db-pattern-card { padding: 24px 12px; }
	.db-pattern-card__swatch { width: 80px; height: 80px; }

	.db-categories__header { flex-direction: column; align-items: flex-start; gap: 16px; }
	.db-products__header { flex-direction: column; align-items: flex-start; gap: 16px; }

	.db-testimonials__grid { grid-template-columns: 1fr; }

	.db-section { padding: 48px 0; }
	.db-section-sm { padding: 40px 0; }
	.db-world__content { padding: 48px 0; }
}

/* Phone */
@media (max-width: 480px) {
	.db-categories__grid { grid-template-columns: 1fr; }
	.db-patterns__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.db-home-sets__grid { grid-template-columns: 1fr; }
	.db-products__carousel { padding: 0 16px; }
	.db-products__grid .db-product-card { flex: 0 0 calc((100% - 16px) / 1.5); }
	.db-carousel-arrow { display: none; }
	.db-newsletter__inner { padding: 32px 24px; }
	.db-newsletter__form { flex-direction: column; }

	.db-hero { min-height: 400px; }
	.db-hero__btns { flex-direction: column; align-items: center; }
	.db-hero__btns .db-btn { width: 100%; justify-content: center; }
	.db-hero__arrow { display: none; }
}
