/* Queenapparels storefront. Palette carried over from the old Blocksy theme. */
:root {
	--accent: #fcb424;
	--accent-light: #ffcd05;
	--text: #504e4a;
	--heading: #0a0500;
	--border: #e3e5e8;
	--bg-soft: #f9fafb;
	--bg-muted: #edeff2;
	--white: #fff;
	--sale: #e2401c;
	--success: #2e7d32;
	--radius: 4px;
	--container: 1290px;
	--font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-alt: 'Roboto', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--heading); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { color: var(--heading); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
[hidden] { display: none !important; }

/* ---------- Buttons & forms ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 12px 26px; border: 2px solid var(--heading); border-radius: var(--radius);
	background: var(--heading); color: var(--white); font: 600 14px/1.2 var(--font);
	letter-spacing: .02em; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--heading); }
.btn-dark { background: var(--heading); }
.btn-outline { background: transparent; color: var(--heading); }
.btn-outline:hover { background: var(--heading); color: var(--white); border-color: var(--heading); }
.btn-light { background: var(--bg-muted); border-color: var(--bg-muted); color: var(--heading); }
.btn-white { background: var(--white); border-color: var(--white); color: var(--heading); }
.btn-small { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }

.form label { display: block; font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 16px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password],
.form input[type=number], .form input[type=search], .form select, .form textarea,
.shop-toolbar select, .search-bar input, .inline-search input, .qty-input {
	display: block; width: 100%; margin-top: 6px; padding: 11px 14px;
	border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
	font: 400 15px/1.4 var(--font); color: var(--heading); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus, .search-bar input:focus, .inline-search input:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(252, 180, 36, .2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 16px 0; margin: 0 0 20px; }
.form legend { font-weight: 600; color: var(--heading); padding: 0 6px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--sale); }
.field-error { display: block; color: var(--sale); font-weight: 400; font-size: 13px; margin-top: 4px; }
.checkbox, .radio { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.checkbox input, .radio input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; }

.notice { padding: 14px 18px; border-radius: var(--radius); background: var(--bg-muted); border-left: 4px solid var(--heading); margin-bottom: 16px; color: var(--heading); }
.notice-success { background: #eef7ee; border-color: var(--success); }
.notice-error { background: #fdeceb; border-color: var(--sale); }
.flash-wrap { padding-top: 20px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--border); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 110px; }
.logo img { max-height: 92px; width: auto; }
.main-nav { display: flex; justify-content: center; gap: 36px; }
.main-nav a { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--heading); padding: 8px 0; }
.main-nav a.active, .main-nav a:hover { color: var(--accent); }
.header-icons { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: none; color: var(--heading); cursor: pointer; border-radius: 50%; }
.icon-btn:hover { color: var(--accent); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--heading); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.menu-toggle { display: none; }
.search-bar { display: none; padding: 14px 0; border-top: 1px solid var(--border); background: var(--white); }
.search-bar.open { display: block; }
.search-bar .container { display: flex; gap: 10px; }
.search-bar input { margin: 0; }

/* ---------- Home ---------- */
.hero img { width: 100%; height: auto; }
.promo { display: grid; grid-template-columns: 1fr 1fr; margin-top: -60px; position: relative; z-index: 2; }
.promo-left { background: var(--white); padding: 50px 60px; box-shadow: 0 10px 40px rgba(0, 0, 0, .06); }
.image-box { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.image-box img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); }
.image-box h5 { margin: 0; font-size: 16px; }
.image-box p { margin: 0; font-size: 14px; }
.promo-left h2 { font-size: 2.6rem; font-weight: 800; line-height: 1.15; }
.promo-text { font-size: 15px; }
.promo-right { position: relative; min-height: 460px; background: center/cover no-repeat var(--heading); display: flex; align-items: flex-end; }
.promo-right::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0, 0, 0, .55)); }
.promo-right-inner { position: relative; padding: 40px; color: var(--white); }
.promo-right-inner h2 { color: var(--white); font-size: 2.2rem; }

