/*
 * asc-core.css - abrazive-scule.ro's changes to the default theme's look, linked right after stylesheet.css by the
 * package core_edits (upgrade/README.md, step 5). Until the OpenCart 3.0.5.x upgrade they were edits inside
 * stylesheet.css itself, which the upgrade replaces; CSS is served from disk, so an OCMOD cannot patch it.
 * stylesheet.css is now OpenCart's own, untouched.
 */

/* 1. Three rules of stylesheet.css the shop changed: the headings' colour, the active category in the side list,
      and the price on product cards (same selectors, loaded later, so these win as the edits did). */
h1, h2, h3, h4, h5, h6 {
	color: rgb(8, 8, 245);
}
.list-group a.active, .list-group a.active:hover, .list-group a:hover {
	color: #FFF;
	background: #23a1d1;
}
.product-thumb .price {
	color: #23a1d1;
	font-size: 20px;
}

/* 2. What OpenCart 3.0.5.x's stylesheet.css changed visibly, set back to how the shop looked on 3.0.3.3 (owner,
      2026-11-24: the upgrade keeps the same look). Its right-to-left rules are left alone: the site is ltr. */
#product-category #content, #product-product #tab-description, #information-information #content {
	font-size: inherit;
}
#cart .dropdown-menu {
	overflow-x: visible;
	overflow-y: visible;
	max-height: none;
	scrollbar-width: auto;
}
.alert > .close {
	position: static;
	top: auto;
	right: auto;
	color: #000;
}
.alert-dismissable .close, .alert-dismissible .close {
	position: relative;
	top: -2px;
	right: -21px;
	color: inherit;
}

/* 3. The rules the shop added at the end of stylesheet.css, unchanged. */
.radio-input-container {

	display: flex;

    justify-content: flex-start;

    align-items: center;

    flex-wrap: wrap;

}

.radio-input-container .radio {

    display: inline-block !important;

    margin-right: 20px;

    vertical-align: top;

	margin-top: 0;

}



.radio-input-container .radio label {

    display: inline-block !important;

    cursor: pointer;

}



.radio-input-container .radio img {

    display: block;

    margin-bottom: 5px;

}

@media (min-width: 1200px) {

    #product-product {

        width: 90vw !important;

        max-width: 90vw !important;

    }

}


/* ============================================================
   Professional product description (SEO plan task 4.3)
   SCOPED to .pdesc so descriptions NOT yet rewritten are unaffected.
   ============================================================ */
.pdesc {
	font-size: 14px;
	line-height: 1.65;
	color: #444;
}
.pdesc p {
	margin: 0 0 12px;
}
.pdesc .pdesc-intro {
	margin-bottom: 14px;
}
.pdesc h4 {
	font-size: 15px;
	font-weight: 700;
	color: #222;
	margin: 18px 0 8px;
}
.pdesc .pdesc-specs {
	width: 100%;
	max-width: 640px;
	border-collapse: collapse;
	margin: 0 0 16px;
	font-size: 13.5px;
}
.pdesc .pdesc-specs th,
.pdesc .pdesc-specs td {
	text-align: left;
	padding: 9px 20px;
	border: 1px solid #e3e3e3;
	vertical-align: top;
}
.pdesc .pdesc-specs th {
	width: 36%;
	background: #f6f6f6;
	font-weight: 600;
	color: #333;
	padding-right: 28px;
}
.pdesc .pdesc-specs td {
	color: #222;
}
.pdesc .pdesc-specs tr:nth-child(even) td {
	background: #fafafa;
}
.pdesc ul {
	margin: 0 0 14px 20px;
	padding: 0;
}
.pdesc ul li {
	margin: 0 0 5px;
}
/* Embedded media (video / image) kept from the original description, shown
   below the text. Responsive: video keeps 16:9, image scales to container. */
.pdesc .pdesc-media {
	margin: 4px 0 16px;
	max-width: 640px;
}
.pdesc .pdesc-media iframe {
	display: block;
	width: 100%;
	max-width: 640px;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}
.pdesc .pdesc-media img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}
/* On narrow screens a 2-column key/value table gets cramped, so STACK each
   spec: label on top, value below, full width. Fully responsive - no fixed cols. */
@media (max-width: 560px) {
  .pdesc {
		font-size: 13px;
	}
  .pdesc .pdesc-specs {
		font-size: 13px;
		max-width: 100%;
	}
  .pdesc .pdesc-specs tr {
		display: block;
		border: 1px solid #e3e3e3;
		margin-bottom: -1px;
	}
  .pdesc .pdesc-specs th,
  .pdesc .pdesc-specs td {
		display: block;
		width: auto;
		border: 0;
	}
  .pdesc .pdesc-specs th {
		background: transparent;
		color: #777;
		font-size: 12px;
		font-weight: 600;
		padding: 8px 12px 0;
	}
  .pdesc .pdesc-specs td {
		color: #222;
		padding: 0 12px 8px;
	}
  .pdesc .pdesc-specs tr:nth-child(even) td {
		background: transparent;
	}
}

/* ============================================================
   Footer NAP + national delivery block (SEO plan task 4.4)
   ============================================================ */
.footer-nap {
	margin-bottom: 10px;
}
.footer-nap h5 {
	margin-bottom: 8px;
}
.footer-nap address {
	font-style: normal;
	line-height: 1.8;
	margin: 0;
}
.footer-nap p {
	margin: 0;
	line-height: 1.8;
}
