/*==============================================================================
  CrystalMagic — vitrin sitesine özel eklentiler (Cignet teması üzerine)

  custom.css temanın tamamını taşır. Burada yalnızca:
  - temada olup pakette bulunmayan görsellerin yerine geçen kurallar,
  - MVC form/doğrulama çıktıları,
  - bu projede temada karşılığı olmayan küçük parçalar (sepet sil düğmesi,
    bildirim kutusu, sayfalama, kategori bağlantıları) tanımlanır.
  Temanın renk ve yazı değişkenleri (--primary-color, --accent-font...) kullanılır.
==============================================================================*/

/*------------------------------------------------------------------ 1. Eksik tema görselleri */
.hero {
  background-image: url('../images/page-header-bg-image.jpg');
}

.hero-content-list ul li::before {
  background-image: url('../images/icon-topbar-sparkle.svg');
}

.product-single-breadcrumb-list .breadcrumb li::before {
  content: '\f054';
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  background: none;
  color: var(--text-color);
}

/*------------------------------------------------------------------ 2. Marka (logo yerine metin) */
.cm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--accent-font);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: var(--primary-color);
  white-space: nowrap;
}

.cm-brand:hover {
  color: var(--accent-color);
}

.cm-brand__mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white-color);
  display: inline-grid;
  place-items: center;
  font-family: var(--default-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
}

.footer-logo .cm-brand {
  color: var(--white-color);
}

.footer-logo .cm-brand__mark {
  background: var(--white-color);
  color: var(--primary-color);
}

.cm-footer-social {
  margin-top: 25px;
}

.cm-footer-social a {
  color: var(--white-color);
  font-size: 15px;
  transition: all .4s ease-in-out;
}

.cm-footer-social a:hover {
  opacity: .7;
}

.cm-footer-social a i {
  margin-right: 8px;
  font-size: 18px;
  vertical-align: -2px;
}

.footer-contact-item .icon-box i {
  color: var(--white-color);
  font-size: 20px;
}

/*------------------------------------------------------------------ 3. Üst çubuk ve menü */
.main-menu ul .nav-item .nav-link.is-active {
  color: var(--accent-color);
}

.header-action-details ul li a {
  position: relative;
}

.cm-cart-count {
  position: absolute;
  top: -9px;
  right: -11px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--primary-color);
  color: var(--white-color);
  font-family: var(--default-font);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.modal-search-form {
  margin: 0;
}

/*------------------------------------------------------------------ 4. Bildirimler (sağ üstte kayan kutu) */
.cm-toasts {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  display: grid;
  gap: 10px;
  width: 360px;
  max-width: calc(100vw - 40px);
}

.cm-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--divider-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
  background: var(--white-color);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
  color: var(--primary-color);
  font-size: 15px;
  line-height: 1.45;
  animation: cm-toast-in .35s ease-out;
}

.cm-toast--error {
  border-left-color: var(--error-color);
}

.cm-toast i {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 17px;
}

.cm-toast--error i {
  color: var(--error-color);
}

.cm-toast span {
  flex: 1 1 auto;
}

.cm-toast button {
  flex: 0 0 auto;
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-color);
  font-size: 20px;
  line-height: 1;
}

.cm-toast.is-hiding {
  opacity: 0;
  transform: translateX(20px);
  transition: all .3s ease-in;
}

