/* ══════════════════════════════════════════════════════
 *  Kargo Takip — Genel Shortcode Form
 * ══════════════════════════════════════════════════════ */

.awwex-tracking {
	max-width: 680px;
	margin: 0 auto;
	padding: 32px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.awwex-tracking__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.awwex-tracking__icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #fe6f00;
	color: #fff;
	flex-shrink: 0;
}

.awwex-tracking__icon svg {
	width: 22px;
	height: 22px;
}

.awwex-tracking__title {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0;
}

.awwex-tracking__desc {
	color: #64748b;
	font-size: 15px;
	line-height: 1.6;
	margin: 8px 0 24px;
}

/* Kargo firma butonları */
.awwex-tracking__carriers {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.awwex-tracking__carrier {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
	cursor: pointer;
	transition: all .2s ease;
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	flex: 1 1 0%;
	justify-content: center;
	min-width: 120px;
}

.awwex-tracking__carrier:hover {
	border-color: #fe6f00;
	background: #fff7ed;
	color: #ea580c;
}

.awwex-tracking__carrier--active {
	border-color: #fe6f00;
	background: #fe6f00;
	color: #fff;
	box-shadow: 0 2px 8px rgba(254, 111, 0, .3);
}

.awwex-tracking__carrier--active:hover {
	background: #e5630a;
	color: #fff;
}

.awwex-tracking__carrier-logo {
	width: 24px;
	height: 24px;
	object-fit: contain;
	border-radius: 4px;
}

.awwex-tracking__carrier--active .awwex-tracking__carrier-logo {
	filter: brightness(0) invert(1);
}

.awwex-tracking__carrier-name {
	white-space: nowrap;
}

/* Form giriş alanı */
.awwex-tracking__form {
	position: relative;
}

.awwex-tracking__input-wrap {
	display: flex;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.awwex-tracking__input-wrap:focus-within {
	border-color: #fe6f00;
	box-shadow: 0 0 0 3px rgba(254, 111, 0, .12);
}

.awwex-tracking__input {
	flex: 1;
	border: none;
	outline: none;
	padding: 14px 18px;
	font-size: 16px;
	color: #1e293b;
	background: transparent;
	min-width: 0;
}

.awwex-tracking__input::placeholder {
	color: #94a3b8;
}

.awwex-tracking__submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	background: #fe6f00;
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	transition: opacity .2s ease;
}

.awwex-tracking__submit:hover {
	opacity: .9;
}

.awwex-tracking__submit-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.awwex-tracking__error {
	margin: 10px 0 0;
	padding: 10px 14px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	color: #dc2626;
	font-size: 14px;
}

/* ══════════════════════════════════════════════════════
 *  Kargo Takip — Sayfa Şablonu (firma bazlı)
 *  Tema uyumu: sitewidth=1216px, centerofdiv=margin:0 auto
 * ══════════════════════════════════════════════════════ */

/* Hero — tam genişlik arka plan, içerik sitewidth ile sınırlı */
.ct-hero {
	background: linear-gradient(135deg, var(--ct-brand) 0%, color-mix(in srgb, var(--ct-brand) 80%, #000) 100%);
	padding: 40px 0;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.ct-hero::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zM17.656 0l-7.07 7.07 1.413 1.415L18.07 2.414 19.484.999l-1.828-1H17.656zM24.284 0L12.9 11.384l1.414 1.414L26.698 0h-2.414zM30.912 0L18.1 12.812l1.414 1.414L32.326 0h-1.414zM37.54 0L22.1 15.44l1.414 1.414L38.954 1.414 40.368 0H37.54z' fill='%23ffffff' fill-opacity='.03'/%3E%3C/svg%3E");
	pointer-events: none;
}

/* sitewidth + centerofdiv temanın kendi genişlik sistemini kullanır (1216px, margin:0 auto) */
.ct-hero__inner {
	gap: 48px;
	padding: 40px 0;
	position: relative;
	z-index: 1;
}

.ct-hero__content {
	flex: 1;
	min-width: 0;
}

.ct-hero__logo {
	height: 48px;
	width: auto;
	margin-bottom: 20px;
	filter: brightness(0) invert(1);
}

.ct-hero__title {
	font-size: 36px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 16px;
	color: #fff;
}

.ct-hero__desc {
	font-size: 17px;
	line-height: 1.7;
	margin: 0 0 32px;
	opacity: .9;
	max-width: 540px;
}

/* Hero içindeki form — sitewidth'i override etme */
.ct-hero__form {
	padding: 0;
	background: none;
	box-shadow: none;
	max-width: 540px;
	margin: 0;
}

.ct-hero__form .awwex-tracking__input-wrap {
	border: 2px solid rgba(255, 255, 255, .3);
	background: #fff;
	border-radius: 14px;
}

.ct-hero__form .awwex-tracking__input-wrap:focus-within {
	border-color: rgba(255, 255, 255, .6);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .15);
}

.ct-hero__form .awwex-tracking__input {
	padding: 16px 20px;
	font-size: 17px;
}

.ct-hero__form .awwex-tracking__submit {
	padding: 16px 28px;
	font-size: 16px;
	border-radius: 0;
}

.ct-hero__form .awwex-tracking__error {
	background: rgba(255, 255, 255, .15);
	border-color: rgba(255, 255, 255, .3);
	color: #fff;
}

.ct-hero__image {
	flex: 0 0 380px;
}

.ct-hero__image img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

/* Özellikler — sitewidth centerofdiv sectionspace ile tema uyumlu */
.ct-features {
	padding-top: 16px;
}

.ct-features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.ct-features__card {
	background: #fff;
	border-radius: 14px;
	padding: 28px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ct-features__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
}

.ct-features__icon {
	font-size: 28px;
	margin-bottom: 16px;
}

.ct-features__title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 8px;
}

.ct-features__desc {
	font-size: 14px;
	line-height: 1.6;
	color: #64748b;
	margin: 0;
}

/* Diğer Firmalar */
.ct-others {
	padding-top: 16px;
}

.ct-others__title {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 24px;
	text-align: center;
}

.ct-others__grid {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.ct-others__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 20px 20px 16px;
	background: #fff;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	text-decoration: none;
	color: #1e293b;
	font-weight: 600;
	font-size: 15px;
	transition: all .2s ease;
	min-width: 200px;
	max-width: 240px;
	flex: 0 1 200px;
	justify-content: flex-start;
	text-align: center;
	position: relative;
}

.ct-others__card:hover {
	border-color: #fe6f00;
	background: #fff7ed;
	color: #ea580c;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}

.ct-others__logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 60px;
	padding: 6px;
	box-sizing: border-box;
}

.ct-others__logo {
	max-width: 140px;
	max-height: 54px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.ct-others__name {
	display: block;
	width: 100%;
	line-height: 1.3;
}

.ct-others__arrow {
	position: absolute;
	top: 12px;
	right: 14px;
	opacity: .35;
	transition: opacity .2s;
	font-size: 18px;
}

.ct-others__card:hover .ct-others__arrow {
	opacity: 1;
}

/* Bilgi Blokları */
.ct-info-blocks {
	padding-top: 16px;
}

.ct-info-blocks__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.ct-info-blocks__card {
	background: #fff;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
	border-left: 4px solid var(--ct-brand, #fe6f00);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ct-info-blocks__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
}

.ct-info-blocks__title {
	font-size: 17px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 8px;
}

.ct-info-blocks__text {
	font-size: 14px;
	line-height: 1.7;
	color: #64748b;
	margin: 0;
}

.ct-info-blocks__text p {
	margin: 0;
}

/* Metin Alanları */
.ct-text-block {
	padding-top: 16px;
}

.ct-text-block__title {
	font-size: 26px;
	font-weight: 800;
	color: #1a1a2e;
	margin: 0 0 16px;
	line-height: 1.3;
}

.ct-text-block__content {
	font-size: 16px;
	line-height: 1.8;
	color: #374151;
}

.ct-text-block__content p {
	margin: 0 0 16px;
}

.ct-text-block__content p:last-child {
	margin-bottom: 0;
}

.ct-text-block__content ul,
.ct-text-block__content ol {
	margin: 0 0 16px;
	padding-left: 24px;
}

.ct-text-block__content li {
	margin-bottom: 6px;
}

.ct-text-block__content a {
	color: var(--ct-brand, #fe6f00);
	text-decoration: underline;
}

.ct-text-block__content strong {
	color: #1a1a2e;
}

/* Ek İçerik */
.ct-extra {
	padding-top: 16px;
}

/* ══════════════════════════════════════════════════════
 *  Responsive — tema ile uyumlu breakpoint'ler
 * ══════════════════════════════════════════════════════ */

@media (max-width: 1240px) {
	.ct-hero__inner {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (max-width: 1024px) {
	.ct-info-blocks__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.ct-hero {
		padding: 24px 0;
	}

	.ct-hero__inner {
		flex-direction: column !important;
		gap: 32px;
		text-align: center;
		padding: 24px 16px;
	}

	.ct-hero__title {
		font-size: 26px;
	}

	.ct-hero__desc {
		font-size: 15px;
		margin-left: auto;
		margin-right: auto;
	}

	.ct-hero__form {
		max-width: 100%;
		margin: 0 auto;
	}

	.ct-hero__image {
		flex: none !important;
		width: 100%;
		max-width: 320px;
		margin: 0 auto;
	}

	.ct-info-blocks__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ct-features__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ct-others__grid {
		flex-wrap: wrap;
		justify-content: center;
	}

	.ct-others__card {
		min-width: 0;
		max-width: 100%;
		flex: 1 1 45%;
	}
}

@media (max-width: 640px) {
	.awwex-tracking {
		padding: 20px;
		border-radius: 12px;
	}

	.awwex-tracking__title {
		font-size: 18px;
	}

	.awwex-tracking__carriers {
		gap: 8px;
	}

	.awwex-tracking__carrier {
		padding: 8px 12px;
		font-size: 13px;
		min-width: 0;
	}

	.awwex-tracking__carrier-logo {
		width: 20px;
		height: 20px;
	}

	.awwex-tracking__input-wrap {
		flex-direction: column;
		border-radius: 10px;
	}

	.awwex-tracking__input {
		padding: 12px 14px;
	}

	.awwex-tracking__submit {
		justify-content: center;
		padding: 12px;
		border-top: 1px solid rgba(0, 0, 0, .06);
	}

	.ct-hero__form .awwex-tracking__input-wrap {
		flex-direction: column;
	}

	.ct-hero__form .awwex-tracking__submit {
		border-radius: 0 0 12px 12px;
	}

	.ct-hero__title {
		font-size: 22px;
	}
}

/* ══════════════════════════════════════════════════════
 *  Görsel + İçerik Blokları
 * ══════════════════════════════════════════════════════ */
.ct-media-block {
	display: flex;
	gap: 40px;
	align-items: center;
}
.ct-media-block--bottom {
	flex-direction: column;
}
.ct-media-block--left {
	flex-direction: row;
}
.ct-media-block--right {
	flex-direction: row;
}
.ct-media-block__text {
	flex: 1;
}
.ct-media-block__img {
	flex: 1;
}
.ct-media-block__img img {
	width: 100%;
	border-radius: 16px;
	display: block;
}
.ct-media-block__title {
	font-weight: 700;
	font-size: clamp(22px, 2.5vw, 32px);
	color: #171717;
	margin: 0 0 16px;
	line-height: 1.2;
}
.ct-media-block__content {
	color: #64676A;
	font-size: 15px;
	line-height: 1.7;
}
.ct-media-block__content p {
	margin: 0 0 12px;
}
.ct-media-block--bottom .ct-media-block__text {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}
.ct-media-block--bottom .ct-media-block__img {
	max-width: 800px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.ct-media-block {
		flex-direction: column !important;
		gap: 24px;
	}
}

/* ═════════ Logo solda + Arama sağda satırı ═════════ */
.ct-tracking-row{
	display:flex;
	align-items:stretch;
	gap:12px;
	width:100%;
	flex-wrap:wrap;
}
.ct-tracking-row__logo{
	flex:0 0 auto;
	display:flex;
	align-items:center;
	justify-content:center;
	background:#fff;
	border-radius:14px;
	padding:10px 18px;
	min-width:120px;
	border:2px solid rgba(255,255,255,.3);
}
.ct-tracking-row__logo .ct-hero__logo{
	height:44px;
	width:auto;
	max-width:160px;
	margin:0;
	filter:none;
	display:block;
	object-fit:contain;
}
.ct-tracking-row__input{
	flex:1 1 320px;
	min-width:0;
}
.ct-hero__form.ct-hero__form--with-logo{max-width:100%}
@media (max-width:768px){
	.ct-tracking-row{flex-direction:column;gap:10px}
	.ct-tracking-row__logo{width:100%;min-width:0;padding:12px}
	.ct-tracking-row__logo .ct-hero__logo{height:40px}
	.ct-tracking-row__input{flex:1 1 100%;width:100%}
}

/* ═════════ Metin Bloğu + Görsel (sol/sağ) ═════════ */
.ct-text-block--media{padding-top:40px;padding-bottom:40px}
.ct-text-block--media .ct-text-block__inner{
	display:flex;
	align-items:center;
	gap:40px;
	flex-wrap:wrap;
}
.ct-text-block--left .ct-text-block__inner{flex-direction:row}
.ct-text-block--right .ct-text-block__inner{flex-direction:row}
.ct-text-block__text{flex:1 1 360px;min-width:0}
.ct-text-block__img{flex:1 1 360px;min-width:0}
.ct-text-block__img img{
	width:100%;
	height:auto;
	border-radius:16px;
	display:block;
}
@media (max-width:768px){
	.ct-text-block--media .ct-text-block__inner{flex-direction:column!important;gap:24px}
	.ct-text-block__text,.ct-text-block__img{flex:1 1 100%;width:100%}
}

/* ═════════ Hero Side Logo (solda, ct-hero__content öncesi) ═════════ */
.ct-hero__side-logo{
	flex:0 0 auto;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:18px 20px;
	background:#fff;
	border-radius:16px;
	box-shadow:0 4px 16px rgba(0,0,0,.08);
	min-width:140px;
	max-width:220px;
}
.ct-hero__side-logo img{
	max-width:180px;
	max-height:110px;
	width:auto;
	height:auto;
	display:block;
	object-fit:contain;
	filter:none;
	margin:0;
}
.ct-hero--with-side-logo .ct-hero__inner{gap:32px}
@media (max-width:992px){
	.ct-hero__side-logo{min-width:120px;padding:14px 16px}
	.ct-hero__side-logo img{max-width:140px;max-height:80px}
}
@media (max-width:768px){
	.ct-hero--with-side-logo .ct-hero__inner{flex-direction:column!important;gap:20px;align-items:stretch!important}
	.ct-hero__side-logo{align-self:center;width:auto;max-width:280px}
}

/* ═════════ Sticky Compact Bar ═════════ */
.ct-sticky-bar{
	position:fixed;
	top:0;
	left:0;
	right:0;
	z-index:9998;
	background:rgba(255,255,255,.96);
	-webkit-backdrop-filter:blur(10px);
	backdrop-filter:blur(10px);
	box-shadow:0 6px 24px rgba(0,0,0,.10);
	transform:translateY(-100%);
	opacity:0;
	pointer-events:none;
	transition:transform .4s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
	will-change:transform,opacity;
	border-bottom:1px solid rgba(0,0,0,.06);
}
.ct-sticky-bar.is-visible{
	transform:translateY(0);
	opacity:1;
	pointer-events:auto;
}
.ct-sticky-bar__inner{
	display:flex;
	align-items:center;
	gap:16px;
	padding:10px 16px;
	min-height:60px;
}
.ct-sticky-bar__logo{
	flex:0 0 auto;
	display:flex;
	align-items:center;
	justify-content:center;
	background:#fff;
	border:1px solid rgba(0,0,0,.06);
	border-radius:10px;
	padding:6px 10px;
	min-width:80px;
	max-width:140px;
}
.ct-sticky-bar__logo img{
	max-width:110px;
	max-height:40px;
	width:auto;
	height:auto;
	display:block;
	object-fit:contain;
}
.ct-sticky-bar__form{
	flex:1 1 auto;
	min-width:0;
	max-width:640px;
	margin:0 auto;
	padding:0;
	background:none;
	box-shadow:none;
}
.ct-sticky-bar__form .awwex-tracking__form{margin:0;padding:0}
.ct-sticky-bar__form .awwex-tracking__input-wrap{
	border:1.5px solid rgba(0,0,0,.12);
	background:#fff;
	border-radius:10px;
	overflow:hidden;
}
.ct-sticky-bar__form .awwex-tracking__input-wrap:focus-within{
	border-color:var(--ct-brand,#fe6f00);
	box-shadow:0 0 0 3px rgba(254,111,0,.15);
}
.ct-sticky-bar__form .awwex-tracking__input{padding:10px 14px;font-size:14px;height:auto}
.ct-sticky-bar__form .awwex-tracking__submit{padding:10px 18px;font-size:14px;border-radius:0}
@media (max-width:768px){
	.ct-sticky-bar__inner{gap:8px;padding:8px 10px;min-height:54px}
	.ct-sticky-bar__logo{min-width:60px;padding:4px 8px}
	.ct-sticky-bar__logo img{max-height:32px;max-width:80px}
	.ct-sticky-bar__form .awwex-tracking__input{padding:9px 10px;font-size:13px}
	.ct-sticky-bar__form .awwex-tracking__submit{padding:9px 12px;font-size:13px}
	.ct-sticky-bar__form .awwex-tracking__submit-text{display:none}
}
