/* assets/css/responsive.css */

@media (max-width: 1199.98px) {
	.navbar-brand .logo {
		height: 52px;
	}

	.header-icons {
		gap: 1rem;
	}

	.product-info {
		padding: 1.25rem;
	}
}

@media (max-width: 991.98px) {
	body {
		overflow-x: hidden;
	}

	.navbar {
		padding: 5px 0;
	}

	.navbar-toggler {
		border-color: var(--medium-gray);
		padding: 0.4rem 0.6rem;
	}

	.mobile-header-actions {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
		margin-left: auto;
		margin-right: 0.55rem;
	}

	.mobile-header-actions a {
		position: relative;
		display: inline-flex;
		width: 38px;
		height: 38px;
		align-items: center;
		justify-content: center;
		border: 1px solid var(--medium-gray);
		border-radius: 10px;
		color: var(--white);
		background: var(--dark-cocoa);
		box-shadow: 0 3px 10px rgba(23, 23, 23, 0.07);
		transition: var(--transition);
	}

	.mobile-header-actions a:hover,
	.mobile-header-actions a:focus {
		border-color: var(--warm-gold);
		color: var(--warm-gold);
		transform: translateY(-1px);
	}

	.mobile-header-actions .badge {
		position: absolute;
		top: -6px;
		right: -6px;
		display: flex;
		width: 18px;
		height: 18px;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		color: var(--dark-cocoa);
		background: var(--warm-gold);
		font-size: 0.65rem;
	}

	.navbar-toggler {
		margin-left: 0;
		border-radius: 10px;
		background: var(--warm-gold);
	}

	.navbar-collapse {
		padding-top: 1rem;
		max-height: calc(100vh - 84px);
		overflow-y: auto;
		overflow-x: hidden;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.navbar-nav {
		padding-bottom: 0.75rem;
	}

	.nav-link {
		padding: 0.7rem 0 !important;
	}

	.nav-link::after {
		left: 0;
		transform: none;
	}

	.product-menu {
		min-width: 0;
		width: 100%;
		left: 0 !important;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0.5rem 0 !important;
		background-color: var(--light-gray);
	}

	.product-menu-groups {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.75rem;
	}

	.product-menu-group-title {
		min-height: 0;
		padding-top: 0.75rem;
	}

	.product-menu-column {
		width: 100%;
	}

	.product-menu .dropdown-item {
		padding: 0.6rem 1rem;
	}

	.header-icons {
		justify-content: flex-start;
		padding-top: 0.75rem;
		border-top: 1px solid var(--light-gray);
	}

	.hero-section {
		height: 68vh;
		min-height: 440px;
	}

	.hero-content h1 {
		font-size: 3rem;
	}

	.section-padding {
		padding: 4rem 0;
	}

	.product-image {
		aspect-ratio: 4 / 3;
		height: auto;
	}

	.product-title {
		font-size: 1.8rem;
	}

	.checkout-summary {
		position: static;
	}

	.checkout-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 1rem;
	}

	.checkout-secure-note {
		align-self: flex-start;
	}
}