@keyframes cm-toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/*------------------------------------------------------------------ 5. Form doğrulama (tag helper çıktıları) */
.field-validation-error {
  display: block;
  margin-top: 8px;
  color: var(--error-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.field-validation-valid,
.validation-summary-valid {
  display: none;
}

.validation-summary-errors {
  margin-bottom: 30px;
  padding: 14px 18px;
  border: 1px solid rgba(230, 87, 87, .3);
  border-radius: 4px;
  background: rgba(230, 87, 87, .08);
  color: var(--error-color);
  font-size: 15px;
  line-height: 1.5;
}

.validation-summary-errors ul {
  margin: 0;
  padding-left: 18px;
}

.input-validation-error {
  border-color: var(--error-color) !important;
}

/*------------------------------------------------------------------ 6. Boş durum */
.cm-empty {
  padding: 40px 0;
  text-align: center;
}

.cm-empty i {
  display: block;
  margin-bottom: 20px;
  font-size: 56px;
  color: var(--primary-color);
  opacity: .35;
}

.cm-empty h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

/*------------------------------------------------------------------ 7. Ürün kartı */
.product-item-action ul li form {
  margin: 0;
  line-height: 0;
}

.product-item-action ul li button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s ease-in-out;
}

.product-item-action ul li button:hover {
  background-color: var(--primary-color);
}

.product-item-action ul li button img {
  width: 100%;
  max-width: 18px;
  transition: all .4s ease-in-out;
}

.product-item-action ul li button:hover img {
  filter: brightness(0) invert(1);
}

.cm-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--primary-color);
  color: var(--white-color);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cm-badge--soldout {
  background: #8a8f8d;
}

.product-item.is-soldout .product-item-image img {
  opacity: .55;
}

/* Ana sayfa 4 sütunlu ızgara (tema listede 3 sütun kullanır) */
.cm-grid-4.product-item-list .product-item {
  width: calc(25% - 11.25px);
}

.product-slider {
  position: relative;
}

/*------------------------------------------------------------------ 8. Ana sayfa */
.cm-icon-box {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
}

.cm-hero-ig {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--dark-divider-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 24px;
}

.cm-hero-ig-text {
  color: var(--white-color);
  opacity: .7;
  font-size: 14px;
}

.google-rating-content h2 a {
  color: inherit;
}

.google-rating-content h2 a:hover {
  opacity: .8;
}

.cm-cat-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 56px;
  transition: all .4s ease-in-out;
}

.top-selling-item:hover .cm-cat-circle {
  background: var(--primary-color);
  color: var(--white-color);
  transform: scale(1.04);
}

.cm-cat-count {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-color);
}

.cm-latest {
  padding-top: 60px;
}

.cm-promise {
  padding: 100px 0;
}

.cm-promise .promise-item .icon-box {
  background: var(--white-color);
}

.promise-item .icon-box i {
  position: relative;
  z-index: 1;
  font-size: 40px;
  color: var(--primary-color);
  transition: all .4s ease-in-out;
}

.promise-item:hover .icon-box i {
  color: var(--white-color);
}

.cm-instagram-cta {
  padding: 100px 0;
  text-align: center;
  background-image: url('../images/page-header-bg-image.jpg');
  background-position: center center;
  background-size: cover;
}

.cm-instagram-cta .section-title {
  margin-bottom: 30px;
}

.cm-instagram-cta-btn .btn-default i {
  margin-right: 8px;
}

/*------------------------------------------------------------------ 9. Ürün listesi */
.cm-category-links li {
  display: block;
}

.cm-category-links a {
  color: var(--text-color);
  transition: all .4s ease-in-out;
}

.cm-category-links a:hover,
.cm-category-links a.is-active {
  color: var(--primary-color);
  font-weight: 500;
}

.cm-category-links a.is-active::before {
  content: '\f054';
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 10px;
  margin-right: 8px;
}

.cm-category-links ul {
  margin: 12px 0 0 18px;
}

.cm-category-links ul li {
  margin-bottom: 12px;
}

.cm-search-form {
  display: flex;
  border: 1px solid var(--divider-color);
  border-radius: 4px;
  padding: 5px;
}

.cm-search-form .form-control {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 8px 12px;
  color: var(--primary-color);
}

.cm-search-form button {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: var(--primary-color);
  color: var(--white-color);
  transition: all .4s ease-in-out;
}

.cm-search-form button:hover {
  background: var(--accent-color);
}

.product-category-sorting-list form {
  margin: 0;
}

.cm-category-description {
  margin-bottom: 30px;
}

.cm-category-description p {
  margin: 0;
}

/* Sayfalama */
.cm-pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.cm-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cm-pagination a,
.cm-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--divider-color);
  border-radius: 4px;
  color: var(--primary-color);
  font-weight: 500;
  transition: all .4s ease-in-out;
}

