/**
 * Plantique - Main Stylesheet
 * Mobile-first responsive design with RTL support
 */

/* ================================
   CSS Variables
   ================================ */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --secondary-color: #81C784;
    --white: #FFFFFF;
    --black: #333333;
    --gray-dark: #555555;
    --gray: #777777;
    --gray-light: #999999;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --error-color: #E53935;
    --success-color: #43A047;
    --warning-color: #FB8C00;
    --info-color: #1E88E5;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ================================
   Base Styles & Reset
   ================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--bg-light);
    direction: ltr;
    overflow-x: hidden;
}

body[dir="rtl"] {
    direction: rtl;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--black);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    outline: none;
}

input,
textarea,
select {
    font-family: var(--font-body);
    font-size: 1rem;
}

/* ================================
   Utility Classes
   ================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.p-4 {
    padding: 2rem;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-danger {
    background-color: var(--error-color);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #C62828;
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ================================
   Forms
   ================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--black);
}

.form-label .required {
    color: var(--error-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-control::placeholder {
    color: var(--gray-light);
}

.form-control:disabled {
    background-color: var(--bg-light);
    cursor: not-allowed;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.5rem;
}

body[dir="rtl"] select.form-control {
    background-position: right 1rem center;
    padding-left: 1rem;
    padding-right: 2.5rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-hint {
    color: var(--gray);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Quantity Input */
.quantity-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    transition: all var(--transition-fast);
}

.quantity-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.quantity-input {
    width: 80px;
    text-align: center;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* ================================
   Alerts & Messages
   ================================ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #E8F5E9;
    color: var(--success-color);
    border: 1px solid #A5D6A7;
}

.alert-error {
    background-color: #FFEBEE;
    color: var(--error-color);
    border: 1px solid #EF9A9A;
}

.alert-warning {
    background-color: #FFF3E0;
    color: var(--warning-color);
    border: 1px solid #FFCC80;
}

.alert-info {
    background-color: #E3F2FD;
    color: var(--info-color);
    border: 1px solid #90CAF9;
}

/* ================================
   Header
   ================================ */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

body {
    padding-top: 70px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

/* Logo Image */
.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.04);
    opacity: 0.9;
}

.logo-img-footer {
    height: 80px;
    filter: brightness(0) invert(1);
}

.logo-img-admin {
    height: 70px;
    filter: brightness(0) invert(1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--black);
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation */
.main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem;
}

.main-nav.active {
    display: block;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--black);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switcher {
    position: relative;
}

.lang-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--white);
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

body[dir="rtl"] .lang-select {
    padding-left: 2rem;
    padding-right: 0.75rem;
    background-position: left 0.5rem center;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    color: var(--black);
    transition: all var(--transition-fast);
}

.cart-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: var(--error-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body[dir="rtl"] .cart-count {
    right: auto;
    left: -5px;
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 3rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(10, 40, 15, 0.45) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.hero .btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-color: #ffffff;
}

.hero-image {
    display: none;
}

/* ================================
   Section Styles
   ================================ */
.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1rem;
}

/* ================================
   Product Cards
   ================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ---- Image area ---- */