@media (max-width: 767.98px) {
	h1 {
		font-size: 2.25rem;
	}

	h2 {
		font-size: 1.9rem;
	}

	.announcement-bar {
		font-size: 0.8rem;
	}

	.navbar-brand .logo {
		height: 60px;
	}

	.hero-section {
		min-height: 480px;
		background-position: 62% center;
		text-align: center;
	}

	.hero-content h1 {
		font-size: 2.45rem;
	}

	.page-banner h1 {
		font-size: 2.35rem;
	}

	.page-banner p {
		font-size: 0.95rem;
	}

	.hero-content p {
		font-size: 1rem;
	}

	.hero-buttons {
		display: flex;
		flex-wrap: wrap;
		gap: 0.75rem;
		justify-content: center;
	}

	.hero-buttons .btn {
		margin: 0;
		padding: 0.75rem 1.25rem;
	}

	.trust-features {
		padding: 2rem 0;
	}

	.trust-feature {
		padding: 1.25rem 0.5rem;
	}

	.trust-feature-icon {
		width: 60px;
		height: 60px;
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}

	.trust-feature h5 {
		font-size: 1rem;
	}

	.trust-feature p {
		font-size: 0.8rem;
	}

	.section-padding {
		padding: 3rem 0;
	}

	.section-title {
		margin-bottom: 2rem;
	}

	.section-title h2 {
		font-size: 1.9rem;
	}

	.product-image {
		aspect-ratio: 1 / 1;
		height: auto;
	}

	.product-main-image img {
		min-height: 260px;
	}

	.product-image-modal .modal-body {
		min-height: 60vh;
		padding: 2.5rem 3.25rem;
	}

	.product-image-modal .modal-body > img {
		height: 60vh;
	}

	.product-gallery-prev { left: 0.5rem; }
	.product-gallery-next { right: 0.5rem; }

	.product-info {
		padding: 1rem;
		min-height: 205px;
	}

	.product-name {
		font-size: 1.05rem;
		line-height: 1.35;
	}

	.product-price .current-price {
		font-size: 1rem;
	}

	.product-price .original-price,
	.product-price .discount {
		font-size: 0.75rem;
	}

	.add-to-cart-btn {
		padding: 0.65rem 0.5rem;
		font-size: 0.9rem;
	}

	.product-actions {
		opacity: 1;
		transform: none;
	}

	.product-action-btn {
		width: 34px;
		height: 34px;
	}

	.category-card {
		height: 190px;
	}

	.category-overlay {
		padding: 1rem;
	}

	.category-overlay h5 {
		font-size: 1rem;
	}

	.about-content {
		padding: 0.5rem 0;
	}

	.about-image {
		max-height: 320px;
	}

	.about-image img {
		max-height: 320px;
	}

	.cta-section {
		background-attachment: scroll;
	}

	.cta-content p {
		font-size: 1rem;
	}

	.main-footer {
		padding-top: 3rem;
	}

	.footer-bottom {
		margin-top: 1rem;
		text-align: center;
	}

	.footer-bottom .text-md-end {
		margin-top: 0.75rem;
		text-align: center !important;
		line-height: 2;
	}

	.payment-icons {
		justify-content: flex-start;
	}

	.product-detail-section,
	.cart-section,
	.checkout-section,
	.account-section,
	.contact-section,
	.policy-section {
		padding: 2rem 0;
	}

	.map-container {
		min-height: 390px;
	}

	.map-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.map-container iframe {
		min-height: 300px;
	}

	.contact-captcha {
		align-items: stretch;
		flex-direction: column;
	}

	.contact-captcha input {
		width: 100%;
		flex-basis: auto;
	}

	.product-main-image img {
		height: 300px;
	}

	.product-info-detail {
		padding-top: 1.5rem;
	}

	.product-title {
		font-size: 1.7rem;
	}

	.product-price-detail .current-price {
		font-size: 1.5rem;
	}

	.product-actions-detail {
		flex-wrap: wrap;
	}

	.product-actions-detail .btn-primary-custom {
		min-width: calc(100% - 66px);
	}

	.product-meta-tabs {
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	.product-meta-tabs .nav-link {
		white-space: nowrap;
		padding: 0.7rem 1rem;
	}

	.cart-table {
		box-shadow: none;
		background: transparent;
		overflow: visible;
	}

	.cart-table table,
	.cart-table tbody,
	.cart-table tr,
	.cart-table td {
		display: block;
		width: 100%;
	}

	.cart-table thead {
		display: none;
	}

	.cart-table tr {
		background: var(--white);
		border-radius: var(--border-radius);
		box-shadow: var(--box-shadow);
		margin-bottom: 1rem;
		padding: 0.75rem;
	}

	.cart-table td {
		border: 0;
		padding: 0.5rem;
	}

	.cart-table td::before {
		content: attr(data-label);
		display: block;
		color: var(--dark-gray);
		font-size: 0.75rem;
		font-weight: 600;
		margin-bottom: 0.25rem;
		text-transform: uppercase;
	}

	.cart-product-image {
		width: 64px;
		height: 64px;
	}

	.cart-quantity-selector {
		width: 112px;
		min-width: 112px;
		margin: 0;
	}

	.cart-remove-button {
		width: auto;
		min-width: 0;
		padding: 0.45rem 0.65rem;
	}

	.cart-remove-button span {
		display: inline;
	}

	.cart-shipping-note {
		font-size: 0.76rem;
	}

	.cart-summary,
	.checkout-form,
	.account-content,
	.contact-form,
	.policy-content,
	.auth-form {
		padding: 1.25rem;
	}

	.checkout-section {
		padding-top: 1.5rem;
	}

	.checkout-heading h1 {
		font-size: 2rem;
	}

	.checkout-progress {
		width: 100%;
		margin-bottom: 1.5rem;
	}

	.checkout-progress-step {
		gap: 0.35rem;
		font-size: 0.7rem;
	}

	.checkout-progress-step strong {
		display: none;
	}

	.checkout-progress-line {
		flex: 1;
		width: auto;
		margin: 0 0.5rem;
	}

	.checkout-form-heading p {
		font-size: 0.78rem;
	}

	.payment-method-icons {
		flex-wrap: wrap;
	}

	.search-container {
		padding: 1.5rem 1rem 1rem;
	}

	.search-form {
		flex-direction: column;
		gap: 0.5rem;
		box-shadow: none;
		background: transparent;
	}

	.search-form input,
	.search-form .btn {
		width: 100%;
		border-radius: 8px;
	}

	.account-panel-card,
	.header-drawer {
		padding: 1.25rem;
	}

	.account-panel-actions,
	.drawer-actions {
		flex-direction: column;
	}

	.cart-actions {
		flex-direction: column;
	}

	.quick-view-modal .modal-dialog {
		margin: 0.75rem;
	}

	.quick-view-image {
		min-height: 220px;
		height: 220px;
	}

	.quick-view-info {
		padding: 1.25rem;
	}

	.quick-view-info h4 {
		padding-right: 2rem;
	}

	.toast-container {
		top: 0.75rem;
		right: 0.75rem;
		left: 0.75rem;
	}

	.toast {
		max-width: none;
		width: 100%;
	}

	.back-to-top {
		right: 1rem;
		bottom: 1rem;
	}
}

@media (max-width: 420px) {
	.hero-content h1 {
		font-size: 2.1rem;
	}

	.product-image {
		height: 155px;
	}

	.product-info {
		padding: 0.75rem;
	}

	.product-rating i {
		font-size: 0.75rem;
	}

	.product-actions-detail .btn {
		font-size: 0.85rem;
	}
}
