/* Design A · Roșu clasic
   Active only when <body> has class "da" (preview: ?design=a, off: ?design=off).
   Restyles the existing markup; no ids/classes used by scripts are changed. */

body.da {
	--a-red: #c8102e;
	--a-red-dark: #a00d24;
	--a-ink: #16181d;
	--a-paper: #f3f1ee;
	--a-line: #e2ded8;
	--a-muted: #6b6660;
	--a-ok: #1d7a3a;
	--a-wait: #9a5b00;
	background: var(--a-paper);
	color: var(--a-ink);
}
body.da, body.da td, body.da input, body.da select, body.da textarea, body.da button {
	font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
body.da h1, body.da h2, body.da h3, body.da .h2start,
body.da nav.navbar.bootsnav ul.nav > li > a,
body.da .topmenu a, body.da .product_price, body.da .product_price3 {
	font-family: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
}
body.da a { color: var(--a-ink); }
body.da a:hover, body.da a:focus { color: var(--a-red); }

/* ---------- Top info bar ---------- */
body.da #topinfo { background: var(--a-ink); text-align: right; }
body.da #topinfo .container { display: flex; justify-content: flex-end; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
body.da #topinfo a { color: #e9e6e1 !important; margin: 0; font-family: "Archivo", Arial, sans-serif; font-size: 13px; }
body.da #topinfo a:hover { color: #fff !important; text-decoration: underline; }
body.da #topinfo .fa { display: none; }
body.da #topinfo .da-note { margin-right: auto; color: #e9e6e1; font-size: 13px; }
body.da #topinfo .da-phone { color: #fff; font-weight: 700; font-size: 13px; }
body.da #cookiebar { background: #fff; border-bottom: 1px solid var(--a-line); }

/* ---------- Header ---------- */
body.da .whitebg { background: #fff; border-bottom: 1px solid var(--a-line); padding: 6px 0; }
body.da #slogan { color: var(--a-muted); font-family: "Archivo", Arial, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .04em; }
body.da div#phone a { color: var(--a-ink); font-weight: 700; letter-spacing: .02em; }
body.da #search .input-group { display: flex; width: 100%; height: 50px; border: 2px solid var(--a-ink); border-radius: 10px; overflow: hidden; background: #fff; }
body.da #search .input-group:focus-within { border-color: var(--a-red); box-shadow: 0 0 0 3px rgba(200, 16, 46, .15); }
body.da #kulcs { flex: 1 1 auto; width: auto; height: 100%; border: 0; border-radius: 0; background: #fff; padding: 0 16px; font-size: 15px; color: var(--a-ink); box-shadow: none; outline: none; }
body.da #kulcs:focus { outline: none; box-shadow: none; }
body.da #search .input-group-addon { display: block; flex: 0 0 58px; width: 58px; height: 100%; padding: 0; border: 0; border-radius: 0; background: var(--a-red); }
body.da #submitsearch { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 0 !important; border-radius: 0; background: var(--a-red); color: #fff; font-size: 18px; }
body.da #submitsearch:hover { background: var(--a-red-dark); }
body.da div#usermenu { background: #fff; border: 1px solid var(--a-line); border-right: 0; border-radius: 8px 0 0 8px; height: 48px; padding: 5px 10px; line-height: 1.3; font-size: 13px; }
body.da div#usermenu a, body.da div#loginform a { color: var(--a-red); font-family: "Archivo", Arial, sans-serif; font-weight: 600; }
body.da #usermenucontents { font-family: "Archivo", Arial, sans-serif; color: var(--a-muted); }
body.da div#bsk { background: var(--a-ink); height: 48px; border-radius: 0 8px 8px 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
body.da div#bsk:hover { background: #000; }
body.da #totalcount { background: var(--a-red); border: 0; box-shadow: none; font-weight: 700; }
body.da #cosulmeu { font-family: "Archivo", Arial, sans-serif; font-weight: 600; }
body.da .topmenu { margin-top: 8px; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
body.da .topmenu a { color: var(--a-ink) !important; font-size: 15px; letter-spacing: .03em; border: 0; padding: 6px 12px; border-radius: 6px; }
body.da .topmenu a:first-child { color: var(--a-red) !important; }
body.da .topmenu a:hover { background: var(--a-paper); }

/* ---------- Category bar ---------- */
body.da nav.navbar.bootsnav { background: var(--a-red); border: 0; border-radius: 0; margin-bottom: 0; min-height: 0; }
body.da nav.navbar.bootsnav ul.nav > li > a { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; padding: 14px 9px; }
body.da nav.navbar.bootsnav ul.nav > li > a:hover,
body.da nav.navbar.bootsnav ul.nav > li.on:hover > a.dp { background: var(--a-ink) !important; color: #fff; }
body.da nav.navbar.bootsnav .navbar-toggle { color: #fff !important; }

/* ---------- Mega menu (dropdown under each category) ---------- */
body.da nav.bootsnav .megamenu-content .title a,
body.da nav.bootsnav .megamenu-content .col-menu > a.nc {
	color: var(--a-ink); font-family: "Archivo Narrow", Arial, sans-serif; font-weight: 700; font-size: 15px;
	letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
}
body.da nav.bootsnav .megamenu-content .title a:hover,
body.da nav.bootsnav .megamenu-content .col-menu > a.nc:hover { color: var(--a-red); }
body.da nav.bootsnav .megamenu-content ul.menu-col li { padding: 0; }
body.da nav.bootsnav .megamenu-content .content,
body.da nav.bootsnav .megamenu-content ul.menu-col { padding: 0 !important; margin: 0 !important; }
body.da nav.bootsnav .megamenu-content span.filterlink {
	display: block; padding: 6px 10px !important; margin: 0 -10px; border-radius: 6px;
	color: #3d3a36; font-size: 14px; line-height: 1.35; transition: background-color .12s ease, color .12s ease;
}
body.da nav.bootsnav .megamenu-content span.filterlink:hover { background: var(--a-paper); color: var(--a-red); }
body.da nav.bootsnav .megamenu-content .da-all { display: none; }

@media (min-width: 1024px) {
	body.da nav.navbar.bootsnav ul.nav > li.megamenu-fw.on > a.dp,
	body.da nav.navbar.bootsnav ul.nav > li.megamenu-fw:hover > a.dp { background: var(--a-ink) !important; }
	body.da nav.navbar.bootsnav li.dropdown ul.dropdown-menu.megamenu-content {
		padding: 0 !important; border: 0; border-top: 3px solid var(--a-ink); background: #f8f7f4;
		border-radius: 0 0 14px 14px; box-shadow: 0 18px 40px rgba(22, 24, 29, .18); overflow: hidden;
	}
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content > li { padding: 0; }
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content > li > .row {
		display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
		margin: 0; padding: 24px 28px; align-items: stretch;
	}
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content > li > .row::before,
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content > li > .row::after { display: none; }
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu {
		width: auto; float: none; margin: 0; min-width: 0;
		padding: 14px 16px 10px; background: #fff; border: 1px solid #ebe7e1 !important; border-radius: 10px;
		transition: border-color .12s ease, box-shadow .12s ease;
	}
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu:hover { border-color: #d6d0c8 !important; box-shadow: 0 4px 14px rgba(22, 24, 29, .06); }
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu .title,
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu > a.nc {
		display: block; margin: 0 0 6px; padding: 0 0 8px; border-bottom: 2px solid #efebe6; position: relative;
	}
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu .title::after,
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu > a.nc::after {
		content: ""; position: absolute; left: 0; bottom: -2px; width: 28px; height: 2px; background: var(--a-red);
	}
	body.da nav.navbar.bootsnav .dropdown .megamenu-content .col-menu .title:before { display: none; }
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content > li > .row { align-items: start; }
	/* a group without subcategories: a compact link tile instead of an empty card */
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu:not(:has(.content)) { padding: 0; }
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu:not(:has(.content)) > a.nc {
		display: flex; justify-content: space-between; align-items: center; gap: 10px;
		margin: 0; padding: 14px 16px; border: 0; border-radius: 10px; transition: background-color .12s ease, color .12s ease;
	}
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu:not(:has(.content)) > a.nc::after {
		content: "\203A"; position: static; width: auto; height: auto; background: none;
		font-family: "Archivo", Arial, sans-serif; font-size: 22px; font-weight: 400; line-height: 1; color: var(--a-red);
	}
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .col-menu:not(:has(.content)) > a.nc:hover { background: var(--a-paper); color: var(--a-red); }
	body.da nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .content { display: block; }
	body.da nav.bootsnav .megamenu-content .da-all {
		display: flex; justify-content: space-between; align-items: center; gap: 16px;
		background: var(--a-paper); border-top: 1px solid var(--a-line); padding: 14px 36px;
		color: var(--a-ink); font-weight: 600; font-size: 14px; text-decoration: none;
	}
	body.da nav.bootsnav .megamenu-content .da-all:hover { color: var(--a-red); }
	body.da nav.bootsnav .megamenu-content .da-all span { font-weight: 400; color: var(--a-muted); }
}
@media (max-width: 1023px) {
	/* mobile menu: white panel, dark text */
	body.da nav.navbar.bootsnav .navbar-collapse { background: #fff; border: 0; box-shadow: 0 12px 30px rgba(22, 24, 29, .18); max-height: 80vh; overflow-y: auto; }
	body.da nav.navbar.bootsnav .navbar-collapse ul.nav > li > a { color: var(--a-ink) !important; background: #fff !important; font-size: 16px; padding: 15px 16px; border-bottom: 1px solid #efebe6; }
	body.da nav.navbar.bootsnav .navbar-collapse ul.nav > li.on > a,
	body.da nav.navbar.bootsnav .navbar-collapse ul.nav > li > a:hover { color: var(--a-red) !important; background: var(--a-paper) !important; }
	body.da nav.navbar.bootsnav .navbar-collapse ul.nav > li.blackbg > a { color: var(--a-red) !important; }
	body.da nav.navbar.bootsnav .navbar-collapse ul.nav li.dropdown > a.dropdown-toggle::after,
	body.da nav.navbar.bootsnav .navbar-collapse ul.nav li.dropdown > a.dropdown-toggle::before { color: var(--a-ink); }
	body.da nav.navbar.bootsnav .navbar-collapse ul.dropdown-menu.megamenu-content { background: #faf9f7 !important; border: 0 !important; padding: 4px 0 8px !important; box-shadow: none; }
	body.da nav.navbar.bootsnav .navbar-collapse .megamenu-content .row { margin: 0; }
	body.da nav.navbar.bootsnav .navbar-collapse .megamenu-content .col-menu { border: 0 !important; padding: 0 16px; background: transparent; }
	body.da nav.bootsnav .megamenu-content .title,
	body.da nav.bootsnav .megamenu-content .col-menu > a.nc { display: block; padding: 12px 0; border-bottom: 1px solid #ebe7e1 !important; margin: 0; }
	body.da nav.bootsnav .megamenu-content .title a, body.da nav.bootsnav .megamenu-content .col-menu > a.nc { color: var(--a-ink) !important; font-size: 15px; }
	body.da nav.navbar.bootsnav .dropdown .megamenu-content .col-menu .title:before { color: var(--a-ink) !important; }
	body.da nav.navbar.bootsnav .dropdown .megamenu-content .col-menu.on .title a { color: var(--a-red) !important; }
	body.da nav.bootsnav .megamenu-content .content { background: transparent; padding: 4px 0 8px 12px !important; }
	body.da nav.bootsnav .megamenu-content span.filterlink { color: #3d3a36 !important; padding: 9px 0 9px 4px !important; margin: 0; font-size: 15px; border-radius: 6px; }
	body.da nav.bootsnav .megamenu-content span.filterlink:active { background: var(--a-paper); color: var(--a-red) !important; }
	body.da nav.bootsnav .megamenu-content .da-all { display: block; margin: 8px 16px 0; padding: 12px 0; color: var(--a-red); font-weight: 600; text-decoration: none; }
	body.da nav.bootsnav .megamenu-content .da-all span { display: none; }
}

/* ---------- Content frame ---------- */
body.da .contenth { background: transparent; padding-top: 16px; }
body.da .contentback { background: #fff; border: 1px solid var(--a-line) !important; border-radius: 12px; }
body.da h1 { text-shadow: none; color: var(--a-ink); font-weight: 700; font-size: 34px; text-transform: uppercase; line-height: 1.05; margin: 8px 0 12px; }
body.da h2 { color: var(--a-ink); font-weight: 700; text-transform: uppercase; }
body.da h2.h2start { background: none; color: var(--a-ink); border: 0; border-bottom: 2px solid var(--a-line); border-radius: 0; padding: 0 0 10px; margin: 36px 0 16px; font-size: 26px; letter-spacing: .02em; position: relative; }
body.da h2.h2start::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--a-red); }
/* product sections (Promoții, Noutăți, Lichidări, special): 5 per row */
body.da h2.h2start + .row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0 0 8px; }
body.da h2.h2start + .row::before, body.da h2.h2start + .row::after, body.da h2.h2start + .row > .clearfix { display: none; }
body.da h2.h2start + .row > div { width: auto; float: none; padding: 0; min-width: 0; }
body.da h2.h2start + .row > div > .prod_block { margin: 0; height: 100%; }
body.da h2.h2start + .row > .col-xs-12.text-right { grid-column: 1 / -1; text-align: right; }
body.da h2.h2start + .row.row { display: grid !important; }
body.da h2.h2start + .row.row > div { width: auto !important; max-width: none; display: flex; margin-bottom: 0; }
body.da h2.h2start + .row.row > div.hidden { display: none !important; }
body.da a.showallpromos { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 2px solid var(--a-ink); border-radius: 8px; background: #fff; background-image: none; color: var(--a-ink); font-weight: 600; text-shadow: none; box-shadow: none; }
body.da a.showallpromos:hover { background: var(--a-paper); color: var(--a-ink); }
@media (max-width: 1199px) { body.da h2.h2start + .row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991px) { body.da h2.h2start + .row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { body.da h2.h2start + .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } body.da h2.h2start { font-size: 22px; } }
body.da #whereamy, body.da #whereamy2 { background: transparent; font-size: 13px; color: var(--a-muted); padding: 4px 0; }
body.da #whereamy a, body.da #whereamy2 a { color: var(--a-muted); }
body.da #whereamy li:last-child, body.da #whereamy2 li.active { color: var(--a-ink); }
body.da .cat_descr { color: var(--a-muted); margin-bottom: 8px; }

/* ---------- Product cards (listings, home, related) ---------- */
body.da div.prod_block { background: #fff; border: 1px solid var(--a-line); border-radius: 10px; padding: 12px 12px 10px; margin: 8px auto; transition: box-shadow .15s ease, border-color .15s ease; }
body.da div.prod_block:hover { background: #fff; border-color: #cfc9c1; box-shadow: 0 8px 22px rgba(22, 24, 29, .10); }
body.da div.prod_block a:hover { text-decoration: none; }
body.da div.imagine_produs { background: #fff; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
body.da div.prod_block div.imagine_produs { margin: -12px -12px 0; width: calc(100% + 24px); border-radius: 10px 10px 0 0; overflow: hidden; }
@media (max-width: 767px) { body.da div.prod_block div.imagine_produs { margin: -8px -8px 0; width: calc(100% + 16px); } }
body.da div.imagine_produs img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
body.da div.prod_block .product_price .dela { font-family: "Archivo", Arial, sans-serif; font-size: 14px; font-weight: 600; color: var(--a-ink); margin-right: 2px; }
/* no outline after a mouse click; a clear one for keyboard users */
body.da a:focus, body.da button:focus, body.da .btn:focus { outline: none; }
body.da a:focus-visible, body.da button:focus-visible, body.da .btn:focus-visible { outline: 2px solid var(--a-red); outline-offset: 3px; border-radius: 6px; }
body.da div.prod_block:focus-within:has(a:focus-visible) { outline: 2px solid var(--a-red); outline-offset: 2px; }
body.da div.prod_block a:focus-visible { outline: none; }
body.da div.nume_produs,
body.da div.prod_block:hover div.nume_produs { background: transparent !important; color: var(--a-ink); font-family: "Archivo", Arial, sans-serif; font-weight: 600; font-size: 16.5px; line-height: 1.35; height: 2.7em; overflow: hidden; text-align: left; padding: 8px 0 0; text-transform: none; }
body.da div.prod_block:hover div.nume_produs { color: var(--a-red); }
body.da div.prod_block .product_price { color: var(--a-red); font-style: normal; text-shadow: none; font-size: 27px !important; line-height: 1; font-weight: 700; text-align: left; padding: 10px 0 0; white-space: nowrap; }
body.da div.prod_block .product_price a { color: var(--a-red); text-decoration: none; }
body.da div.prod_block .product_price .dec { font-size: .6em; vertical-align: baseline; position: static; margin-left: 1px; }
body.da div.prod_block .product_price .lei { font-family: "Archivo", Arial, sans-serif; font-size: 15px; font-weight: 600; color: var(--a-ink); margin-left: 4px; vertical-align: baseline; }
body.da div.prod_block .stoc { text-align: right; padding: 10px 0 0; }
body.da div.prod_block span.label { border-radius: 999px; font-weight: 700 !important; font-size: 14px !important; line-height: 1.2; padding: .45em 1em !important; }
body.da .label.bg-green { background: #e7f3eb; color: var(--a-ok); }
body.da .label.bg-orange { background: #fdf0dc; color: var(--a-wait); }
body.da .reducere { top: 10px; right: 10px; left: auto; width: auto; height: auto; min-width: 0; padding: 5px 10px; background: var(--a-red); border-radius: 999px; box-shadow: 0 2px 8px rgba(200, 16, 46, .3); overflow: visible; }
body.da .reducere span { position: static; top: auto; transform: none; -webkit-transform: none; -ms-transform: none; display: block; font-family: "Archivo", Arial, sans-serif; font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; }
body.da .product_price2 .reducere { right: auto; }
body.da .prod_block .nou, body.da .prod_block .lichidare { top: 10px; left: 10px; width: auto; height: auto; padding: 5px 10px; border-radius: 999px; background: var(--a-ink); overflow: visible; }
body.da .prod_block .lichidare { background: #b45309; }
body.da .prod_block .nou::after, body.da .prod_block .lichidare::after { display: block; color: #fff; font-family: "Archivo", Arial, sans-serif; font-size: 13px; font-weight: 700; line-height: 1.2; }
body.da .prod_block .nou::after { content: "Nou"; }
body.da .prod_block .lichidare::after { content: "Lichidare"; }
body.da .prod_block .lichidare + .nou { top: 42px; }
/* product grids: equal-height cards, no gaps (instead of floats) */
body.da .row:has(> [class*="col-"] > .prod_block) { display: flex; flex-wrap: wrap; }
body.da .row:has(> [class*="col-"] > .prod_block)::before,
body.da .row:has(> [class*="col-"] > .prod_block)::after,
body.da .row:has(> [class*="col-"] > .prod_block) > .clearfix { display: none; }
body.da .row:has(> [class*="col-"] > .prod_block) > [class*="col-"] { float: none; display: flex; margin-bottom: 14px; }
body.da .row:has(> [class*="col-"] > .prod_block) > [class*="col-"] > .prod_block { width: 100%; margin: 0; }
body.da div.prod_block { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; align-items: end; column-gap: 8px; }
body.da div.prod_block > a { grid-column: 1 / -1; grid-row: 1; align-self: start; }
body.da div.prod_block > .product_price { grid-column: 1; grid-row: 2; width: auto; float: none; padding-left: 0; padding-right: 0; }
body.da div.prod_block > .stoc { grid-column: 2; grid-row: 2; width: auto; float: none; padding-left: 0; padding-right: 0; }
body.da div.prod_block > .clearfix { display: none; }
body.da div.prod_block > .nou, body.da div.prod_block > .lichidare, body.da div.prod_block > .reducere { position: absolute; }
/* subcategory tiles on a parent category page */
body.da div.prod_block.prod_block_subcats_list { display: flex; flex-direction: column; padding: 0 0 4px; overflow: hidden; }
body.da div.prod_block_subcats_list div.imagine_produs { margin: 0; width: 100%; border-radius: 10px 10px 0 0; }
body.da div.prod_block_subcats_list div.imagine_produs > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
body.da div.prod_block_subcats_list div.imagine_produs img { width: 100%; height: 100%; object-fit: contain; margin: 0 auto; }
body.da div.prod_block.prod_block_subcats_list div.nume_produs,
body.da div.prod_block.prod_block_subcats_list:hover div.nume_produs { height: auto; min-height: 0; display: block !important; -webkit-line-clamp: unset; text-align: center !important; padding: 14px 12px 12px; width: 100%; }
body.da div.prod_block.prod_block_subcats_list div.nume_produs a { display: block; width: 100%; text-align: center; }
body.da div.prod_block_subcats_list div.nume_produs a { color: var(--a-ink) !important; font-family: "Archivo Narrow", Arial, sans-serif; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; padding: 0; }
body.da div.prod_block_subcats_list:hover div.nume_produs a { color: var(--a-red) !important; }
/* small lists (home "Idei cadouri", noutăți) */
body.da a.block .product_name { color: var(--a-ink); font-weight: 500; }
body.da a.block:hover .product_name { color: var(--a-red); }
body.da a.block .product_price { color: var(--a-red); font-weight: 700; font-style: normal; text-shadow: none; }
body.da img.prodboxs { border-radius: 6px; margin-right: 10px; }
body.da a.block .product_price.block { display: inline-block; }
body.da a.block .ps-stock { display: inline-block; margin-left: 10px; vertical-align: 1px; }
body.da a.block .ps-stock .label { display: inline-block; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.2; padding: .35em .8em; }
body.da .label.bg-red { background: #fbe9ec; color: #a00d24; }

/* ---------- Category: filters, sorting, pagination ---------- */
body.da .cat_filters { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 14px 14px 10px; }
body.da .cat_filters > li { color: var(--a-ink); font-family: "Archivo Narrow", Arial, sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid #efebe6; }
body.da .cat_filters > li:last-child { border-bottom: 0; }
body.da .cat_filters ul li { font-family: "Archivo", Arial, sans-serif; text-transform: none; font-weight: 400; font-size: 14px; }
body.da span.filterlink, body.da .cat_filters a { color: #3d3a36; font-size: 14px; padding: 4px 0 4px 26px; }
body.da span.filterlink:hover, body.da .cat_filters a:hover { color: var(--a-red); }
body.da div.paginaretop { border-bottom: 1px solid var(--a-line); padding-bottom: 8px; margin-bottom: 4px; }
body.da div.paginarebottom { border-top: 1px solid var(--a-line); padding-top: 8px; }
body.da .sortproducts { height: 40px; border: 1px solid #c9c4bd; border-radius: 8px; box-shadow: none; }
body.da .pagination > li > a, body.da div.paginare a { background: #fff; color: var(--a-ink); border: 1px solid var(--a-line); min-width: 40px; height: 40px; line-height: 26px; text-align: center; margin-left: 4px; border-radius: 8px !important; }
body.da .pagination > li > a:hover, body.da div.paginare a:hover { background: var(--a-paper); color: var(--a-red); }
body.da .pagination > .active > a, body.da .pagination > .active > a:focus, body.da .pagination > .active > a:hover { background: var(--a-ink); color: #fff; border-color: var(--a-ink); }
body.da .pagination { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
body.da .pagination > li > a { margin-left: 0; }
body.da .pagination > li.pg-gap > span { background: transparent; border: 0; color: var(--a-muted); min-width: 24px; padding: 6px 2px; }
body.da .pagination > li.pg-prev > a, body.da .pagination > li.pg-next > a { font-size: 20px; line-height: 22px; font-weight: 600; }

/* ---------- Product page ---------- */
body.da #product .product_pictures .bigimage { border-radius: 12px; aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: contain; background: #fff; }
body.da #product-offer h1 { color: var(--a-ink); font-size: 34px; text-transform: none; line-height: 1.1; padding-right: 0; }
body.da .descriere2 { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 16px; }
body.da .ikonos, body.da .ikonos a { color: var(--a-ink); }
body.da .ikonos .fa { color: var(--a-red); }
body.da .product_price3 { font-style: normal; color: var(--a-red); font-size: 40px; font-weight: 700; text-align: left; }
body.da ul.sizes li, body.da ul.colors li { border: 2px solid #c9c4bd; border-radius: 8px; background: #fff; min-width: 56px; padding: 8px 12px; }
body.da ul.sizes li:hover, body.da ul.colors li:hover { border-color: var(--a-ink); }
body.da .colorsp li.active, body.da .colors li.active, body.da .sizes li.active { border: 2px solid var(--a-ink); background: #fff; }
body.da a.cumpara, body.da .btn-danger { background: var(--a-red); border-color: var(--a-red); color: #fff; border-radius: 8px !important; font-family: "Archivo Narrow", Arial, sans-serif; font-size: 18px; letter-spacing: .04em; }
body.da a.cumpara:hover, body.da .btn-danger:hover { background: var(--a-red-dark); border-color: var(--a-red-dark); color: #fff; }
body.da h2.descriere_head { font-size: 22px; }
body.da .descriere { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 20px; line-height: 1.6; }

/* ---------- Trust strip + footer ---------- */
body.da .da-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px auto 0; }
body.da .da-trust > div { background: #fff; border: 1px solid var(--a-line); border-radius: 10px; padding: 14px 16px; }
body.da .da-trust strong { display: block; font-family: "Archivo Narrow", Arial, sans-serif; font-size: 17px; text-transform: uppercase; color: var(--a-ink); }
body.da .da-trust span { font-size: 13px; color: var(--a-muted); }
body.da #footer { background: var(--a-ink); border-top: 0; color: #d6d2cc; margin-top: 24px; padding-bottom: 16px; }
body.da #footer a { color: #d6d2cc; }
body.da #footer a:hover { color: #fff; }
body.da #footer b { color: #fff; font-family: "Archivo Narrow", Arial, sans-serif; letter-spacing: .04em; }
body.da #footer img[src*="fishmania-logo"] { background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; }
body.da #footer input, body.da #footer textarea { background: #fff; color: var(--a-ink); }

/* ---------- Fixes: page width, header cart, filters, names ---------- */
html, body.da { overflow-x: hidden; }

/* account + cart box */
body.da div#usermenu { background: transparent; border: 0; border-radius: 0; height: 48px; display: flex; align-items: center; justify-content: flex-end; text-align: right; padding: 0 14px 0 0; }
body.da #usermenucontents b { color: var(--a-ink); font-weight: 600; }
body.da div#bsk { height: 48px; padding: 0 16px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; text-shadow: none; text-align: left; }
body.da div#bsk i.fa-shopping-basket { float: none; margin: 0; font-size: 20px; color: #fff; }
body.da #cosulmeu { order: 1; font-size: 15px; line-height: 1.1; white-space: nowrap; }
body.da #totalcount { order: 2; float: none; position: static; margin: 0; top: auto; left: auto; min-width: 24px; height: 24px; padding: 0 7px; border: 0; border-radius: 999px; background: var(--a-red); box-shadow: none; color: #fff; font-size: 12px; font-weight: 700; line-height: 24px; text-align: center; }
body.da a.bsk { position: absolute; inset: 0; margin: 0; }
body.da #basketcontent { border-radius: 0 0 12px 12px; box-shadow: 0 14px 30px rgba(22, 24, 29, .16); }
body.da .topmenu { background: transparent; }

/* filter list: drawn checkboxes instead of the old images */
body.da .cat_filters li.checked, body.da .cat_filters li.notchecked { background: none; padding: 0; color: #3d3a36; font-family: "Archivo", Arial, sans-serif; font-size: 14px; font-weight: 400; text-transform: none; border: 0; }
body.da .cat_filters li.checked > span.filterlink,
body.da .cat_filters li.notchecked > span.filterlink { position: relative; display: block; padding: 6px 0 6px 28px !important; line-height: 1.35; }
body.da .cat_filters li.checked > span.filterlink::before,
body.da .cat_filters li.notchecked > span.filterlink::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border: 1.5px solid #b9b3ab; border-radius: 5px; background: #fff; box-sizing: border-box; }
body.da .cat_filters li.notchecked > span.filterlink:hover::before { border-color: var(--a-ink); }
body.da .cat_filters li.checked > span.filterlink { color: var(--a-ink); font-weight: 600; }
body.da .cat_filters li.checked > span.filterlink::before { background: var(--a-red); border-color: var(--a-red); }
body.da .cat_filters li.checked > span.filterlink::after { content: ""; position: absolute; left: 6px; top: 10px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
body.da .cat_filters li.checked > a, body.da .cat_filters li.notchecked > a { padding-left: 28px; }
body.da .cat_filters > li > ul { margin: 6px 0 4px; }
body.da .cat_filters > li { padding: 12px 0; }
body.da .cat_filters > li:first-child { padding-top: 2px; }
body.da #filterswitch { border-color: var(--a-ink); color: var(--a-ink); border-radius: 8px; height: 44px; line-height: 36px; font-weight: 600; }

/* product names: two full lines, never cut mid-line */
body.da div.nume_produs,
body.da div.prod_block:hover div.nume_produs { height: auto; min-height: calc(2 * 1.35em + 8px); box-sizing: border-box; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* product photo gallery: thumbnails */
body.da #product ul.picsl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; scrollbar-width: none; }
body.da #product ul.picsl::-webkit-scrollbar { display: none; }
body.da #product .da-thumbs { position: relative; }
body.da #product .da-thumbs.da-scrollable { padding-top: 22px; padding-bottom: 22px; }
body.da .da-thumbs-btn { display: none; position: absolute; z-index: 3; width: 34px; height: 34px; padding: 0; border: 1px solid var(--a-line); border-radius: 50%; background: #fff; color: var(--a-ink); font-size: 24px; line-height: 1; box-shadow: 0 3px 10px rgba(22, 24, 29, .15); cursor: pointer; }
body.da .da-thumbs.da-scrollable .da-thumbs-btn { display: flex; align-items: center; justify-content: center; }
body.da .da-thumbs-btn:hover { border-color: var(--a-ink); }
body.da .da-thumbs-btn:disabled { opacity: .3; cursor: default; box-shadow: none; }
body.da .da-thumbs .da-prev { top: -6px; left: 50%; transform: translateX(-50%) rotate(90deg); }
body.da .da-thumbs .da-next { bottom: -6px; left: 50%; transform: translateX(-50%) rotate(90deg); }
body.da #product ul.picsl li { flex: 0 0 auto; }
body.da #product ul.picsl li a { display: block; border: 1px solid var(--a-line); border-radius: 8px; overflow: hidden; background: #fff; }
body.da #product ul.picsl li a:hover { border-color: var(--a-ink); }
body.da #product ul.picsl img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
@media (max-width: 767px) {
	body.da #product .colorimages > .row { display: flex; flex-direction: column-reverse; gap: 10px; margin: 0; }
	body.da #product .colorimages > .row > div, body.da #product .colorimages > .row > ul { width: 100%; padding: 0; float: none; }
	body.da #product ul.picsl { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 0 0 4px; -webkit-overflow-scrolling: touch; }
	body.da #product .da-thumbs.da-scrollable { padding: 0 26px; }
	body.da .da-thumbs .da-prev { top: 50%; left: -4px; bottom: auto; transform: translateY(-50%); }
	body.da .da-thumbs .da-next { top: 50%; right: -4px; left: auto; bottom: auto; transform: translateY(-50%); }
	body.da #product ul.picsl li { flex: 0 0 68px; }
}
/* product buy box */
body.da .descriere2 { padding: 20px 22px; }
body.da .descriere2 .ikonos { font-size: 13px; color: var(--a-muted); }
body.da .descriere2 .ikonos .fa-industry { display: none; }
body.da #product .stocdisplay { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 7px 14px; border-radius: 999px; background: #e7f3eb; color: var(--a-ok); font-weight: 700; font-size: 14px; text-align: left; }
body.da #product .stocdisplay::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
body.da #product .stocdisplay .label { display: none; }
body.da .descriere2 .questions { text-align: right; }
body.da .descriere2 .questions a { display: inline-flex; align-items: center; gap: 10px; text-align: left; font-size: 13px; line-height: 1.3; color: var(--a-muted); }
body.da .descriere2 .questions .fa { font-size: 26px; }
/* a product without colours/sizes has a single "-" option: auto-selected by the script, so it is hidden */
body.da .descriere2 .marginbottom10:has(> ul.colors > li[data-colorname="-"]:only-child),
body.da .descriere2 .marginbottom10:has(> ul.sizes > li[data-sizename="-"]:only-child) { display: none; }
body.da ul.colors li, body.da ul.sizes li { font-family: "Archivo", Arial, sans-serif; font-weight: 600; font-size: 14px; text-transform: none; }
body.da .product_pricex { border-top: 1px solid #efebe6; margin-top: 8px; padding-top: 16px; }
body.da .product_pricex > .row { display: flex; flex-wrap: wrap; align-items: flex-end; row-gap: 16px; }
body.da .product_pricex > .row::before, body.da .product_pricex > .row::after { display: none; }
body.da .product_price3 { margin: 0; line-height: 1; }
body.da .product_price3 > span:first-of-type { display: block; margin-bottom: 4px; font-family: "Archivo", Arial, sans-serif; font-style: normal; font-size: 13px !important; }
body.da .product_price3 .lei { font-size: 22px; color: var(--a-ink); }
body.da .product_price3 .includetva { display: block; margin-top: 6px; font-family: "Archivo", Arial, sans-serif; font-size: 13px; font-weight: 400; color: var(--a-muted); }
body.da .product_pricex .col-sm-6:last-child { display: flex; align-items: flex-end; gap: 10px; }
body.da .product_pricex .form-group { margin: 0; flex: 0 0 96px; }
body.da .product_pricex .form-group .input-group { display: flex; flex-direction: column; width: 100%; }
body.da .product_pricex .form-group .input-group-addon { display: block; width: auto; background: none; border: 0; padding: 0 0 4px; text-align: left; font-size: 13px; color: var(--a-muted); }
body.da .product_pricex #qty { width: 100%; height: 52px; border: 1px solid #c9c4bd; border-radius: 8px !important; background: #fff; box-shadow: none; text-align: center; font-size: 18px; font-weight: 600; }
body.da .product_pricex .form-group + .input-group { flex: 1 1 auto; display: flex; }
body.da .product_pricex .input-group-addon.cp { display: none; }
body.da .product_pricex a.cumpara.btn { flex: 1; height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px !important; font-size: 19px; text-transform: uppercase; }
body.da .product_pricex a.cumpara.btn::before { content: "\f291"; font-family: FontAwesome; font-size: 18px; }

/* footer contact form ("Scrie-ne") */
body.da #contactbottom { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
body.da #contactbottom input[type="text"], body.da #contactbottom input:not([type]), body.da #contactbottom textarea {
	width: 100%; height: 46px; padding: 0 14px; border: 1px solid #34373f; border-radius: 8px;
	background: #22252c; color: #fff; font-size: 15px; box-shadow: none; margin: 0;
}
body.da #contactbottom textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
body.da #contactbottom input::placeholder, body.da #contactbottom textarea::placeholder { color: #8f8a83; }
body.da #contactbottom input:focus, body.da #contactbottom textarea:focus { outline: none; border-color: var(--a-red); box-shadow: 0 0 0 3px rgba(200, 16, 46, .25); }
body.da #contactbottom img { float: none !important; margin: 0 !important; width: 120px; height: 46px; border-radius: 8px; object-fit: cover; image-rendering: pixelated; }
body.da #contactbottom #gfx_check { width: calc(100% - 130px) !important; flex: 1 1 auto; letter-spacing: .3em; font-weight: 600; }
body.da #contactbottom input.smit {
	width: 100%; height: 50px; margin-top: 4px; border: 0; border-radius: 8px; background: var(--a-red); color: #fff;
	font-family: "Archivo Narrow", Arial, sans-serif; font-size: 18px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
}
body.da #contactbottom input.smit:hover { background: var(--a-red-dark); }

/* ---------- Home page (start_a.php) ---------- */
body.da .bbg { display: none; }
body.da .da-home { display: flex; flex-direction: column; gap: 40px; padding: 8px 0 8px; }
body.da .da-h2 { margin: 0; font-size: 28px; text-transform: uppercase; color: var(--a-ink); }
body.da .da-section { display: flex; flex-direction: column; gap: 16px; }
body.da .da-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
body.da .da-head a { font-weight: 600; font-size: 14px; text-decoration: underline; }
body.da .da-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
body.da .da-hero-main { background: var(--a-ink); color: #fff; border-radius: 14px; padding: 40px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
body.da .da-hero-text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
body.da .da-eyebrow { font-family: "Archivo Narrow", Arial, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #ff8a8a; }
body.da .da-hero-title { margin: 0; font-size: 46px; line-height: 1; text-wrap: balance; }
body.da .da-hero-title a { color: #fff; text-decoration: none; }
body.da .da-hero-title a:hover { color: #ffd0d6; }
body.da .da-hero-text p { margin: 0; color: #d6d2cc; font-size: 16px; line-height: 1.5; max-width: 46ch; }
body.da .da-hero-buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
body.da .da-hero-price { font-family: "Archivo Narrow", Arial, sans-serif; font-weight: 700; font-size: 42px; line-height: 1; }
body.da .da-hero-price small { font-family: "Archivo", Arial, sans-serif; font-size: 18px; font-weight: 600; }
body.da .da-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 8px; background: var(--a-red); color: #fff !important; font-weight: 600; text-decoration: none !important; }
body.da .da-btn:hover { background: var(--a-red-dark); }
body.da .da-hero-img { flex: 0 1 280px; background: #fff; border-radius: 12px; padding: 16px; display: flex; justify-content: center; }
body.da .da-hero-img img { max-width: 100%; height: auto; max-height: 260px; object-fit: contain; }
body.da .da-hero-side { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.da .da-tile { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; transition: border-color .12s ease, box-shadow .12s ease; }
body.da .da-tile:hover { border-color: #cfc9c1; box-shadow: 0 6px 18px rgba(22, 24, 29, .08); }
body.da .da-tile strong { display: block; font-family: "Archivo Narrow", Arial, sans-serif; font-size: 22px; text-transform: uppercase; color: var(--a-ink); }
body.da .da-tile strong.da-red { color: var(--a-red); }
body.da .da-tile small { display: block; margin-top: 2px; font-size: 13px; color: var(--a-muted); }
body.da .da-tile .fa { font-size: 26px; color: var(--a-ink); }
body.da .da-disc { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
body.da .da-disc-card { background: #fff; border: 1px solid var(--a-line); border-top: 4px solid var(--a-red); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 6px; min-height: 100px; text-decoration: none; transition: box-shadow .12s ease; }
body.da .da-disc-card:hover { box-shadow: 0 6px 18px rgba(22, 24, 29, .08); }
body.da .da-disc-card strong { font-family: "Archivo Narrow", Arial, sans-serif; font-size: 20px; text-transform: uppercase; color: var(--a-ink); }
body.da .da-disc-card:hover strong { color: var(--a-red); }
body.da .da-disc-card span { font-size: 13px; line-height: 1.45; color: var(--a-muted); }
body.da .da-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body.da .da-grid .prod_block { margin: 0; height: 100%; }
body.da .da-bottom { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
body.da .da-panel { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
body.da .da-pills { display: flex; flex-wrap: wrap; gap: 8px; }
body.da .da-pills a { border: 1px solid var(--a-line); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px; text-decoration: none; }
body.da .da-pills a:hover { border-color: var(--a-ink); color: var(--a-ink); background: var(--a-paper); }
body.da .da-newsletter .newsletter_header { font-family: "Archivo Narrow", Arial, sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--a-ink); }
body.da .da-newsletter #newsletter_email { height: 46px; border: 1px solid #c9c4bd; border-radius: 8px; font-size: 15px; box-shadow: none; }
body.da .da-newsletter .btn { height: 46px; width: 100%; font-size: 16px; text-transform: uppercase; }
@media (max-width: 1199px) { body.da .da-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) {
	body.da .da-hero, body.da .da-bottom { grid-template-columns: minmax(0, 1fr); }
	body.da .da-hero-side { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	body.da .da-home { gap: 28px; }
	body.da .da-hero-main { padding: 24px; }
	body.da .da-hero-title { font-size: 32px; }
	body.da .da-hero-price { font-size: 34px; }
	body.da .da-hero-img { flex-basis: 100%; }
	body.da .da-hero-side { grid-template-columns: minmax(0, 1fr); }
	body.da .da-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	body.da .da-disc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.da .da-h2 { font-size: 24px; }
}

/* "Istoricul tău de navigare" (product page) */
body.da .contenth .whitebg.row { margin: 40px 0; padding: 20px 22px 14px; background: #fff; border: 1px solid var(--a-line); border-radius: 12px; }
body.da .contenth .whitebg.row > div { padding-left: 0; padding-right: 0; }
body.da #history { margin: 0 0 14px; padding: 0 0 10px; border-bottom: 2px solid #efebe6; font-family: "Archivo Narrow", Arial, sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--a-ink); }
body.da .recent_visited > .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 10px; }
body.da .recent_visited > .row::before, body.da .recent_visited > .row::after { display: none; }
body.da .recent_visited > .row > div { width: auto; float: none; padding: 0; }
body.da .recent_visited .border-bottom, body.da .recent_visited .row .row { border: 0 !important; margin: 0; padding: 0; }
body.da .recent_visited .row .col-xs-12 { padding: 0; border: 0; }
body.da .recent_visited a.block { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #efebe6; border-radius: 10px; text-decoration: none; transition: border-color .12s ease, background-color .12s ease; }
body.da .recent_visited a.block:hover { border-color: #d6d0c8; background: var(--a-paper); }
body.da .recent_visited img.prodboxs { float: none; flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; margin: 0; }
body.da .recent_visited .product_name { font-size: 14px; line-height: 1.35; }
body.da .recent_visited .product_price { font-size: 15px; margin-top: 2px; }
body.da .recent_visited a.block > span:not(.product_name) { display: inline-block; }
body.da .recent_visited a.block { flex-wrap: wrap; }
@media (max-width: 767px) { body.da .recent_visited > .row { grid-template-columns: minmax(0, 1fr); } }

/* "Produsul a fost adăugat în coș" modal */
body.da #myModal .modal-content { border: 0; border-radius: 14px; box-shadow: 0 24px 60px rgba(22, 24, 29, .25); overflow: hidden; }
body.da #myModal .modal-header { border-bottom: 1px solid var(--a-line); padding: 18px 24px; }
body.da #myModal .modal-title { font-family: "Archivo Narrow", Arial, sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--a-ink); }
body.da #myModal .modal-body { padding: 24px; }
body.da #myModal .modal-body > .row { display: flex; flex-wrap: wrap; justify-content: center; }
body.da #myModal .modal-body > .row::before, body.da #myModal .modal-body > .row::after { display: none; }
body.da #myModal .modal-body .col-sm-6 { margin-top: 12px; }
body.da #myModal .modal-body .col-sm-6:nth-last-child(2) { text-align: right; }
body.da #myModal .modal-body .col-sm-6:last-child { text-align: left; }
body.da #myModal .closemodal.btn, body.da #myModal a.btn-success {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-width: 250px; height: 52px; padding: 0 24px; border-radius: 8px;
	font-family: "Archivo", Arial, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none;
	background-image: none; text-shadow: none; box-shadow: none; cursor: pointer;
}
body.da #myModal .closemodal.btn { background: #fff; border: 2px solid var(--a-ink); color: var(--a-ink); }
body.da #myModal .closemodal.btn:hover { background: var(--a-paper); color: var(--a-ink); }
body.da #myModal a.btn-success { background: #1d7a3a; border: 2px solid #1d7a3a; color: #fff; }
body.da #myModal a.btn-success:hover { background: #166030; border-color: #166030; color: #fff; }
body.da #myModal .btn .fa { font-size: 13px; }
@media (max-width: 767px) {
	body.da #myModal .modal-body .col-sm-6:nth-last-child(2), body.da #myModal .modal-body .col-sm-6:last-child { text-align: center; }
	body.da #myModal .closemodal.btn, body.da #myModal a.btn-success { width: 100%; min-width: 0; }
	body.da #myModal .modal-body .col-sm-6:last-child { order: -1; }
}

/* ---------- Checkout (/checkout) ---------- */
body.da #checkout { margin-top: 4px; }
body.da .contenth:has(#checkout) > * { width: auto !important; max-width: 1100px !important; margin-left: auto !important; margin-right: auto !important; float: none !important; }
body.da .contenth:has(#checkout) > #checkout > .col-xs-12 { padding-left: 0; padding-right: 0; }
body.da #checkout .dec { font-size: .7em; vertical-align: baseline; position: static; top: auto; margin-left: 1px; }
body.da #checkout table.coss td { white-space: normal; }
body.da #checkout table.coss td:nth-last-child(-n+3) { white-space: nowrap; }
body.da #checkout h1 { margin: 28px 0 14px; }
body.da #checkout h3 { margin: 28px 0 10px !important; padding: 0; background: none; border: 0; font-size: 20px; text-transform: uppercase; color: var(--a-ink); }
body.da #checkout h3 span { color: var(--a-red) !important; }
body.da #checkout .contentback { padding: 18px 20px !important; margin: 0 !important; }
body.da #checkout .contentback::after { content: ""; display: table; clear: both; }
body.da #checkout label { font-size: 14px; font-weight: 600; color: var(--a-ink); }
body.da #checkout span.req { color: var(--a-red); }
body.da #checkout .form-control, body.da #checkout select, body.da #checkout textarea {
	height: 44px; border: 1px solid #c9c4bd; border-radius: 8px; box-shadow: none; font-size: 15px; background: #fff;
}
body.da #checkout textarea { height: auto; min-height: 96px; padding: 10px 12px; }
body.da #checkout .form-control:focus, body.da #checkout textarea:focus, body.da #checkout .cant:focus { border-color: var(--a-ink); box-shadow: 0 0 0 3px rgba(22, 24, 29, .12); outline: none; }
body.da #checkout #data1 > div, body.da #checkout #pf .row > div { margin-bottom: 4px; }
body.da #checkout input[type="radio"], body.da #checkout input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--a-red); vertical-align: -4px; margin: 0 6px 0 0; }
body.da #checkout #fan_courier_row, body.da #checkout .contentback > div[style*="padding:5px"] { font-size: 15px; }
body.da #checkout #fan_courier_row label, body.da #plata_curier + label { font-weight: 600; }
body.da #checkout .btn-default, body.da #checkout #aplicacod, body.da #checkout #actualizare,
body.da #checkout #showdefault, body.da #checkout #showdefault2 {
	display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 2px solid var(--a-ink); border-radius: 8px;
	background: #fff; background-image: none; color: var(--a-ink); font-size: 14px; font-weight: 600; text-shadow: none; box-shadow: none;
}
body.da #checkout .btn-default:hover, body.da #checkout #aplicacod:hover, body.da #checkout #actualizare:hover { background: var(--a-paper); }
body.da #checkout #codvoucher { font-family: Consolas, Menlo, monospace !important; letter-spacing: .08em; text-transform: uppercase; }
/* cart table */
body.da #checkout table.coss { width: 100%; margin: 16px 0 12px; border-collapse: separate; border-spacing: 0; }
body.da #checkout table.coss thead th { background: var(--a-paper); color: var(--a-muted); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--a-line); }
body.da #checkout table.coss td { padding: 12px; vertical-align: middle; border-color: #efebe6; }
body.da #checkout table.coss img { border-radius: 8px; }
body.da #checkout table.coss a { color: var(--a-ink); font-weight: 600; }
body.da #checkout table.coss a:hover { color: var(--a-red); }
body.da #checkout input.cant { width: 60px !important; height: 40px; border: 1px solid #c9c4bd; border-radius: 8px; font-size: 16px; font-weight: 600; }
body.da #checkout .fa-trash { font-size: 18px; color: var(--a-muted); padding: 8px; border-radius: 6px; }
body.da #checkout .fa-trash:hover { color: var(--a-red); background: #fbe9ec; }
body.da #checkout #nagytotal { color: var(--a-red); font-family: "Archivo Narrow", Arial, sans-serif; font-size: 24px; }
/* login box shown to guests */
body.da #checkout #userlogin { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 16px 20px; margin-bottom: 8px; }
body.da #checkout #userlogin h4 { font-family: "Archivo Narrow", Arial, sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; }
body.da #checkout #userlogin .btn-danger { height: 44px; width: 100%; }
/* totals + terms + submit */
body.da #checkout table.checkoutbottom { margin-top: 24px; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; }
body.da #checkout table.checkoutbottom td { background: var(--a-ink); padding: 14px 20px; border-top: 1px solid #2c2f36; font-size: 15px; }
body.da #checkout table.checkoutbottom tr:nth-child(3) td { border-top: 1px solid #4a4d55 !important; }
body.da #checkout table.checkoutbottom #costfinal { font-family: "Archivo Narrow", Arial, sans-serif; font-size: 28px; }
body.da #checkout table.checkoutbottom tr:nth-child(n+4) td { background: var(--a-paper) !important; border: 0; padding: 16px 0 0; }
body.da #checkout #trimitecomanda {
	height: 58px; padding: 0 36px; border: 0; border-radius: 10px; background: var(--a-red); background-image: none; color: #fff;
	font-family: "Archivo Narrow", Arial, sans-serif; font-size: 21px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
body.da #checkout #trimitecomanda:hover { background: var(--a-red-dark); }
body.da #checkout #trimitecomanda[disabled] { opacity: .7; }
@media (max-width: 767px) {
	/* cart table becomes stacked cards on phones */
	body.da #checkoutform > table.coss, body.da #checkoutform > table.coss > tbody { display: block; width: 100%; }
	body.da #checkoutform > table.coss > thead { display: none; }
	body.da #checkoutform > table.coss > tbody > tr { display: block; }
	body.da #checkoutform > table.coss > tbody > tr > td { display: block; width: 100% !important; border: 0; }
	body.da #checkoutform > table.coss > tbody > tr:has(input.cant) {
		display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; column-gap: 10px;
		padding: 12px; border-bottom: 1px solid #efebe6;
	}
	body.da #checkoutform > table.coss > tbody > tr:has(input.cant) > td { width: auto !important; padding: 0 !important; }
	body.da #checkoutform > table.coss > tbody > tr:has(input.cant) > td:nth-child(1) { grid-column: 1 / -1; margin-bottom: 10px; }
	body.da #checkoutform > table.coss > tbody > tr:has(input.cant) > td:nth-child(1) a { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; }
	body.da #checkoutform > table.coss > tbody > tr:has(input.cant) > td:nth-child(1) img { flex: 0 0 64px; width: 64px; height: 64px; object-fit: contain; float: none; margin: 0; }
	body.da #checkoutform > table.coss > tbody > tr:has(input.cant) > td:nth-child(3) { display: flex; gap: 2px; }
	body.da #checkoutform > table.coss > tbody > tr:has(input.cant) > td:nth-child(3) .fa { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c9c4bd; border-radius: 8px; background: #fff; }
	body.da #checkoutform > table.coss > tbody > tr:has(input.cant) > td:nth-child(4) { display: none; }
	body.da #checkoutform > table.coss > tbody > tr:has(input.cant) > td:nth-child(5) { text-align: right; font-weight: 700; font-size: 17px; }
	body.da #checkoutform > table.coss > tbody > tr:not(:has(input.cant)) > td { padding: 12px !important; }
	body.da #checkoutform > table.coss table.coss { width: 100%; margin: 0; }
	body.da #checkout #data1 .text-right { text-align: left; }
	body.da #checkout #trimitecomanda { width: 100%; }
	body.da #checkout table.coss td, body.da #checkout table.coss th { padding: 8px 6px; }
}

/* cart / checkout page (old rules) */
body.da #checkout h2, body.da #checkout h3 { background: transparent; padding: 0 0 8px; border-bottom: 2px solid var(--a-line); font-size: 20px; }
body.da .coss { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; }
body.da .coss thead tr td { background: var(--a-paper); color: var(--a-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--a-line); padding: 10px 12px; }
body.da .coss tbody tr td { border-bottom: 1px solid #efebe6; padding: 12px; vertical-align: middle; }
body.da .coss tbody tr td h3 { font-family: "Archivo", Arial, sans-serif; font-size: 15px; font-weight: 600; text-transform: none; margin: 0 0 4px; }

/* ---------- Phones ---------- */
@media (max-width: 767px) {
	/* mobile header: even 16px side margins, account + cart on one row */
	body.da .whitebg .container { padding-left: 16px; padding-right: 16px; }
	body.da .whitebg .row { margin-left: 0; margin-right: 0; }
	body.da .whitebg [class*="col-"] { padding-left: 0; padding-right: 0; }
	body.da .whitebg #phone { margin: 6px 0 8px; }
	body.da #search { margin: 0 0 10px; }
	body.da .whitebg .row.margintop5 { display: flex; align-items: center; gap: 12px; margin-top: 0; }
	body.da .whitebg .row.margintop5::before, body.da .whitebg .row.margintop5::after, body.da .whitebg .row.margintop5 > .clearfix { display: none; }
	body.da .whitebg .row.margintop5 > div:first-child { flex: 1 1 auto; width: auto; min-width: 0; }
	body.da div#usermenu { justify-content: flex-start; text-align: left; padding: 0; height: auto; min-height: 44px; }
	body.da div#bsk { flex: 0 0 auto; width: auto; height: 46px; padding: 0 14px; }
}
@media (max-width: 767px) {
	body.da div.nume_produs, body.da div.prod_block:hover div.nume_produs { font-size: 15px; }
	body.da #topinfo .da-note { display: none; }
	body.da #topinfo .container { justify-content: center; gap: 14px; }
	body.da .whitebg .logo { max-height: 56px; }
	body.da div#usermenu, body.da div#bsk { height: 44px; }
	body.da nav.navbar.bootsnav ul.nav > li > a { padding: 12px 15px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
	body.da h1, body.da #product-offer h1 { font-size: 26px; }
	body.da .product_price3 { font-size: 32px; }
	body.da div.prod_block { padding: 8px; }
	body.da div.prod_block .product_price { font-size: 22px !important; }
	body.da div.prod_block span.label { font-size: 13px !important; }
	body.da div.prod_block .stoc { text-align: left; width: 100%; }
	body.da .da-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	body.da div.prod_block { transition: none; }
}