.cm-pagination a:hover,
.cm-pagination .is-active span {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.cm-pagination .is-gap span {
  border: 0;
}

/*------------------------------------------------------------------ 10. Ürün detayı */
.product-single-image-box.cm-no-thumbs .product-single-image-item {
  width: 100%;
}

.product-single-image-box.cm-no-thumbs .product-single-image-slider {
  display: none;
}

.product-single-image-item .swiper-slide figure a {
  display: block;
  cursor: zoom-in;
}

.product-single-title span a {
  color: var(--primary-color);
}

form.product-single-content-body {
  margin: 0;
}

.cm-stock {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1f9d6b;
}

.cm-stock--low {
  color: #c8912f;
}

.cm-stock--out {
  color: var(--error-color);
}

.cm-stock i {
  margin-right: 5px;
}

.btn-default.is-disabled {
  opacity: .5;
  pointer-events: none;
}

.product-single-action ul li a i {
  font-size: 22px;
  color: var(--primary-color);
  transition: all .4s ease-in-out;
}

.product-single-action ul li a:hover i {
  color: var(--white-color);
}

.product-shipping-box ul li i {
  width: 24px;
  margin-right: 10px;
  text-align: center;
  color: var(--primary-color);
}

/* Tema düğmeye line-height:0 verir; kutusu sıfır yükseklikte kalır ve
   erişilebilirlik araçları/otomasyon tıklayamaz. Ölçü verilir. */
.qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 24px;
  line-height: 1;
}

.qty-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cm-ig-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cm-ig-list li {
  width: calc(25% - 15px);
  margin: 0 !important;
}

.cm-ig-list a {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  color: var(--white-color);
}

.cm-ig-list img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: all .6s ease-in-out;
}

.cm-ig-list a:hover img {
  transform: scale(1.05);
}

.cm-ig-list span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  font-size: 13px;
}

.cm-ig-list span i {
  margin-right: 6px;
}

/*------------------------------------------------------------------ 11. Sepet */
.cart-item-image::before {
  display: none;
}

.cart-item-image figure a {
  display: block;
}

.cm-cart-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  margin: 0;
}

.cm-cart-remove button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--divider-color);
  border-radius: 50%;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease-in-out;
}

.cm-cart-remove button:hover {
  background: var(--error-color);
  border-color: var(--error-color);
  color: var(--white-color);
}

.cart-item-title p a {
  color: inherit;
}

.cm-stock-warn {
  display: block;
  margin-top: 6px;
  color: var(--error-color);
  font-size: 13px;
  font-weight: 500;
}

.cm-qty-form {
  margin: 0;
}

.cart-item-buttons .btn-default i {
  margin-right: 6px;
}

.cm-summary-totals .order-summary-total {
  margin-bottom: 15px;
}

.cm-summary-totals .order-summary-total.cm-grand {
  border-top: 1px solid var(--divider-color);
  margin-top: 5px;
  padding-top: 15px;
}

.cm-shipping-hint {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
}

.cm-payment-note p {
  margin: 0;
  color: var(--primary-color);
}

.cm-payment-note p i {
  margin-right: 6px;
}

.cm-stock-alert {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 4px;
  background: rgba(230, 87, 87, .08);
  color: var(--error-color);
  font-size: 14px;
  line-height: 1.5;
}

/*------------------------------------------------------------------ 12. Ödeme */
.product-total-item-title p small {
  display: block;
  margin-top: 3px;
  color: var(--text-color);
  font-size: 13px;
}

.order-payment-info-item p {
  margin-bottom: 0;
}

.cm-terms {
  margin-top: 25px;
}

.cm-checkbox-error {
  margin-top: 8px;
}

.place-order-button button.btn-default {
  width: 100%;
}

/*------------------------------------------------------------------ 13. Sipariş tamamlandı / takip */
.cm-order-received {
  text-align: center;
  margin-bottom: 50px;
}

.cm-order-received i {
  display: block;
  margin-bottom: 20px;
  font-size: 64px;
  color: #1f9d6b;
}

