.kry-account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: flex-start;
  margin-top: 20px;
}

.kry-account-sidebar {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  position: sticky;
  top: 20px;
}

.kry-account-sidebar-title {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 18px;
  border-bottom: 1px solid #e6e6e6;
  color: #222;
}

.kry-account-menu {
  display: flex;
  flex-direction: column;
}

.kry-account-menu-link {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.kry-account-menu-link:hover {
  background: #f7f7f7;
  color: #cf0808;
  padding-left: 24px;
  text-decoration: none;
}

.kry-account-menu-link.active {
  background: #cf0808;
  color: #fff;
  font-weight: 700;
}

.kry-account-content {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 24px;
}

.kry-account-header {
  margin-bottom: 24px;
}

.kry-account-header h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #222;
}

.kry-account-header p {
  margin: 0;
  color: #666;
}

.kry-orders-table-wrapper {
  overflow-x: auto;
}

.kry-orders-table {
  margin-bottom: 0;
}

.kry-orders-table th {
  background: #f7f7f7;
  font-weight: 700;
  white-space: nowrap;
}

.kry-orders-table td {
  vertical-align: middle;
}

.kry-order-status {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
}

.kry-order-status-default {
  background: #f1f1f1;
  color: #333;
}

.kry-order-status-waiting {
  background: #fff1c7;
  color: #8a5a00;
}

.kry-order-status-processing {
  background: #dff0ff;
  color: #075985;
}

.kry-order-status-success {
  background: #dff7e6;
  color: #166534;
}

.kry-order-status-danger {
  background: #ffe0e0;
  color: #991b1b;
}

.kry-order-status-return {
  background: #eee7ff;
  color: #5b21b6;
}

.kry-account-empty {
  padding: 34px;
  text-align: center;
  background: #fafafa;
  border: 1px dashed #ddd;
  border-radius: 10px;
}

.kry-account-empty h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.kry-account-empty p {
  margin-bottom: 20px;
  color: #666;
}

@media (max-width: 768px) {
  .kry-account-layout {
    grid-template-columns: 1fr;
  }

  .kry-account-sidebar {
    position: static;
  }

  .kry-account-content {
    padding: 18px;
  }

  .kry-account-menu-link {
    padding: 14px 16px;
  }
}

.kry-account-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
  margin-top: 20px;
}

.kry-account-sidebar {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 7px;
  overflow: hidden;
}

.kry-account-sidebar-title {
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid #eee;
}

.kry-account-menu {
  display: flex;
  flex-direction: column;
}

.kry-account-menu-link {
  display: block;
  padding: 16px 20px;
  color: #333;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.kry-account-menu-link:hover {
  background: #f7f7f7;
  color: #e30613;
  text-decoration: none;
}

.kry-account-menu-link.active {
  background: #e30613;
  color: #fff;
  font-weight: 700;
}

.kry-account-content {
  min-width: 0;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 7px;
  padding: 24px;
}

.kry-account-header {
  margin-bottom: 24px;
}

.kry-account-header h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
}

.kry-account-header p {
  margin: 0;
  color: #555;
}

.kry-orders-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.kry-account-content .addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.kry-account-content .address {
  width: calc(50% - 10px);
}

.kry-account-content .addresses-footer {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .kry-account-layout {
    grid-template-columns: 1fr;
  }

  .kry-account-content {
    padding: 18px;
  }

  .kry-account-content .address {
    width: 100%;
  }
}

.kry-order-detail-box {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}

.kry-order-detail-box h3,
.kry-order-detail-box h4 {
  margin-top: 0;
}

.kry-order-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kry-order-info-list li {
  padding: 6px 0;
  border-bottom: 1px solid #f1f1f1;
}

.kry-order-info-list li:last-child {
  border-bottom: 0;
}

.kry-order-addresses {
  margin-left: -10px;
  margin-right: -10px;
}

.kry-order-addresses .col-lg-6,
.kry-order-addresses .col-md-6,
.kry-order-addresses .col-sm-6 {
  padding-left: 10px;
  padding-right: 10px;
}

.kry-order-detail-products {
  margin-bottom: 22px;
}

.kry-order-detail-messages {
  margin-top: 22px;
}

#order-history h3,
.kry-order-detail-box h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.kry-account-content .box {
  box-shadow: none;
}

@media (max-width: 768px) {
  .kry-order-addresses {
    margin-left: 0;
    margin-right: 0;
  }

  .kry-order-addresses .col-lg-6,
  .kry-order-addresses .col-md-6,
  .kry-order-addresses .col-sm-6 {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

.kry-order-addresses-grid {
  width: 100% !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  margin: 16px 0 32px 0 !important;
  box-sizing: border-box !important;
}

.kry-order-addresses-grid .kry-order-address-col {
  width: 50% !important;
  flex: 0 0 calc(50% - 10px) !important;
  max-width: calc(50% - 10px) !important;
  box-sizing: border-box !important;
}

.kry-order-addresses-grid .kry-order-detail-box {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 18px !important;
  box-sizing: border-box !important;
}

.kry-order-addresses-grid address {
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .kry-order-addresses-grid {
    flex-direction: column !important;
  }

  .kry-order-addresses-grid .kry-order-address-col {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

.tilt-card {
  perspective: 1200px;
}

.tilt-card img {
  transition: transform 0.18s ease;
  will-change: transform;
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) scale(1);
}