.section-title { text-align: center; font-size: 2rem; margin: 0 0 32px; }
.product-section { padding-top: 70px; padding-bottom: 20px; }
.section-more { text-align: center; margin-top: 30px; }

.explore { padding: 70px 20px 0; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 380px; padding: 24px; background: center/cover no-repeat var(--bg-muted); border-radius: var(--radius); overflow: hidden; }
.tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .6)); transition: background .3s; }
.tile:hover::before { background: linear-gradient(transparent 20%, rgba(0, 0, 0, .7)); }
.tile h5 { position: relative; margin: 0; color: var(--white); font-size: 1.25rem; }

.deal { margin-top: 70px; padding: 90px 0; background: center/cover no-repeat #1c1d1e; position: relative; }
.deal::before { content: ''; position: absolute; inset: 0; background: rgba(28, 29, 30, .55); }
.deal-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; color: var(--white); }
.deal h2 { color: var(--white); font-size: 2.6rem; }
.deal-right { text-align: right; }
.deal-big { font-size: 7rem; font-weight: 800; line-height: 1; color: var(--accent-light); }
.deal-sub { font-size: 1.4rem; font-weight: 600; }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }
.product-card { display: flex; flex-direction: column; }
.product-thumb { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-soft); border-radius: var(--radius); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.badge-sale, .badge-out { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 3px 10px; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.badge-sale { background: var(--accent); color: var(--heading); }
.badge-out { left: auto; right: 12px; background: var(--heading); color: var(--white); }
.product-info { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; flex: 1; }
.product-title { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.4; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-weight: 600; color: var(--heading); }
.price del { color: #9a9894; font-weight: 400; font-size: .9em; }
.price ins { text-decoration: none; }
.product-cat { font-size: 13px; color: #8a8782; text-transform: capitalize; }
.add-to-cart-form { margin-top: auto; padding-top: 6px; }
.btn-cart { padding: 9px 18px; font-size: 13px; }

/* ---------- Page header / breadcrumbs ---------- */
.page-header { background: var(--bg-soft); padding: 46px 0 34px; margin-bottom: 40px; text-align: center; }
.page-header h1 { margin: 0; text-transform: capitalize; }
.breadcrumbs { font-size: 13px; color: #8a8782; margin-bottom: 8px; }
.breadcrumbs a { color: #8a8782; }
.product-breadcrumbs { padding: 26px 0 20px; margin: 0; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-bottom: 70px; }
.shop-sidebar h4 { font-size: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; text-transform: capitalize; }
.cat-list a.active { color: var(--accent); font-weight: 600; }
.cat-list span { color: #a3a09b; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.result-count { margin: 0; font-size: 14px; }
.shop-toolbar select { width: auto; margin: 0; }
.shop-main .product-grid { grid-template-columns: repeat(3, 1fr); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 46px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius); font-weight: 600; font-size: 14px; }
.pagination .current { background: var(--heading); color: var(--white); border-color: var(--heading); }
.pagination .dots { border: 0; }
.empty-state { text-align: center; padding: 50px 0 80px; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 60px; }
.gallery-main { position: relative; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; max-height: 720px; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: var(--bg-soft); cursor: pointer; overflow: hidden; aspect-ratio: 1; }
.gallery-thumbs button.active { border-color: var(--heading); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-name { font-size: 1.9rem; }
.rating-line { display: inline-block; font-size: 14px; margin-bottom: 10px; }
.stars { color: var(--accent); letter-spacing: 2px; }
.price-large { font-size: 1.6rem; margin-bottom: 18px; }
.save { font-size: 13px; padding: 2px 10px; background: #eef7ee; color: var(--success); border-radius: 3px; }
.short-desc { margin-bottom: 20px; }
.stock { font-weight: 600; font-size: 14px; }
.stock.in { color: var(--success); }
.stock.low, .stock.out { color: var(--sale); }
.buy-form { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 26px; }
.qty { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius); }
.qty button { width: 40px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--heading); }
.qty input { width: 54px; border: 0; text-align: center; font: 600 15px var(--font); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.size-picker { border: 0; padding: 0; margin: 0 0 4px; width: 100%; }
.size-picker legend { padding: 0; margin-bottom: 10px; font-size: 14px; color: var(--text); }
.size-picker legend strong { color: var(--heading); }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-option { position: relative; cursor: pointer; }
.size-option input { position: absolute; opacity: 0; pointer-events: none; }
.size-option span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 42px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius); font-weight: 600; font-size: 14px; color: var(--heading); background: var(--white); transition: border-color .15s, background .15s; }
.size-option:hover span { border-color: var(--heading); }
.size-option input:checked + span { background: var(--heading); border-color: var(--heading); color: var(--white); }
.size-option input:focus-visible + span { box-shadow: 0 0 0 3px rgba(252, 180, 36, .4); }
.size-option.disabled { cursor: not-allowed; }
.size-option.disabled span { color: #b9b6b0; background: var(--bg-soft); text-decoration: line-through; border-style: dashed; }
.size-error { color: var(--sale); font-size: 14px; margin: 8px 0 0; }
.item-size { font-size: 13px; color: #8a8782; margin-top: 2px; }
.product-meta { border-top: 1px solid var(--border); padding-top: 18px; font-size: 14px; display: grid; gap: 4px; }
.tabs { border-top: 1px solid var(--border); margin-bottom: 40px; }
.tab-buttons { display: flex; gap: 30px; justify-content: center; }
.tab-buttons button { padding: 18px 0; border: 0; border-top: 2px solid transparent; margin-top: -1px; background: none; font: 600 15px var(--font); color: #8a8782; cursor: pointer; }
.tab-buttons button.active { color: var(--heading); border-color: var(--heading); }
.tab-panel { display: none; padding: 30px 0; max-width: 900px; margin: 0 auto; }
.tab-panel.active { display: block; }
.review-list { list-style: none; padding: 0; margin: 0 0 30px; }
.review-list li { padding: 16px 0; border-bottom: 1px solid var(--border); }
.review-list p { margin: 6px 0 0; }
.review-form { max-width: 640px; }
.content ul, .content ol { padding-left: 1.3em; }
.content img { height: auto; margin: 1em 0; }
.content table { border-collapse: collapse; width: 100%; }
.content td, .content th { border: 1px solid var(--border); padding: 8px; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding-bottom: 70px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 14px; color: var(--heading); padding: 12px 10px; border-bottom: 2px solid var(--border); }
.cart-table td { padding: 16px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.ct-img img { width: 80px; height: 100px; object-fit: cover; border-radius: var(--radius); }
.ct-name a { font-weight: 600; }
.qty-input { width: 80px; margin: 0; }
.remove { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--bg-muted); font-size: 20px; line-height: 1; cursor: pointer; color: var(--heading); }
.remove:hover { background: var(--sale); color: var(--white); }
.cart-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.cart-totals, .order-review { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.cart-totals table, .order-review table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cart-totals th, .cart-totals td, .order-review th, .order-review td { padding: 12px 0; border-bottom: 1px solid var(--border); text-align: left; font-size: 15px; }
.cart-totals td, .order-review td:last-child { text-align: right; }
.grand th, .grand td { font-size: 18px !important; font-weight: 700; color: var(--heading); border-bottom: 0 !important; }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; padding-bottom: 70px; align-items: start; }
.checkout-login { padding: 14px 18px; border-top: 3px solid var(--accent); background: var(--bg-soft); }
.payment-box { padding: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; }
.payment-box p { margin: 6px 0 0 26px; font-size: 14px; }

.thankyou { font-size: 1.2rem; color: var(--success); font-weight: 600; }
.order-overview { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0 0 30px; border: 1px dashed var(--border); }
.order-overview li { flex: 1 1 180px; padding: 14px 18px; border-right: 1px dashed var(--border); font-size: 13px; text-transform: uppercase; }
.order-overview strong { display: block; font-size: 15px; text-transform: none; color: var(--heading); }
.simple-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.simple-table th, .simple-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); }
address { font-style: normal; margin-bottom: 30px; line-height: 1.8; }
.status { display: inline-block; padding: 2px 10px; border-radius: 3px; font-size: 13px; background: var(--bg-muted); }
.status-processing { background: #e7f0fb; color: #1d5fa8; }
.status-shipped { background: #fff4dc; color: #8a5a00; }
.status-delivered { background: #eef7ee; color: var(--success); }
.status-cancelled { background: #fdeceb; color: var(--sale); }

/* ---------- Account ---------- */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 70px; }
.auth-box { max-width: 520px; width: 100%; margin: 0 auto 70px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); }
.auth-grid .auth-box { margin: 0; max-width: none; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-bottom: 70px; }
.account-nav { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); align-self: start; }
.account-nav a { padding: 13px 18px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 14px; }
.account-nav a:last-child { border-bottom: 0; }
.account-nav a.active { background: var(--heading); color: var(--white); }

/* ---------- Contact & pages ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; padding-bottom: 70px; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item svg { flex: none; color: var(--accent); margin-top: 3px; }
.info-item h4 { margin: 0 0 4px; font-size: 16px; }
.contact-form { padding: 30px; background: var(--bg-soft); border-radius: var(--radius); }
.page-content { padding-bottom: 70px; }
.not-found { padding: 90px 20px; }
.inline-search { display: flex; gap: 10px; max-width: 480px; margin: 0 auto 20px; }
.inline-search input { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #111; color: #b9b6b0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-logo { max-height: 90px; width: auto; margin-bottom: 18px; background: var(--white); border-radius: 50%; padding: 4px; }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b9b6b0; text-transform: capitalize; }
.site-footer a:hover { color: var(--accent); }
.site-footer strong { color: var(--white); }
.footer-bottom { border-top: 1px solid #262626; padding: 20px 0; text-align: center; font-size: 13px; }

.cookie-notice { position: fixed; left: 20px; bottom: 20px; z-index: 100; max-width: 380px; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0, 0, 0, .18); font-size: 14px; }
.cookie-notice div { display: flex; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.product-grid, .tiles { grid-template-columns: repeat(3, 1fr); }
	.shop-main .product-grid { grid-template-columns: repeat(2, 1fr); }
	.promo-left { padding: 40px; }
	.promo-left h2 { font-size: 2rem; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.cart-layout, .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.header-inner { grid-template-columns: auto 1fr auto; min-height: 76px; gap: 8px; }
	.logo { justify-self: center; }
	.logo img { max-height: 64px; }
	.menu-toggle { display: inline-flex; }
	.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); box-shadow: 0 10px 20px rgba(0, 0, 0, .08); }
	.main-nav.open { display: flex; }
	.main-nav a { padding: 15px 20px; border-top: 1px solid var(--border); font-size: 13px; }
	.promo, .product-detail, .shop-layout, .contact-layout, .auth-grid, .account-layout, .deal-inner { grid-template-columns: 1fr; }
	.promo { margin-top: 0; padding: 0; }
	.promo-right { min-height: 360px; }
	.shop-sidebar { order: 2; }
	.product-detail { gap: 28px; }
	.deal-right { text-align: left; }
	.deal-big { font-size: 4.5rem; }
}
@media (max-width: 600px) {
	h1 { font-size: 1.6rem; }
	.product-grid, .shop-main .product-grid, .tiles { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
	.tile { min-height: 240px; padding: 16px; }
	.promo-left { padding: 28px 20px; }
	.promo-left h2, .deal h2 { font-size: 1.7rem; }
	.form-row, .form-row.three { grid-template-columns: 1fr; gap: 0; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.page-header { padding: 30px 0 22px; margin-bottom: 26px; }
	.section-title { font-size: 1.5rem; }
	.cart-table thead { display: none; }
	.cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
	.cart-table tr { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
	.cart-table td { padding: 0; border: 0; }
	.cart-table .ct-img { grid-row: span 4; }
	.cart-table td[data-label]::before { content: attr(data-label) ': '; font-size: 13px; color: #8a8782; }
	.cart-table td:last-child { position: absolute; top: 14px; right: 0; width: auto; }
	.cart-actions { flex-direction: column; }
	.cookie-notice { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.auth-box, .contact-form { padding: 20px; }
	.buy-form .btn { flex: 1; }
}

/* ---------- Checkout (scoped to .co) ---------- */
.co { --co-ink: #0f172a; --co-text: #334155; --co-muted: #64748b; --co-line: #e2e8f0; --co-input: #cbd5e1; --co-soft: #f1f5f9; font-family: 'Inter', var(--font); color: var(--co-text); padding: 34px 20px 70px; max-width: 1120px; }
.co-title { font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; color: var(--co-ink); margin: 0 0 22px; }
.co-login { font-size: 14px; margin: -8px 0 18px; }
.co-login a { color: var(--co-ink); font-weight: 600; text-decoration: underline; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.co-card { background: #fff; border: 1px solid var(--co-line); border-radius: 10px; padding: 22px 20px 6px; margin-bottom: 18px; }
.co-card h2 { font-family: 'Inter', var(--font); font-size: 15px; font-weight: 600; color: var(--co-ink); margin: 0 0 16px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.co-field { display: block; margin-bottom: 14px; }
.co-label { display: block; font-size: 12px; font-weight: 500; color: var(--co-ink); margin-bottom: 6px; }
.co-label em { font-style: normal; color: var(--co-muted); font-weight: 400; }
.co-field input, .co-field textarea { display: block; width: 100%; height: 40px; padding: 8px 12px; border: 1px solid var(--co-input); border-radius: 6px; font: 400 14px/1.4 'Inter', var(--font); color: var(--co-ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.co-field textarea { height: auto; min-height: 60px; resize: vertical; }
.co-field input::placeholder, .co-field textarea::placeholder { color: #94a3b8; }
.co-field input:focus, .co-field textarea:focus { outline: none; border-color: var(--co-ink); box-shadow: 0 0 0 3px rgba(15, 23, 42, .08); }
.co-field .co-readonly { background: var(--co-soft); color: var(--co-muted); }
.co-field.has-error input, .co-field.has-error textarea { border-color: var(--sale); }
.co-hint { display: block; font-size: 12px; color: var(--co-muted); margin-top: 6px; }
.co .field-error { font-size: 12px; }
.co-pin-status { display: block; min-height: 0; font-size: 12px; margin-top: 5px; color: var(--co-muted); }
.co-pin-status:empty { display: none; }
.co-pin-status.ok { color: #15803d; }
.co-pin-status.bad { color: var(--sale); }
.co-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--co-ink); margin-bottom: 16px; cursor: pointer; }
.co-check input { width: 16px; height: 16px; accent-color: var(--co-ink); }
.co-ship { border-top: 1px dashed var(--co-line); padding-top: 16px; margin-bottom: 4px; }
.co-notes { margin-top: 4px; }
.co-side { position: sticky; top: 130px; }
.co-items { list-style: none; margin: 0; padding: 0; }
.co-items li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--co-line); }
.co-items li:first-child { padding-top: 0; }
.co-items img { width: 44px; height: 58px; object-fit: cover; border-radius: 4px; background: var(--co-soft); }
.co-item-info { min-width: 0; }
.co-item-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 500; color: var(--co-ink); line-height: 1.4; margin-bottom: 3px; }
.co-item-meta { display: block; font-size: 11.5px; color: var(--co-muted); line-height: 1.5; }
.co-item-total { font-size: 13px; color: var(--co-ink); white-space: nowrap; }
.co-totals { padding: 12px 0 14px; }
.co-totals div { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; }
.co-free { color: #15803d; font-weight: 500; }
.co-grand { border-top: 1px solid var(--co-line); margin-top: 8px; padding-top: 14px !important; font-size: 15px !important; font-weight: 700; color: var(--co-ink); }
.co-pay { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--co-ink); border-radius: 8px; background: #f8fafc; cursor: pointer; margin-bottom: 16px; }
.co-pay input { accent-color: var(--co-ink); }
.co-pay-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; background: #fff; border: 1px solid var(--co-line); color: #15803d; flex: none; }
.co-pay strong { display: block; font-size: 14px; color: var(--co-ink); }
.co-pay small { display: block; font-size: 12px; color: var(--co-muted); }
.co-submit { display: block; width: 100%; height: 46px; border: 0; border-radius: 999px; background: var(--co-ink); color: #fff; font: 600 15px 'Inter', var(--font); cursor: pointer; transition: background .2s, transform .1s; }
.co-submit:hover { background: #1e293b; }
.co-submit:active { transform: translateY(1px); }
.co-submit:disabled { opacity: .7; cursor: wait; }
.co-terms { font-size: 11.5px; color: var(--co-muted); text-align: center; margin: 10px 0 12px; }
.co-terms a { color: var(--co-text); text-decoration: underline; }
@media (max-width: 900px) {
	.co-grid { grid-template-columns: 1fr; }
	.co-side { position: static; }
}
@media (max-width: 600px) {
	.co { padding-top: 22px; }
	.co-title { font-size: 1.6rem; }
	.co-row { grid-template-columns: 1fr; }
	.co-card { padding: 18px 16px 4px; }
}

/* ---------- Order tracking ---------- */
.track { padding-bottom: 70px; }
.track h3 { font-size: 1.05rem; margin: 30px 0 12px; }
.track-form { max-width: 640px; margin: 0 auto; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); }
.muted-note { display: block; font-size: 13px; color: #8a8782; }
.track-form .muted-note { margin: 14px 0 0; }
.track-head { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); margin-bottom: 26px; }
.track-head strong { font-size: 15px; color: var(--heading); }
.track-head .status { font-size: 13px; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 26px; padding: 0; position: relative; }
.timeline li { position: relative; text-align: center; padding-top: 4px; }
.timeline li::before { content: ''; position: absolute; top: 21px; left: -50%; width: 100%; height: 3px; background: var(--border); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline li.done::before { background: var(--success); }
.timeline .dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 3px solid var(--border); color: #8a8782; font-weight: 700; font-size: 14px; }
.timeline li.done .dot { background: var(--success); border-color: var(--success); color: var(--white); }
.timeline li.current .dot { box-shadow: 0 0 0 5px rgba(46, 125, 50, .15); }
.timeline .step-name { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--heading); }
.timeline .step-date { display: block; font-size: 12px; color: #8a8782; min-height: 18px; }
.track-courier { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; padding: 16px 20px; border: 1px dashed var(--border); border-radius: var(--radius); }
.track-courier strong { color: var(--heading); }
.track-courier .btn { margin-left: auto; }
.track-events { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--border); }
.track-events li { position: relative; padding: 0 0 16px 14px; }
.track-events li::before { content: ''; position: absolute; left: -23px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.track-events time { display: block; font-size: 12px; color: #8a8782; }
.track-events p { margin: 4px 0 0; font-size: 14px; }
.track-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
.track-items { list-style: none; margin: 0; padding: 0; }
.track-items li { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.track-items img { width: 46px; height: 60px; object-fit: cover; border-radius: 4px; background: var(--bg-soft); }
.track-items small { color: #8a8782; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) {
	.track-head { grid-template-columns: 1fr 1fr; }
	.timeline { grid-template-columns: 1fr; gap: 0; text-align: left; }
	.timeline li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; text-align: left; padding: 0 0 18px; }
	.timeline li::before { left: 17px; top: -18px; width: 3px; height: 22px; }
	.timeline .dot { grid-row: span 2; }
	.timeline .step-name { margin-top: 0; }
	.track-grid { grid-template-columns: 1fr; }
	.track-courier .btn { margin-left: 0; }
}