.cm-order-received h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.cm-order-received p {
  margin: 0;
  font-size: 18px;
}

.cm-howtopay {
  margin-bottom: 60px;
  padding: 30px;
  border: 1px solid var(--divider-color);
  border-radius: 4px;
  background: var(--secondary-color);
}

.cm-howtopay h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.cm-howtopay h2 i {
  margin-right: 10px;
  color: var(--accent-color);
}

.cm-howtopay ol {
  margin: 0 0 25px;
  padding-left: 20px;
}

.cm-howtopay ol li {
  line-height: 1.6;
  margin-bottom: 8px;
}

.cm-bank-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cm-bank-item {
  padding: 20px;
  border: 1px solid var(--divider-color);
  border-radius: 4px;
  background: var(--white-color);
}

.cm-bank-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.cm-bank-item h3 i {
  margin-right: 8px;
  font-size: 16px;
}

.cm-bank-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cm-bank-item li {
  font-size: 15px;
  line-height: 1.7;
}

.cm-bank-item code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 15px;
  letter-spacing: .04em;
  word-break: break-all;
}

.cm-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.cm-status--success { background: #e7f5ef; color: #14704b; }
.cm-status--warning { background: #fbf3e2; color: #8a6320; }
.cm-status--danger { background: #fbeceb; color: #8f322b; }

.order-detail-sidebar-item ul li a {
  display: inline-block;
}

.cm-track-hint {
  margin: 40px 0 0;
  text-align: center;
  font-size: 16px;
}

.cm-track-hint i {
  margin-right: 8px;
  color: var(--primary-color);
}

.cm-track-hint a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cm-track .checkout-login-btn .btn-default i {
  margin-right: 6px;
}

.cm-track-result {
  margin-top: 80px;
}

.cm-track-result .cm-howtopay {
  margin: 40px 0 0;
}

/*------------------------------------------------------------------ 14. Hata sayfası */
.cm-error-code {
  display: block;
  font-family: var(--accent-font);
  font-size: 140px;
  line-height: 1;
  color: var(--primary-color);
  opacity: .15;
}

/*------------------------------------------------------------------ 14b. Hesap: giriş / kayıt */
.cm-header-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cm-header-user__name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
}

.cm-login .login-content-form-item {
  padding: 30px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border-color .4s ease-in-out;
}

.cm-login .login-content-form-item.is-active {
  border-color: var(--divider-color);
}

.cm-login .checkout-login-form-footer {
  flex-wrap: wrap;
  gap: 15px;
}

.login-form-info p {
  font-size: 14px;
  color: var(--text-color);
}

.cm-info-box {
  margin-bottom: 25px;
  padding: 16px 18px;
  border-radius: 4px;
  background: var(--secondary-color);
  color: var(--primary-color);
  line-height: 1.6;
}

.cm-info-box i {
  margin-right: 8px;
  color: var(--accent-color);
}

/*------------------------------------------------------------------ 14c. Hesap: sayfalar */
.cm-account-nav ul li a,
.cm-account-nav ul li button {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 500;
  color: var(--primary-color);
  text-align: left;
  cursor: pointer;
  transition: all .4s ease-in-out;
}

.cm-account-nav ul li a i,
.cm-account-nav ul li button i {
  width: 24px;
  font-size: 20px;
  text-align: center;
  color: var(--accent-color);
}

.cm-account-nav ul li.is-active a,
.cm-account-nav ul li a:hover,
.cm-account-nav ul li button:hover {
  color: var(--accent-color);
}

.cm-account-logout {
  margin: 0;
}

.cm-account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.cm-account-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 15px;
  border: 1px solid var(--divider-color);
  border-radius: 4px;
  background: var(--white-color);
  text-align: center;
  color: var(--primary-color);
  transition: all .4s ease-in-out;
}

.cm-account-stat:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.cm-account-stat i {
  font-size: 26px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.cm-account-stat strong {
  font-family: var(--accent-font);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
}

.cm-account-stat span {
  font-size: 14px;
  color: var(--text-color);
}

.cm-account-recent h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.account-order-table-box table td a:not(.btn-default) {
  color: var(--primary-color);
  font-weight: 500;
}

.account-order-table-box table td .btn-default {
  padding: 8px 18px;
  font-size: 14px;
}

.cm-account-back {
  margin-bottom: 30px;
}

.cm-account-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--primary-color);
}