.product-image {
    position: relative;
    background: radial-gradient(ellipse at center, #ffffff 30%, #e8f5e9 80%, #c8e6c9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition-slow);
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Shine sweep disabled — needed overflow:hidden which cropped images */
.product-image::after {
    display: none;
}

.product-card:hover .product-image::after {
    display: none;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.2rem 0.65rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

body[dir="rtl"] .product-badge {
    left: auto;
    right: 0.75rem;
}

.product-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    opacity: 0;
    transform: translateX(12px);
    transition: all var(--transition-fast);
}

body[dir="rtl"] .product-actions {
    right: auto;
    left: 0.75rem;
    transform: translateX(-12px);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50%;
    color: var(--black);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
    border: none;
}

.action-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* ---- Info area ---- */
.product-info {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-category {
    font-size: 0.7rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-name a {
    color: inherit;
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: auto;
    padding-top: 0.5rem;
}

.product-price .original {
    font-size: 0.875rem;
    color: var(--gray-light);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

body[dir="rtl"] .product-price .original {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* ================================
   Product Detail Page
   ================================ */
.product-detail {
    display: grid;
    gap: 2rem;
}

.product-gallery {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-gallery .main-image {
    aspect-ratio: 1;
    background: radial-gradient(ellipse at center, #ffffff 30%, #e8f5e9 75%, #c8e6c9 100%);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
    padding: 1.5rem;
}

.product-gallery .main-image img:hover {
    transform: scale(1.04);
}

.product-details {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.product-details .product-name {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.product-details .product-price {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-dark);
}

.product-meta-item i {
    color: var(--primary-color);
}

.product-description {
    margin-bottom: 1.5rem;
}

.product-description h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.add-to-cart-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.add-to-cart-section .btn {
    flex: 1;
    min-width: 200px;
}

/* ================================
   Shop Page
   ================================ */
.shop-layout {
    display: grid;
    gap: 2rem;
}

.shop-sidebar {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    height: fit-content;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.filter-item label {
    cursor: pointer;
    color: var(--gray-dark);
    transition: color var(--transition-fast);
}

.filter-item:hover label {
    color: var(--primary-color);
}

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
}

.results-count {
    font-size: 0.875rem;
    color: var(--gray);
}

.sort-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--white);
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

body[dir="rtl"] .sort-select {
    padding-left: 2rem;
    padding-right: 0.75rem;
    background-position: left 0.5rem center;
}

/* ================================
   Cart Page
   ================================ */
.cart-layout {
    display: grid;
    gap: 2rem;
}

.cart-items {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-light);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item-name {
    font-weight: 600;
    color: var(--black);
}

.cart-item-name:hover {
    color: var(--primary-color);
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.cart-item-subtotal {
    font-weight: 700;
    color: var(--black);
}

.remove-btn {
    color: var(--error-color);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.remove-btn:hover {
    color: #C62828;
}

.cart-summary {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    height: fit-content;
}

.cart-summary h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    margin-top: 1rem;
}

.cart-summary .btn {
    width: 100%;
    margin-top: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-cart-icon {
    font-size: 4rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
}

.empty-cart h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-cart p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* ================================
   Checkout Page
   ================================ */
.checkout-layout {
    display: grid;
    gap: 2rem;
}

/* ---- Order Success Card ---- */
.order-success-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    margin: 2rem auto;
    background-color: var(--white);
    border: 2px solid #A5D6A7;
    border-radius: var(--radius-lg);
    padding: 2rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    /* never spills outside its box */
    word-wrap: break-word;
    /* long order numbers wrap cleanly */
}

.order-success-icon {
    font-size: clamp(2.5rem, 10vw, 4rem);
    /* shrinks on tiny screens */
    line-height: 1;
    margin-bottom: 1rem;
}

.order-success-title {
    color: var(--success-color);
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    margin-bottom: 0.75rem;
    word-break: break-word;
}

.order-success-number {
    font-size: clamp(0.9rem, 4vw, 1rem);
    color: var(--gray-dark);
    margin-bottom: 0.75rem;
}

.order-success-msg {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem);
    color: var(--gray);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.order-success-btn {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    white-space: normal;
    /* wraps if translated text is long */
    word-break: break-word;
}

.checkout-form {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.checkout-form h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.order-summary-checkout {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    height: fit-content;
}

.order-summary-checkout h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-item-qty {
    color: var(--gray);
    font-size: 0.875rem;
}

.order-item-price {
    font-weight: 600;
}

.guest-notice {
    background-color: var(--primary-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.guest-notice p {
    margin-bottom: 0.5rem;
    color: var(--black);
}

.guest-notice a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ================================
   Login/Register Page
   ================================ */
.auth-container {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
}

.auth-box {
    width: 100%;
    max-width: 450px;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 1rem;
}

.auth-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--gray);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

/* ================================
   About Page
   ================================ */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.about-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: 3rem 0;
}

.about-grid {
    display: grid;
    gap: 2rem;
}

.about-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* ================================
   Footer
   ================================ */
.footer {
    position: relative;
    background-image: url('../images/footer-bg.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(10, 30, 10, 0.85) 100%);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-light);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: var(--gray-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ================================
   Admin Styles
   ================================ */
.admin-layout {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    background-color: var(--black);
    color: var(--white);
    padding: 1.5rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.admin-content {
    padding: 1.5rem;
    background-color: var(--bg-light);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h2 {
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.stat-info h4 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.admin-table-container {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

body[dir="rtl"] .admin-table th,
body[dir="rtl"] .admin-table td {
    text-align: right;
}

.admin-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--black);
    font-size: 0.875rem;
    text-transform: uppercase;
}

.admin-table tr:hover {
    background-color: var(--bg-light);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: #FFF3E0;
    color: var(--warning-color);
}

.status-processing {
    background-color: #E3F2FD;
    color: var(--info-color);
}

.status-shipped {
    background-color: #E8F5E9;
    color: var(--success-color);
}

.status-delivered {
    background-color: #E8F5E9;
    color: var(--success-color);
}

.status-cancelled {
    background-color: #FFEBEE;
    color: var(--error-color);
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.table-actions .btn {
    padding: 0.5rem;
    font-size: 0.875rem;
}

/* ================================
   Responsive Styles
   ================================ */

/* Auth layout defaults (desktop) — overridden in mobile @media below */
.nav-auth-mobile {
    display: none;
}

.header-auth-desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .container {
        padding: 0 0.5rem;
    }

    .header-content {
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 1.1rem;
        gap: 0.25rem;
        flex-shrink: 0;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .logo-img {
        height: 75px;
        /* Prevent being microscopic on phones */
        width: auto;
        max-width: 45vw;
        /* Keeps it proportionate so it doesn't break header */
        object-fit: contain;
    }

    .header-actions {
        gap: 0.25rem;
        flex-shrink: 0;
    }

    .header-actions .btn-sm {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }

    .cart-btn {
        width: 32px;
        height: 32px;
    }

    .cart-btn svg {
        width: 16px;
        height: 16px;
    }

    .lang-select {
        padding: 0.3rem 1.4rem 0.3rem 0.25rem;
        font-size: 0.75rem;
    }

    body[dir="rtl"] .lang-select {
        padding-left: 1.4rem;
        padding-right: 0.25rem;
    }

    /* Hide desktop-only auth on mobile */
    .header-auth-desktop {
        display: none;
    }

    /* Show auth items inside hamburger on mobile */
    .nav-auth-mobile {
        display: block;
    }

    /* Highlight the login link in the hamburger */
    .nav-link-login {
        color: var(--primary-color);
        font-weight: 600;
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
        position: static;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }

    .nav-list {
        flex-direction: row;
        gap: 0.25rem;
    }

    .header-content {
        gap: 2rem;
    }

    .hero {
        min-height: 600px;
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail {
        grid-template-columns: 1fr 1fr;
    }

    .shop-layout {
        grid-template-columns: 250px 1fr;
    }

    .cart-layout {
        grid-template-columns: 1fr 350px;
    }

    .cart-item {
        grid-template-columns: 120px 1fr auto;
        align-items: center;
    }

    .cart-item-image {
        width: 120px;
        height: 120px;
    }

    .checkout-layout {
        grid-template-columns: 1fr 400px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-layout {
        grid-template-columns: 250px 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero {
        min-height: 700px;
    }

    .hero-content {
        text-align: left;
        max-width: 600px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-image {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 50%;
        max-width: 600px;
    }

    body[dir="rtl"] .hero-image {
        right: auto;
        left: 0;
    }

    .hero-image img {
        width: 100%;
        height: auto;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================================
   Print Styles
   ================================ */
@media print {

    .header,
    .footer,
    .btn,
    .product-actions,
    .cart-item-actions,
    .admin-sidebar {
        display: none !important;
    }

    body {
        background: white;
    }

    .container {
        max-width: 100%;
    }
}

/* ================================
   Animations
   ================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ================================
   Loading Spinner
   ================================ */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ================================
   Toast Notifications
   ================================ */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

body[dir="rtl"] .toast-container {
    right: auto;
    left: 1.5rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
    min-width: 300px;
    max-width: 400px;
    pointer-events: all;
    position: relative;
    overflow: hidden;
    animation: toastSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(110%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

body[dir="rtl"] .toast {
    animation-name: toastSlideInRtl;
}

@keyframes toastSlideInRtl {
    from {
        transform: translateX(-110%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Colored left accent bar */
.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 12px 0 0 12px;
}

body[dir="rtl"] .toast::before {
    left: auto;
    right: 0;
    border-radius: 0 12px 12px 0;
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    flex: 1;
}

/* Progress bar at bottom */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 12px 12px;
    animation: toastProgress 3.5s linear forwards;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Type variants */
.toast-success::before {
    background: var(--success-color);
}

.toast-success .toast-icon {
    background: #e8f5e9;
    color: var(--success-color);
}

.toast-success .toast-progress {
    background: var(--success-color);
}

.toast-error::before {
    background: var(--error-color);
}

.toast-error .toast-icon {
    background: #ffebee;
    color: var(--error-color);
}

.toast-error .toast-progress {
    background: var(--error-color);
}

.toast-warning::before {
    background: var(--warning-color);
}

.toast-warning .toast-icon {
    background: #fff3e0;
    color: var(--warning-color);
}

.toast-warning .toast-progress {
    background: var(--warning-color);
}

.toast-info::before {
    background: var(--info-color);
}

.toast-info .toast-icon {
    background: #e3f2fd;
    color: var(--info-color);
}

.toast-info .toast-progress {
    background: var(--info-color);
}

/* Cart badge bounce */
@keyframes cartBounce {

    0%,
    100% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.4);
    }

    60% {
        transform: scale(0.9);
    }
}

.bounce {
    animation: cartBounce 0.4s ease;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 0.75rem;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    animation: wa-bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    text-decoration: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2.5px solid rgba(37, 211, 102, 0.55);
    animation: wa-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.18);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #1b1b1b;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1b1b1b;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* RTL support */
body[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 1.75rem;
}

body[dir="rtl"] .whatsapp-tooltip {
    right: auto;
    left: calc(100% + 14px);
    transform: translateY(-50%) translateX(-6px);
}

body[dir="rtl"] .whatsapp-tooltip::after {
    left: auto;
    right: 100%;
    border-left-color: transparent;
    border-right-color: #1b1b1b;
}

body[dir="rtl"] .whatsapp-float:hover .whatsapp-tooltip {
    transform: translateY(-50%) translateX(0);
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }

    70% {
        transform: scale(1.55);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes wa-bounce-in {
    0% {
        transform: scale(0) rotate(-15deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}