.cm-account-back a i {
  font-size: 14px;
}

.cm-account-back a:hover {
  color: var(--accent-color);
}

.cm-account-form {
  margin-bottom: 40px;
}

.cm-account-form .checkout-bill-address-form .form-group textarea {
  min-height: 90px;
}

.cm-form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.cm-field-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-color);
}

.cm-link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  cursor: pointer;
  transition: color .3s ease-in-out;
}

.cm-link-btn:hover {
  color: var(--accent-color);
}

.cm-link-btn--danger:hover {
  color: var(--error-color);
}

.cm-empty--compact {
  padding: 20px 0 10px;
}

.cm-empty--compact i {
  font-size: 40px;
}

.cm-empty--compact h2 {
  font-size: 24px;
}

/* Adres defteri */
.cm-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.cm-address-card {
  margin: 0 !important;
  padding: 25px !important;
  border: 1px solid var(--divider-color) !important;
  border-radius: 4px;
  background: var(--white-color);
}

.cm-address-card.is-default {
  border-color: var(--accent-color) !important;
}

.cm-address-card .account-address-item-title h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.cm-address-default {
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--secondary-color);
  font-family: var(--default-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-color);
}

.cm-address-card .account-address-item-info-list ul li {
  line-height: 1.6;
}

.cm-address-actions {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--divider-color);
}

.cm-address-actions form {
  margin: 0;
}

/* Favoriler */
.cm-wishlist-date {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-color);
}

.cm-wishlist-actions {
  display: flex;
  gap: 10px;
}

.cm-wishlist-actions form {
  margin: 0;
  line-height: 0;
}

.cm-wishlist-actions button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--divider-color);
  border-radius: 50%;
  background: var(--white-color);
  color: var(--primary-color);
  font-size: 16px;
  cursor: pointer;
  transition: all .4s ease-in-out;
}

.cm-wishlist-actions button:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.wishlist-item-title p a {
  color: var(--primary-color);
}

/* Kalp düğmesi (ürün kartı ve ürün detayı) */
.product-item-action ul li button i {
  font-size: 16px;
  color: var(--primary-color);
  transition: all .4s ease-in-out;
}

/* Kalp: favoride degilse soluk, favorideyse vurgu rengi */
.product-item-action ul li .cm-wish:not(.is-active) button i {
  opacity: .45;
}

.product-item-action ul li .cm-wish:not(.is-active) button:hover i {
  opacity: 1;
}

.product-item-action ul li button:hover i {
  color: var(--white-color);
}

.product-item-action ul li .cm-wish.is-active button i {
  color: var(--accent-color);
}

.product-single-action ul li form {
  margin: 0;
}

.product-single-action ul li button {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--divider-color);
  border-radius: 4px;
  background: transparent;
  color: var(--primary-color);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all .4s ease-in-out;
}

.product-single-action ul li button:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.product-single-action ul li.cm-wish:not(.is-active) button i {
  opacity: .45;
}

.product-single-action ul li.cm-wish:not(.is-active) button:hover i {
  opacity: 1;
}

.product-single-action ul li.cm-wish.is-active button {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.product-single-action ul li.cm-wish.is-active button:hover {
  color: var(--white-color);
}

/* Ödeme sayfası: üye ipuçları, adres seçici, ödeme yöntemleri */
.cm-checkout-login {
  padding: 16px 20px;
  border: 1px dashed var(--divider-color);
  border-radius: 4px;
  background: var(--secondary-color);
}

.cm-checkout-login p {
  margin: 0;
}

.cm-checkout-login p i {
  margin-right: 8px;
  color: var(--accent-color);
}

.cm-checkout-login a {
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: underline;
}

.cm-address-picker {
  margin-bottom: 25px;
  padding: 18px 20px;
  border-radius: 4px;
  background: var(--secondary-color);
}

.cm-address-picker label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-color);
}

.cm-address-picker select {
  background: var(--white-color);
}

.cm-payment-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.order-payment-info-item.is-disabled {
  opacity: .55;
}

.order-payment-info-item label em {
  font-style: normal;
  font-size: 12px;
  color: var(--accent-color);
  margin-left: 6px;
}

.place-order-button .btn-default:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/*------------------------------------------------------------------ 14d. Logo, dil seçici, üst bilgi */
.cm-brand__logo {
  display: block;
  max-height: 56px;
  max-width: 200px;
  width: auto;
}

.footer-logo .cm-brand__logo {
  max-height: 64px;
}

.cm-lang {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.cm-lang__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 100px;
  background: transparent;
  color: var(--white-color);
  font-family: var(--default-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

.cm-lang__chip:hover,
.cm-lang.is-open .cm-lang__chip,
.cm-lang:focus-within .cm-lang__chip {
  border-color: var(--white-color);
  background: rgba(255, 255, 255, .08);
}

.cm-lang__chip i {
  font-size: 13px;
  color: var(--white-color);
}

.cm-lang__caret {
  font-size: 10px !important;
  transition: transform .2s ease;
}

.cm-lang.is-open .cm-lang__caret {
  transform: rotate(180deg);
}

.cm-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1100;
  min-width: 170px;
  padding: 6px;
  border: 1px solid var(--divider-color);
  border-radius: 8px;
  background: var(--white-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s ease-in-out;
}

.cm-lang.is-open .cm-lang__menu,
.cm-lang:focus-within .cm-lang__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.cm-lang__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all .2s ease-in-out;
}

.cm-lang__menu a:hover {
  background: var(--secondary-color);
  color: var(--accent-color);
}

.cm-lang__menu a i {
  margin-left: auto;
  font-size: 11px;
  color: var(--accent-color);
}

.cm-lang__code {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 22px;
  border-radius: 6px;
  background: var(--secondary-color);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-color);
}

.cm-lang__menu a.is-current .cm-lang__code {
  background: var(--accent-color);
  color: var(--white-color);
}

/*------------------------------------------------------------------ 14e. Hero kaydırıcı ve banner satırı */
.cm-hero-slider {
  padding: 0;
  background-image: none;
}

.cm-hero-slide {
  position: relative;
  padding: 185px 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.cm-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, 0) 100%);
}

.cm-hero-slide .container {
  position: relative;
}

.cm-hero-slide .hero-content-body {
  border-top: 0;
  padding-top: 10px;
}

.cm-hero-slide__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.cm-hero-swiper .swiper-slide h1 {
  color: var(--white-color);
}

.cm-hero-pagination {
  bottom: 30px !important;
}

.cm-hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--white-color);
  opacity: .5;
}

.cm-hero-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent-color);
}

.cm-hero-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: var(--white-color);
  transition: all .3s ease-in-out;
}

.cm-hero-nav::after {
  content: '\f054';
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 16px;
}

.cm-hero-swiper .swiper-button-prev::after {
  content: '\f053';
}

.cm-hero-nav:hover {
  background: var(--accent-color);
}

.cm-banner-row {
  padding: 40px 0 0;
}

.cm-banner {
  position: relative;
  margin-bottom: 30px;
  border-radius: 4px;
  overflow: hidden;
}

.cm-banner figure {
  margin: 0;
}

.cm-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease-in-out;
}

.cm-banner:hover img {
  transform: scale(1.05);
}

.cm-banner__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 25px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .65) 100%);
  color: var(--white-color);
  pointer-events: none;
}

.cm-banner__content span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .85;
}

.cm-banner__content h3 {
  margin: 0;
  font-size: 24px;
  color: var(--white-color);
}

.cm-banner__content .readmore-btn {
  display: inline-block;
  margin-top: 10px;
  color: var(--white-color);
  pointer-events: auto;
}

/*------------------------------------------------------------------ 14f. Blog ve sabit sayfalar */
.cm-home-blog {
  padding: 100px 0 70px;
}

.cm-blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.cm-blog-categories a {
  padding: 8px 18px;
  border: 1px solid var(--divider-color);
  border-radius: 100px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  transition: all .3s ease-in-out;
}

.cm-blog-categories a small {
  margin-left: 4px;
  opacity: .6;
}

.cm-blog-categories a:hover,
.cm-blog-categories a.is-active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--white-color);
}

.cm-blog-intro {
  margin-bottom: 40px;
}

.cm-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-color);
}

.cm-post-meta a {
  color: var(--accent-color);
  font-weight: 500;
}

.cm-post-meta--large {
  margin-bottom: 25px;
  font-size: 15px;
}

.cm-post-meta i {
  margin-right: 5px;
}

.post-item .post-featured-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.post-item-content p {
  margin: 10px 0 0;
  font-size: 15px;
}

.cm-post-image {
  margin-bottom: 30px;
}

.cm-post-image img {
  width: 100%;
  border-radius: 4px;
}

.cm-post-summary {
  font-size: 18px;
  line-height: 1.6;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.cm-rich-text {
  line-height: 1.8;
}

.cm-rich-text h2,
.cm-rich-text h3,
.cm-rich-text h4 {
  margin: 30px 0 15px;
}

.cm-rich-text p {
  margin-bottom: 18px;
}

.cm-rich-text ul,
.cm-rich-text ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.cm-rich-text blockquote {
  margin: 20px 0;
  padding: 15px 20px;
  border-left: 3px solid var(--accent-color);
  background: var(--secondary-color);
}

.cm-rich-text img {
  max-width: 100%;
  height: auto;
}

.cm-rich-text .ql-align-center { text-align: center; }
.cm-rich-text .ql-align-right { text-align: right; }
.cm-rich-text .ql-align-justify { text-align: justify; }

.cm-post-footer {
  margin-top: 40px;
}

.cm-post-related {
  margin-top: 80px;
}

.cm-post-related .section-title {
  margin-bottom: 40px;
}

.cm-page-updated {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--divider-color);
  font-size: 13px;
  color: var(--text-color);
}

/* Alt bilgi: 4 sütun (Sayfalar eklendiğinde) */
.cm-footer-links--4 .footer-links {
  max-width: 22%;
}

.cm-footer-links--4 .footer-links.footer-contact-box {
  max-width: 28%;
}

/*------------------------------------------------------------------ 15. Duyarlı */
@media only screen and (max-width: 1199px) {
  .cm-grid-4.product-item-list .product-item {
    width: calc(33.33% - 10px);
  }
}

@media only screen and (max-width: 991px) {
  .cm-ig-list li {
    width: calc(33.33% - 14px);
  }
}

@media only screen and (max-width: 767px) {
  .cm-grid-4.product-item-list .product-item {
    width: calc(50% - 7.5px);
  }

  .cm-header-user__name {
    display: none;
  }

  .cm-login .login-content-form-item {
    width: 100%;
    padding: 20px;
  }

  .cm-account-stats {
    grid-template-columns: 1fr;
  }

  .cm-address-grid {
    grid-template-columns: 1fr;
  }

  .cm-account-nav {
    margin-bottom: 30px;
  }

  .cm-hero-slide {
    padding: 100px 0;
  }

  .cm-hero-nav {
    display: none;
  }

  .cm-footer-links--4 .footer-links,
  .cm-footer-links--4 .footer-links.footer-contact-box {
    max-width: 100%;
  }

  .cm-brand__logo {
    max-height: 44px;
    max-width: 150px;
  }

  .cm-brand {
    font-size: 22px;
  }

  .cm-brand__mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .cm-ig-list li {
    width: calc(50% - 10px);
  }

  .cm-error-code {
    font-size: 96px;
  }

  .cm-howtopay {
    padding: 20px;
  }

  .cm-toasts {
    width: auto;
    left: 14px;
    right: 14px;
    top: 14px;
  }
}

@media only screen and (max-width: 480px) {
  .cm-grid-4.product-item-list .product-item {
    width: 100%;
  }
}
